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

RE: commit failed - No such file or directory

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Tue, 11 May 2010 08:59:56 +0100

> On Mon, May 10, 2010 at 3:42 PM, Vikrama Sanjeeva
> <viki.sanjeeva_at_gmail.com> wrote:
>
> Hi,
>
> 1: Did backup of live repository as below:
> hot-backup.py --archive-type=zip /my/svn/repo /my/svn/backup
>
> 2: Unzipped /my/svn/backup/repo-7.zip
>
> 3: checkout /my/svn/backup/repo-7 (using Tortoise)
>
> 4: On commit, am getting below error in Apache error_log
> ###############
> Can't create directory
> /my/svn/backup/repo-7/db/transactions/7-8.txn': No such file
> or directory [500, #2]
> ###############
>
> httpd.conf:
> <Location /svn/bck>
> DAV svn
> SVNPath /my/svn/backup/repo-7
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /my/svn/users/svn-repo-auth-file
> Require valid-user
> </Location>
>
> Please guide.
>
> Bye,
> Viki.
>
>
> Someone please help me to troubleshoot this issue.
>
> Thanks.
>
> Bye,
> Viki.
>
Hmm, you do not give any information as to what platform(s) and versions
of tortoise / subversion you are using. Your paths look unix but
tortoise is windoze so I assume you have a linux server of some flavour
running subversion behind apache. I assume you did your backup /
restore on the server then accessed the repo from a windoze client.

As a first stab in the dark: have you checked / set the proper
permissions for the apache user on the new directories
(/my/svn/backup/repo-7)? Are all the required directories (as created
by svnadmin when you create a new repo) there? I'm not sure what
hot-backup does as I've never used it, does it backup the extra
directories?

~ mark c
Received on 2010-05-11 10:00:34 CEST

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

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