Project

General

Profile

automate svn repo creation does not work

Added by Tobias Schmersow over 12 years ago

Hello everybody,

i am trying to automate subversion repository creation by using reposman.rb.

My setup (http://www.redmine.org/projects/redmine/wiki/HowToInstallRedmineOnUbuntuServer ) seems to work , i can create repos via following command:

cd /usr/share/redmine/extra/svn ; ruby reposman.rb --redmine-host http://my-ip:8080/redmine --svn-dir /var/svn --owner www-data --url http://my-ip/svn-private/ --key=my-key >> /var/log/reposman.log

I tried adding it to /ect/cron.d/redmine for user root for automate creation. I found an error in /var/logs/syslogs: "user redmine_nss@localhost has no permission to access the database". I tried fixing this by creating the user, the group and inserting the views from extras/svn/create_views.sql. The error message vanished from syslog, but the problem persisted.

Cronjobs are working fine; /etc/cron.d/redmine includes the command to start redmine @reboot, too.

I am realy stuck, any help would be appreciated.