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. Issues with GIT Repository after Update

Issues with GIT Repository after Update

Added by Alper Haytabay almost 8 years ago

We updated from Version 6 to Version 7
Configuration Log contains error for all git repositories
chcon: failed to change context of ‘heads’ to ‘system_u:object_r:httpd_git_rw_content_t:s0’: Invalid argument

Now it is not possible to authenticate against the git repository or to push changes

POST git-receive-pack (chunked)
remote: fatal: Unable to create temporary file '/var/db/openproject/git/prp.git/./objects/pack/tmp_pack_XXXXXX': Permission denied        
error: remote unpack failed: index-pack abnormal exit
Pushing to http://op.dev.emp.local/git/prp.git
To http://op.dev.emp.local/git/prp.git
 ! [remote rejected]   hg -> hg (unpacker error)
error: failed to push some refs to 'http://op.dev.emp.local/git/prp.git'

How we can fix this issue? Should I open a Bug Report?

After setting the rights with

sudo chcon -R -u system_u -t git_rw_content_t /var/db/openproject/git

we can push changes


Loading...