After installing and registering gitlab-runner, when I'm running gitlab-runner start
I get this error message. What will be the reason for this ?
Runtime platform arch=amd64 os=darwin pid=65915 revision=c1edb478 version=14.0.1
FATAL: Failed to start gitlab-runner: "launchctl" failed with stderr: Load failed: 5: Input/output error
GitLab Runner is installed and is run after a system reboot. If you followed these instructions, the GitLab Runner configuration file ( config. toml ) is in /Users/<username>/. gitlab-runner/ .
GitLab Runner is an application that works with GitLab CI/CD to run jobs in a pipeline. You can choose to install the GitLab Runner application on infrastructure that you own or manage.
Install GitLab Runner as a service and start it: GitLab Runner is installed and will be run after a system reboot. A Homebrew formula is available to install GitLab. GitLab does not maintain the Homebrew formula. To install GitLab Runner using Homebrew: Install GitLab Runner. Install GitLab Runner as a service and start it.
If the GitLab Runner is run as service on Windows it logs to System’s Event Log. Is it possible to run GitLab Runner in debug/verbose mode. From a terminal, run: Please see the self-signed certificates . If you want to use Docker executor, and you are connecting to Docker Engine installed on server. You can see the Permission Denied error.
If GitLab Runner is stuck on the above message when using macOS, there are two causes to why this happens: The first command enables access to developer tools for your user. The second command allows the user who is member of the developer group to do UI interactions, e.g., run the iOS simulator.
You can verify that GitLab Runner created the service configuration file after executing the install command, by checking the ~/Library/LaunchAgents/gitlab-runner.plist file. If Homebrew was used to install git, it may have added a /usr/local/etc/gitconfig file containing:
gitlab-runner uninstall
gitlab-runner install
gitlab-runner start
fixed it for me, as stated here: https://docs.gitlab.com/runner/install/osx.html#upgrade-the-service-file
I installed with brew and getting same error when I tried
gitlab-runner start
I have to start the runner service with brew
and it worked
brew services restart gitlab-runner
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With