Giter VIP home page Giter VIP logo

Comments (3)

Shan-KulK avatar Shan-KulK commented on May 20, 2024 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.

afedotov-align avatar afedotov-align commented on May 20, 2024

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.

afedotov-align avatar afedotov-align commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.