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

コンテナ内でsubgit configure / installを実行すると(docker exec -it container-name bash)、ファイルの所有者は正しく(git)、すべてが正常になりました:)

于 2016-12-22T14:43:24.313 に答える