Defect #31092

svn repo create command not working

Added by Uuganbayar Battulga 3 months ago. Updated 2 months ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution: Affected version:4.0.2

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.

repo_config_screenshot.jpg (75.2 KB) Uuganbayar Battulga, 2019-03-24 16:47

version_info.jpg (31.5 KB) Uuganbayar Battulga, 2019-03-24 16:49

repoCreate_problem.jpg (67 KB) Uuganbayar Battulga, 2019-03-24 16:51

History

#1 Updated by Uuganbayar Battulga 3 months 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

#2 Updated by Mizuki ISHIKAWA 3 months ago

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?
  • 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
    

#3 Updated by Go MAEDA 2 months ago

  • Status changed from New to Needs feedback

#4 Updated by Uuganbayar Battulga 2 months ago

  1. 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
  1. 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)

Also available in: Atom PDF