[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/Attic/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':
1. Make very sure you have a backup.
2. have the new data package handy.
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]