1

我在 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.
4

1 回答 1

0

当我在容器(docker exec -it container-name bash)内运行 subgit configure/install 时,文件所有者是正确的(git),现在一切都很好:)

于 2016-12-22T14:43:24.313 回答