Project

General

Profile

Actions

Defect #31092

closed

svn repo create command not working

Added by Uuganbayar Battulga over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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

repo_config_screenshot.jpg (75.2 KB) repo_config_screenshot.jpg Uuganbayar Battulga, 2019-03-24 16:47
version_info.jpg (31.5 KB) version_info.jpg Uuganbayar Battulga, 2019-03-24 16:49
repoCreate_problem.jpg (67 KB) repoCreate_problem.jpg Uuganbayar Battulga, 2019-03-24 16:51
Actions #1

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

Actions #2

Updated by Mizuki ISHIKAWA over 5 years 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
    
Actions #3

Updated by Go MAEDA over 5 years ago

  • Status changed from New to Needs feedback
Actions #4

Updated by Uuganbayar Battulga over 5 years 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)
Actions #5

Updated by Go MAEDA over 3 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Uuganbayar Battulga wrote:

  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)

Please install a valid server certificate on the server redmine.statebank.mn.

Actions

Also available in: Atom PDF