Content
Can't enable "Repository management WS"
Added by daniel ramirez almost 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)
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,
I wasn't able to fix the problem, so installed "gogs" in the same server and i´m using it with local repositories.
Hi,
I am also facing this issue. if there any fix available.
Thanks.
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.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.