Project

General

Profile

Actions

Defect #3560

closed

reposman.rb and crontab

Added by Dmitry Plaschinsky almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-06-30
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

Description

Hello,i'm a russian user of Redmine, so sorry for my bad English :(
I have installed and configured Redmine on FreeBSD 7.2 with Apache22 and integration with SVN
I have some trouble with automatic repository creation by reposman.rb and trougth crontab

Normal operation in cli:
#/usr/local/bin/ruby /usr/local/www/redmine/extra/svn/reposman.rb -r rm -s /data/svn/repositories -o www -u http://rm/svn/ -v >> /var/log/reposman.log

treating project redmine
repository /data/svn/repositories/creatf registered in Redmine with url http://rm/svn/creatf
repository /data/svn/repositories/creatf created
it's ok
but the same operation trougth crontab failed:
#cat /etc/crontab
*/5 * * * * root /usr/local/bin/ruby /usr/local/www/redmine/extra/svn/reposman.rb -r rm -s /data/svn/repositories -o www -u http://rm/svn/ -v >> /var/log/reposman.log

#tail -f /var/log/reposman.log

querying Redmine for projects...
retrieved 1 projects
treating project redmine
unable to create /data/svn/repositories/creatf : "svnadmin create /data/svn/repositories/creatf" failed

Actions

Also available in: Atom PDF