Upgrading from Ubuntu 18.04 to 20.04
Upgrading from Ubuntu 18.04 to 20.04
Since Ubuntu 22.04 LTS was just released and Zimbra 8.8.15 GA can be installed on Ubuntu 20.04, I wonder if I should upgrade my Ubuntu 18.04 based installation to Ubuntu 20.04.
I only found a guide to upgrade to Ubuntu 18.04 in the Wiki: https://wiki.zimbra.com/wiki/Ubuntu_Upgrades
Is there any upgrade guide available for Ubuntu 20.04?
I only found a guide to upgrade to Ubuntu 18.04 in the Wiki: https://wiki.zimbra.com/wiki/Ubuntu_Upgrades
Is there any upgrade guide available for Ubuntu 20.04?
Re: Upgrading from Ubuntu 18.04 to 20.04
Hello Mate,
This guide is correct and does let me know if you face any issues or confusion on any step.
This guide is correct and does let me know if you face any issues or confusion on any step.
-
- Ambassador
- Posts: 2747
- Joined: Mon Dec 16, 2013 11:35 am
- Location: France - Drôme
- ZCS/ZD Version: All of them
- Contact:
Re: Upgrading from Ubuntu 18.04 to 20.04
There's this thread too viewtopic.php?f=13&t=67390
Re: Upgrading from Ubuntu 18.04 to 20.04
But this guide doesn't even mention the upgrade process from Ubuntu 18.04 to Ubuntu 20.04.aman wrote:Hello Mate,
This guide is correct and does let me know if you face any issues or confusion on any step.
In oder to guard against misunderstandings: I'm already on Ubuntu 18.04 and I want to upgrade to Ubuntu 20.04.
Or is this not recommended or even supported, yet?
Re: Upgrading from Ubuntu 18.04 to 20.04
This thread covers upgrading from Ubuntu 16.04 to 18.04, right?Klug wrote:There's this thread too viewtopic.php?f=13&t=67390
What I want instead is to upgrade from Ubuntu 18.04 to Ubuntu 20.04.
-
- Posts: 9
- Joined: Fri Jan 09, 2015 7:03 am
Re: Upgrading from Ubuntu 18.04 to 20.04
I have the same problem.
After upgrading Ubuntu 18.04 to 20.04 Zimbra is still running fine with the old 18.04 Packages, but after downloading the latest zcs-8.8.15.tar from zimbra.com and running "./install.sh -s --skip-activation-check" Zimbra is not starting anymore.
The reason seems to be that Zimbra Mailboxmanager is not running.
I've tried this to fix this problem, but it doesn't work:
https://computingforgeeks.com/how-to-so ... -starting/
Also /opt/zimbra/log/zmmailboxd.out is full of java errors.
I'm updating on Ubuntu 20.04 from
Release 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P36.
to
Release 8.8.15_GA_4179.UBUNTU20_64
Has anybody successfully upgrading from Ubuntu 18.04 to 20.04?
After upgrading Ubuntu 18.04 to 20.04 Zimbra is still running fine with the old 18.04 Packages, but after downloading the latest zcs-8.8.15.tar from zimbra.com and running "./install.sh -s --skip-activation-check" Zimbra is not starting anymore.
The reason seems to be that Zimbra Mailboxmanager is not running.
I've tried this to fix this problem, but it doesn't work:
https://computingforgeeks.com/how-to-so ... -starting/
Also /opt/zimbra/log/zmmailboxd.out is full of java errors.
I'm updating on Ubuntu 20.04 from
Release 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P36.
to
Release 8.8.15_GA_4179.UBUNTU20_64
Has anybody successfully upgrading from Ubuntu 18.04 to 20.04?
-
- Posts: 9
- Joined: Fri Jan 09, 2015 7:03 am
Re: Upgrading from Ubuntu 18.04 to 20.04
After some trial and error our Zimbra Server is now running except zmconfigd.
The errors in /opt/zimbra/log/zmmailboxd.out gone away after "apt install zimbra-ldap-patch", but than i have errors in /opt/zimbra/log/mailbox.log like this:
990 FATAL [main] [] system - Unable to initialize servlet ExtensionDispatcherServlet; halting
javax.servlet.ServletException: Invalid port number "%%zimbraMailPort%%" in allowed.ports parameter
at com.zimbra.cs.servlet.ZimbraServlet.init(ZimbraServlet.java:144) ~[zimbrastore.jar:8.8.15_GA_4508]
I fixed this problem after removing /opt/zimbra/jetty_base folder and using a copy of the jetty_base folder from the Ubuntu 18.04 install.
Like described here: viewtopic.php?f=15&t=66243&p=290660
Everything seems to work fine except zmconfigd that is not starting and i have no log updates in /var/log/zimbra.log since the upgrade from Ubuntu 18.04 to 20.04.
Does anybody know how to fix this?
The errors in /opt/zimbra/log/zmmailboxd.out gone away after "apt install zimbra-ldap-patch", but than i have errors in /opt/zimbra/log/mailbox.log like this:
990 FATAL [main] [] system - Unable to initialize servlet ExtensionDispatcherServlet; halting
javax.servlet.ServletException: Invalid port number "%%zimbraMailPort%%" in allowed.ports parameter
at com.zimbra.cs.servlet.ZimbraServlet.init(ZimbraServlet.java:144) ~[zimbrastore.jar:8.8.15_GA_4508]
I fixed this problem after removing /opt/zimbra/jetty_base folder and using a copy of the jetty_base folder from the Ubuntu 18.04 install.
Like described here: viewtopic.php?f=15&t=66243&p=290660
Everything seems to work fine except zmconfigd that is not starting and i have no log updates in /var/log/zimbra.log since the upgrade from Ubuntu 18.04 to 20.04.
Does anybody know how to fix this?
-
- Posts: 9
- Joined: Fri Jan 09, 2015 7:03 am
Re: Upgrading from Ubuntu 18.04 to 20.04
Finally everything works now!
First i had to reinstall zimbra-patch and zimbra-ldap-patch packages and after that zmconfigd works fine, but stats dont start anymore.
I removed zimbra-logger and installed the package again from the Zimbra 8.8.15 Ubuntu 20.04 install tar archiv.
It looks like there are some conflicts between the packages from the Install archive and the versions from the Zimbra package repositories.
Maybe some packages must be installed before other versions or some package dependencies are wrong / missing.
First i had to reinstall zimbra-patch and zimbra-ldap-patch packages and after that zmconfigd works fine, but stats dont start anymore.
I removed zimbra-logger and installed the package again from the Zimbra 8.8.15 Ubuntu 20.04 install tar archiv.
It looks like there are some conflicts between the packages from the Install archive and the versions from the Zimbra package repositories.
Maybe some packages must be installed before other versions or some package dependencies are wrong / missing.
-
- Posts: 9
- Joined: Fri Jan 09, 2015 7:03 am
Re: Upgrading from Ubuntu 18.04 to 20.04
Instead of removing /opt/zimbra/jetty_base and using a backup, the better solution is to apt remove zimbra-store package and reinstall it from the downloaded zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz!
So the complete procedure should be this:
1. On Ubuntu 18.04
- wget https://files.zimbra.com/downloads/8.8. ... 033954.tgz
- tar xvf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
2. sudo nano /etc/update-manager/release-upgrades.d/allow-thirdparty.cfg
[Sources]
AllowThirdParty=yes
3. sudo do-release-upgrade
4. On Ubuntu 20.04
- cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
- sudo ./install.sh -s --skip-activation-check
5. sudo apt update && apt dist-upgrade
6. sudo apt --fix-broken install
7. sudo apt install zimbra-ldap-patch
8. sudo apt remove zimbra-store
9. cd packages/
10. sudo dpkg -i zimbra-store_8.8.15.GA.4179.UBUNTU20.64_amd64.deb
11. sudo apt install zimbra-patch (because it will be removed as zimbra-store package dependency before)
12. sudo apt install --reinstall zimbra-ldap-patch
13. sudo apt remove zimbra-logger
14. sudo dpkg -i zimbra-logger_8.8.15.GA.4179.UBUNTU20.64_amd64.deb
15. sudo service zimbra restart
So the complete procedure should be this:
1. On Ubuntu 18.04
- wget https://files.zimbra.com/downloads/8.8. ... 033954.tgz
- tar xvf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
2. sudo nano /etc/update-manager/release-upgrades.d/allow-thirdparty.cfg
[Sources]
AllowThirdParty=yes
3. sudo do-release-upgrade
4. On Ubuntu 20.04
- cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
- sudo ./install.sh -s --skip-activation-check
5. sudo apt update && apt dist-upgrade
6. sudo apt --fix-broken install
7. sudo apt install zimbra-ldap-patch
8. sudo apt remove zimbra-store
9. cd packages/
10. sudo dpkg -i zimbra-store_8.8.15.GA.4179.UBUNTU20.64_amd64.deb
11. sudo apt install zimbra-patch (because it will be removed as zimbra-store package dependency before)
12. sudo apt install --reinstall zimbra-ldap-patch
13. sudo apt remove zimbra-logger
14. sudo dpkg -i zimbra-logger_8.8.15.GA.4179.UBUNTU20.64_amd64.deb
15. sudo service zimbra restart
Re: Upgrading from Ubuntu 18.04 to 20.04
thank you very much!!!!!!!!!!