actions / runner

The Runner for GitHub Actions :rocket:
https://github.com/features/actions
MIT License
4.86k stars 954 forks source link

Windows - SelfUpdate Failure - Runner Offline - Access Denied #3112

Open nibanks opened 8 months ago

nibanks commented 8 months ago

Describe the bug This morning our selfhosted GitHub runner was offline. After debugging, I found a SefUpdate-....log.failed log file in our _diag folder and it indicates there was an access denied error when it tried to move C:\actions-runner\externals to C:\actions-runner\externals.2.311.0

To Reproduce Unsure. This happened automatically.

Expected behavior Selfhost runner stays operational.

Runner Version and Platform

Not sure.

OS of the machine running the runner? Windows

What's not working?

Seems the update failed and now the runner is stuck. The runner service cannot start because it can't find the right file.

Job Log Output

Shared above

Runner and Worker's Diagnostic Logs

Shared above

nibanks commented 8 months ago

What manual steps can I take to unblock things?