Hello,
I have an on premise installation based on docker of Bitbucket, I can create new repositories and clone them, both with ssh and https.
When I try to push some commits I receive this error:
remote: error: insufficient permission for adding an object to repository database /var/atlassian/application-data/bitbucket/shared/data/repositories/22/./objects/incoming-ou9mRn
My docker installation adds a volume on the host filesystem.
I checked the permissions of the files, externally and internally the containter and everything seems ok.
I checked that: "sh git@bitbucket.se.local -p 7999 whoami" gives the correct user
I checked that: my user has admin permission on the repository.
I tryied to: chmod -R 777 /var/atlassian/application-data/bitbucket/shared/data/repositories/22/
I enabled logs and profiling and I don't see any error.
I updated bitbucket to the very last image.
I don't know what else I could try. Anyone could give me a clue?
Thank you in advance. :)
Hello Fabrizio,
Thank you for providing the steps you’ve taken along with what testing you’ve done. The issue looks to be an underlying permissions issue (as you suspected) within git itself for your folder structure/path. There is a very good write-up which exists within StackOverflow which covers this type of git permissions issue. You may find this post at Git Push Error: insufficient permission for adding an object to repository database Ask Question.
If you’re still having issues with your git repo after reviewing and repairing permissions per the linked post, please let us know so we may further assist.
Regards,
Stephen Sifers
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.