After upgrading bitbucket from 7 to 8.8.2 we are seeing the following error:
We still see the error even after adding the safe.directory.
# git config --global --list
safe.directory=/data/repositories/1
safe.directory=*
Hi,
Probably the /data/repositories/1 directory has a different owner than the user that Bitbucket Server is running with. You need to ensure all directories under /data/repositories have an owner that matches the user Bitbucket Server is running as.
Cheers,
Christian
Premier Support Engineer
Atlassian
Thank you! We fixed that exactly as you described.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! changing the ownership of the repo folder with instance owner fixed the issue. The error on the UI was misguiding and your solution fixed the issue that I had.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.