On 13 Sep 2001, at 1:29, Emiliano wrote:

> [EMAIL PROTECTED] wrote:
> 
> > Yes, this is related. I haven't done a pre 1.4 upgrade for a while,
> > but I was under the impression that the upgrade script would move
> > all non-administration hosts to a migration sitegroup. There used to
> > be a separate script for this, but there is no version in current
> > CVS. You can get it from the attic though:
> > 
> > http://cvs.midgard-project.org/~checkout~/midgard/proposals/data/Att
> > ic/sg0migrate?rev=1.1&content-type=text/plain
> > 
> > Be sure to backup your database before trying this, as I don't know
> > its current status. All I know that back then it saved me a _lot_ of
> > time and frustration.
> 
> What that script tries to do is move all records except the admin &
> example site into SG1. If the example or admin sites did not have
> records deleted or added, it should work well. If not, the results can
> be weird.
> 
> I've added a perl script that will move everything in your database
> from sg0 to sg1. It has some checks to make sure that you haven't done
> this earlier, but those are not foolproof. Before running this 'tool':

Whereabouts do I get this perl script? I have looked on the CVS 
web but I get errors and I'm not sure which file? Sorry about this, I 
don't know much about CVS. The file from the link above worked 
fine, but as you said it can have problems, and I have definitely 
modified the admin site. So if the newer script is better I will use 
that.

> 
> 1. Make very sure you have a backup.
> 2. have the new data package handy.

being midgard-data-1.4.1-5? 

It will happily install over the altered database? Not a huge issue 
though, I will be doing a few dummy runs on a mirror of our 
production server.

Thanks for your help!

Richard

> 
> After running this tool the admin user will no longer be able to log
> in (fun, huh?) since he is in sg1 yet has root permissions. Install
> the new data package and you'll have new admin sites and a new root
> user.
> 
> The result of this is you'll have a working admin site and your
> production sites are all in sg1. The pre-migration admin site is also
> in sg1 but not likely to be of much value (since the admin site(s) in
> sg0 do the same). You can keep it or remove it manually.
> 
> Emile
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to