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. openproject and gitolite - not working

openproject and gitolite - not working

Added by Thore Bödecker almost 9 years ago

Hey guys,

I’ve stumbled upon OpenProject as I was looking for a decent open-source project management system.
The manual installation went okay-ish and “vanilla” OpenProject seems to be running without errors.

Obviously I want to have some sort of git integration into my OpenProject instance.

Due to a lack of documentation how to access openproject-managed git repositories (I have no idea how to clone/pull/push those repositories created by OpenProject…) I started looking into openproject-revisions_git (https://github.com/oliverguenther/openproject-revisions_git/tree/release/5.0) which looked exactly like what I was looking for.

However I can’t get the plugin to work, it shows up under /admin/plugins but when I hit ‘configure’ the worker-thread gets stuck and resetted after my configured 60s timeout every single time.

I have already tried both stable/5 and release/5.0 branches of OpenProject, makes no difference.

Some details on my system:
OS: ArchLinux x64 (up2date as of this afternoon)
DB: PostgreSQL 9.5.2
HTTPD: Apache 2.4.20
ruby: 2.3.1p112
bundler: 1.12.5
git: 2.8.3
gitolite: 3.6.5
OpenSSH: 7.2p2
OpenSSL: 1.0.2h

The rugged gem seems to be built with SSH support enabled, so that should not be an issue.

Steps to reproduce (if I remember correctly)
1. install and configure vanilla openproject, branch release/5.0
2. prepare gitolite setup as instructed on https://github.com/oliverguenther/openproject-revisions_git/tree/release/5.0
3. checkout the gitolite-admin.git to ${openproject-user-HOME}/gitolite-admin.git as ${openproject-user}
4. add the openproject-revisions_git with branch release/5.0 to the bottom of Gemfile.plugins
5. run bundle install
6. run RAILS_ENV=“production” bundle exec rake db:migrate db:seed assets:precompile
7. restart the OpenProject instance

Currently I’m running my OpenProject instance through:

bundle exec unicorn --listen 127.0.0.1:3000 --env production

Public access is then handled by apache2.4 via proxy.

Access and modifications to gitolite-admin.git as ${openproject-user} via shell are working perfectly fine.

From what I can see in the logs it seems that the configuration view is indeed rendered somewhere but never reaches the apache nor my browser:

I, [2016-06-12T23:11:27.418945 #17595]  INFO -- :   Rendered vendor/bundle/bundler/gems/openproject-revisions_git-bdf47776eaf5/app/views/settings/_gitolite_config.html.erb (13.2ms)

Any suggestions on how to get this plugin working are very welcome.


Loading...