500 Something went wrong while fetching runner data. on runner admin

Problem to solve

After a restore of a backup, my runner admin dashboard is completly dead. I see a “Something went wrong while fetching runner data.” with some 500 in logs.
Do I miss something while I restore or it’s a bug ?

Steps to reproduce

Install a fresh gitlab
Restore from a backup

Configuration

Omnibus on an instance. Something basic

Versions

Please select whether options apply, and add the version information.

Versions

  • GitLab CE 17.2.1

Doing those commands unblock my runner admin page but why I need to do that ?

gitlabhq_production=# UPDATE projects SET runners_token = null, runners_token_encrypted = null;
UPDATE 21
gitlabhq_production=# UPDATE namespaces SET runners_token = null, runners_token_encrypted = null;
UPDATE 38
gitlabhq_production=# UPDATE application_settings SET runners_registration_token_encrypted = null;
UPDATE 1
gitlabhq_production=# UPDATE ci_runners SET token = null, token_encrypted = null;

from: error 500 when accessing a project's CI/CD settings (#22782) · Issues · GitLab.org / GitLab · GitLab

2 Likes