I've been following this thread trying to figure out using sgx myself, and
can't seem to understand some key points. Maybe I lost a thread during the
mail server outage (got 150 midgard messages today.. woohoo!) I have a few
hosts/pages/topics/articles/styles which were in SG0 which I want to move to
two other groups. Now, sgx did fine to export the SG0.. but do I now have to
manually edit the XML to pull out the stuff I need for SG1? If I import all
the SG0 into another sitegroup, won't that mess up the system by having
duplicate host entries?
Thanks,
Fred
----- Original Message -----
From: "David Guerizec" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 5:52 PM
Subject: Re: [midgard-user] Re: Sitegroup migration via xsg
> Philipp Rotmann, Linksystem Muenchen wrote:
>
> > Hi there,
> >
> > it's me again ...
> >
> > On 19.01.01 (18:08), David Guerizec wrote:
>
> <snip>
>
> >
> >> The next step is to extract/export the SG0 from the old database
> >> (containing your clients sites) into an xml.gz file.
> >
> >
> > All done w/o problems now.
>
> good ;)
> One thing though, I forgot to tell you to dump your DB in SQL format at
> this stage, just in case something goes wrong at the next step
> (importing with repligard), you could then start from that point with a
> clean database instead of going thru all the init process again...
>
> >
> >> You import that xml.gz file into the new database and into the
> >> new SG you just created (use the username and password of the
> >> adminuser in the repligard.conf file), and ...
> >
> >
> > .... and repligard coredumps again:
> >
> > dilbert:~/xsg > repligard -c ../sgmove-repligard.conf -i SG0.xml.gz
> > Message: Reading config file ../sgmove-repligard.conf
> > Message: Importing SG0.xml.gz
> >
> > REPLIGARD/READ-ERROR **: not well-formed (invalid token) in line 50366
> > aborting...
> > Aborted (core dumped)
> >
> > Line 50366 contains
> >
> > <author>1267692cc7fa9f13507590f46c5e497e</author>
> >
> > Could there be any problem with the sheer size of the repligard
> > XML file? The same repligard binary created it by exporting my
> > existing Midgard database, and now it raises an error because of
> > 'well-formedness'???
>
>
> I already encountered this kind of problem, and it was in fact the 'url'
> field of an article that contained an '&' character...
> (BTW, Alexander, this 'url' field should be defined as CDATA cause some
> people use it as an 'extra' field...)
>
> Can you check around this line 50366 to see if a non-CDATA field
> contains a non-alphanumeric character ?
>
> >
> >
> > phr
> >
>
>
> --
> Best Regards,
> David Guerizec Open Source Developer
> Midgard core developer http://www.midgard-project.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]