查看服务日志 命令:sudo gitlab-ctl tail postgresql 找到postmaster.pid文件并删除,最好先备份一下 重启gitlab 命令:gitlab-ctl restart