Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45

Thread: Upgrade to 4.5rc2 failed miserably

  1. #1
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default Upgrade to 4.5rc2 failed miserably

    Running 4.04 on FC5 happily for a few months.

    Decided to try the upgrade to 4.5rc2 to see how it goes....It doesn't. See error below.

    I tried the zmsetup.pl -c config.xxxx trick, but it didn't get any further
    Reboot of the system doesn't help.

    Tried running install.sh multiple times with no change.

    After zmsetup.pl, I can start the servers, and zmcontrol status shows all running, but the client gets nothing but SOAP errors.

    Rolling back to 4.04 for now, but any ideas?

    __________________________________________________ _______________________________________

    Setting defaults...Setting defaults from existing config...Done
    Upgrading from 4.0.4_GA_457 to 4.5.0_RC2_566
    Sun Jan 14 17:27:27 2007: Stopping zimbra services
    Sun Jan 14 17:27:37 2007: Starting mysql
    Sun Jan 14 17:27:54 2007: Starting logger mysql
    Sun Jan 14 17:28:09 2007: SELECT value FROM config WHERE name = 'db.version'
    This appears to be 4.0.4_GA
    Exception in thread "main" java.lang.NoClassDefFoundError: com/zimbra/cs/backup/util/GetVersion
    Sun Jan 14 17:28:15 2007: Backup Version: New Backup Version:
    Sun Jan 14 17:28:15 2007: Redolog Version: New Redolog Version: 1.11
    Schema upgrade required
    Sun Jan 14 17:28:15 2007: Running /opt/zimbra/libexec/scripts/migrate20060911-MailboxGroup.pl
    Sun Jan 14 17:28:19 2007: Verified schema version 27.
    Executing SQL statements in /tmp/migrate-MailboxGroup.sql
    --------------
    ALTER TABLE zimbra.mailbox
    ADD COLUMN group_id INTEGER UNSIGNED NOT NULL AFTER id
    --------------

    ERROR 1060 (42S21) at line 2: Duplicate column name 'group_id'
    mysql invication failed, exit code = 1: at /opt/zimbra/libexec/scripts/migrate20060911-MailboxGroup.pl line 84, line 38.
    Sun Jan 14 17:28:22 2007: Script failed with code 1 - exiting
    UPGRADE FAILED - exiting
    Last edited by mcevoys; 01-14-2007 at 03:35 PM.

  2. #2
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default Current state

    I rolled back to 4.04, checked that all was well, then tried a quick upgrade to 4.05GA.

    4.05GA upgrade went fine, so the server currently lives at that level until I can figure out what went wrong and how to (safely) get to 4.5.

  3. #3
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default

    Can someone please take a quick look at this before I attempt 4.5GA?

    I'd be disappointed if I had to roll back a second time.

  4. #4
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default

    Couldn't wait for a forum response, since none seems forthcoming, so I tried the 4.05 to 4.50GA upgrade.

    Failed miserably again with the same errors as above.

    Can *anyone* please point me in the direction of a solution? There are 4.5 features that are fairly important to me and my user base.

    I said please this time!!

    _________________________________

    zmsetup.log is uninformative:

    Setting defaults...
    Setting local config zimbra_java_home to /opt/zimbra/java

    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home=/opt/zimbra/java

    Setting defaults from existing config...
    Getting local config zimbra_server_hostname

    Getting local config ldap_master_url

    Getting local config ldap_port

    Getting local config ldap_root_password

    Getting local config mysql_root_password

    Getting local config mysql_logger_root_password

    Getting local config zimbra_mysql_password

    Getting local config zimbra_logger_mysql_password

    Done

    Upgrading from 4.0.5_GA_518 to 4.5.0_GA_612

    UPGRADE FAILED - exiting

    ___________________________________________

    .install_history is equally unimpressive:

    1169080419: INSTALL SESSION START
    1169080449: UPGRADED zimbra-core-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080453: UPGRADED zimbra-ldap-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080462: UPGRADED zimbra-logger-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080478: UPGRADED zimbra-mta-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080482: UPGRADED zimbra-snmp-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080501: UPGRADED zimbra-store-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080507: UPGRADED zimbra-apache-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080516: UPGRADED zimbra-spell-4.5.0_GA_612.FC5-20070115195533.i386.rpm
    1169080516: INSTALL SESSION COMPLETE

    (CONFIG SESSION never logs)
    Last edited by mcevoys; 01-17-2007 at 05:58 PM. Reason: added logfile info

  5. #5
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    9

    Default

    When upgrading to the GA version did you get the same duplicate group_id that you got when upgrading to RC2? Unfortunately that error is only logged to stdout.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  6. #6
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default

    Yes..same error.

  7. #7
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    9

    Default

    Typically these types of failures occur when a schema migration is interrupted mid-upgrade and the best way to recover is to revert to the previous version and rerun the upgrade.

    After you revert to 4.0.5, we'd like to see a description of the schema for the mailbox table before proceeding.

    Code:
    su - zimbra
    mysql -Dzimbra -e 'describe mailbox'
    Bugzilla - Wiki - Downloads - Before posting... Search!

  8. #8
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default

    Back on 4.05:

    mysql -Dzimbra -e 'describe mailbox'

    +--------------------+---------------------+------+-----+---------+-------+
    | Field | Type | Null | Key | Default | Extra |
    +--------------------+---------------------+------+-----+---------+-------+
    | id | int(10) unsigned | | PRI | 0 | |
    | account_id | varchar(36) | | UNI | | |
    | index_volume_id | tinyint(3) unsigned | | MUL | 0 | |
    | item_id_checkpoint | int(10) unsigned | | | 0 | |
    | contact_count | int(10) unsigned | YES | | 0 | |
    | size_checkpoint | bigint(20) unsigned | | | 0 | |
    | change_checkpoint | int(10) unsigned | | | 0 | |
    | tracking_sync | int(10) unsigned | | | 0 | |
    | tracking_imap | tinyint(1) | | | 0 | |
    | comment | varchar(255) | YES | | NULL | |
    +--------------------+---------------------+------+-----+---------+-------+

  9. #9
    mcevoys is offline Special Member
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    8

    Default

    Rerunning the upgrade results the same

    Definition of crazy...doing the same thing again and expecting a different outcome ;-)

  10. #10
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Have you tried running the 4.0.5 setup as an upgrade?

Page 1 of 5 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  2. failed upgrade, failed restore, big trouble
    By feralcoder in forum Installation
    Replies: 2
    Last Post: 03-19-2007, 05:38 PM
  3. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM
  4. Replies: 0
    Last Post: 01-13-2007, 03:10 PM
  5. Zimbra Upgrade FAILED Badly
    By kelley.ch in forum Installation
    Replies: 1
    Last Post: 09-04-2006, 04:10 PM

Posting Permissions

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