Koozali.org: home of the SME Server

fool proof upgrade to 7.2

Offline robwellesley

  • *
  • 92
  • +0/-0
fool proof upgrade to 7.2
« on: August 03, 2007, 10:46:35 AM »
No matter what version of SME7 you are using do this.

[root@mail ~]# yum update smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite

(If you just get a bunch of these:ftp://ftp.GENERICMIRROR.com/pub/smeserver/releases/7/smeos/i386/CentOS/RPMS/RPMNAME.i386.rpm: [Errno 4] IOError: [Errno ftp error] 550 7: No such file or directory
Trying other mirror.

Do a yum clean all)

Then a signal-event post-upgrade and reboot
Then do this
[root@mail ~]# cd /home/e-smith/db/
[root@mail ~]# mv yum_repositories yum_repositories.po
[root@mail ~]# /etc/e-smith/events/actions/initialize-default-databases

Forget about 3rd party repos for now

Then do this
[root@mail ~]# yum clean all
[root@mail ~]# yum update

And the usual signal-event post-upgrade; signal-event reboot

NB:  Only contribs we install (if any) are the user-manager/vacation panels and openvpn

Offline mmccarn

  • *
  • 2,656
  • +10/-0
fool proof upgrade to 7.2
« Reply #1 on: August 03, 2007, 05:41:38 PM »
Rob -

Does this procedure definitely configure the correct yum repositories?  Or: is the default yum repository configuration contained in the 'smeserver-yum' package (or one of the others listed)?

Offline robwellesley

  • *
  • 92
  • +0/-0
fool proof upgrade to 7.2
« Reply #2 on: August 04, 2007, 01:01:49 AM »
Quote from: "mmccarn"
Rob -

is the default yum repository configuration contained in the 'smeserver-yum' package (or one of the others listed)?

I assume so because we found that updating 'update smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite' first meant that  the upgrade went fine.  All of our customers servers are 7.1.3 and, according to the FAQ's. don't require this step but we found that on most of the Servers it was required.