![]() ![]() ![]() The Redmine servers( Thin for versions > 2.0] by default run under the System account and this does not work wrong SSL certificate for SVN server. Source:tags/1.2.3/lib/redmine/scm/adapters/subversion_adapter.rb#元5 Note for Bitnami Redmine installation on Windows ¶ On Redmine 1.2 or greater, this line changed. Older versions have problems with file names with a space, update to a recent version to fix this problem. If you get (after testing with svn list -xml URL) the message "svn: Unable to parse URL" check your installed SVN client version. ![]() Now you should be able to permanently accept the certificate. SVN_BIN = "svn -config-dir /usr/share/redmine/svn" Source:tags/1.1.3/lib/redmine/scm/adapters/subversion_adapter.rb#L27 Open REDMINE_ROOT/lib/redmine/scm/adapters/subversion_adapter.rb and go to line 27 Sudo chown www-data:www-data /usr/share/redmine/svn Create a directory somewhere and make sure the redmine user is owner, for example: If you get prompted to accept the server's certificate every time you need to give the redmine user a directory to store svn configuration in. Now resolve the error so that you get only clean xml from the command every time. Sudo -u www-data svn list -xml may have to add "www-data ALL=(ALL) NOPASSWD:ALL" to /etc/sudoers) To troubleshoot try running the command as the redmine user to see what the error is, for example: (Redmine still tries to parse the output of the svn command as XML, but errors aren't formatted as XML, thus the parse error.) If you find this error in production.log there's probably an error when the redmine user runs the svn command: var/log/redmine/default) for production.log. If after adding a repository you get an error "The entry or revision was not found in the repository" on the Repository tab, check in your log folder (e.g. So, you need to configure web server process uid correctly. Redmine is Rails application running on web server (Apache etc.).Īnd Redmine calls "svn" commdand on web server. ![]()
0 Comments
Leave a Reply. |