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. Can't enable "Repository management WS"

Can't enable "Repository management WS"

Added by daniel ramirez over 6 years ago

Hi, in the settings page, i can´t enable the repository management web service, when i click the checkbox it does nothing. 
I cheked the database and 'sys_api_enabled' value was '0'. I updated manually but in the front was still unchecked. 
The url [domain]/sys/repo_auth always return this message: "Access denied. Repository management WS is disabled or key is invalid." 

Apache error log: 
Failed authorization for admin on https://domain/sys/repo_auth: 403 Forbidden 

I followed this guide "https://github.com/opf/openproject/tree/stable/8/docs/installation/manual" for setup and install, and this guide "https://github.com/opf/openproject/blob/stable/8/docs/repositories/README.md" for managed repositories. 
Until now, the repositories are beeing created but i cant clone them.

I've tested version 8.0 and 8.2 same result.

Thanks.


Replies (5)

RE: Can't enable \"Repository management WS\" - Added by NgM Dat over 6 years ago

Hi Guys,

I have the same issue when i installed a new one OP8.2.0 and then can't 'Clone Git Repository'
with the same following Apache error log message.
This is really critical problem with me, because i have to turn back Redmine+SVN.

daniel ramirez wrote:

Hi, in the settings page, i can´t enable the repository management web service, when i click the checkbox it does nothing. 
I cheked the database and 'sys_api_enabled' value was '0'. I updated manually but in the front was still unchecked. 
The url [domain]/sys/repo_auth always return this message: "Access denied. Repository management WS is disabled or key is invalid."

Apache error log: 
Failed authorization for admin on https://domain/sys/repo_auth: 403 Forbidden

I followed this guide "https://github.com/opf/openproject/tree/stable/8/docs/installation/manual" for setup and install, and this guide "https://github.com/opf/openproject/blob/stable/8/docs/repositories/README.md" for managed repositories. 
Until now, the repositories are beeing created but i cant clone them.

I've tested version 8.0 and 8.2 same result.

Thanks.

RE: Can't enable "Repository management WS" - Added by daniel ramirez over 6 years ago

Hi,

I wasn't able to fix the problem, so installed "gogs" in the same server and i´m using it with local repositories.

RE: Can't enable "Repository management WS" - Added by Anish Varghese over 5 years ago

Hi,

I am also facing this issue. if there any fix available.

Thanks.

RE: Can't enable "Repository management WS" - Added by Matthew Trescott almost 5 years ago

I am running into the same problem with a manual installation of 10.5.1. I can change the default for sys\_api\_enabled in config/settings.rb, which makes the button light up but doesn't actually change anything.

RE: Can't enable "Repository management WS" - Added by Matthew Trescott almost 5 years ago

I dug a little deeper into the problem and I saw the same behavior where editing the database did not change the frontend. I suspect that part is a caching issue (maybe the rails cache or something). However when enabling it in config/settings.yml and seeding the database fresh, the sys API works and I am able to use repository authentication. The official installation packages don't have this problem because one of the installation scripts forces it to be enabled.

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