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 SVN on same machine

Openproject and SVN on same machine

Added by Christoph Heckmann over 9 years ago

Hi all!
I’ve currently problems in understanding how the SVN configuration works with openproject.
On my Ubuntu 14.x system I’ve first installed SVN Server. User management is done via “AuthUserFile /etc/apache2/dav_svn.passwd”.
Everything works fine.
After installing openproject I’ve no access to the reop anymore.
I guess this is due to vhost file of openproject (/etc/openproject/addons/apache2/includes/vhost/svn_dav.conf).
Once I’ve create a project in openproject, the repo on the server get created automatically as well.
So far so good. Unfortunately I cannot connect anymore with my SVN username+password.
Which one must I choose to get access?
Is openproject using the passwords from the openproject users?

Thanks for support & best regards
Christoph


Replies (1)

RE: Openproject and SVN on same machine - Added by Oliver Günther over 9 years ago

Hi Christoph,

when using the packager-based installation, the wizard configures Apache with mod_svn for you.

This is the included vhost configuration you mentioned.
In this configuration, it uses the Sys API to access OpenProject locally and request for authorization based on the user credentials.
Thus, in order to access the repository through apache, you:

  1. Use your OpenProject username + password
  2. Need to be a member of the project you want to check out (or alternatively, an administrator).
  3. (With the next version of OP (5.0) : Need to have that repository created through OpenProject)

You can ensure that the Sys API is enabled by checking the setting at Administration > Settings > Repositories > Enable WS / Repository web service.
The API key shown in below that setting must be identical to the one in the vhost configuration. Packager should have done that already for you.

You can also override the behavior used in that vhost, for example to re-establish your file-based authorization.
Note however, that this would be independent of the access control you define in OpenProject.

For more information, see this document:
https://github.com/opf/openproject/blob/release/4.2/doc/subversion_and_git_integration.md

If you have remarks regarding the documentation of repository integration, please let me know!

Best regards,
Oliver

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