Content
You are here:
Git client Error 500 after upgrading system to 14.1.1
Added by Istvan Holbok 6 months ago
After upgrading our OpenProject instance to v. 14.1.1 we cannot access the git repositories in the instance.
The git client error is: fatal: unable to access 'https://<OpenProject-URL>/git/<project>.git/': The requested URL returned error: 500
The system is running in an Ubuntu 22.04 LTS server. Package based installation.
The project git repository can be accessed in WEB interface of the OpenProject. In the git repository we can access the different revisions, only client access from Visual Studio Code or from Ubuntu terminal does not work.
I did not find error messages in the logs. The firewall did not ban our access.
How can I restore git client access to the system?
Thank you any suggestion for advance.
Replies (2)
Resolved. The last update of OpenProject and Ubuntu 22.04 LTS together changed the ownership and access to git repositories.
To resolve the issue we need adjust the ownership and permissions:
You would have to do this for every new directory. A workaround which is far more convinient is to tell git to trust all directories to be safe. To do so, just execute