Hello, everyone! As the title says, I’m trying.
Getting stuck at a weird timeout error, these are the systemd logs:
Jul 21 22:17:50 g14 systemd[1]: Starting GitHub Actions runner...
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24081]: Configuring GitHub Actions Runner
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: --------------------------------------------------------------------------------
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | ____ _ _ _ _ _ _ _ _ |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | Self-hosted runner registration |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: | |
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: --------------------------------------------------------------------------------
Jul 21 22:17:50 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: # Authentication
Jul 21 22:17:54 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: √ Connected to GitHub
Jul 21 22:17:54 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: # Runner Registration
Jul 21 22:17:55 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: √ Runner successfully added
Jul 21 22:19:20 g14 systemd[1]: github-runner-runner4.service: start-pre operation timed out. Terminating.
Jul 21 22:19:20 g14 8kjs49yhyzs5kimiwvfpyg3cysiids1m-github-runner-runner4-configure.sh[24111]: Exiting...
Jul 21 22:19:20 g14 systemd[1]: github-runner-runner4.service: Control process exited, code=exited, status=1/FAILURE
Jul 21 22:19:20 g14 systemd[1]: github-runner-runner4.service: Failed with result 'timeout'.
Jul 21 22:19:20 g14 systemd[1]: Failed to start GitHub Actions runner.
Jul 21 22:19:20 g14 systemd[1]: github-runner-runner4.service: Consumed 3.095s CPU time, received 351.3K IP traffic, sent 26.6K IP traffic.
I’ve tried reading the source of the runner here. Just tracking that Runner successfully added
message here.
My config is nothing fancy, something like:
services = {
github-runners = {
runner = {
enable = true;
name = "runner";
tokenFile = "/home/user/token";
url = "https://github.com/user/repo";
};
};
};
I generated the token in this page https://github.com/:user/:repo/settings/actions/runners/new and it seems to be working (No 404s)
I’m using the latest version (2.317.0
) of the runner