Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Objects dir does not exist in bitbucket repository

Yogesh Mude
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.
July 30, 2018

After migration, we r getting the below error.

'/usr/bin/git cat-file -t refs/heads/master:' exited with code 128 saying: error: object directory /abdera/user0/atlass/application-data/bitbucket/data/repositories/292/objects does not exist; check .git/objects/info/alternates.

 

but the thing is within the repository/objects/info the alternates file is not available..i hvae gone through the below KB as well...

https://confluence.atlassian.com/bitbucketserverkb/object-directory-does-not-exist-git-operations-fail-after-upgrade-or-bitbucket_home-update-779171447.html

1 answer

1 accepted

0 votes
Answer accepted
Yogesh Mude
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.
August 2, 2018

HI Team,

Finally, we have resolved this issue..as the alternates file contains or point out to the Old directory or to our existing dev instance ie /abdera/user0/atlass/application-data/bitbucket/data/repositories/292/objects

After changing or pointing out to the new migrated shared directory..the issue has been resolved..

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events