actions / actions/runner

Runner update failed when running inside a docker container

Open
#1,058 18 comments 0 reactions 1 assignee View on GitHub

@nikola-jokic is already working on this.

Since Mar 3, 2022.

bug Runner Auto-update :disappointed: Runner Bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.