Comments (3)
I get this output when I run ./bin/installdependencies.sh
:
--------OS Information--------
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
------------------------------
"centos rhel fedora"
Can't detect current OS type based on /etc/os-release.
Can't install dotnet core dependencies.
You can manually install all required dependencies based on following documentation
https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x
The instance AMI is Amazon Linux 2. Can you please explain what you mean by "I used centos-release-7-9.2009.1.el7.centos.x86_64."? Thanks!
from ec2-github-runner.
Hi colleagues,
Some additional details:
I also tried to use runner-home-dir option. I prepared AMI based on @machulav steps in #38 (comment) but still facing the same behaviour. I also tried to set up actions-runner directory not in root folder but got the same behaviour.
I suspect something with user permissions on created EC2. When I log in on created EC2 while build hanging and trying to execute
./config.sh --url https://github.com/aligntech/sandbox --token XXX
output:
2ZK
Must not run with sudo
Please also see logs from ./_diag/Runner_20211019-122418-utc.log
[2021-10-19 12:24:19Z INFO ConfigurationManager] Is configured: False
[2021-10-19 12:24:19Z ERR Terminal] WRITE ERROR: An error occurred: Not configured
[2021-10-19 12:24:19Z ERR Listener] System.InvalidOperationException: Not configured
at GitHub.Runner.Listener.Configuration.ConfigurationManager.LoadSettings()
at GitHub.Runner.Listener.Runner.ExecuteCommand(CommandSettings command)
at GitHub.Runner.Listener.Program.MainAsync(IHostContext context, String[] args)
Thanks, Artem.
from ec2-github-runner.
Hello everyone,
I was finally managed to figure out the cause of the issue!
./bin/installdependencies.sh must be run while preparing AMI for build
I used centos-release-7-9.2009.1.el7.centos.x86_64.
I suppose it could be mentioned in preparation steps, because it's not really obvious. Or this step could be added to steps for client installation.
Thanks, Artem.
from ec2-github-runner.
Related Issues (20)
- git: command not found
- libicu60 needed for arm HOT 2
- Why is my GitHub registration hanging? HOT 4
- incorrect environment on runner, unable to checkout repo
- Support Node v16
- set-output deprecation
- stop action fails to find Github runner though the labeled runner does exist HOT 2
- Runners fail to register when IPs/hostnames are reused HOT 4
- Instance role when added not working HOT 2
- update the options for github runner setup script (config.sh)
- Runner is up and running but job isn't running on selfhosted runner HOT 2
- Support for c7g instances. HOT 1
- Add missing library to README / Arm64
- Make ec2-github-runner working with GITHUB_TOKEN generated into the Github Action workflow HOT 3
- EBS Volume doesn't get deleted HOT 1
- [feature request] make to be installed github runner version configurable
- [feature request] Make configurable pre-commands in user-data possible HOT 1
- is there a way to pass additional parameter to ec2 instance, like enable detail monitor? HOT 2
- Github Runner - not able to register itself in GitHub as a new self-hosted runner HOT 1
- [feature request] Allow use of Fine-grained personal access tokens
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ec2-github-runner.