-
What version are you on? Are you using self-managed or GitLab.com?
- Runner 12.8.0:
- GitLab Core 12.7.2
- Windows 10
- account (non-admin) for gitrunner: gitrunner@ourADdomain.org. (aka ourADdomain\gitrunner) has SeServiceLogonRight enabled
- admin account: my.Admin@ourADdomain.org
GitLab Runner installed like this:
.\gitlab-runner.exe install --user gitrunner@ourADdomain.org --password
This is the startup command for the system service that gets installed:
C:\GitLab-Runner\gitlab-runner.exe run --working-directory C:\GitLab-Runner --config C:\GitLab-Runner\config.toml --service gitlab-runner --syslog
On machine startup, that service launcher fails, with this error in the Windows Event Viewer:
The gitlab-runner service failed to start due to the following error:
The account name is invalid or does not exist, or the password is invalid for the account name specified.
But if I log in with the myAdmin account and go to a CMD shell, change to the directory, and start it like so:
C:\GitLab-Runner>gitlab-runner.exe start
then the service starts and and accepts jobs. So it can’t be a bad account name/password?
How/where does the username/password entered at “install” get saved/associated with gitlab-runner?
Also, what is the “gitlab-runner run…” command doing differently at service startup time from my manual “gitlab-runner start” command?