我在Docker容器上有GitLab,我尝试使用SubGit。从SVN到Git的同步工作正常,但是当我尝试执行git push时我遇到了问题。我收到以下错误,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') 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.
答案 0 :(得分:0)
当我在容器(docker exec -it container-name bash)中运行subgit configure / install时,文件所有者是正确的(git),现在一切都很好:)