Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Boards
    • 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
    • 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Feature tour
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • Support Installation & Updates

Content

Howto install openproject with an external svn server

Added by Florian Seybold almost 8 years ago

We have an external svn server here. External means svn is running not on the openproject server.
It can be contacted under https://svn.servername.
How do I configure openproject not to use its internal svn instead of the existing external svn server?

Any advice?
Unfortunately, no documentation nor hints on google about that.


Replies (3)

RE: Howto install openproject with an external svn server - Added by Oliver Günther almost 8 years ago

Hi Florian,

The following conditions have to be met in order for this to work:

  1. The Repository Web Service has been enabled and an API key was generated (cf. Administration > Settings > Repository)
  2. Your server running OpenProject is configured to allow connections from the SVN server to the ‘/sys’ API endpoint.
  3. Your SVN server runs Apache2 in order to use the included OpenProjectAuthentication.pm perl module.
  4. The repositories you want to authorize through OpenProject are named identical to the surrounding project in OpenProject (e.g., project ‘Project with repository’ with an identifier ‘project-with-repository’. The repository must also be named ‘project-with-repository’ on your external SVN server.
  5. Your SVN repositories are structured as follows:
  • <SVN root directory (e.g. /opt/subversion/>
    • …

Then you can directly use the following guide regarding authorization of project repositories which is available at:
https://github.com/opf/openproject/blob/dev/doc/subversion_and_git_integration.md

You’ll need to change a few bits in that exemplary configuration, which is targeted at servers running OpenProject and mod_dav_svn on the same machine:

  • Depending on your setup on the server that runs OpenProject, use LocationMatch to allow the SVN server access to the /sys API.
  • Change the <Location /svn> to <Location />, as your message implies you’re using a subdomain for SVN.

Please reply to this post with any questions you might have regarding that configuration.

Best regards,
Oliver Günther

RE: Howto install openproject with an external svn server - Added by Florian Seybold almost 8 years ago

So finally, our external snv server is able to communicate with openproject.
Thanks Oliver for your effort, but your answer and the link was not useful.

In our case, the repository has a different name than the openproject project.
…and it works. ;-)

The problem I ran into, was that the history - or count of revisions - for this repository was to much for openproject.
So, the configuration was just fine, but after you click on repository insinde openproject a proxy error message appears after some time.
The result was, that openproject did not react anymore to any input.
After a restart, under the activity option, some revisions were added (but not all).
A tip from here https://community.openproject.org/topics/4943?r=5002 and here https://community.openproject.org/topics/4129?page=1&per_page=100 led me to the solution of setting the WEB_TIMEOUT parameter to 1000000.
After a long time and many timeouts and openproject restarts we finally have all revisions available in openproject for this repository/project.

After importing, I set WEB_TIMEOUT to a more normal value of 3600.
Now openproject works just fine and as expected.
I guess the same problem will appear if we try to add another existing large repository.

So, should I post a BUG?

RE: Howto install openproject with an external svn server - Added by Oliver Günther almost 8 years ago

Hi Florian,

thanks for the update! I will update the documentation with the specific project identifier requirement.
If you have other suggestions regarding improvements to the documentation (perhaps making it more visible at some other page), please let me know!

Concerning your follow-up issue:

Florian Seybold wrote:

I guess the same problem will appear if we try to add another existing large repository.

So, should I post a BUG?

If you can spare the time, a bug report from you would be awesome. I think we can find a way to work around that limit (e.g., by fetching the changesets asynchronously).
I will continue the discussion on that report.

Best,
Oliver

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