Benoit Lathiere <[EMAIL PROTECTED]> wrote: > > Did You run 'repligard -m' ? > > It looks like You haven't had all repligard' tables entries for Old Admin. > > That's why new data was imported instead of updating old ones. > > I did it ! > I retry again and again with different orders... > but the same problem each time.. > > some pages/elements like "style/host/code-init" are duplicated... :-/
The only one reason I see is that these duplicated objects hasn't had guids. > > SQL dumps and repligard replication are quite different. > > Mysqldump dumps database with all its data (even ID) , so it is not > > possible to use its dump with another one existing database. > > Repligard let's You replicate database (or its part) without "touching" > > IDs. That's why depending on IDs with all Your applications is not > > recommended. > > I know... it's why my migration is very hard ! Not exactly, Updateing from prevoius versions to 1.4 was painfull almost for everyone. I am the master with that pain ;))))))))) > > My method step by step : > > 1- dump of my company's websites (data only), only some tables > 2- "./configure with "new base" (Asgard disabled in configure, better) > 3- restore my dump previous (ths dump includes OLD ADMINSITE doesn't delete newer > version cause > "duplicate key" : good thing) > 4- ./article-uniquename : but I found some bugs with "$opt_E" & "$opt_E" (never > setted !??) > 5- update hosts with a personal script SQL - no problem > 6- GUIDSforOLDSITE.sql updates GUIDs.... - looks good... > 7- persoal PHP script to update new sitegroup for my compayn's objects - no problem > 8- "repligard -m" to fix GUIDs... - no problem There is a bug about '-m' option. But it was reported that guids are not made for the first time. > 9- ./database-upgrade to check structure - no problem > > 10- update-snippet-admin.sql - because dangerous... update snippet ; INSERT are OK > but the UPDATE > has a wrong key for me... checking that.... > 11- import Asgard with Repligard, seems ok but after that, some errors appairs ! > > Piotras, > What do U think about this... checklist ? Frankly speaking I do not know. I have twinned pages in Old Admin and it is not disturbing me anyway. As I said this update is not so smooth as everyone could expect. Repligard is the most powerfull (I think) part of midgard and the most complicated. One missed or changed guid can brake Your admin interface. You may make some test, if You have dumped old database (and of course if You have more time for that). Check which pages (elements, styles etc) are duplicated and get its guids. Unzip Asgard.xml file and find the same objects and compare these guids. Make guids the same (doesn't matter where) , and then import Asgard again. Yeah , I know , not nice , but I do not see any better solution. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
