Koozali.org: home of the SME Server

Migrating accounts?

silasp

RSYNC SME 6 => SME 6 (new install) => SME 7 (upgrade)
« Reply #15 on: March 02, 2006, 03:52:41 AM »
Well, it almost worked!

SME 6 (modified) => SME 6 (clean) worked great!

SME 7 upgrade install went ok, but on reboot I'm getting "/etc/httpd/modules/libperl.so missing" errors with my version of /etc/httpd/conf/httpd.conf

Error keeps repeating every second.
Fixed it temporarily by
1: alt-[f2]
2: logon as root
3: pico /etc/httpd/conf/httpd.conf
4: press [f1], make a note of the line number causing that error
([ctrl]-w, [ctrl]-t, type the line number)
5: add # to start of that line
6: Repeat steps 4 and 5 until error messages stop.

Updating / Reinstalling PHP + Apache on the new box will probably solve this problem.

That looks ok now. I have run a few basic tests - all the user accounts and emails came across ok.  Horde works ok, have not had a chance to test with the windows machines on the domain - to see if they still log in, etc.

When I do this for real, I will run the SME 6 "rollback" script
http://no.longer.valid/phpwiki/index.php/SME6.0.1Contribs-RemovalScript

Something like:
fresh install SME 6 on test box.
real server (modded sme6) => rsync => test box (sme6 new install)
run rollback script on real server
upgrade install SME 7 on real server

(if it works, great, otherwise...)
install SME 6 on real server
test box => Rsync => real server
run rollback script on real server
upgrade install SME 7 on real server

Cheers,
Silas

silasp

Actually, the best way is:
« Reply #16 on: March 14, 2006, 04:45:27 AM »
Hello again.

I have since found that the best way to move from SME 6 => 7 is to backup data,
do a CLEAN install of 7,
backup passwd, group, gshadow and shadow files on new server,
restore data,
fix passwd (etc) files.

Check here
http://forums.contribs.org/index.php?topic=31159.msg130622#msg130622 for details.

Cheers,
Silas.