Upgrade Procedure from 2.4 to 3.0 on the Same Server
Isaac Aaron
e-tsik at q-bytes.com
Wed May 22 12:48:40 CEST 2013
Hello
Googling for an upgrade procedure from 2.4 to 3.0 on the same server only lead my to the two-machine migration howto. That didn't feel right to me. Apart from z-push, the daemons from 2.4 all exist on 3.0 and I felt it should be worth a try to upgrade a live system from 2.4 to 3.0. I have put together a recipe for upgrading Kolab 2.4 to 3.0:
1. Remove kolab-2.4-community package
rpm -e kolab-2.4-community-release-6-1.el6.kolab_2.4.noarch kolab-2.4-community-release-development-6-1.el6.kolab_2.4.noarch
2. Install kolab-3.0 community package
rpm -Uvh http://mirror.kolabsys.com/pub/redhat/kolab-3.0/el6/release/x86_64/kolab-3.0-community-release-6-2.el6.kolab_3.0.noarch.rpm
3. Remove packages causing dependency issues (causing trouble with yum upgrade)
rpm -e mysql-server-5.5.24-1.el6.kolab_2.4.x86_64 mysql-libs-5.5.24-1.el6.kolab_2.4.x86_64 php-pear-MDB2-Driver-mysql-1.5.0-0.1.b3.el6.noarch php-mysql-5.3.10-2.el6.kolab_2.4.x86_64 mysql-5.5.24-1.el6.kolab_2.4.x86_64 postfix MySQL-python-1.2.3-4.el6.kolab_2.4.x86_64 perl-DBD-MySQL-4.017-2.el6.kolab_2.4.x86_64 postfix-kolab-0.4.14-3.el6.kolab_2.4.noarch kolab-mta-2.4.1-1.el6.kolab_2.4.noarch kolab-webclient-2.4-3.el6.kolab_2.4.noarch php-pear-MDB2-Driver-mysqli-1.5.0-0.1.b3.el6.noarch kolab-fbview-1.2.6-0.2.el5.kolab_2.4.noarch kolab-2.4-4.el6.kolab_2.4.noarch roundcubemail-0.7.2-2.el6.kolab_2.4.noarch cronie-1.4.4-7.el6.x86_64 cronie-anacron-1.4.4-7.el6.x86_64 crontabs roundcubemail-plugins-kolab-0.7.2-1.el6.kolab_2.4.noarch amavisd-new-2.6.4-2.el6.noarch
4.
yum install kolab
5.
Export the whole database using 389-database
6.
Convert the database using k2124.py
7.
Remove the ldap database
remove-ds.pl -i slapd-mail
8.
Run setup-kolab
Ignore mysql issues - setup-kolab continues anyway and if there are schema issues - they are to be fixed later on.
9.
yum -y upgrade
10.
Reboot
Thoughts anyone?
Hope it helps.
Isaac Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: k2124.py
Type: application/octet-stream
Size: 1665 bytes
Desc: k2124.py
URL: <http://lists.kolab.org/pipermail/users/attachments/20130522/3d3c444e/attachment.obj>
More information about the users
mailing list