Gitlab-runner runtime different from package

When I run the gitlab-runner command as well as in GitLab’s admin panel, runner shows as version 11.6.1:

gitlab-runner -version
Version: 11.6.1
Git revision: 8d829975
Git branch: 11-6-stable
GO version: go1.8.7
Built: 2019-01-15T15:20:35+0000
OS/Arch: linux/amd64

But the package has been updating fine:

Preparing to unpack …/gitlab-runner_13.0.1_amd64.deb …
Unpacking gitlab-runner (13.0.1) over (12.9.0) …

This wasn’t set up by myself. Why might that be? Thanks @gitlab-greg for the Twitter shout out.

1 Like

Interesting, I’ve not seen this problem before. Thanks for the ping!

Let’s make sure it’s using the right runner and config.

Does the IP address in <external_url>/admin/runner match the IP of the machine you’re updating the package on?

If you check the /etc/gitlab-runner/config.toml, does it have the correct registration details (URL and token) for your GitLab instance?

Let us know what you find out!

Yes and yes, but I just found the problem. It was actually installed with the binary. Here I was updating the package for naught!

Updated the binary and things are now fine…

1 Like

Thanks for the update, great news! I saw your post last night, went to reply this morning, looks like you already figured it out! Glad to hear you’re back up and running.

Please don’t hesitate to create a thread here if you have any further issues or questions, the forum is a great place to get help from GitLab community & team members.