Hi there,

it's me again ...

On 19.01.01 (18:08), David Guerizec wrote:
> > I've got only one sg, SG0, with the old adminsite, the
> > Asgard hosts and two customer hosts, some groups and users
> > etc. in it. I need those users to be able to log into one of
> > those customer sites w/o being in group #0. So I have to
> > move the customer sites out of SG0 into another sg -- and
> > that's what I'm still unsure how to accomplish ...
> 
> ok, one possible method (the simplest that comes to my mind) is to 
> create a new database, primilarily loaded with the admin sites you need 
> (old admin, asgard and/or fadmin) into SG0.
> 
> then you create a sitegroup in that new database, along with an 
> admingroup and an adminuser in that admingroup.
> 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.

> 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'???

     phr

> use Asgard to delete page/topic/snippetdir/style trees that
> you don't need in the sitegroup (ie. the admin sites that's
> been imported with your clients sites).
> 
> You'll probably have to play with the host table in order to be sure to 
> log into SG0 when accessing the admin site (ie. avoid conflicts between 
> Asgard/SG0 and Asgard/SG1).
> 
> I know this method is pretty ugly, but as I said this is the simplest 
> one to me ;)
> 
> > 
> >      phr
> 
> -- 
> Best Regards,
> 
> David Guerizec - Open Source Developer @ AurorA R&D
> 

-- 
Linksystem Muenchen GmbH                          [EMAIL PROTECTED]
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to