git bitbucket服务端出现corrution, git 操作时出现 result=22 HTTP code = 500

试过修改buffer, 无效。释放过内存不足。重启都不解决。

怀疑是remote端出了问题, 

从服务端看到了错误日志,如下:

aborting due to possible repository corrution on the remote side.

解决方法:

https://confluence.atlassian.com/bitbucketserverkb/git-operations-fail-due-to-git-pack-objects-died-with-error-849169949.html

cd $BITBUCKET_HOME/shared/data/repositories/<repository_id> 

git fsck
git repack -adf --window=200 --depth=200

猜你喜欢

转载自blog.csdn.net/wangweidong_1991/article/details/88658423
今日推荐