Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

can't "svnadmin load"

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


daevid at yousport

May 14, 2008, 4:15 PM

Post #1 of 5 (438 views)
Permalink
can't "svnadmin load"

I am having all kinds of issues trying to import a dump from
http://cvsdude.com.
We've been using them, but now would like to move the subversion in-house.

root[at]bugs:/tmp# svnadmin load help
svnadmin: Can't open file 'help/format': No such file or directory

root[at]bugs:/tmp# svnadmin load --force-uuid /var/local/svn/svn.mycompany.com
< web.svn
svnadmin: Valid UTF-8 data
(hex:)
followed by invalid UTF-8 sequence
(hex: 96 2d 66 6f)

root[at]bugs:/tmp# svnadmin load /var/local/svn/svn.mycompany.com < web.svn

<<< Started new transaction, based on original revision 1
svnadmin: File already exists: filesystem
'/var/local/svn/svn.mycompany.com/db', transaction '2-1', path 'branches'
* adding path : branches ...root[at]bugs:/tmp#

I tried to delete the 'db' directory and that didn't work either:
svnadmin: Can't open file '/var/local/svn/svn.mycompany.com/db/DB_CONFIG':
No such file or directory

I tried to point it right at the db and that failed too.
# svnadmin load /var/local/svn/svn.mycompany.com/db < web.svn
svnadmin: Expected repository format '3' or '5'; found format '2'

What am I doing wrong? This shouldn't be so difficult.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

May 15, 2008, 3:35 AM

Post #2 of 5 (425 views)
Permalink
Re: can't "svnadmin load" [In reply to]

This ML is dedicated to Trac support, not Subversion... you're looking
for users[at]subversion.tigris.org

> root[at]bugs:/tmp# svnadmin load help
> svnadmin: Can't open file 'help/format': No such file or directory

svndmin load --help

> root[at]bugs:/tmp# svnadmin load --force-uuid /var/local/svn/svn.mycompany.com
> < web.svn

is --force-uuid really needed here ?
how did you obtain 'web.svn' ?

> root[at]bugs:/tmp# svnadmin load /var/local/svn/svn.mycompany.com < web.svn
>
> <<< Started new transaction, based on original revision 1
> svnadmin: File already exists: filesystem

You are probably trying to load a SVN dumpfile into a non empty repository.

Try (w/ backing up if needed..):

rm -rf /var/local/svn/svn.mycompany.com
svnadmin create /var/local/svn/svn.mycompany.com
svnadmin load < web.svn

> What am I doing wrong? This shouldn't be so difficult.

I would strongly suggest to RTFM, along with the Subversion FAQ and
maybe the SVN book.

Cheers,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

May 15, 2008, 3:36 AM

Post #3 of 5 (426 views)
Permalink
Re: can't "svnadmin load" [In reply to]

> rm -rf /var/local/svn/svn.mycompany.com
> svnadmin create /var/local/svn/svn.mycompany.com
> svnadmin load < web.svn

Oops, last line would be:
svnadmin load /var/local/svn/svn.mycompany.com < web.svn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


billwilliams at qcsoftware

May 15, 2008, 5:20 AM

Post #4 of 5 (426 views)
Permalink
Re: can't "svnadmin load" [In reply to]

I disabled the SMTP in trac. We use webmin so I took a look at our mail
server (postfix) and saw it had a bunch of queued messages because it could
not send to user properly so I created an alias for that user and those
e-mails went out. Mind you, this user is not associated to the stuff we're
doing with trac but I thought I'd fix it. Anyway, after that worked and
decided to turn the SMTP back on in trac and all of the sudden, everything
worked so maybe that had something to do with it but I don't understand why.

Thank you for your help.

-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On
Behalf Of Emmanuel Blot
Sent: Thursday, May 15, 2008 6:36 AM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: can't "svnadmin load"


> rm -rf /var/local/svn/svn.mycompany.com
> svnadmin create /var/local/svn/svn.mycompany.com
> svnadmin load < web.svn

Oops, last line would be:
svnadmin load /var/local/svn/svn.mycompany.com < web.svn




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


billwilliams at qcsoftware

May 15, 2008, 5:38 AM

Post #5 of 5 (425 views)
Permalink
Re: can't "svnadmin load" [In reply to]

Sorry about that, I responded to the wrong message.

-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On
Behalf Of Bill Williams
Sent: Thursday, May 15, 2008 8:20 AM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: can't "svnadmin load"


I disabled the SMTP in trac. We use webmin so I took a look at our mail
server (postfix) and saw it had a bunch of queued messages because it could
not send to user properly so I created an alias for that user and those
e-mails went out. Mind you, this user is not associated to the stuff we're
doing with trac but I thought I'd fix it. Anyway, after that worked and
decided to turn the SMTP back on in trac and all of the sudden, everything
worked so maybe that had something to do with it but I don't understand why.

Thank you for your help.

-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On
Behalf Of Emmanuel Blot
Sent: Thursday, May 15, 2008 6:36 AM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: can't "svnadmin load"


> rm -rf /var/local/svn/svn.mycompany.com
> svnadmin create /var/local/svn/svn.mycompany.com
> svnadmin load < web.svn

Oops, last line would be:
svnadmin load /var/local/svn/svn.mycompany.com < web.svn







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.