Cant register runner after migration

Hello folks,

I migrated my gitlab instance from one server to another. My old instance was build from source and the new instance was installed as docker-image, so it’s using the omnibus installation.
I followed the normal steps to migrate the instance, made a backup, migrated secrets.yml to gitlab-secrets.json and restored. Everything worked like a charm, i have all my projects and accounts on the new instance.

The docker container is only listening local and is reverse proxied via nginx.

My problem is that i can’t register a ci-runner. I want to add a shared runner.
It always terminates with
ERROR: Registering runner… forbidden (check registration token) runner=
PANIC: Failed to register this runner. Perhaps you are having network problems

The token is exactly the same as the one displayed in the admin interface.
Funny thing: If i try to register the runner as project specific, it seems to work, so there is no exception while attaching, but the runner is never listed at gitlab.

My best guess is that this is a migration issue and that i missed a step but i really have no clue what it might be.
Thanks in advance for your help!

1 Like