You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Timtohy <tr...@silverfields.com> on 2002/11/09 20:45:40 UTC

Problem accessing repository

Hello all.

I've just upgraded some packages on my machine.  When I rebooted, and try
to access a svn repository, I am getting the error:

Expected version '1' of repository; found no version at all; is
`/home/subversion/musicDB' a valid repository path?

No software relating to svn was updated.  Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problem accessing repository

Posted by Nuutti Kotivuori <na...@iki.fi>.
Philip Martin wrote:
> Timtohy <tr...@silverfields.com> writes:
>>> Timtohy <tr...@silverfields.com> writes:
>>>> I've just upgraded some packages on my machine.  When I rebooted,
>>>> and try to access a svn repository, I am getting the error:
>>>> 
>>>> Expected version '1' of repository; found no version at all; is
>>>> `/home/subversion/musicDB' a valid repository path?
>> 
>> Well, I figured it out by creating a new repository, and looking
>> for differences.  The problem ended up being that the file names
>> 'format' was not in my existing repositories, but was in the new
>> one.  I simply copied it into all the ones that were no longer
>> working , and they worked.
> 
> No!  That's asking for trouble!  If you created the repository with
> an old version of Subversion it would not have had a format file,
> but it also used a different format for the repository database
> tables.  You need to follow the upgrade procedure: use an old
> version of svnadmin to dump the repository, and a new version of
> svnadmin to load the dump into a new repository.

It's funny how many people seem to do that - copy over the 'format'
file or just increment it so the repository "appears" to work.

I'm not sure what should be made to fix matters though - Timtohy, what
would have made you realize that you need to convert your repository
that a simple addition of the 'format' file would break things?

-- Naked


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problem accessing repository

Posted by Philip Martin <ph...@codematters.co.uk>.
Timtohy <tr...@silverfields.com> writes:

> > Timtohy <tr...@silverfields.com> writes:
> > > I've just upgraded some packages on my machine.  When I rebooted, and
> > > try to access a svn repository, I am getting the error:
> > > 
> > > Expected version '1' of repository; found no version at all; is
> > > `/home/subversion/musicDB' a valid repository path?
> 
> 	Well, I figured it out by creating a new repository, and looking for
> differences.  The problem ended up being that the file names 'format' was
> not in my existing repositories, but was in the new one.  I simply copied
> it into all the ones that were no longer working , and they worked.

No!  That's asking for trouble!  If you created the repository with an
old version of Subversion it would not have had a format file, but it
also used a different format for the repository database tables.  You
need to follow the upgrade procedure: use an old version of svnadmin
to dump the repository, and a new version of svnadmin to load the dump
into a new repository.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problem accessing repository

Posted by Timtohy <tr...@silverfields.com>.
On 09 Nov 2002 15:51:41 -0600
Karl Fogel <kf...@newton.ch.collab.net> wrote:

> Timtohy <tr...@silverfields.com> writes:
> > I've just upgraded some packages on my machine.  When I rebooted, and
> > try to access a svn repository, I am getting the error:
> > 
> > Expected version '1' of repository; found no version at all; is
> > `/home/subversion/musicDB' a valid repository path?
> > 
> > No software relating to svn was updated.  Any ideas?
> 
> Need much more detail.  It would help to know:
> 
>    - what you upgraded (was Apache in the list?)
>    - what access method you're using with the repository
>    - what version of Subversion (client and server)
> 
> Sometimes this can be because repository permissions are wrong, take a
> look at that?
> 
> -K

	Well, I figured it out by creating a new repository, and looking for
differences.  The problem ended up being that the file names 'format' was
not in my existing repositories, but was in the new one.  I simply copied
it into all the ones that were no longer working , and they worked.

	Nothing I upgraded had anything to do with subversion, and would not have
even known that that file existed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problem accessing repository

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Timtohy <tr...@silverfields.com> writes:
> I've just upgraded some packages on my machine.  When I rebooted, and try
> to access a svn repository, I am getting the error:
> 
> Expected version '1' of repository; found no version at all; is
> `/home/subversion/musicDB' a valid repository path?
> 
> No software relating to svn was updated.  Any ideas?

Need much more detail.  It would help to know:

   - what you upgraded (was Apache in the list?)
   - what access method you're using with the repository
   - what version of Subversion (client and server)

Sometimes this can be because repository permissions are wrong, take a
look at that?

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org