worker version: 2.169.1
Hi all, I'm running the worker as self-hosted.
I have build my own container image with the binary etc.
After some time, I was not able to reproduce why container died ( since I run it as service in detached mode).
I found out that the worker try to update itself automatically and then it fails.
2020-05-17 20:23:37Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.262.1 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should back online within 10 seconds.
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
/home/CI/_work/_update.sh: line 31: ping: command not found
I think automatic update the worker is not what user want generally by default.
I think it should be an option like to either enabling automatic updating if wanted but not the default behaviour.
thx! let me know
as update, I have installed the ping cmd but the container still doesn't recover
Is your entrypoint run.sh? Try runsvc.sh which handles updates.
Read all of this issue: https://github.com/actions/runner/issues/246. - this is a dupe of that issue.
@bryanmacfarlane thx for feedback I will get an eye on that issue.
Closing this as duplicate
Let us know if runsvc.sh works for you.
@bryanmacfarlane
2020-05-18 16:09:39Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.262.1 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should back online within 10 seconds.
Runner listener exited with error code 3
Runner listener exit because of updating, re-launch runner in 5 seconds.
Starting Runner listener with startup type: service
Started listener process
That worked for me
Awesome
Works very nicely :)
Quick note for those who end up here.
runsvc.sh is in ./bin/
Most helpful comment
@bryanmacfarlane
2020-05-18 16:09:39Z: Listening for Jobs Runner update in progress, do not shutdown runner. Downloading 2.262.1 runner Waiting for current job finish running. Generate and execute update script. Runner will exit shortly for update, should back online within 10 seconds. Runner listener exited with error code 3 Runner listener exit because of updating, re-launch runner in 5 seconds. Starting Runner listener with startup type: service Started listener processThat worked for me