Open link in a new tab

Content

Expand project menu

gite bare repository

On the server, running OP (docker, version 6.1.5) i did create a
bare git repo.

I am able to clone that repo, commit and push stuff there.

The repo folder at /var/lib/openproject/openproject_git_repository/
is attached to docker at /var/lib/openproject/openproject_git_repository/

the folder beloongs to www-data

Entering the repo via OP webinterface returns:
Error 500

the log file:
/var/lib/openproject/logs/web-stdout.log
states

App 968 stdout: Availability check failed due to failed Git command: git exited with non-zero status: 128

This is quite annoying …. .
I really want to have that repo to be, at least, viewable via OP.

Does anyone here know what to do?
Thanks and best regards!

Twain

Message actions

Is there no one, using a git repo here??

Message actions

Hi Twain,

I have not used Git repositories directly integrated into OpenProject, but I have been working with Gitolite and OpenProject. Why not trying the plugin? It has many handy features, have a look here:

https://github.com/oliverguenther/openproject-revisions_git

Just make sure you use the correct branch according to your OpenProject version.

Cheers
Luis

Message actions

Hi Luis,

thanks for you reply.

I gave gitolite a look and just wanted to give it a try.

As I am using the docker deploy of OP, I am stuck at:
1. Gemfile.plugins
Add a Gemfile.plugins to your OpenProject root with the following contents:

as https://www.openproject.org/download-and-installation/
states:
Our official installation page has instructions on how to customize your OpenProject installation. Please note that customization is not yet supported for Docker-based installations.

this seems not to be an option atm. … .

Thanks anyway!
BR
Twain