Results 1 to 3 of 3

Thread: Upgrading: Oops, wrong version! Help!

  1. #1
    Join Date
    Apr 2008
    Posts
    69
    Rep Power
    7

    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 10:43 PM. Reason: Solved.

  2. #2
    Join Date
    Apr 2008
    Posts
    69
    Rep Power
    7

    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?

  3. #3
    Join Date
    Apr 2008
    Posts
    69
    Rep Power
    7

    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.

Similar Threads

  1. Replies: 9
    Last Post: 03-29-2014, 02:31 PM
  2. Replies: 1
    Last Post: 01-29-2012, 03:38 PM
  3. Error after upgrading to version 6.0.13
    By mvalenzuela.cl in forum Administrators
    Replies: 2
    Last Post: 08-07-2011, 09:33 AM
  4. installing zdesktop on debian 6 64-bit
    By malayo in forum General Questions
    Replies: 0
    Last Post: 04-26-2011, 07:38 PM
  5. Debian - Upgrade from 4.5.6
    By magikman in forum Installation
    Replies: 1
    Last Post: 01-19-2008, 12:59 PM

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
  •