[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "Expected version '1' of repository; found no version...

From: Gordon Sullivan <gsullivan_at_orionsci.com>
Date: 2002-10-25 17:34:59 CEST

I'm pretty sure I was doing it wrong.

I had created the directory /usr/local/svn-repo to act as a container. I then
did a svnadmin create /usr/local/svn-repo/project1. In the httpd.conf file I
referenced /usr/local/svn-repo instead of /usr/local/svn-repo/project1. After
changing the httpd.conf to reference /usr/local/svn-repo/project1 I get a
different error.

human-readable errcode="160000"
Bad database version: 2.4.14

I really appreciate you helping me with this.

-Gordon Sullivan

Quoting Philip Martin <philip@codematters.co.uk>:

> Gordon Sullivan <gordon@gortek.com> writes:
>
> > > > I'm getting the following message when I try viewing the repository
> > > > in my browser: "Expected version '1' of repository; found no version
> > > > at all; is '/usr/local/svn-repo' a valid repository path?"
> > > >
> > > > --Yes, it is. I can do a co of the repository from the local
> > > > machine using the file:/// convention
> > >
> > > This is most likely a permissions problem - check the uid and gid
> > > Apache is running under and make sure they can both read and write to
> > > the repository.
> >
> > I created a 'svn' user account that owns the repository and the apache
> server
> > runs as that user as well.
>
> Does the file /usr/local/svn-repo/format exist? Does it have a first
> line consisting of the digit "1"?
>
> Can the svn user run 'cat /usr/local/svn-repo/format'?
>
> --
> Philip Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 25 23:24:26 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.