question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Self hosted runner offline for GitHub but still accessible

See original GitHub issue

Hello,

We self-host a GitHub runner on one of our Scaleway machines that is a Bare Metal. However, randomly, the status in GitHub describes it as “offline”, so our CI cannot reach it. But

  • the machine is still accessible in SSH
  • the github-runner service is still running

To fix this, I have to SSH on my machine restart the GitHub-runner service with systemctl restart github-runner

Can you give us some clues? This is super-inconvenient since we have to often restart it.

Thanks in advance for your help

To Reproduce

  • Activate a GitHub action with scaleway bare metal -> the runners are activated (Idle in the settings)
  • wait
  • Randomly, one day, the runner will be marked as “off” (Oflline in the settings)

Expected behavior Not to have to SSH to the machine and re-launch the service.

Runner Version and Platform

  • Version of your runner? 2.286.1
  • Debian 10. Machine Scaleway Bare Metal
Capture d’écran 2022-01-25 à 13 38 03

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nikola-jokiccommented, Feb 8, 2022

Thanks for your input @curquiza,

I will notify our team and we will get back to you as soon as we can!

1reaction
nikola-jokiccommented, Feb 3, 2022

Hi @curquiza, thank you for submitting the issue! We are investigating it now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Self hosted runner went offline suddenly and it is not ...
My Windows Github runner was working fine and suddenly from yesterday it is not connecting and is in Offline state. When I try...
Read more >
Removing self-hosted runners
The runner will remain assigned in an "Offline" state, and won't execute any jobs until you restart the runner using the run application....
Read more >
Self-hosted workers fail immediately, get marked "offline" in ...
this deployment job finishes successfully, but when it finishes the instance (as checked in AWS console) has not yet performed status checks ( ......
Read more >
Runners become offline · Issue #62 · actions ...
So it appears that the runner is offline after completing one of the jobs but then it doesn't create a new runner.
Read more >
GitHub self-hosted runner appears offline on codespace ...
startup.sh script start github's self-hosted runner with nohup process - that way the runner runs in background and don't stop it accidentally.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found