Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


detected dubious ownership in repository

After upgrading bitbucket from 7 to 8.8.2 we are seeing the following error:

git cat-file -t refs/heads/master:' exited with code 128 saying: fatal: detected dubious ownership in repository at '/data/repositories/1' To add an exception for this directory, call: git config --global --add /data/repositories/1


We still see the error even after adding the


# git config --global --list*

1 answer

1 accepted

1 vote
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 14, 2023


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.


Premier Support Engineer

Thank you! We fixed that exactly as you described.

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.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events