You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Weintraub <qa...@gmail.com> on 2008/07/16 17:49:33 UTC

Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

I'm just attempting to clarify what you're doing: Let's say that you
want to add a bunch of files to http://myurl/svn/project as project
"FOO", you are do the following steps:

STEP #1: You create a repository location for your project FOO

     C:\> svn mkdir http://myurl/svn/project/foo -m"Adding project
'FOO' to repository"

STEP #2: You create the trunk, branches, and tags folder for the project

    C:\> svn mkdir http://myusr/svn/project/foo/trunk
[...]/foo/branches [...]/foo/tags -m'Adding branches, and tags to FOO'

STEP #3 You check out project FOO to your local machine:

    C:\> svn co http://myusr/svn/project/foo/trunk foo

STEP #4 You add the files you want to project FOO

    C:\> chdir foo
    C:\FOO> xcopy C:\FOO-SOURCE\*.* . /s/e/q

STEP #5: Add the files copied into your Subversion work area to your
Subversion repository

    C:\FOO> svn add --force *

STEP #6: Commit the changes

    C:\FOO> svn commit -m"Added source files for project 'FOO'"

The problem you are having occurs in STEP #5.

--
David Weintraub
qazwart@gmail.com


On Tue, Jul 15, 2008 at 10:13 AM, Hagan, Laura
<la...@parivedasolutions.com> wrote:
> Hi,
>
>
>
> I am having an issue adding new files to a new repository when I perform a
> commit.  I have a large existing project (3900 files with up to five levels
> of subfolders in some places).  I create a directory in my new repository,
> then map a working directory on my server to that folder that contains.  At
> this point there is nothing in the working folder.  Next I copy the 3900
> files into the working directory.  I Add the entire folder structure/files
> in one command to Subversion.  When I try to do a Commit on the top level
> working directory, I get the error "Reference to non-existent node 'xxxxxx'
> in filesystem 'C:/Subversion/db'" when it is about 75% through the process.
> This error usually occurs on files that are in the folders 4 levels deep.
> These files are just images.  The reading I did suggested the Berkley DB is
> corrupt but I am using the FileSystem instead.  Also, how can this
> repository be corrupt if I am adding files to it for the first time?
>
>
>
> In an effort to get the rest of the files into Subversion, I remove the .svn
> folder from the folder w/issues, move on to the next error and repeat until
> I am able to get the rest of the files into the repository.
>
>
>
> I have tried to add and commit the same files to a completely different
> server/repository and got the same error, but on a different files.  I even
> tried a new repository on the original server and got the same error.  The
> next thing I tried was to Add and Commit the files in smaller chunks.  My
> folder structure is Web\Themes\default\images\roleIcons\xxx.jpg.  Instead of
> adding files at the top level folder Web, I started at the bottom level
> folder and worked my way up.  I am able to add/commit the files in one chunk
> all the way up to the Themes folder without errors.  This folder contains
> only 800 files.  All of the other folders under the Web folder contain the
> remainder 3100 files.
>
>
>
> My question is, why am I getting this error?  Can you only Add/Commit a
> certain number of files at one time?  I am trying to get a  hand full of
> existing projects into Subversion so we can switch over from Source Safe but
> given these issues I am hesitant

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

Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 16, 2008, at 13:39, David Weintraub wrote:

> Does 'svnserve' generate any logs?

It does not currently, though I hear it will in Subversion 1.6.0.

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

Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

Posted by David Weintraub <qa...@gmail.com>.
On Wed, Jul 16, 2008 at 2:31 PM, Hagan, Laura
<la...@parivedasolutions.com> wrote:
> Svn://

So, it isn't a timing issue due to http:// dropping your connection,
and it isn't an issue of two people simultaneously attempting to
access the directory via the "file://" protocol.

I really can't say what could be the problem. Anyone else on this list
has any ideas?

Does 'svnserve' generate any logs? Try running svnserve with the
--forground parameter, so you can see the output. That might give you
some clue as to why you're having this issue.

--
David Weintraub
qazwart@gmail.com

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

Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

Posted by David Weintraub <qa...@gmail.com>.
On Wed, Jul 16, 2008 at 2:08 PM, Hagan, Laura
<la...@parivedasolutions.com> wrote:
> I am doing this process on the same machine as my Subversion server.
>
> In desperation I did try svnadmin recover even though I am not using the Berkeley DB and it did not help.
>

What's the protocol are you using to access your Subversion server
"http://", "svn://", "svn+ssh://", or "file://"?

--
David Weintraub
qazwart@gmail.com

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

RE: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

Posted by "Hagan, Laura" <la...@parivedasolutions.com>.
I am doing this process on the same machine as my Subversion server.

In desperation I did try svnadmin recover even though I am not using the Berkeley DB and it did not help.

Laura Hagan
Pariveda Solutions

2811 McKinney Ave. | Suite 220, LB126 | Dallas, Texas 75204
(O) 214-777-4707 | (F) 214.855.1246 | (M) 817.233.7326

The Business of IT(r)
www.parivedasolutions.com


-----Original Message-----
From: David Weintraub [mailto:qazwart@gmail.com]
Sent: Wednesday, July 16, 2008 1:05 PM
To: Hagan, Laura
Cc: users@subversion.tigris.org
Subject: Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

On Wed, Jul 16, 2008 at 1:50 PM, Hagan, Laura
<la...@parivedasolutions.com> wrote:
> The problem I am having is occurring in step #6.  Step #5 works fine.

I'm also adding files to my repository right now. I've got some
projects with several thousand files, and haven't run into this issue.
If you were using Berkeley DB, I'd say do a "svnadmin recover" and
"svnadmin verify", but I can't say for certain why you'd be getting
this.

How is the network between you and your computer? Is it slow and maybe
dropping packets? Are you going over a VPN? Can you do this process on
the same machine as your Subversion server?

--
David Weintraub
qazwart@gmail.com

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


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

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


Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

Posted by David Weintraub <qa...@gmail.com>.
On Wed, Jul 16, 2008 at 1:50 PM, Hagan, Laura
<la...@parivedasolutions.com> wrote:
> The problem I am having is occurring in step #6.  Step #5 works fine.

I'm also adding files to my repository right now. I've got some
projects with several thousand files, and haven't run into this issue.
If you were using Berkeley DB, I'd say do a "svnadmin recover" and
"svnadmin verify", but I can't say for certain why you'd be getting
this.

How is the network between you and your computer? Is it slow and maybe
dropping packets? Are you going over a VPN? Can you do this process on
the same machine as your Subversion server?

--
David Weintraub
qazwart@gmail.com

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

RE: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

Posted by "Hagan, Laura" <la...@parivedasolutions.com>.
The problem I am having is occurring in step #6.  Step #5 works fine.

Laura Hagan
Pariveda Solutions

2811 McKinney Ave. | Suite 220, LB126 | Dallas, Texas 75204
(O) 214-777-4707 | (F) 214.855.1246 | (M) 817.233.7326

The Business of IT(r)
www.parivedasolutions.com

-----Original Message-----
From: David Weintraub [mailto:qazwart@gmail.com]
Sent: Wednesday, July 16, 2008 12:50 PM
To: Hagan, Laura
Cc: users@subversion.tigris.org
Subject: Re: Commit error on Added files Reference to non-existent node in filesystem 'C:/Subversion/db'

I'm just attempting to clarify what you're doing: Let's say that you
want to add a bunch of files to http://myurl/svn/project as project
"FOO", you are do the following steps:

STEP #1: You create a repository location for your project FOO

     C:\> svn mkdir http://myurl/svn/project/foo -m"Adding project
'FOO' to repository"

STEP #2: You create the trunk, branches, and tags folder for the project

    C:\> svn mkdir http://myusr/svn/project/foo/trunk
[...]/foo/branches [...]/foo/tags -m'Adding branches, and tags to FOO'

STEP #3 You check out project FOO to your local machine:

    C:\> svn co http://myusr/svn/project/foo/trunk foo

STEP #4 You add the files you want to project FOO

    C:\> chdir foo
    C:\FOO> xcopy C:\FOO-SOURCE\*.* . /s/e/q

STEP #5: Add the files copied into your Subversion work area to your
Subversion repository

    C:\FOO> svn add --force *

STEP #6: Commit the changes

    C:\FOO> svn commit -m"Added source files for project 'FOO'"

The problem you are having occurs in STEP #5.

--
David Weintraub
qazwart@gmail.com


On Tue, Jul 15, 2008 at 10:13 AM, Hagan, Laura
<la...@parivedasolutions.com> wrote:
> Hi,
>
>
>
> I am having an issue adding new files to a new repository when I perform a
> commit.  I have a large existing project (3900 files with up to five levels
> of subfolders in some places).  I create a directory in my new repository,
> then map a working directory on my server to that folder that contains.  At
> this point there is nothing in the working folder.  Next I copy the 3900
> files into the working directory.  I Add the entire folder structure/files
> in one command to Subversion.  When I try to do a Commit on the top level
> working directory, I get the error "Reference to non-existent node 'xxxxxx'
> in filesystem 'C:/Subversion/db'" when it is about 75% through the process.
> This error usually occurs on files that are in the folders 4 levels deep.
> These files are just images.  The reading I did suggested the Berkley DB is
> corrupt but I am using the FileSystem instead.  Also, how can this
> repository be corrupt if I am adding files to it for the first time?
>
>
>
> In an effort to get the rest of the files into Subversion, I remove the .svn
> folder from the folder w/issues, move on to the next error and repeat until
> I am able to get the rest of the files into the repository.
>
>
>
> I have tried to add and commit the same files to a completely different
> server/repository and got the same error, but on a different files.  I even
> tried a new repository on the original server and got the same error.  The
> next thing I tried was to Add and Commit the files in smaller chunks.  My
> folder structure is Web\Themes\default\images\roleIcons\xxx.jpg.  Instead of
> adding files at the top level folder Web, I started at the bottom level
> folder and worked my way up.  I am able to add/commit the files in one chunk
> all the way up to the Themes folder without errors.  This folder contains
> only 800 files.  All of the other folders under the Web folder contain the
> remainder 3100 files.
>
>
>
> My question is, why am I getting this error?  Can you only Add/Commit a
> certain number of files at one time?  I am trying to get a  hand full of
> existing projects into Subversion so we can switch over from Source Safe but
> given these issues I am hesitant

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

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