I have edit the path of repositories object in integration-system-workid/.git/objects/info/alternates as suggested in error shown on display. But still cannot see the repo on server . Still I am seeing the same error 505.
'/usr/local/bin/git cat-file -t refs/heads/master:' exited with code 0 saying: error: object directory /opt/stash/shared/data/repositories/471/objects does not exist; check .git/objects/info/alternates.
It is still trying to fetch the repo from old path -opt/stash/shared/data/repositories/
whereas new path I set in alternates is- cd /opt/bitbucket/bitbucket_home/shared/data/repositories/ ...
I had a repoID mentioned there which i have not changed, just modified the stash to bitbucket/bitbucket_home. Please suggest a way forward for its resolution
You might want to check this KB article - https://confluence.atlassian.com/bitbucketserverkb/object-directory-does-not-exist-git-operations-fail-after-upgrade-or-bitbucket_home-update-779171447.html
Maybe it would help
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events