Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

aborting due to possible repository corruption on the remote side

Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2019

I am  unable to clone a repo from  our productive environment whereas the same repo can be cloned from the test environment. for starters i could not find anything difference in the cofiguration of both envionments.

Please help:.

 Production:

git clone http://bitbucket-prod:7990/projects/EWSW-ARCHIVE/repos/pibase.archive/browse

produces following error:

git -c filter.lfs.smudge= -c filter.lfs.required=false -c

diff.mnemonicprefix=false -c core.quotepath=false clone --branch master

ssh://git@bitbucket-prod:7999/ewsw-archive/pibase.archive.git

f:\temp\pibase.archive

Cloning

into 'f:\temp\pibase.archive'...

remote:

aborting due to possible repository corruption on the remote side.

 

I have tried the folllowing:

  1. delete the repo from production
  2. clone repo from test env
  3. change remote to production
  4. push to production
  5. try to clone from productions again (fails)
  6. recommendations from stack overflow:

7.git config --global pack.window "0"

git config --global pack.windowMemory "100m"

git config --global pack.packSizeLimit "100m"

git config --global pack.threads "1"

8 git clone fails again.

1 answer

1 accepted

0 votes
Answer accepted
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2019

Solution:

git fsck

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

Mahadevan P February 1, 2022

where I want to  execute this command?

Bhavesh Kharwa May 24, 2022

on git server

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events