Defect #31092
closed
svn repo create command not working
Added by Uuganbayar Battulga over 5 years ago.
Updated over 3 years ago.
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
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
The problem could not be reproduced in my environment.
- Redmine 4.0.2
- MySQL
- Ruby 2.6.0
Would you be able to confirm the following?
- Status changed from New to Needs feedback
- 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)
- 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.
Also available in: Atom
PDF