Content
Integrated GIT ist not working anymore
Added by Patrick Seher 5 months ago
Hi,
we are using 14.1.0 (installed on a dedicated Ubuntu 22.04 via APT) and use the integrated GIT of OpenProject.
From one day to another git just stopped working, maybe it was some unattended ubuntu update package (but didnt find anything relevant in apts history,log)
-
We can still access our GIT Repositories via Openproject -> choose project -> Repositories
= the repo it self seems to be fine. -
But when opening the Repository via git (or Webbrowser for testing), auth is working, but after the auth you get a blank page or in git:
"fatal: unable to access 'https://openproject.domain.tld/git/xyz-theme.git/': The requested URL returned error: 500" -
Apache errror log shows only:
"Request not supported: '/var/db/openproject/git/xyz-theme.git'
Maybe someone has an idea howto to troubleshoot this?
Thanks, Patrick
Replies (2)
could solve it by myself.
apache error log told me more: "fatal: detected dubious ownership in repository at '/var/db/openproject/git/"
but access rights seems to be ok on /var/db/openproject/git/:
drwxrwx--- 7 openproject www-data 4,0K Mai 24 17:26
So i added this to my git system config: git config --system --add safe.directory '/var/db/openproject/git'
works now.
Thank you for proving your solution, Patrick!