upgrade path to zimbra 8

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
oetiker
Advanced member
Advanced member
Posts: 163
Joined: Fri Mar 07, 2014 1:05 pm
Location: Switzerland
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU16.64
Contact:

upgrade path to zimbra 8

Postby oetiker » Thu Sep 13, 2012 1:31 am

Hi
Situation: I have a zimbra 7.2 installation on a ubuntu 8.04.
I'd like to make a new clean zimbra 8 installation on a ubuntu 12.04.
Question: How can I migrate all accounts and date from zimbra 7.2 to my new clean installation

on zimbra 8 ?
Is it possible to copy ldap, mysql and data/index store? ?
Thanks for your thoughts


Harley77
Posts: 47
Joined: Fri Sep 12, 2014 10:26 pm

upgrade path to zimbra 8

Postby Harley77 » Thu Sep 13, 2012 9:51 am

I'm in a similar situation. There doesn't seem to be a good path, other than a long process of using Ubuntu 10.04 as an intermediary. Right now, the quickest way seems to be to setup a new server using Ubuntu 8.04, install the same version of Zimbra (7.2) and migrate my server data, then shut down zimbra, prevent Zimbra from starting up, upgrade the OS to v12.04, then upgrade Zimbra and cross my fingers. Somewhat defeats the purpose of doing a clean install though.
I thought it was really poor planning on Zimbra's part to have no clear upgrade path for those on Ubuntu 8.04LTS to migrate to Zimbra v8.
User avatar
oetiker
Advanced member
Advanced member
Posts: 163
Joined: Fri Mar 07, 2014 1:05 pm
Location: Switzerland
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU16.64
Contact:

upgrade path to zimbra 8

Postby oetiker » Thu Sep 13, 2012 10:09 am

It's not a clean installation but it worked.
1. shutdown zimbra ( remove startup script)

2. upgrade Ubuntu to 12.04

3. Install zimbra 8.
there where a view warnings because zimbra 7 was not running during the upgrade... but at the end it was working.
I created a support request but I have no answer till now...
User avatar
oetiker
Advanced member
Advanced member
Posts: 163
Joined: Fri Mar 07, 2014 1:05 pm
Location: Switzerland
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU16.64
Contact:

upgrade path to zimbra 8

Postby oetiker » Thu Sep 13, 2012 10:23 am

I just found this link:Ajcody-Notes-OS-Upgrade-And-ZCS-Options - Zimbra :: Wiki
User avatar
ianw1974
Advanced member
Advanced member
Posts: 96
Joined: Sat Sep 13, 2014 12:45 am
Location: UK
ZCS/ZD Version: Release 8.7.1.GA.1670.UBUNTU14.64
Contact:

upgrade path to zimbra 8

Postby ianw1974 » Wed Sep 26, 2012 5:24 am

I have done this today for upgrading from Debian 5 to Ubuntu 12 directly. Here is how I did it.
1. Create server with Ubuntu 12. Install Zimbra 8 like this:
./install.sh -s

this will install Zimbra 8 without configuration. Make sure that zimbra and postfix UID/GID's are the same as Debian server.
2. Rename on Ubuntu /opt/zimbra to /opt/zimbra.old (or delete if you wish).
3. Stop Zimbra on Debian 5 and tar /opt/zimbra:
cd /opt

tar cvjpf zimbra-7.2.1.tar.bz2 zimbra

and then copy the tar file to the Ubuntu server in directory /opt. Alternatively rsync to the other server if you wish.
4. Unpack the tar:
cd /opt

tar xvjpf zimbra-7.2.1.tar.bz2

you will now have /opt/zimbra from Debian unpacked.
5. Upgrade to v8 by running:
./install.sh

this time without the -s switch. It will then upgrade from 7.2.1 to 8.0.0. The package list will show that debs for Zimbra 8 installed, but this is OK. Here is my full log:
root@mail:~/zcs-8.0.0_GA_5434.UBUNTU12_64.20120907144631# ./install.sh
Operations logged to /tmp/install.log.1192

Checking for existing installation...

zimbra-ldap...FOUND zimbra-ldap-8.0.0.GA.5434.UBUNTU12.64

zimbra-logger...FOUND zimbra-logger-8.0.0.GA.5434.UBUNTU12.64

zimbra-mta...FOUND zimbra-mta-8.0.0.GA.5434.UBUNTU12.64

zimbra-snmp...FOUND zimbra-snmp-8.0.0.GA.5434.UBUNTU12.64

zimbra-store...FOUND zimbra-store-8.0.0.GA.5434.UBUNTU12.64

zimbra-apache...FOUND zimbra-apache-8.0.0.GA.5434.UBUNTU12.64

zimbra-spell...FOUND zimbra-spell-8.0.0.GA.5434.UBUNTU12.64

zimbra-convertd...NOT FOUND

zimbra-memcached...FOUND zimbra-memcached-8.0.0.GA.5434.UBUNTU12.64

zimbra-proxy...NOT FOUND

zimbra-archiving...NOT FOUND

zimbra-cluster...NOT FOUND

zimbra-core...FOUND zimbra-core-8.0.0.GA.5434.UBUNTU12.64

ZCS upgrade from 8.0.0 to 8.0.0 will be performed.
Saving existing configuration file to /opt/zimbra/.saveconfig
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...

FOUND: NPTL

FOUND: netcat-openbsd-1.89-4ubuntu1

FOUND: sudo-1.8.3p1-1ubuntu3.3

FOUND: libidn11-1.23-2

FOUND: libpcre3-8.12-4

FOUND: libgmp3c2-2:4.3.2+dfsg-2ubuntu1

FOUND: libexpat1-2.0.1-7.2ubuntu1.1

FOUND: libstdc++6-4.6.3-1ubuntu5

FOUND: libperl5.14-5.14.2-6ubuntu2.1
Checking for suggested prerequisites...

FOUND: perl-5.14.2

FOUND: sysstat

FOUND: sqlite3

Prerequisite check complete.

Checking current number of databases...
Do you want to verify message store database integrity? [Y] n
Checking for installable packages
Found zimbra-core

Found zimbra-ldap

Found zimbra-logger

Found zimbra-mta

Found zimbra-snmp

Found zimbra-store

Found zimbra-apache

Found zimbra-spell

Found zimbra-memcached

Found zimbra-proxy


The Zimbra Collaboration Server appears already to be installed.

It can be upgraded with no effect on existing accounts,

or the current installation can be completely removed prior

to installation for a clean install.
Do you wish to upgrade? [Y]
Select the packages to install

Upgrading zimbra-core

Upgrading zimbra-ldap

Upgrading zimbra-logger

Upgrading zimbra-mta

Upgrading zimbra-snmp

Upgrading zimbra-store

Upgrading zimbra-apache

Upgrading zimbra-spell

Upgrading zimbra-memcached
Install zimbra-proxy [N]

Checking required space for zimbra-core

Checking space for zimbra-store
Installing:

zimbra-core

zimbra-ldap

zimbra-logger

zimbra-mta

zimbra-snmp

zimbra-store

zimbra-apache

zimbra-spell

zimbra-memcached
The system will be modified. Continue? [N] y
Shutting down zimbra mail
Backing up the ldap database...done.
Removing existing packages
zimbra-ldap...done

zimbra-logger...done

zimbra-mta...done

zimbra-snmp...done

zimbra-store...done

zimbra-spell...done

zimbra-memcached...done

zimbra-apache...done

zimbra-core...done
Removing deployed webapp directories

Installing packages
zimbra-core......zimbra-core_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-ldap......zimbra-ldap_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-logger......zimbra-logger_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-mta......zimbra-mta_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-snmp......zimbra-snmp_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-store......zimbra-store_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-apache......zimbra-apache_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-spell......zimbra-spell_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done

zimbra-memcached......zimbra-memcached_8.0.0.GA.5434.UBUNTU12.64_amd64.deb...done
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save

HOSTNAME=mail.mydomain

LDAPHOST=mail.mydomain

LDAPPORT=389

SNMPTRAPHOST=mail.mydomain

SMTPSOURCE=admin@mydomain

SMTPDEST=admin@mydomain

SNMPNOTIFY=yes

SMTPNOTIFY=yes

LDAPROOTPW=

LDAPZIMBRAPW=

LDAPPOSTPW=

LDAPREPPW=

LDAPAMAVISPW=

LDAPNGINXPW=

Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done

Operations logged to /tmp/zmsetup.09262012-104522.log

Upgrading from 7.2.1_GA_2790 to 8.0.0_GA_5434

Stopping zimbra services...done.

Starting mysql...done.

This appears to be 7.2.1_GA

Upgrading ldap data...done.

Upgrading LDAP configuration database...done.

Loading database...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Checking ldap status...already running.

Redolog version update required.

Wed Sep 26 10:45:59 2012: Verified redolog version 1.31.

Wed Sep 26 10:45:59 2012: Updating Redolog schema version from 1.31 to 1.42.

Redolog version update finished.

Schema upgrade required from version 65 to 91.

Running /opt/zimbra/libexec/scripts/migrate20120611_7to8_bundle.pl

Wed Sep 26 10:46:02 2012: Verified schema version 65.

Wed Sep 26 10:46:02 2012: Adding device information columns to ZIMBRA.MOBILE_DEVICES table...

Wed Sep 26 10:46:03 2012: Adding ZIMBRA.PENDING_ACL_PUSH table...

Wed Sep 26 10:46:04 2012: Adding TAG table...

.

Wed Sep 26 10:46:06 2012: Adding TAGGED_ITEM table...

.

Wed Sep 26 10:46:08 2012: Adding version and last_purge_at columns to ZIMBRA.MAILBOX table...

Wed Sep 26 10:46:08 2012: Adding/Modifying columns in mail_item, mail_item_dumpster, revision, revision_dumpster tables...

.

.

.

.

Wed Sep 26 10:46:17 2012: Dropping IM tables...

Wed Sep 26 10:46:18 2012: Verified schema version 65.

Wed Sep 26 10:46:18 2012: Updating DB schema version from 65 to 90.

Running /opt/zimbra/libexec/scripts/migrate20120410-BlobLocator.pl

Wed Sep 26 10:46:21 2012: Verified schema version 90.

Wed Sep 26 10:46:24 2012: Verified schema version 90.

Wed Sep 26 10:46:24 2012: Updating DB schema version from 90 to 91.

Stopping mysql...done.

Updating from 8.0.0_BETA1

Adding dynamic group configuration

Stopping ldap...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Stopping ldap...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Updating from 8.0.0_BETA2

Starting mysql...done.

Stopping mysql...done.

Updating from 8.0.0_BETA3

Updating from 8.0.0_BETA4

Stopping ldap...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Stopping ldap...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Stopping ldap...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Stopping ldap...done.

Checking ldap status...not running.

Running zmldapapplyldif...done.

Checking ldap status...not running.

Starting ldap...done.

Updating from 8.0.0_BETA5

Updating from 8.0.0_GA

Updating global config and COS's with attributes introduced after 7.2.1_GA...done.

Stopping ldap...done.

Upgrade complete.
Running zmldapapplyldif...done.

Checking ldap status....not running.

Starting ldap...done.

Setting defaults...done.

Setting defaults from existing config...done.

Checking for port conflicts

Setting defaults from ldap...done.

Saving config in /opt/zimbra/config.11423...done.

Operations logged to /tmp/zmsetup.09262012-104522.log

Setting local config values...done.

Initializing core config...Setting up CA...done.

Deploying CA to /opt/zimbra/conf/ca ...done.

Warning: No valid SSL certificates were found.

New self-signed certificates will be generated and installed.

Creating new zimbra-sore SSL certificate...done.

Creating new zimbra-ldap SSL certificate...done.

Creating new zimbra-mta SSL certificate...done.

Installing mailboxd SSL certificates...done.

Installing MTA SSL certificates...done.

Installing LDAP SSL certificate...done.

Stopping ldap...done.

Running zmldapapplyldif...done.

Checking ldap status....not running.

Starting ldap...done.

Setting replication password...done.

Setting Postfix password...done.

Setting amavis password...done.

Setting nginx password...done.

Creating server entry for mail.mydomain...already exists.

Setting Zimbra IP Mode...done.

Saving CA in ldap ...done.

Saving SSL Certificate in ldap ...done.

Setting spell check URL...done.

Setting service ports on mail.mydomain...done.

Adding mail.mydomain to zimbraMailHostPool in default COS...done.

Setting Keyboard Shortcut Preferences...done.

Setting zimbraFeatureTasksEnabled=TRUE...done.

Setting zimbraFeatureBriefcasesEnabled=TRUE...done.

Setting MTA auth host...done.

Setting TimeZone Preference...done.

Initializing mta config...done.

Setting services on mail.mydomain...done.

Creating user spamx123456...already exists.

Creating user nospamx123456...already exists.

Creating user virus-quarantinex123456...already exists.

Setting spam training and Anti-virus quarantine accounts...done.

Configuring SNMP...done.

Setting up syslog.conf...done.

Starting servers...done.

Checking for deprecated zimlets...done.

Checking for network zimlets in LDAP...done.

Removing network zimlets...

Finished removing network zimlets.

Installing common zimlets...

com_zimbra_attachmail...done.

com_zimbra_srchhighlighter...done.

com_zimbra_attachcontacts...done.

com_zimbra_bulkprovision...done.

com_zimbra_phone...done.

com_zimbra_dnd...done.

com_zimbra_proxy_config...done.

com_zimbra_cert_manager...done.

com_zimbra_linkedin...done.

com_zimbra_social...done.

com_zimbra_ymemoticons...done.

com_zimbra_adminversioncheck...done.

com_zimbra_email...done.

com_zimbra_clientuploader...done.

com_zimbra_date...done.

com_zimbra_webex...done.

com_zimbra_url...done.

com_zimbra_tooltip...done.

Finished installing common zimlets.

Getting list of all zimlets...done.

Updating non-standard zimlets...

com_zimbra_webex...done.

com_zimbra_ymemoticons...done.

Finished updating non-standard zimlets.

Restarting mailboxd...done.

Skipping creation of default domain GAL sync account - existing install detected.
You have the option of notifying Zimbra of your installation.

This helps us to track the uptake of the Zimbra Collaboration Server.

The only information that will be transmitted is:

The VERSION of zcs installed (8.0.0_GA_5434_UBUNTU12_64)

The ADMIN EMAIL ADDRESS created ()
Notify Zimbra of your installation? [Yes] no

Notification skipped

Setting up zimbra crontab...done.


Moving /tmp/zmsetup.09262012-104522.log to /opt/zimbra/log


Configuration complete - press return to exit

and my Zimbra is working fine :)
Maybe /opt/zimbra/libexec/zmfixperms might be required, but I didn't do it. And nothing is shouting that something is wrong. Have fun! Maybe it won't work for you, but it worked for me. So I'm not to blame if something goes wrong. Make sure you have a backup.

Return to “Administrators”

Who is online

Users browsing this forum: MSN [Bot] and 13 guests