Sonic <[EMAIL PROTECTED]> wrote: > Hi! > > I'm trying to migrate an old installation of Midgard 1.5 to 1.6.2. > > The installation of the new software went well on my test machine (Debian 3.1 > with apache2), but I can't import the content from the old version.
Did you select "update" in datagard? > I tried to create two separate .xml.gz-files with repligard (from 1.5), one > contains just the sitegroup, the other the whole sitegroup content. > When I try to import the first of these packages in datagard, I get this > messages: > repligard-Message: Reading config file /etc/midgard/repligard.conf > repligard-Message: Importing /usr/share/midgard/admin_user.xml > repligard-Message: Reading config file /etc/midgard/repligard.conf > repligard-Message: Importing /usr/share/midgard/data/backup_sg.xml.gz > /usr/sbin/datagard: line 86: 12816 Speicherzugriffsfehler > $MGD_USR_PATH/bin/repligard -c $MGD_CONFIG_PATH/repligard.conf -a -b -i > $MGD_SHARE_PATH/data/$APPS.xml.gz > > Can not import backup_sg > > > "Speicherzugriffsfehler" means memory access error, but I don't know how to > fix this. Importing xml-files from the 1.6.2 distribution works fine, I tried > with de.linkm.newsticker and it got imported without problems. > > If anyone knows what I can do to fix this, please let me know (I'm still > hoping to complete the migration before Monday...) > Repligard has bug which produces segfaults or similiar problems when schema is wrong. I think you should write own script to import SG as update from datagard is not designed to use SG xmls files. you can try to overwrite repligard.xml with repligard_withsg.xml in your share path. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
