recently my runners have been stopped and I don't know why?
I've just upgraded nodejs
on the server and it did happen.
after this problem, I've tried to update gitlab
to the latest version and check the runner status but the problem still persists and in the title of grey icon shows:
Runner is offline, the last contact was about 22 hours ago.
What should I do?
and when I try to Retry stuck jobs
, see this error:
This job is stuck, because you don't have any active runners online with any of these tags assigned to them: 'my label'.
Any Help is appreciated!
You can also check if your runner is allowed to run untagged jobs - you can do that under Admin and then edit it to see if that option is enabled. The runner is a specific runner for the project and not a shared one.
By default job logs are sent from the GitLab Runner in chunks and cached temporarily on disk in /var/opt/gitlab/gitlab-ci/builds by Omnibus GitLab.
GitLab and the Runners only communicate through an API using the https protocol, so the only requirement is that the Runner's host machine has network access to the GitLab instance.
To me, the following solved the problem:
gitlab-runner restart
Where gitlab-runner
is a symlink to gitlab-ci-multi-runner
:
GitLab Runner is the open source project that is used to run your jobs and send the results back to GitLab. It is used in conjunction with GitLab CI, the open-source continuous integration service included with GitLab that coordinates the jobs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With