Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-09-2011, 08:32 PM
Senior Member
 
Posts: 69
Thumbs up [SOLVED] Upgrading: Oops, wrong version! Help!

I'm on ZCS OS 6.0.10 on CentOS 5-64bit, single server setup.

I was doing an upgrade from ZCS OS 6.0.10 -> 7.1.2, but I downloaded the Redhat 6 version of 7.1.2, instead of Redhat 5 version.

So the upgrade quit due to error:

Code:
# ./install.sh --platform-override

Operations logged to /tmp/install.log.4207
Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-6.0.10_GA_2692
    zimbra-logger...FOUND zimbra-logger-6.0.10_GA_2692
    zimbra-mta...FOUND zimbra-mta-6.0.10_GA_2692
    zimbra-snmp...FOUND zimbra-snmp-6.0.10_GA_2692
    zimbra-store...FOUND zimbra-store-6.0.10_GA_2692
    zimbra-apache...FOUND zimbra-apache-6.0.10_GA_2692
    zimbra-spell...FOUND zimbra-spell-6.0.10_GA_2692
    zimbra-convertd...NOT FOUND
    zimbra-memcached...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-cluster...NOT FOUND
    zimbra-core...FOUND zimbra-core-6.0.10_GA_2692
ZCS upgrade from 6.0.10 to 7.1.2 will be performed.

Saving existing configuration file to /opt/zimbra/.saveconfig


PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
  http://www.zimbra.com/license/zimbra_public_eula_2.1.html



Do you agree with the terms of the software license agreement? [N] Y

Checking for prerequisites...
     FOUND: NPTL
     FOUND: sudo-1.7.2p1-10
     FOUND: libidn-0.6.5-1.1
     FOUND: gmp-4.1.4-10
     FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites...
     FOUND: perl-5.8.8
     FOUND: sysstat
     FOUND: sqlite
Prerequisite check complete.
Checking current number of databases...

Do you want to verify message store database integrity? [Y] Y
Verifying integrity of message store databases.  This may take a while.
Starting mysqld...done.

... <DB ok. snip out password > ...

mysqld is alive
Stopping mysqld... done.

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 Suite 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] 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

Install zimbra-memcached [N]  

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

You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is CentOS5_64
Packages found: RHEL6_64
This may or may not work.

Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.


Install anyway? [N] Y

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-apache...done
   zimbra-core...done

Removing deployed webapp directories
Installing packages

    zimbra-core......zimbra-core-7.1.2_GA_3268.RHEL6_64-20110804131406.x86_64.rpm...FAILED
###ERROR###

zimbra-core-7.1.2_GA_3268.RHEL6_64-20110804131406.x86_64.rpm installation failed

Installation cancelled

#
As you can see, it removed the 6.0.10 installation. I'm downloading ZCS 7.1.2 for Redhat 5.

I'm worried now if running the 7.1.2 install will perform the upgrade properly.

Should I do just that and run the 7.1.2 installer?
Or should I re-run the 6.0.10 installer (still have a copy of it), then run the 7.1.2 upgrade?

Help!

Last edited by frankman; 08-09-2011 at 09:43 PM.. Reason: Solved.
Reply With Quote
  #2 (permalink)  
Old 08-09-2011, 08:46 PM
Senior Member
 
Posts: 69
Default

By the way, I did a full backup before running the installer. Even if I rsync the backup back to /opt/zimbra, I think the rpm database will show that 6.0.10 is gone and no zimbra is installed, yet it is.

So will 7.1.2 will think it's a fresh installation and not do an upgrade, just a fresh install?
Reply With Quote
  #3 (permalink)  
Old 08-09-2011, 09:40 PM
Senior Member
 
Posts: 69
Thumbs up [solved]

Solved it.

When in the old 6.0.10 package directory and manually `rpm -Uvh` each zimbra-* package that were installed (no memcache, proxy, etc.). This fixed the rpm db problem.

Then did an rsync from the backup to /opt/zimbra. This fixed the config files because they were modified from the 7.1.2 install.sh script.

Then ran the 7.1.2 install.sh again and it all worked.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.