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. SVN managed repo: Unable to create the repository with the selected configuration. Received an invalid response from the managed remote.

SVN managed repo: Unable to create the repository with the selected configuration. Received an invalid response from the managed remote.

Added by Andrew Herbert 4 months ago

Environment: DEB package

Your OpenProject Version: 15.2.0

Operating System / Browser / Language: Debian 12

Logs

No browser errors beyond the banner pop-up "Unable to create the repository with the selected configuration. Received an invalid response from the managed remote."
openproject logs doesn't print anything (probably a bug with the installation on its own). No relevant errors in journalctl web-1 or worker-1.

Steps to reproduce:

Set up the openproject site to support SVN, including adding an API key. Created a new project and went into project settings to set up an SVN repo. Selected SVN, managed, clicked create, error pops up instead.

Actual Behavior
An error banner shows on the website with the message "Unable to create the repository with the selected configuration. Received an invalid response from the managed remote."

Expected Behavior
An SVN repo is created for the project and given a checkout URL.

Note: in the same openproject website there is another project with SVN already integrated.


Replies (2)

RE: SVN managed repo: Unable to create the repository with the selected configuration. Received an invalid response from the managed remote. - Added by Andrew Herbert 4 months ago

scm configuration in configuration.yaml:

<% if git_configured || svn_configured %>
  scm:
  <% if git_configured %>
    git:
      manages: <%= ENV['GIT_REPOSITORIES'] %>
      mode: 0770
      group: <%= ENV['SERVER_GROUP'] %>
  <% end %>
  <% if svn_configured %>
    subversion:
      # SVN uses Apache repository wrapper due to permission errors in multi-us>
      manages: <%= ENV['SVN_REPOMAN_URL'] %>
      # Do not verify SSL certificates when SERVER_PROTOCOL is 'https'.
      # As we currently only support local repoman installations with packager,
      # this option is set to true by default.
      insecure: true
      access_token: <%= ENV['SVN_REPOMAN_TOKEN'] %>
  <% end %>
<% end %>

RE: SVN managed repo: Unable to create the repository with the selected configuration. Received an invalid response from the managed remote. - Added by Andrew Herbert 4 months ago

I have found the source of the issue: repoman is set to listen on 127.0.0.1:80. However on my openproject server I had port 80 reserved for traefik to handle reverse proxy, and I changed the virtual host in apache to listen on port 82. However the openproject config's repoman url has to be changed as well.


  • in /etc/openproject/conf.d/other update REPOMAN_URL to the port which openproject http is listening on

  • same for /opt/openproject/packaging/addons/repositories/bin/postinstall in case you run reconfigure

  • Update the virtualhost in /etc/openproject/addons/apache2/includes/server/20_repoman_svn_vhost.conf to match the port

  • set the port to listen on in apache2's sites-enabled conf

Suggestion for future OpenProject versions: during the configuration script, prompt the user for an http and https port to listen on, and set the repoman url to use the http port.

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