question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSX Runner service fails to start

See original GitHub issue

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

  • The service starts
  • Rebooting the machine starts the service automatically

Runner Version and Platform

Version of your runner? osx-x64-2.165.2

OS of the machine running the runner? OSX/Windows/Linux/… OSX Catalina

What’s not working?

Could not find domain for port (Aqua)

Job Log Output

$ ./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

Runner and Worker’s Diagnostic Logs

N/A

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
jl-gogovappscommented, Mar 1, 2020

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

5reactions
raphaelcruzeirocommented, Dec 1, 2020

This is happening on a fresh macOS install.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to run self-hosted runner application as a service ...
Service should be started on starting up mac and Github -> actions-> runner should show "Idle" state. Runner Version and Platform. Version of ......
Read more >
Active specific runner not working jobs. start,stop,status ...
I have a specific Runner registered on my home machine (mac os). ... failed with stderr: Could not find service "gitlab-runner" in domain ......
Read more >
Gitlab-runner service not started after reboot - Ask Different
I've had great luck using brew services to start it at boot as opposed to needing to log in. https://docs.gitlab.com/runner/install/osx.html.
Read more >
GitHub action self-host runner as service fails - linux
I have installed GitHub self-hosted runner on my Ubuntu system. Getting below error when i try to configure it as service. $ sudo...
Read more >
Set up runners for MacOS | Bitbucket Cloud
MacOS Runners allow you to run builds in Pipelines on your own MacOS infrastructure, ... installing any applications, starting a database service, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found