WARN -- : No SVN repository found...
|
|
Hi, Initial install and repository sync go OK. However, when I do rake warehouse:sync RAILS_ENV=production I get the following error message: (in /var/www/app/warehouse-1.1.6) I’ve tried running rake as root to be sure that permissions are not an issue. I’m running CentOS 4.6 with subversion 1.4.4 and subversion bindings for ruby built from subversion-1.4.4-0.1.rf.src.rpm. Any ideas? |
|
|
Additional note, syncing via the web gui continues to work. |
|
|
have you tried it as
where “my_repo_name” matches the subdomain for the repository in Warehouse? |
|
|
Thanks for the reply. I ‘ve tried that just now, and it yielded the same result. |
|
|
Just an update: I’ve added another repository which is under a completely different subversion root via the web gui, and I’m still getting this error, both for the individual repository when specified with REPO= and also for both repos when no repository is specified. Post-commit hooks won’t work in our environment, so were hoping to run rake warehouse:sync via cron periodically. Any suggestions/insight greatly appreciated. |
|
|
So I’m guessing that your SVN repository is listed in Warehouse with a path like
or some such |
|
|
In the Warehouse GUI configuration, the repository path is listed as
This is the full system path to the repository itself, not the svn root. Also here is another example ( changing only the domain suffix on svn.our.domain ):
This is also the full path to the repository. Warehouse is still updating via the Icon in the admin control panel successfully, but the following two commands
return the error posted earlier ( only the latter command states failure for all repositories ). I have even tried changing the path to the subversion root ( ie. /home/virtual/svn.our.domain/var/lib/svn ) in the Warehouse GUI, but this didn’t appear to make a difference. Thank you for your continued help. |
|
|
so if you `ls` the directory `/home/virtual/svn.our.domain/var/lib/svn/projects` do you have something like
if so then this should be the “System Path” for the project in Warehouse, this is the `root` of the Subversion Repository. |
|
|
Hi Geoff… Warehouseapp had taken lower priority to some other tasks on my list… I would like to get this feature working now though if possible. Yes, the system path is set correctly for each repository and I am still getting the following error:
|
|
|
Nevermind Geoff, I was making a stupid mistake…. Running this from within an Ensim chroot-environment that did not have access to the repository directories. When I run this outside of the chroot environment as the site user it works fine. |