how can you update zimbra 8.5 after upgrading ubuntu 12.04 to 14.04, after update stalls on perl version mismatch?

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
eleith
Advanced member
Advanced member
Posts: 52
Joined: Fri Sep 12, 2014 11:39 pm

how can you update zimbra 8.5 after upgrading ubuntu 12.04 to 14.04, after update stalls on perl version mismatch?

Postby eleith » Tue Sep 16, 2014 1:25 am

when you upgrade ubuntu 12.04 to 14.04, you then need to update zimbra from the 12.04 version to the 14.04 version.

however during install, the update fails because perl hits a snag due to a the import of a module being compiled on an older version of perl.

in particular, ubuntu 14.04 is running perl 5.18 (and all modules compiled as such), but the update reports a System.pm file being imported that was compiled with per 5.14 instead


eleith
Advanced member
Advanced member
Posts: 52
Joined: Fri Sep 12, 2014 11:39 pm

how can you update zimbra 8.5 after upgrading ubuntu 12.04 to 14.04, after update stalls on perl version mismatch?

Postby eleith » Tue Sep 16, 2014 1:27 am

i mean Socket.pm, not System.pm
eleith
Advanced member
Advanced member
Posts: 52
Joined: Fri Sep 12, 2014 11:39 pm

how can you update zimbra 8.5 after upgrading ubuntu 12.04 to 14.04, after update stalls on perl version mismatch?

Postby eleith » Tue Sep 16, 2014 1:32 am

turns out, that a version of many common core perl modules is included directly in zimbra: /home/eleith/backup/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/Socket.pm



so when you first installed zimbra 8.5 on 12.04, all those perl modules will be compiled with 5.14



however, when you upgrade ubuntu to 14.04 and attempt to update zimbra to the 14.04 version of 8.5, it runs an initial perl file in the newly download zimbra, but it attempts to import modules coming from the existing install.



thus you have a 5.18 compiled module trying to import a 5.14 module, and the update then stalls due to a perl runtime error.



i was able to fix this by copying the "x86_64-linux-gnu-thread-multi" out of the zimbra-core debian file over to the existing install, and then re-running install.sh.



a bit cumbersome, but it worked! (after much much finagling)
rick641217
Posts: 1
Joined: Tue Sep 16, 2014 5:01 am

how can you update zimbra 8.5 after upgrading ubuntu 12.04 to 14.04, after update stalls on perl version mismatch?

Postby rick641217 » Tue Sep 16, 2014 8:58 am

when using install.sh to upgrade, just skip mysql db integrity check(answer "n" when it asks), and everything goes well...
metux
Advanced member
Advanced member
Posts: 146
Joined: Mon Jul 28, 2014 6:21 pm

how can you update zimbra 8.5 after upgrading ubuntu 12.04 to 14.04, after update stalls on perl version mismatch?

Postby metux » Mon Sep 29, 2014 5:01 am

Perl modules shouldnt be bundled in the first place - instead should be taken from the Distro

Return to “Migration”

Who is online

Users browsing this forum: No registered users and 2 guests