【问题标题】:Gitlab-Runner service not working in windowsGitlab-Runner 服务在 Windows 中不起作用
【发布时间】:2018-03-02 17:38:20
【问题描述】:

我从 gitlab CI 开始。

我正在使用 Windows 7。我注册了我的 GitlabRunner,但是当我尝试安装它时,我遇到了这个问题:

←[0;33mWARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases←[0;m
←[31;1mFATAL: Failed to start gitlab-runner: The specified service does not exist as an installed service.←[0;m

你能帮帮我吗?谢谢 :)

【问题讨论】:

    标签: windows git gitlab gitlab-ci gitlab-ci-runner


    【解决方案1】:

    我找到了解决方案,该服务是由本地系统用户启动的,它没有在 PATH 中添加 Windows\system32。 我将启动服务的用户更改为会话的 %username% 并且它可以工作:)

    【讨论】:

      【解决方案2】:

      对不起,如果我不能帮忙。这个问题似乎发生在Windows and Linux as well

      我还在终端收到以下消息:

      Setting up gitlab-runner (10.0.0) ... GitLab Runner: creating gitlab-runner... WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases gitlab-runner: Service is not running. WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases gitlab-ci-multi-runner: Service is not running. WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases WARNING: Since GitLab Runner 10.0 this command is marked as DEPRECATED and will be removed in one of the upcoming releases

      【讨论】:

      • 感谢回答,我找到了解决方案:D
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-01-20
      • 2022-10-21
      • 2019-02-03
      • 2017-07-20
      • 1970-01-01
      • 1970-01-01
      • 2020-03-04
      相关资源
      最近更新 更多