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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Integrated GIT ist not working anymore

Integrated GIT ist not working anymore

Added by Patrick Seher 11 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)

  1. We can still access our GIT Repositories via Openproject -> choose project -> Repositories
    = the repo it self seems to be fine.

  2. 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"

  3. 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)

RE: Integrated GIT ist not working anymore - Added by Patrick Seher 10 months ago

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.

RE: Integrated GIT ist not working anymore - Added by Alexander Stock 10 months ago

Thank you for proving your solution, Patrick!

  • (1 - 2/2)
Loading...