https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292019-03-27T02:07:21ZRedmineRedmine - Defect #31092: svn repo create command not workinghttps://www.redmine.org/issues/31092?journal_id=909572019-03-27T02:07:21ZUuganbayar Battulgab.uuganbayr@gmail.com
<ul></ul><p>All checked below, all ok:<br />- check if you have link to Remine.pm in /usr/lib64/perl5/<br />- make sure you have Enable WS for repository management option enabled<br />- make sure API key string is equal to one in reposman.rb command line, regenerate it<br />- make sure that Repositories Tab in Settings reports that you have Subversion enabled and version is shown<br />- create new project, in settings under Modules Tab tick Repository and save<br />- then execute reposman.rb</p> Redmine - Defect #31092: svn repo create command not workinghttps://www.redmine.org/issues/31092?journal_id=909742019-03-28T08:01:04ZMizuki ISHIKAWA
<ul></ul>The problem could not be reproduced in my environment.
<ul>
<li>Redmine 4.0.2</li>
<li>MySQL</li>
<li>Ruby 2.6.0</li>
</ul>
Would you be able to confirm the following?
<ul>
<li>Execute command after adding <code>https://</code> to --redmine-host url</li>
<li>Check the log by <ins><code>tail log/production.log</code></ins> to see if the request by reposman.rb is coming.<br />Example:<br /><pre>
Started GET "/sys/projects.json?key="
Processing by SysController#projects as JSON
Parameters: {"key"=>""}
Completed 200 OK
</pre></li>
</ul> Redmine - Defect #31092: svn repo create command not workinghttps://www.redmine.org/issues/31092?journal_id=911072019-04-05T06:02:35ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li></ul> Redmine - Defect #31092: svn repo create command not workinghttps://www.redmine.org/issues/31092?journal_id=912182019-04-15T02:26:40ZUuganbayar Battulgab.uuganbayr@gmail.com
<ul></ul><ol>
<li>ruby /var/www/html/redmine/extra/svn/reposman.rb --redmine <a class="external" href="https://redmine.statebank.mn">https://redmine.statebank.mn</a> --svn-dir /var/svn --owner apache --group root --url <a class="external" href="https://redmine.statebank.mn/svn/">https://redmine.statebank.mn/svn/</a> --verbose --command='/usr/bin/svnadmin create' --key=YNMIO6e6ZAscnqVtzbp0 > /home/uka/redmine_reposman.log</li>
</ol>
<ol>
<li>cat /home/uka/redmine_reposman.log <br />querying Redmine for active projects with repository module enabled...<br />Unable to connect to <a class="external" href="https://redmine.statebank.mn/sys/">https://redmine.statebank.mn/sys/</a>: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)</li>
</ol> Redmine - Defect #31092: svn repo create command not workinghttps://www.redmine.org/issues/31092?journal_id=1015972021-03-28T15:37:18ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Uuganbayar Battulga wrote:</p>
<blockquote>
<ol>
<li>cat /home/uka/redmine_reposman.log <br />querying Redmine for active projects with repository module enabled...<br />Unable to connect to <a class="external" href="https://redmine.statebank.mn/sys/">https://redmine.statebank.mn/sys/</a>: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)</li>
</ol>
</blockquote>
<p>Please install a valid server certificate on the server redmine.statebank.mn.</p>