Problem upgrading Ubuntu from 12.04 to 14.04

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
gilbologna
Posts: 1
Joined: Tue Sep 16, 2014 9:54 am

Problem upgrading Ubuntu from 12.04 to 14.04

Post by gilbologna »

Hi to all I have a problem with the library libperl5.18 upgrading from ubuntu 12.04 to 14.04 with zimbra version 8.5
For understand if it's a problem of my installation I have try to install from scratch on a ubuntu 14.04 the same version (8.5) and there is no problem. 
When i put the disk with the old installation and try to upgrade it a have the same error.

It's look like there is something in the installed version broken after upgraded
iscar
Posts: 4
Joined: Sat Sep 13, 2014 3:09 am

Problem upgrading Ubuntu from 12.04 to 14.04

Post by iscar »

User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Problem upgrading Ubuntu from 12.04 to 14.04

Post by jorgedlcruz »

Hi gilbologna,

You need to upgrade first, in Ubuntu 12.04 Zimbra from 8.0.x to 8.5:

https://www.jorgedelacruz.es/2014/08/27 ... 12-04-lts/



Then Upgrade Ubuntu from 12.04 to 14.04 and also Zimbra from 8.5 (old packages 12.04) to 8.5 (new packages to 14.04)

https://www.jorgedelacruz.es/2014/08/27 ... zcs-8-5-0/



Quite easy, follow the steps :)



Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
jbudding
Posts: 2
Joined: Fri Sep 19, 2014 3:43 pm

Problem upgrading Ubuntu from 12.04 to 14.04

Post by jbudding »

This blog entry didn't seem to be accessible online for me so snapshotted my VM and tried it several times the hard way until I found a solution.



The only way I could get this to work was these steps:

1. Take a snapshot of the system (VM Environment)

2. Use Ubuntu do-release-upgrade to upgrade old LTS 12.04 environment to 14.04 - had to change a config to allow LTS to be updated. When through several incremental OS upgrades and reboots.

3. Delete all perl directories under /opt/zimbra/zimbramon/lib including perl, perl5, x86_64-linux-gnu-thread-multi prior to attempting upgrade (they get recreated during upgrade).

4. Used CPAN install to install Data::UUID and other temporarily needed Perl Modules of the right version libperl5.18 since now a few Zimbra needed Perl Modules from 5.14 were missing that caused this error.

5. Upgrade will run with no problems after this. It will reinstall new libperl5.18 compatible modules under /opt/zimbra/zimbramon/lib/perl, etc.



Worked like a charm.. problem is there are old perl 5.14 modules, files under /opt/zimbra/zimbramon/lib triggering the errors. You can't upgrade with them or without them.. even though your whole Perl environment is upgraded to 5.18 the installer still searching there under Zimbra. Delete and rerun your installer. If a Perl Module is missing load from CPAN.. It will work.



The other thing I tried is just installing the perllib5.18 and keeping my older perl 5.14.. that made it half way through the install until the upgrade installed the new libperl5.18 files under /opt/zimbra/zimbramon/lib then the upgrade crashed halfway through. So the only solution is as described above. Working Perfectly now.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Problem upgrading Ubuntu from 12.04 to 14.04

Post by quanah »

--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Post Reply