`Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration'` during `config.sh`.
BeginnerTroubleshootingRunners, Self-hosted & ARC
Answer
Likely causes → The registration token expired (valid one hour), was for a different scope (repo token used with org URL), or the URL is wrong.
Diagnose → Compare --url with where the token was created.
Fix →
TOKEN=$(gh api -X POST orgs/devopsshack/actions/runners/registration-token --jq .token)
./config.sh --url https://github.com/devopsshack --token "$TOKEN" --unattended
Prevent → Generate tokens just in time in automation, or use JIT configs.
More on Runners, Self-hosted & ARC
Job stuck at `Waiting for a runner to pick up this job...`Beginner`This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.`Beginner`Must not run with sudo` when running `./config.sh`.BeginnerSelf-hosted runner logs: `Runner version v2.311.0 is deprecated and cannot receive messages.`Intermediate`fatal: detected dubious ownership in repository at '/__w/app/app'` in a container job on a self-hosted runner.IntermediateSelf-hosted runner jobs fail with `EACCES: permission denied, unlink '/home/runner/_work/app/app/dist/index.js'` at checkout.Intermediate