On Fri, Dec 29, 2000 at 06:53:12PM +0100, Philipp Rotmann, Linksystem Muenchen wrote:
> 
>      Hi Alexander,
> 
> now I'm upgrading a production system from 1.4b3 to 1.4 and
> still encountering the same problems I solved before by simply
> creating a new database -- what I couldn't easily do in this
> case.
> 
> On 26.12.00 (17:26), Alexander Bokovoy wrote:
> > >    | head: asgard.selection:.xml: File or directory not found
> > >    (and so on)
> > >    Hmm ... host records are duplicated now (2 for asgard/, 2 for
> > >    asgard/framed/ and so on...) and everything else (topics,
> > >    articles) seem to have been installed again as well -- only
> > >    the persons are untouched.
> > I've already warned that Asgard version from beta7 and earlier
> > releases wouldn't be final and that's the reason of such
> > behaviour: GUIDs are changed.
> 
> So what can I do to upgrade _and_ install Asgard?
I can suggest following (a little tricky and hackerful) way:
1. Backup database
2. Using mysql console, rename Asgard's components (Root pages, 
   Styles, /Asgard snippetdir) to different names, change host info.
3. Check for correct Repligard table in your database;
4. run 'delete from repligard;' in mysql's console;
5. Install new Asgard.
6. Run 'repligard -m' for this database;
7. Delete old Asgard's components from new Asgard interface.
8. Export your database using Asgard and delete from XML file
   all records with attribute 'deleted="<SOME-DATE>"'
   
I can't give you guarantie that it will work but I've used it myself.
Step 2 needed to recognize old records after installation, steps 3 and 4
are most important, step 6 will regenerate GUIDs for your data (and old Asgard
code which you'll delete at step 7). Step 8 is for safety.
-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
   IPLabs Linux Team    |     linux.iplabs.ru     | Architecte Open Source
-- We are all dying -- and we're gonna be dead for a long time.

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

Reply via email to