Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Docker installation - git clone does not work

Docker installation - git clone does not work

Added by j k over 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.


Loading...