Error 70014 can't synchronize with repository, can't read file, End of File

2014-06-24 Thread Tim Pospeshil
I'm a complete newb with Subversion. One of our project DBs seems to be 
corrupted.
Subversion 1.6
Apache 2.2 running on Windows XP machine (I know, I know)

The error message is:

Can't synchronize with repository "(default)" (Couldn't open subversion 
repository c:/svn/project30: SubversionException: 70014 - Can't read file 
'c:\svn\project30\db\current: End of File Found). Look in Trac log for more 
information

There has been a lot of work done on this project since the last successful 
backup (lousy backup program), so I'd like to be able to repair the db if 
possible. I do have a user with a copy of the most recent version of the 
project on their local machine, but they don't want to lose the revision notes, 
etc... from other programmers.

Any help would be greatly appreciated.


Re: Error 70014 can't synchronize with repository, can't read file, End of File

2014-06-24 Thread Andreas Stieger
Hello,

On 24/06/14 20:35, Tim Pospeshil wrote:
> Can't read file 'c:\svn\project30\db\current: End of File Found)

You can attempt to create the file. (make a full file based backup, goes
without saying). Look for the highest completely written revision in
db/revs and db/revprops. Write that into current with exactly the number
in plain text, followed by LF (0x0a). Run "svnadmin verify" to see if
this checks out.

Andreas


Re: Error 70014 can't synchronize with repository, can't read file, End of File

2014-06-24 Thread Mark Phippard
On Tue, Jun 24, 2014 at 3:35 PM, Tim Pospeshil 
wrote:

> I’m a complete newb with Subversion. One of our project DBs seems to be
> corrupted.
> Subversion 1.6
> Apache 2.2 running on Windows XP machine (I know, I know)
>
> The error message is:
>
> Can't synchronize with repository "(default)" (Couldn't open subversion
> repository c:/svn/project30: SubversionException: 70014 - Can't read file
> 'c:\svn\project30\db\current: End of File Found). Look in Trac log for more
> information
>
> There has been a lot of work done on this project since the last
> successful backup (lousy backup program), so I'd like to be able to repair
> the db if possible. I do have a user with a copy of the most recent version
> of the project on their local machine, but they don't want to lose the
> revision notes, etc... from other programmers.
>
> Any help would be greatly appreciated.
>


I also replied in other forum where you posted this.

In addition to advice Andreas gave you about manually recreating the file,
I believe that svnadmin recover will also fix the file.  So it might be
worth trying to run that first and see what it does.

Keep in mind these solutions only help if this is the only problem with
your repository.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/