Oops myself. I forgot to run trac-admin resync, and after I did it
worked.
Thanks again,
Glenn
On Feb 5, 4:33 pm, Glenn <[EMAIL PROTECTED]> wrote:
> Thanks, Brian.
>
> I renamed the old repository and created a new one with the old name
> so the repository_dir value is the same. Now I get
>
> Oops...
> Trac detected an internal error:
> ('No such revision 777', 160006)
>
> So somehow Trac is hanging onto old revision numbers. Any ideas?
>
> Thanks,
> Glenn
>
> On Feb 5, 4:06 pm, "Toole, Brian" <[EMAIL PROTECTED]> wrote:
>
> > Check the trac.ini file for that Trac project. Under the [trac]
> > heading, change the line (or add it if it's not there) that says:
> > repository_dir = /path/to/old/dir
> > to:
> > repository_dir = /path/to/new/dir
>
> > Assuming I understand your question correctly, that should fix it. :)
>
> > Brian Toole
> > Oracle Programming Specialist
> > Web and Administrative Support
> > University of Portland
> > Portland, OR 97203
> > (503) 943-7196
> > [EMAIL PROTECTED]
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
>
> > On Behalf Of Glenn
> > Sent: Tuesday, February 05, 2008 2:46 PM
> > To: Trac Users
> > Subject: [Trac] Repository broken, can I migrate Trac wiki to a new one?
>
> > I am running trac 0.9.3-1ubuntu1.When I click on "Browse Source" I
> > get:
>
> > Trac detected an internal error:
> > ('Found malformed header in revision file', 160004)
>
> > When I run svnadmin verify I get
>
> > ...
> > * Verified revision 784.
> > * Verified revision 785.
> > svnadmin: Found malformed header in revision file
>
> > I have 806 revisions in this repository, #786 is broken. From
> > searching the web I gather
> > that there is no way to fix this (removing files from db/revs and db/
> > revprops after 785 and
> > running trac-admin resync fails).
>
> > I can export rev 806 and import it to a new repository. My question
> > is how do I get my
> > old wiki pages associated with the new repository?
>
> > Thanks,
> > Glenn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---