Error running this command: svn --config-dir /tmp

apps

#1

I’m following the directions at http://wiki.dreamhost.com/WebSVN for setting up websvn.

  • From an ssh shell I unpacked the .tar.gz to /home/mylogin/example.com/websvn
  • created the following .htaccess:

order deny,allow
deny from all
allow from localhost, my.ip.add.ress

  • put in the addRepository line in config.php:

$config->addRepository(‘FooBar’, ‘file:///home/mylogin/svn’, NULL, ‘websvn’, ‘password’);

  • and added the user websvn and password via the Dreamhost control panel.

When I point a browser to http://example.com/websvn I get the message “Error running this command: svn --config-dir /tmp --version” in my browser window.

If I execute that command from the ssh shell I get:

svn, version 1.4.2 (r22196)
compiled Feb 3 2007, 12:58:02

Copyright © 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

  • ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  • handles ‘http’ scheme
  • handles ‘https’ scheme
  • ra_svn : Module for accessing a repository using the svn network protocol.
  • handles ‘svn’ scheme
  • ra_local : Module for accessing a repository on local disk.
  • handles ‘file’ scheme

What might be wrong and how can I fix it?
thanks.

–matt