Describe the bug
When I ssh into my OSX box, and try to start the service, I receive the following error:
Could not find domain for port (Aqua)
The command I'm running is cd actions-runner && ./svc.sh install
The ./run.sh command works without issue
To Reproduce
./svc.sh start
Expected behavior
Version of your runner?
osx-x64-2.165.2
OS of the machine running the runner? OSX/Windows/Linux/...
OSX Catalina
Could not find domain for port (Aqua)
$ ./svc.sh install
Creating launch runner in /Users/xxx/Library/LaunchAgents/actions.runner.xxx-xxx.xxx-build-osx.plist
Creating /Users/xxx/Library/Logs/actions.runner.xxx-xxx.xxx-build-osx
Creating /Users/xxx/Library/LaunchAgents/actions.runner.xxx-xxx.xxx-build-osx.plist
Creating runsvc.sh
Creating .service
svc install complete
N/A
@jl-gogovapps i did a quick google search on the error, looks like related permission around the SSH user and the service installed user.
what user did you use to run ./svc.sh install and what user did you use to SSH?
Hey @TingluoHuang, thanks for checking in on it. I'm ssh-ing, and then running ./svc.sh install so it's the same user. It's also the only primary user on the machine. I could give this a try
For anyone who ends up here, launchd can't load user's services until it logs in via gui. Auto login feature can help in that case
But it still seems a little off to me
Looks like this did the trick for me!
sudo cp {/Users/xxx/Library/LaunchAgents,/Library/LaunchDaemons}/your.plist
I was able to reboot my machine without logging in and see the runner active
This is happening on a fresh macOS install.
Most helpful comment
Looks like this did the trick for me!
I was able to reboot my machine without logging in and see the runner active