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
Problem upgrading Ubuntu from 12.04 to 14.04
-
- Posts: 1
- Joined: Tue Sep 16, 2014 9:54 am
Problem upgrading Ubuntu from 12.04 to 14.04
Check this blog can you help https://www.jorgedelacruz.es/2014/08/27 ... zcs-8-5-0/#
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Problem upgrading Ubuntu from 12.04 to 14.04
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
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
Problem upgrading Ubuntu from 12.04 to 14.04
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.
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.
Problem upgrading Ubuntu from 12.04 to 14.04
I suggest reading over http://wiki.zimbra.com/wiki/Ajcody-Note ... CS-Options
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/