Skip to content

User Account for Self-Hosted Runner on Linux #24643

Discussion options

You must be logged in to vote

So after some experimentation, I got it working. Here’s what I’ve found:

The proper approach seems to be to create a “github_runner” user account first, then sudo into that user account and install the runner to ~/action-runner. My three issues all seem to have stemmed from the fact I was trying to install off the root (/) instead of home (~).

So I guess the main takeaway from this post is that I think there should be some additional documentation when setting up a Linux build runner specifically (https://github.com/organizations/<org>/settings/actions/runners/new?arch=x64&os=linux), letting users know to create a user account first, sudo into it, and install the runner to the user accoun…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@newfunda
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment