Content
Docker installation - git clone does not work
Added by j k about 1 year ago
Hello,
I have completed installation of v13 version from standard docker compose. I did successful data migration from packaged installation and everything works fine except repositories.
First, when I check the repository within a project settings, it shows this path: "/var/db/openproject/git/name.git". I configured environment variable GIT_REPOSITORIES: "/var/openproject/assets/git" but that did not make any difference. So as a workaround, I created symlink from /var/db/openproject/git/ -> /var/openproject/assets/git and with this I can browse the repository in browser.
However I can't get git clone working. It says: "fatal: repository x not found"
Started GET "/git/name.git/info/refs?service=git-upload-pack" for x.y.z.z at 2023-11-15 20:50:41 +0000
INFO -- : Processing by ErrorsController#not_found as */*
INFO -- : Parameters: {"service"=>"git-upload-pack"}
INFO -- : Rendered common/error.html.erb within layouts/only_logo (Duration: 0.1ms | Allocations: 92)
INFO -- : Rendered layout layouts/only_logo.html.erb (Duration: 33.7ms | Allocations: 3569)
INFO -- : Completed 404 Not Found in 34ms (Views: 5.1ms | ActiveRecord: 29.2ms | Allocations: 3780)
I'm really struggling to find any info how to make the git repo integration working with docker installation.
Thanks for any help.