Defect #31092
closedsvn repo create command not working
0%
Description
After upgrading from RedHine from 3.4.4 to 4.0.2, the command to create a repository for a new project does not work. The repositiry of the existing projects is normal. Screenshots are attached.
Files
Updated by Uuganbayar Battulga over 5 years ago
All checked below, all ok:
- check if you have link to Remine.pm in /usr/lib64/perl5/
- make sure you have Enable WS for repository management option enabled
- make sure API key string is equal to one in reposman.rb command line, regenerate it
- make sure that Repositories Tab in Settings reports that you have Subversion enabled and version is shown
- create new project, in settings under Modules Tab tick Repository and save
- then execute reposman.rb
Updated by Mizuki ISHIKAWA over 5 years ago
- Redmine 4.0.2
- MySQL
- Ruby 2.6.0
- Execute command after adding
https://
to --redmine-host url - Check the log by
tail log/production.log
to see if the request by reposman.rb is coming.
Example:Started GET "/sys/projects.json?key=" Processing by SysController#projects as JSON Parameters: {"key"=>""} Completed 200 OK
Updated by Uuganbayar Battulga over 5 years ago
- ruby /var/www/html/redmine/extra/svn/reposman.rb --redmine https://redmine.statebank.mn --svn-dir /var/svn --owner apache --group root --url https://redmine.statebank.mn/svn/ --verbose --command='/usr/bin/svnadmin create' --key=YNMIO6e6ZAscnqVtzbp0 > /home/uka/redmine_reposman.log
- cat /home/uka/redmine_reposman.log
querying Redmine for active projects with repository module enabled...
Unable to connect to https://redmine.statebank.mn/sys/: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
Updated by Go MAEDA over 3 years ago
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
Uuganbayar Battulga wrote:
- cat /home/uka/redmine_reposman.log
querying Redmine for active projects with repository module enabled...
Unable to connect to https://redmine.statebank.mn/sys/: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
Please install a valid server certificate on the server redmine.statebank.mn.