Results 1 to 10 of 10

Thread: Upgrade Zimbra 7.2 on Ubuntu 8.04 to Zimbra 8 on Ubuntu 12.04

  1. #1
    moetiker's Avatar
    moetiker is online now Loyal Member
    Join Date
    Nov 2006
    Location
    Olten, Switzerland
    Posts
    82
    Rep Power
    8

    Question Upgrade Zimbra 7.2 on Ubuntu 8.04 to Zimbra 8 on Ubuntu 12.04

    Hi

    I wondering whats the best way to upgrade my zimbra 7.2 ubuntu 8.04 64bit installation to
    zimbra 8 ubuntu 12.04?

    1. Upgrade to ubuntu 10.04
    2. Upgrade to zimbra 8
    3. Upgrade to ubuntu 12.04 ?

    thanks for your ideas

  2. #2
    ecobrazim is offline Loyal Member
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    91
    Rep Power
    6

    Default

    I would have thought to upgrade the system before upgrading the mail application.
    Why would you want to do upgrade Zimbra in the midle of your system upgrade?

  3. #3
    moetiker's Avatar
    moetiker is online now Loyal Member
    Join Date
    Nov 2006
    Location
    Olten, Switzerland
    Posts
    82
    Rep Power
    8

    Default

    the problem is, zimbra 7 does not support ubuntu 12.04 and zimbra 8 does not support ubuntu 8.04 and ubuntu 10.04 is supported by both, and I thought it would be a good thing to have a working zimbra 7 for the upgrade process.

  4. #4
    RoadRunnr is offline Junior Member
    Join Date
    Dec 2007
    Posts
    8
    Rep Power
    7

    Default

    I tried it on a test setup and it went mostly smooth:
    * make a full backup
    * disabled Zimbra autostart
    * upgrade Ubuntu to 12.04 - Zimbra 7.2 stops working after that!
    * run the Zimbra 8 upgrade

    When you start the upgrade the LDAP and MySQL servers are not running, so tell it not to check the database. Also, since LDAP is not running, it can't find the Zimbra license (if you are on NE), so have the license file around and point the installer to it.
    Everything worked after that...

  5. #5
    jch2os is offline Intermediate Member
    Join Date
    May 2007
    Posts
    15
    Rep Power
    8

    Default

    Do you use the same license file that you did in 7 or did you need a different license xml file for 8? Thanks

  6. #6
    ugurcacaron is offline Starter Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    2

    Default

    I want to share my experience about upgrading my ZCS OSE 7.2.0 (on Ubuntu 10.04 of course) to ZCS OSE 8.0.0 (on Ubuntu 12.04 of course).
    First I backed up /opt/zimbra folder on Ubuntu 10.04. I stopped the server (I am using virtual machines on VMware; so it is easy to do this).
    I created a new server which has Ubuntu 12.04 as OS on it. And I gave the same IP and the same host name to the new server as the stopped one.
    I dowloaded ZCS OSE 8.0.0 from zimbra.com. And I unpacked it somewhere under /home folder (lets call it /home/download/zcs).
    I installed the software by running /home/download/zcs/install.sh -s as root. -s option tells the installer not to configure ZCS after installation (because we will use the configuration parameters and files of the saved one on Ubuntu 10.04).
    I stopped all zimbra services using su - zimbra -c"/opt/zimbra/bin/zmcontrol stop" command.
    If you want, you can check if any (orphaned) zimbra service is still active using su - zimbra -c"/opt/zimbra/bin/zmcontrol status" command.
    If you see still active zimbra services you can kill them using ORPHANED=`ps -u zimbra -o "pid="` && kill -9 $ORPHANED commands.
    I removed the newly created /opt/zimbra folder by running rm -rf /opt/zimbra as root.
    Then I restored the backed up the /opt/zimbra folder usinf rsync command. By the way rsync is the most safe and quick way of incremental back up and restore process for later operations.
    Not to face any OS specific permission problems, I ran /opt/zimbra/libexec/zmfixperms -extended.
    Then I ran /home/download/zcs/install.sh (this time without -s option).
    I told the installer not to check the database for integrity (because mysql did not run at that time).
    The installer did the rest.
    Now I am using the upgraded version.
    And after seeing the new server works, I no longer needed my old server. So I removed it.
    As you can see, the upgrade process is not different than moving your ZCS to another (twin) server.
    Best regards.

  7. #7
    Urayoan is offline Starter Member
    Join Date
    Jun 2007
    Posts
    1
    Rep Power
    8

    Default

    Hello:
    I am in the same situation and the otherts feedback is very helpfull. I think this information can be helpfull too

    Ajcody-Notes-OS-Upgrade-And-ZCS-Options - Zimbra :: Wiki

    I am gonna do the experiment and see how it goes but i think is a process very straigh forward.

  8. #8
    nima0501 is offline Starter Member
    Join Date
    Mar 2014
    Posts
    1
    Rep Power
    1

    Default

    I just followed the steps that ugurcacaron provided and they worked perfectly. I am now running ZCS 8.0.6 on Ubuntu 12.04. I migrated from an enviornment that started as ZCS 7.1.x and Ubuntu 10.04, performed the upgrade on ZCS to get the system to ZCS 7.2.6, then followed the exact procedure by ugurcacaron to migrate to the ZCS 8.0.6 and Ubuntu 12.04 system.

    Thanks ugurcacaron for the great tutorial!

  9. #9
    tcrowley@seafax.com is offline New Member
    Join Date
    Jul 2012
    Posts
    3
    Rep Power
    2

    Default

    I followed this step by step. Everything seemd to go fine--no errors or warnings on the upgrade. However, when I tried to log on, even though I got the logon screen, I got a message that a network service had failed. So everything looked OK, mail was being received, but no way to get to it.

  10. #10
    Brad_C is offline Loyal Member
    Join Date
    Apr 2012
    Posts
    91
    Rep Power
    3

    Default

    I've done this twice recently as an experiment and to try out the new beta. Note that each side of an OS upgrade I maintained the same zimbra version, just built for the different OS.
    I found this a lot of work, but it took out any questionable variables.

    I'm currently using 7.2.6 on Ubuntu 10.04 LTS.
    I did it this way
    - Upgrade to 8.0.7 for 10.04.
    - Upgrade 10.04 to 12.04
    - Upgrade 8.0.7 for 10.04 to 8.0.7 for 12.04
    - Upgrade 8.0.7 for 12.04 to 8.5 for 12.04
    - Upgrade 12.04 to 14.04
    - Upgrade 8.5 for 12.04 to 8.5 for 14.04

    I found it a pain going through all the answers for each zimbra upgrade so I created a default fie,

    root@srv:/server/src/zimbra# cat defaults
    SKIP_ACTIVATION_CHECK=yes
    BETA_SUPPORT=yes
    INSTALL_PACKAGES="zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-spell zimbra-apache zimbra-convertd zimbra-memcached"
    UPGRADE=yes

    So each zimbra install was run with ./install.sh ../defaults

    I'm running the network edition and don't want zimbra to use up an activation each time it passes through a new version, so I skip the activation check and manually trigger an activation once it is all done. (I cut off the VM's network access as a precaution anyway)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upgrade Ubuntu 6.06 Zimbra 5.0.19 to Ubuntu 10.04 Zimbra 7.1.0
    By stegbth in forum Zimbra Success Stories
    Replies: 3
    Last Post: 09-16-2011, 04:50 AM
  2. Upgrade Ubuntu 6.06LTS to Ubuntu 8.04LTS and Zimbra 6.x
    By ajaylamb in forum Administrators
    Replies: 3
    Last Post: 09-12-2011, 01:45 AM
  3. Replies: 4
    Last Post: 04-07-2011, 02:54 AM
  4. Replies: 0
    Last Post: 04-06-2011, 02:07 AM
  5. Upgrade from Ubuntu 6.06 and Zimbra to Ubuntu 8.0
    By JoeLosco in forum Administrators
    Replies: 0
    Last Post: 08-20-2008, 08:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •