Docker 等待pid文件的子Git超时
我在docker容器上安装了GitLab,并尝试使用SubGit。从SVN到Git的同步工作得很好,但我在尝试进行Git推送时遇到了问题。我得到以下错误,daemon.pid文件从subgit目录中删除Docker 等待pid文件的子Git超时,docker,gitlab,subgit,Docker,Gitlab,Subgit,我在docker容器上安装了GitLab,并尝试使用SubGit。从SVN到Git的同步工作得很好,但我在尝试进行Git推送时遇到了问题。我得到以下错误,daemon.pid文件从subgit目录中删除 Delta compression using up to 4 threads. Total 5 (delta 4), reused 0 (delta 0) remote: remote: SubGit ERROR REPORT (SubGit version 3.2.2 ('Bobique'
Delta compression using up to 4 threads.
Total 5 (delta 4), reused 0 (delta 0)
remote:
remote: SubGit ERROR REPORT (SubGit version 3.2.2 ('Bobique') build #3603):
remote:
remote: You've received this message because SubGit (http://subgit.com/) is installed in your repository
remote: and an error that needs to be dealt with has occurred in SubGit translation engine.
remote:
remote: TEMPORARY ERROR:
remote: Failed to launch background translation process: timeout waiting for pid file '/var/opt/gitlab/git-data/repositories/lpp/OA.git/./subgit/daemon.pid'.
remote:
remote: CURRENT STATE:
remote: Both Git and Subversion repository are open for pushes or commits.
remote: Your commit was not committed, but you may retry it.
remote:
remote: TO RECOVER:
remote: A) Address the problem if possible and then retry commit
remote: OR
remote: B) Run on the server
remote: $ subgit uninstall /var/opt/gitlab/git-data/repositories/lpp/OA.git/.
remote:
remote: IMPORTANT: As soon as SubGit is uninstalled, both Git and Subversion repositories
remote: will become open, but no synchronization will take place.
remote:
remote: TO REPORT:
remote: Report an issue at ...
remote: You may find logs on the server at '/var/opt/gitlab/git-data/repositories/lpp/OA.git/./subgit/logs'
remote:
remote: THANK YOU!
error: failed to push some refs to ...
Not all refs have been pushed.
当我运行subgit configure/install inside container(docker exec-it container name bash)时,文件所有者是正确的(git),现在一切都好了:)当我运行subgit configure/install inside container(docker exec-it container name bash)时,文件所有者是正确的(git),现在一切都好了:)