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

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 03-01-2010, 08:58 PM
Beginner Member
 
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 03-04-2010, 03:52 PM
Advanced Member
 
Posts: 192
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.
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.