Can';t启动gitlab服务

Can';t启动gitlab服务,git,debian,gitlab,Git,Debian,Gitlab,我已经在我的一台debian服务器上安装了gitlab。到目前为止,它至少运行了2个月。它只是停止运行,当我尝试使用命令sudo-service-gitlab-start运行时,它会给出以下错误 Removing stale Unicorn web server pid. This is most likely caused by the web server crashing the last time it ran. Removing stale Sidekiq job dispatcher

我已经在我的一台debian服务器上安装了gitlab。到目前为止,它至少运行了2个月。它只是停止运行,当我尝试使用命令
sudo-service-gitlab-start
运行时,它会给出以下错误

Removing stale Unicorn web server pid. This is most likely caused by the web server crashing the last time it ran.
Removing stale Sidekiq job dispatcher pid. This is most likely caused by Sidekiq crashing the last time it ran.
Starting both the GitLab Unicorn and Sidekiqmaster failed to start, check stderr log for details
.
[: 298: -ne: unexpected operator
GitLab is not running.
你们知道这件事的原因和如何解决吗?非常感谢你的帮助

致以最诚挚的问候,

如中所述:

出现此错误消息的唯一方式似乎是Sidekiq pid被以下未完成进程删除:


尝试停止一切并重新启动GitLab。

尝试终止GitLab用户下运行的所有进程。对我来说是“git”:


然后重新启动gitlab服务。

您好,是的-我已经尝试停止所有服务,包括Sidekiq。但是还是不行。@ShenLance你使用的是什么版本的GitLab?@VonC-这是我的系统/软件包信息
if [ -f "$sidekiq_pid_path" ]; then
    spid=$(cat "$sidekiq_pid_path")
pkill -u git