Results 1 to 2 of 2

Thread: Upgrade from 5.0.2 to 6.0.5 -- failed with code 256

  1. #1
    jpchambers is offline Beginner Member
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    5

    Default Upgrade from 5.0.2 to 6.0.5 -- failed with code 256

    Hello --

    Debian 2.6.18-5-686 i686 GNU/Linux


    I am trying to upgrade zimbra from 5.0.2 to 6.0.5 with no luck.
    Here is the log output.

    Code:
    [more output removed]
    ...
    ...
    
    Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
    Operations logged to /tmp/zmsetup.03012010-194233.log
    Upgrading from 5.0.2_GA_1975 to 6.0.5_GA_2213
    Stopping zimbra services...done.
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql...done.
    This appears to be 5.0.2_GA
    Installing LDAP configuration database...done.
    Migrating ldap data...done.
    Checking ldap status...not running.
    Running zmldapapplyldif...done.
    Checking ldap status...already running.
    Checking ldap status...already running.
    Schema upgrade required from version 50 to 64.
    Running /opt/zimbra/libexec/scripts/migrate20080130-ImapFlags.pl
    Mon Mar  1 19:43:03 2010: Verified schema version 50.
    Mon Mar  1 19:43:03 2010: Adding flags column to mboxgroup1.imap_message.
    ERROR 1060 (42S21) at line 1: Duplicate column name 'flags'
    Mon Mar  1 19:43:04 2010: Error while running '/opt/zimbra/bin/mysql --user=zimbra --password=09QdzGdc1INmLE9Ki5hEfb6Pfv.c --database=zimbra --batch --skip-column-names'.
    Script failed with code 256:  - exiting
    UPGRADE FAILED - exiting.

    Has anyone come across this or knows what is causing the error?

    Thank you,
    Jon

  2. #2
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    5

    Default

    Apparently the upgrade script is trying to add a column which already exists to a table in mysql.

    Code:
    Mon Mar  1 19:43:03 2010: Adding flags column to mboxgroup1.imap_message.
    ERROR 1060 (42S21) at line 1: Duplicate column name 'flags'
    Try upgrading to 5.0.22 before upgrading to 6.0.5, that's the recommended route.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 01-28-2010, 12:32 PM
  2. Help!!! Moving ZCS does not work!
    By ASebestian in forum Migration
    Replies: 7
    Last Post: 02-12-2009, 06:06 PM
  3. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  4. [SOLVED] upgrade zimbra 5.0.2 32 bit to 64 bit
    By jwilson in forum Installation
    Replies: 1
    Last Post: 03-11-2008, 12:15 PM
  5. 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

Posting Permissions

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