-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically restart runner after a crash #30662
Comments
You can run it with systemd or docker then you can make it restart easier. Can you paste more details so that we can know what made the runner panic. |
I see. Here are more detailed logs:
|
@kerem0comert Which version of act runner are you using? I think I have already fixed the panic: nektos/act#2071 |
I run the latest via:
|
|
I see. Well in that case, the version seems to be |
It's quite an old version; you can upgrade it. And as Lunny said, run it with systemd or Docker, then you can restart it more easily. |
Feature Description
Hello,
I have an Action Runner, which crashes every now and then due to some exception. For instance the latest logs show:
where this container is the one that I use for Python-based Actions, the one you can find here.
Once any kind of crash such as this one happens, the Runner goes
Offline
and requires a manual restart. Is there a recommended way to auto-restart the runner? I guess one can setup a cronjob or something to check the runner is alive routinely, but I wanted to create this issue anyway to see if this is a problem that others face too or what's the best way to approach it.Thanks!
Screenshots
No response
The text was updated successfully, but these errors were encountered: