You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created 8 GitHub runners on my local machine and set them up. However, when I try to run them using runsvc.sh, I encounter the following errors:
/github-runners/r1/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r2/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r3/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r4/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r5/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r6/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r7/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r8/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
However, if I navigate to ./externals/node16/bin/node in r1 and execute it directly, it works fine and opens the Node.js environment.
Seeing this issue as well with self-hosted runners. Disabling the wrapper by setting terraform_wrapper=false clears the error but seems to cause all stdout, stderr outputs to not populate.
update:
Worked out a workaround for this just throwing the plan into github_output
Setup Terraform (I'm using clowdhaus's action to grab the version based on my configuration):
I have created 8 GitHub runners on my local machine and set them up. However, when I try to run them using runsvc.sh, I encounter the following errors:
/github-runners/r1/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r2/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r3/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r4/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r5/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r6/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r7/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
/github-runners/r8/runsvc.sh: line 17: ./externals/node16/bin/node: No such file or directory
However, if I navigate to ./externals/node16/bin/node in r1 and execute it directly, it works fine and opens the Node.js environment.
Here is my service file:
[Unit]
Description=Manage GitHub Actions Runners
After=network.target
[Service]
Type=simple
User=myuser
WorkingDirectory=/home/myuser/github-runners/
ExecStart=/bin/bash -c 'for i in {1..8}; do /home/myuser/github-runners/r$i/runsvc.sh start --instance r$i; done'
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
The text was updated successfully, but these errors were encountered: