Migration from Ubuntu 12.04 to 14.04
-
- Advanced member
- Posts: 197
- Joined: Sat Sep 13, 2014 3:52 am
- ZCS/ZD Version: Zimbra Collaboration 8.7
Migration from Ubuntu 12.04 to 14.04
Hi guys,
I've wrote about the 2 last step that you mentioned:
Upgrade 12.04 to 14.04
Upgrade 8.5 using the 14.04 version.
It's in spanish, sorry.
http://www.jorgedelacruz.es/2014/08/27/ ... zcs-8-5-0/
Best regards
I've wrote about the 2 last step that you mentioned:
Upgrade 12.04 to 14.04
Upgrade 8.5 using the 14.04 version.
It's in spanish, sorry.
http://www.jorgedelacruz.es/2014/08/27/ ... zcs-8-5-0/
Best regards
Migration from Ubuntu 12.04 to 14.04
This time I upgraded the 12.04 kernel to 3.11:
apt-get install linux-image-generic-lts-saucy linux-headers-generic-lts-saucy
Then upgraded to 8.05 with the 12.04 package. Install went perfectly. Now do I bother with 14.04, I would like to do the release-upgrade but don't want a repeat of the Perl modules being out of sync with the running version and the version used to compile them. My concern is the Zimbra tools not functioning. So for those that have gone to 14.04 and reapplied 8.5, any issue with the Zimbra tools?
apt-get install linux-image-generic-lts-saucy linux-headers-generic-lts-saucy
Then upgraded to 8.05 with the 12.04 package. Install went perfectly. Now do I bother with 14.04, I would like to do the release-upgrade but don't want a repeat of the Perl modules being out of sync with the running version and the version used to compile them. My concern is the Zimbra tools not functioning. So for those that have gone to 14.04 and reapplied 8.5, any issue with the Zimbra tools?
Migration from Ubuntu 12.04 to 14.04
Went ahead and did the release-upgrade from 12.04 to 14.04, came across the same XSLoader.pm error when attempting to verify the database before doing the 8.5 install. Again, this occurs because XSLoader was compiled with an earlier version of perl that is not the same as the running perl or an old version of perl is being called upon. Probably the latter as there are plenty of versions of perl lying around but XSLoader.pm only appears under /usr/share/perl5.18.2/. But this time since I was already on 8.5 before doing the OS upgrade I just skipped the database check and went ahead with the 8.5 install. I am able to run zmdbintegrityreport without a problem so I'm not sure how much the perl issue is going to get in the way.
Migration from Ubuntu 12.04 to 14.04
I did a test run and ran into the same perl error. After you skipped the database check, where there any other issues like log warnings?
Maybe we should file a bug report for this problem.
Maybe we should file a bug report for this problem.
Migration from Ubuntu 12.04 to 14.04
[quote user="vinzenz"]I did a test run and ran into the same perl error. After you skipped the database check, where there any other issues like log warnings?
Maybe we should file a bug report for this problem.[/QUOTE]
It installed without issue after ignoring the database check, running now.
Maybe we should file a bug report for this problem.[/QUOTE]
It installed without issue after ignoring the database check, running now.
Migration from Ubuntu 12.04 to 14.04
My upgrade; 12.04 to saucy, 8.07 to 8.5, 12.04 to 14.04, re-install 8.5 14.04 package, appears to be working fine but I did receive this cron error this morning:
/etc/cron.daily/logrotate:
error: zimbra:141 unknown option 'endscript' -- ignoring line
Sure enough in /etc/logrotate.d/zimbra at line 141 is an 'endscript' that doesn't follow a 'prerotate' or 'postrotate', so I rem'd it out. Should stop the error going forward.
/etc/cron.daily/logrotate:
error: zimbra:141 unknown option 'endscript' -- ignoring line
Sure enough in /etc/logrotate.d/zimbra at line 141 is an 'endscript' that doesn't follow a 'prerotate' or 'postrotate', so I rem'd it out. Should stop the error going forward.
Migration from Ubuntu 12.04 to 14.04
Not out of the woods yet, Server Status now shows localhost as well as my servers FQDN. In trying to fix it, by removing localhost using zmprov as suggested on the 'net I completely hosed my install. Zimbra server couldn't find itself, HTTP ERROR: 404 Problem accessing /zimbra/. Reason: Not Found. Before reverting to a snapshot, which may have meant a potential loss of mail unless I backed up boxes, I did a re-install as a last resort. It worked and curiously no XSLoader.pm perl error when allowing the install to verify and check the database.
Took a closer look at localhost appearing in Server Status and see that it shows a "data is stale" at around the time /etc/cron.daily/logrotate failed. So I really should have ignored it until /etc/cron.daily/logrotate ran successfully, dumb move on my part.
Took a closer look at localhost appearing in Server Status and see that it shows a "data is stale" at around the time /etc/cron.daily/logrotate failed. So I really should have ignored it until /etc/cron.daily/logrotate ran successfully, dumb move on my part.
Migration from Ubuntu 12.04 to 14.04
[quote user="Sal_O"]My upgrade; 12.04 to saucy, 8.07 to 8.5, 12.04 to 14.04, re-install 8.5 14.04 package, appears to be working fine but I did receive this cron error this morning:
/etc/cron.daily/logrotate:
error: zimbra:141 unknown option 'endscript' -- ignoring line
Sure enough in /etc/logrotate.d/zimbra at line 141 is an 'endscript' that doesn't follow a 'prerotate' or 'postrotate', so I rem'd it out. Should stop the error going forward.[/QUOTE]
FYI, I've filed https://bugzilla.zimbra.com/show_bug.cgi?id=95277 for this bug.
/etc/cron.daily/logrotate:
error: zimbra:141 unknown option 'endscript' -- ignoring line
Sure enough in /etc/logrotate.d/zimbra at line 141 is an 'endscript' that doesn't follow a 'prerotate' or 'postrotate', so I rem'd it out. Should stop the error going forward.[/QUOTE]
FYI, I've filed https://bugzilla.zimbra.com/show_bug.cgi?id=95277 for this bug.
Migration from Ubuntu 12.04 to 14.04
FYI, I created a bug for the Perl issue: https://bugzilla.zimbra.com/show_bug.cgi?id=95329
Migration from Ubuntu 12.04 to 14.04
Just to throw in my experience that worked.
Started as 8.0.6 on 12.04.4.
8.0.6 > 8.5.1(for 12.04) then 12.04.4 > 14.04.1 then 8.5.1 > 8.5.1 (for 14.04)
The last step took care of the perl dependancy issue. I did it on a dev box and am going to do it a couple more times before attempting it with my live server. During the 14.04 upgrade I did not uninstall the deprecated packages.
Started as 8.0.6 on 12.04.4.
8.0.6 > 8.5.1(for 12.04) then 12.04.4 > 14.04.1 then 8.5.1 > 8.5.1 (for 14.04)
The last step took care of the perl dependancy issue. I did it on a dev box and am going to do it a couple more times before attempting it with my live server. During the 14.04 upgrade I did not uninstall the deprecated packages.