myoung34 / docker-github-actions-runner

This will run the new self-hosted github actions runners with docker-in-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

curl: (22) The requested URL returned error: 404 with older version

davetapley opened this issue · comments

I'm only seeing this on an older image (2.273.5) so probably safe to close,
but I wanted to document here instead of polluting other issue.

This docker run with 2.273.5 had been working just fine for many months
(and I presume had been auto updating to newer versions),
then failed to come back up after restart with:

$ docker run --rm -e RUNNER_SCOPE="org" -e ORG_NAME=jefuller -e LABELS=vision -e ACCESS_TOKEN='XXX' -v /var/run/docker.sock:/var/run/docker.sock -v /_work:/_work --name github-runner --entrypoint /entrypoint.sh myoung34/github-runner:2.273.5
curl: (22) The requested URL returned error: 404
Configuring

--------------------------------------------------------------------------------
|        ____ _ _   _   _       _          _        _   _                      |
|       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
|      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
|      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
|       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
|                                                                              |
|                       Self-hosted runner registration                        |
|                                                                              |
--------------------------------------------------------------------------------

# Authentication

Invalid configuration provided for token. Terminating unattended configuration.
.path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/actions-runner
Starting Runner listener with startup type: service
Started listener process
Started running service
An error occurred: Not configured
Runner listener exited with error code 2
Runner listener exit with retryable error, re-launch runner in 5 seconds.
Starting Runner listener with startup type: service
Started listener process
An error occurred: Not configured
Runner listener exited with error code 2
Runner listener exit with retryable error, re-launch runner in 5 seconds.

Send Ctrl + c

^CShutting down runner listener
Sending SIGINT to runner listener to stop
^CShutting down runner listener
Sending SIGINT to runner listener to stop
Caught SIGTERM. Deregistering runner
curl: (22) The requested URL returned error: 404

# Runner removal

Cannot connect to server, because config files are missing. Skipping removing runner from the server.
Does not exist. Skipping Removing .credentials
Does not exist. Skipping Removing .runner

Closing because #253 is the real issue.