I’m in the process of migrating my Gitlab server (version 14.8). I have another server running the same version of Gitlab Omnibus.
So far, I have restored all of my projects and I have copied and restored the gitlab-secret.json.
Now, I’m in the process of setting up the runners. The problem i’m encountering is that, the restored version, has a different registration token for the runners. Because of that I’m forced to register new runners. However, these new runners don’t seem to have access to all my projects. I suspect that is due to the fact that, being the registration token different, all the projects don’t allow this runner to connect.
I tried verifying the runner authentication with
curl --request POST "https://gitlab.example.com/api/v4/runners/verify" \ --form "token=<authentication_token>" . The response I receive is 403 (invalid).
The same command works correctly in the original version.
I double checked the gitlab-secrets.json file and I can see that there is no entry for the gitlab registration token.
Is there a way to add that to the secrets json? Is there another way to go about this?
Thanks in advance for the support, any advice would be really helpful!