The old wiki how-to was only relevent to SME 7.0 and does not provide an easy upgrade path. Actually, till the '5' series become part of the base there is really no 'easy' upgrade path.
I've tested the following in a server-only VM. Server-manager and webmail login were possible after upgrading. This was the only test of success.
If you upgraded SME 7.0 by the old wiki there is a post
here on how to downgrade. If you downgrade, I suggest you update to 7.1.1 before upgrading again.
If you upgraded SME 7.1 by the old wiki there is a post
here on how to transition from the custom templates to the default templates.
Word of warning. You will be doing a 7.1 to 7.1.1 update. New kernels will get installed. Grub prior to 7.1.1 can revert to an incorrect kernel type (smp/up). If this occurs with a VIA C3 processor your machine will
not boot. Updating e-smith-grub prior to starting is recommended.
yum update e-smith-grub \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
signal-event post-upgrade
signal-event reboot
Bigger word of warning. Using this post is at
your risk.
SME 7.1 >> php/mysql to 5 series >> SME 7.1.1db yum_repositories setprop updates Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop base Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl*,perl-DBI,httpd,mod_ssl
expand-template /etc/yum.conf
yum update php mysql \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=centosplus \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
signal-event post-upgrade
signal-event reboot
mysql_upgrade
cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql \
--force \
--user=root \
--host=localhost \
--database=mysql
signal-event post-upgrade
signal-event reboot
If you have transitioned to the default templates this is the start of the 7.1.1 update.
rpm -e --nodeps \
smeserver-support \
e-smith-horde \
e-smith-base
At this point some backups will be produced. Either rename them at the end to reuse them or go into a local server console to recreate them.
warning: /home/e-smith/db/networks saved as /home/e-smith/db/networks.rpmsave
warning: /home/e-smith/db/hosts saved as /home/e-smith/db/hosts.rpmsave
warning: /home/e-smith/db/domains saved as /home/e-smith/db/domains.rpmsave
warning: /home/e-smith/db/configuration saved as /home/e-smith/db/configuration.rpmsave
warning: /home/e-smith/db/accounts saved as /home/e-smith/db/accounts.rpmsave
These file versions were correct 3-MAR-2007
rpm -ivh --nodeps \
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/RPMS/smeserver-support-1.6.0-32.el4.sme.noarch.rpm \
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/RPMS/e-smith-base-4.18.0-10.el4.sme.noarch.rpm \
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/RPMS/e-smith-horde-1.13.0-19.el4.sme.noarch.rpm
yum clean all
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=centosplus \
--enablerepo=smeaddons
Answer y to overwrite
cp hosts.rpmsave hosts
cp domains.rpmsave domains
cp configuration.rpmsave configuration
cp accounts.rpmsave accounts
cp networks.rpmsave networks
signal-event post-upgrade
signal-event reboot
SME 7.1 >> SME 7.1.1 >> php/mysql to 5 series db yum_repositories setprop updates Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop base Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl*,perl-DBI,httpd,mod_ssl
expand-template /etc/yum.conf
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
signal-event post-upgrade
signal-event reboot
This is the start of the php/mysql upgrade.
yum update php mysql \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=centosplus \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
signal-event post-upgrade
signal-event reboot
mysql_upgrade
cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql \
--force \
--user=root \
--host=localhost \
--database=mysql
signal-event post-upgrade
signal-event reboot