Somehow the github-actions.service tries to run /var/lib/github-actions/externals/node16/bin/node
, but the externals
folder only has node20
and node20_alpine
folders.
Search Criteria
Package Details: github-actions-bin 2.322.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/github-actions-bin.git (read-only, click to copy) |
---|---|
Package Base: | github-actions-bin |
Description: | GitHub Actions self-hosted runner tools. |
Upstream URL: | https://github.com/actions/runner |
Licenses: | MIT |
Conflicts: | github-actions |
Provides: | github-actions |
Submitter: | ioquatix |
Maintainer: | petronny (ioquatix, AutoUpdateBot) |
Last Packager: | AutoUpdateBot |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2020-04-01 04:25 (UTC) |
Last Updated: | 2025-01-25 07:58 (UTC) |
Dependencies (1)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR)
Required by (0)
Sources (6)
- github-actions.service
- github-actions.sysusers
- github-actions.tmpfiles
- https://github.com/actions/runner/releases/download/v2.322.0/actions-runner-linux-arm-2.322.0.tar.gz
- https://github.com/actions/runner/releases/download/v2.322.0/actions-runner-linux-arm64-2.322.0.tar.gz
- https://github.com/actions/runner/releases/download/v2.322.0/actions-runner-linux-x64-2.322.0.tar.gz
gyscos commented on 2025-02-21 01:54 (UTC)
tehrengruber commented on 2025-01-22 19:27 (UTC) (edited on 2025-01-22 19:28 (UTC) by tehrengruber)
Currently broken because the *.template files are not copied into the package. Here's a patch:
diff --git a/PKGBUILD b/PKGBUILD
index e1c4865..7b9a916 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -56,7 +56,7 @@ package() {
# Useless on pacman-based distributions
rm -f "$srcdir"/bin/installdependencies.sh
- cp -r -t "$pkgdir"/var/lib/$_pkgname "$srcdir"/{bin,externals,*.sh}
+ cp -r -t "$pkgdir"/var/lib/$_pkgname "$srcdir"/{bin,externals,*.sh,*.template}
# also see github-actions.tmpfiles
chmod 0775 "$pkgdir"/var/lib/$_pkgname
jagot commented on 2023-10-23 07:25 (UTC)
@Mike616 (and anyone else wondering)
To configure the runner, run config.sh as user github-actions:
$ cd /var/lib/github-actions
$ sudo -u github-actions ./config --url https://github.com/your/repo --token AAA...
$ sudo systemctl enable github-actions.service
$ sudo systemctl start github-actions.service
You found the token you need to use under https://github.com/your/repo/settings/actions/runners/new?arch=x64&os=linux
petronny commented on 2023-08-23 07:31 (UTC)
@loathingkernel Thanks. Fixed.
loathingkernel commented on 2023-08-23 07:26 (UTC) (edited on 2023-08-23 07:27 (UTC) by loathingkernel)
Please, don't do this
install=PKGBUILD
I get that it works and it's cool, but it's bad to break standardized procedures. pre_remove
and post_remove
should go into their own <something>.install
file. There is no guarantee that there won't ever be a name overlap between the functions defined in a PKGBUILD
and an .install
file
Mike616 commented on 2022-11-11 00:20 (UTC)
What's the correct process for installing this? After installation, I tried to run /var/lib/github-actions/config.sh but it fails because my user doesn't have write perms for the directory. It also won't let me run with sudo so I chown root:wheel -R /var/lib/github-actions
. I was able to configure but systemctl start github-actions.service
fails because:
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/var/lib/github-actions/_diag/Runner_20221111-001156-utc.log' is denied.
This file doesn't exist but the directory has 775 and is owned by root:wheel
. What do I need to do to fix it?
petronny commented on 2022-09-29 07:47 (UTC) (edited on 2022-09-29 07:48 (UTC) by petronny)
I am currently not sure of the exact sequence of events that leads to the error.
I think it should be:
- Installing this package at 2.296.1, which installs
bin
forroot:root
. - The auto-updater upgrades the runtime to a new version, 2.296.2 for example. It will move
bin
tobin.2.296.1
, download and createbin.2.296.2
, and createbin
as a symlink tobin.2.296.2
. Sobin.2.296.1
is owned byroot:root
. - Somehow, the runtime thinks it's at 2.296.1 again. It could be done by reinstall this package at 2.296.1.
- Then the auto-updater will try move
bin
tobin.2.296.1
again and give the error.
bidskii commented on 2022-09-28 22:31 (UTC)
@petronny I am currently not sure of the exact sequence of events that leads to the error. Usually we discover the issue after a reboot (which is typically, but not always, preceded by a system update).
Not sure why we would already have /var/lib/github-actions/bin.2.296.1/
in our system? There are only 2 places it could have come from, (1) the auto-updater, or (2) upgrading this package, and I would not expect either of those two actions to result in an error such as this.
petronny commented on 2022-09-28 08:29 (UTC)
Prebuilt binaries of this package can be found in arch4edu.
petronny commented on 2022-09-28 08:15 (UTC) (edited on 2022-09-28 08:24 (UTC) by petronny)
@bidskii I don't think we should recursively change the permission if it's not a fresh install. But recursively changing the permission for bin
and external
is ok.
And you are getting that error because you already have /var/lib/github-actions/bin.2.296.1/
in your system. So it's trying to move bin/
under bin.2.296.1
instead of renaming bin
. Remove that folder (also external.2.296.1
) should fix the error.
Pinned Comments
petronny commented on 2022-09-28 08:29 (UTC)
Prebuilt binaries of this package can be found in arch4edu.