marianoguerra, 2009-04-17 01:16:57 -0300 : > when I create a project selecting the svn repository when I go to the > scm page the following message appears: > > "The repository for this project isn't created yet. It will be created > in the next few minutes." > > the repository is not created. > > then I tryed to run the script >"/usr/share/gforge/plugins/scmsvn/cronjobs/create_svn.php" and after >adding [0] it gave an error on line 55 saying that $err was not defined
Probably just a PHP warning (I think it's been fixed in recent versions anyway). > then I added the following line before line 55: > > if(!defined("err"))$err=""; > > and executed again, the repositories were created ok. > > I checked the cronjob on /etc/cron.d/gforge-plugin-scmsvn and the > create_svn.php file is not called. Correct. > maybe on this line: > > Repositories update 45 * * * * root [ -x > /usr/share/gforge/plugins/scmsvn/cronjobs/svn_dump.pl ] > && su -s /bin/sh gforge -c > /usr/share/gforge/plugins/scmsvn/cronjobs/svn_dump.pl > /dev/null 2>&1 > && [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl ] && > /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl > /dev/null 2>&1 > > should be added something line this? > > && [ -x /usr/share/gforge/plugins/scmsvn/cronjobs/create_svn.php ] && > /usr/share/gforge/plugins/scmsvn/cronjobs/create_svn.php > /dev/null > 2>&1 No. In the Debian packages of GForge/FusionForge, the svn_update.pl scripts handles the repository creation. Are you sure the repositories aren't created after at least an hour? If so, could you run the following command and report any errors? su -s /bin/sh gforge -c /usr/share/gforge/plugins/scmsvn/cronjobs/svn_dump.pl && /usr/share/gforge/plugins/scmsvn/cronjobs/svn_update.pl Thanks, Roland. -- Roland Mas Indépendant en informatique libre -- Free software freelance http://www.gnurandal.com/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org