WARN -- : No SVN repository found...

Subscribe to WARN -- : No SVN repository found... 10 post(s), 2 voice(s)

 
Avatar Michael A 7 post(s)

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)
W, [2008-04-21T14:43:38.987585 #19022] WARN—: No SVN repository found for ‘projects’ in ’/home/virtual/svn.domain.com/var/lib/svn/projects’

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?

 
Avatar Michael A 7 post(s)

Additional note, syncing via the web gui continues to work.

 
Avatar Geoff 71 post(s)

have you tried it as

rake warehouse:sync RAILS_ENV=production REPO=my_repo_name

where “my_repo_name” matches the subdomain for the repository in Warehouse?

 
Avatar Michael A 7 post(s)

Thanks for the reply.

I ‘ve tried that just now, and it yielded the same result.

 
Avatar Michael A 7 post(s)

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.

 
Avatar Geoff 71 post(s)

So I’m guessing that your SVN repository is listed in Warehouse with a path like

/home/virtual/svn.domain.com/var/lib/svn/projects/<reponame>

or some such

 
Avatar Michael A 7 post(s)

In the Warehouse GUI configuration, the repository path is listed as

/home/virtual/svn.our.domain/var/lib/svn/projects

This is the full system path to the repository itself, not the svn root.
Our lead developer prefers to have everything in one repository for some reason ;-)

Also here is another example ( changing only the domain suffix on svn.our.domain ):

/home/virtual/svn.our.domain/var/lib/svn/restoration

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

rake warehouse:sync REPO=projects
rake warehouse:sync

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.

 
Avatar Geoff 71 post(s)

so if you `ls` the directory `/home/virtual/svn.our.domain/var/lib/svn/projects` do you have something like

  1. ls /home/virtual/svn.our.domain/var/lib/svn/projects README.txt conf dav db format hooks locks

if so then this should be the “System Path” for the project in Warehouse, this is the `root` of the Subversion Repository.

 
Avatar Michael A 7 post(s)

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:

(in /var/www/app/warehouse-1.1.6)
W, [2008-05-23T13:16:22.485579 #23367]  WARN -- : No SVN repository found for 'projects' in    '/home/virtual/svn.ourdomain.net/var/lib/svn/projects'
W, [2008-05-23T13:16:22.486152 #23367]  WARN -- : No SVN repository found for 'restoration' in '/home/virtual/svn.ourdomain.com/var/lib/svn/restoration'
 
Avatar Michael A 7 post(s)

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.