Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to register self-hosted runner #178

Closed
danielMCF99 opened this issue Dec 19, 2023 · 12 comments
Closed

Unable to register self-hosted runner #178

danielMCF99 opened this issue Dec 19, 2023 · 12 comments

Comments

@danielMCF99
Copy link

I am trying to use this github action but I keep getting an error when checking if the GitHub self-hosted runner is registered.

Can anyone outline some possible reasons for this?

@GoLoTrust
Copy link

Same situation here =..(

@danielMCF99
Copy link
Author

still no progress :(

@GoLoTrust
Copy link

GoLoTrust commented Dec 22, 2023

Hey @danielMCF99 , Thanks for pointing this out! After some testing I tried by creating our own AMI image where basically we use Ubuntu 22.04 and dependencies needed. Hope this can fix the problem for your use case as well!

@dysfunctor
Copy link

I ran into this because I did not do step 3.2 of the README: "Connect to the instance using SSH, install docker and git, then enable docker service."

Hope that helps!

@yambottle
Copy link

Folks, I ran into the same issue, and by default, the subnet I'm using sets Auto-assign public IPv4 address to No... It works when I set it to Yes

@AndriiPidiablonskyi
Copy link

Might be related to unsupported OS or arch, e.g. Github doesn't support Amazon Linux AMI for self-hosted runners, please refer here for more details.

@4cm3
Copy link

4cm3 commented Jul 25, 2024

Folks, I ran into the same issue, and by default, the subnet I'm using sets Auto-assign public IPv4 address to No... It works when I set it to Yes

This is the solution

@4cm3
Copy link

4cm3 commented Jul 25, 2024

Might be related to unsupported OS or arch, e.g. Github doesn't support Amazon Linux AMI for self-hosted runners, please refer here for more details.

I'm using Amazon Linux for self hosted runners and they work as expected. Will update if I find any issue

@roshkhatri
Copy link

Ran into the same issue

Folks, I ran into the same issue, and by default, the subnet I'm using sets Auto-assign public IPv4 address to No... It works when I set it to Yes

Worked after following this

Should probably be added to the README or have a TROUBLESHOOTING.md file

@TerenceTian625
Copy link

I set it to No, and the failed to register as self-hosted runner issue never appears, weird

@stecullum
Copy link

I had to make sure the image has "libicu"

For amazon Linux AL2003 I had to add...

        "sudo yum update -y",
        "sudo yum install docker libicu -y",  << important
        "sudo systemctl enable docker",
        "sudo systemctl start docker",

        "# Install docker compose plugin",
        "sudo curl -L \"https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-$(uname -m)\" -o /usr/libexec/docker/cli-plugins/docker-compose",
        "sudo chmod +x /usr/libexec/docker/cli-plugins/docker-compose"
     ```

@Preen
Copy link
Collaborator

Preen commented Nov 15, 2024

Havent been able to confirm this yet in regards of AL2023. However until I have; please use Amazon Linux 2 for now. I will close this for now and if you encounter any new issues with runners not registering, create a new issue.

@Preen Preen closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants