You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check journalctl logs, the runner fails with status=203/EXEC.
Adjust service file to include /bin/bash in ExecStart.
Run systemctl daemon-reload.
Restart the system.
Check journalctl logs, the runner fails with status=200/CHDIR.
Expected behavior
The runner service automatically restarts with the OS without any errors.
Runner Version and Platform
Version of your runner: 2.316.1
OS: Linux Mint 21.3
What's not working?
The runner does not start automatically on system boot when following this guide.
Logs
Here are the logs from journalctl -u actions.runner.ORG.USR.service (note, I replaced organization name with ORG, system name with SYS and username with USR).
Before modifying the service file:
-- Boot 37af18b73b884970900d8058454e90ae --
May 14 16:23:03 SYS systemd[1]: Started GitHub Actions Runner (ORG.SYS).
May 14 16:23:03 SYS systemd[967]: actions.runner.ORG.SYS.service: Failed to locate executable /home/USR/Software/actions-runner/runsvc.sh: No such file or directory
May 14 16:23:03 SYS systemd[967]: actions.runner.ORG.SYS.service: Failed at step EXEC spawning /home/USR/Software/actions-runner/runsvc.sh: No such file or directory
May 14 16:23:03 SYS systemd[1]: actions.runner.ORG.SYS.service: Main process exited, code=exited, status=203/EXEC
May 14 16:23:03 SYS systemd[1]: actions.runner.ORG.SYS.service: Failed with result 'exit-code'.
After modifying the service file to include /bin/bash in ExecStart:
-- Boot 182ab4bd9f0a4c4aabcad80f4161a2ed --
May 14 17:16:45 SYS systemd[1]: Started GitHub Actions Runner (ORG.SYS).
May 14 17:16:45 SYS systemd[1]: actions.runner.ORG.SYS.service: Main process exited, code=exited, status=200/CHDIR
May 14 17:16:45 SYS systemd[1]: actions.runner.ORG.SYS.service: Failed with result 'exit-code'.
More Info
If I start the service manually via sudo ./svc.sh start it works fine, only when restarting the service doesn't boot up automatically.
Service file created by svc.sh (note, I added /bin/bash to ExecStart):
Describe the bug
After configuring the runner as a service on Linux Mint, it doesn't automatically start after the system restarts.
To Reproduce
Steps to reproduce the behavior:
journalctl
logs, the runner fails withstatus=203/EXEC
./bin/bash
inExecStart
.systemctl daemon-reload
.journalctl
logs, the runner fails withstatus=200/CHDIR
.Expected behavior
The runner service automatically restarts with the OS without any errors.
Runner Version and Platform
What's not working?
The runner does not start automatically on system boot when following this guide.
Logs
Here are the logs from
journalctl -u actions.runner.ORG.USR.service
(note, I replaced organization name with ORG, system name with SYS and username with USR).Before modifying the service file:
After modifying the service file to include
/bin/bash
inExecStart
:More Info
sudo ./svc.sh start
it works fine, only when restarting the service doesn't boot up automatically.svc.sh
(note, I added/bin/bash
toExecStart
):The text was updated successfully, but these errors were encountered: