question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Runner update failed when running inside a docker container

See original GitHub issue

Describe the bug I have a Github Actions runner program running inside a docker container. It ran well for a month until it got to update to a newer version.

To Reproduce Steps to reproduce the behavior:

  1. Download docker runner v2.277.1 and configure it.
  2. Use COPY to copy the docker runner into a docker image.
  3. Run the docker container.
  4. Wait for a new version(v2.278.0) and update.

Expected behavior The runner inside the docker container gets updated automatically without error.

Runner Version and Platform

Version of your runner? Original version is v2.277.1, updating to v2.278.0.

OS of the machine running the runner? OSX/Windows/Linux/… 18.04.1-Ubuntu

What’s not working?

Update fails with following output:


√ Connected to GitHub

2021-04-23 01:39:18Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.278.0 runner
An error occurred: Access to the path is denied.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
pangiole-tibcocommented, Nov 5, 2021

I would also like to tell the runner to not update itself. Does anybody know how, please?

0reactions
nikola-jokiccommented, Mar 30, 2022

Thank you, @leoluk, @DaHuoKolmostar!

We will investigate it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker apt-get update fails - ubuntu
First thing to check is run cat /etc/resolv.conf in the docker container. If it has an invalid DNS server, such as nameserver 127.0....
Read more >
Error : The version of this runner is outdated. Up...
I faced the above error when using self-hosted Linux Docker Runner, I had tried to update the docker image and yet the system...
Read more >
Troubleshoot self-hosted runner
When container runner is hosted on a separate node, the task will still look like it is running in the CircleCI UI until...
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >
Troubleshooting GitLab Runner
If you want to use Docker executor, and you are connecting to Docker Engine installed on server. You can see the Permission Denied...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found