Upgrading from 1.8.5 to 1.8.6, 1.8.7, 1.8.8beta and 1.8.8rc1 went smooth each time.
But my latest upgrade just now to 1.9.6beta failed after I used the supplied script to upgrade the database.
Maybe someone knows what I'm doing wrong or how I can fix this.
I know "This is an UNSUPPORTED Zabbix upgrade script from 1.8 to 2.0". Does this mean I'm #$% ??
I guess I need to do a fresh install of 1.9.6 and import all the XML-files
But my latest upgrade just now to 1.9.6beta failed after I used the supplied script to upgrade the database.
Maybe someone knows what I'm doing wrong or how I can fix this.
I know "This is an UNSUPPORTED Zabbix upgrade script from 1.8 to 2.0". Does this mean I'm #$% ??
I guess I need to do a fresh install of 1.9.6 and import all the XML-files
Code:
root@zabbix:/opt/zabbix-1.9.6/upgrades/dbpatches/2.0/mysql# ./upgrade -p zabbix WARNING: backup your database before performing upgrade This is an UNSUPPORTED Zabbix upgrade script from 1.8 to 2.0 for MySQL It does the following things: 1. Updates indexes that might require changes; 2. Patches the database from 1.8 schema to 2.0 schema; 3. Adds 'Disabled' and 'Debug' usergroup if any missing; 4. Checks for hosts not belonging to any group and adds them to one if any found. Usage: pass required MySQL parameters to this script (like database, user, password etc). Continue ? (y/n) y Dropping indexes that might need re-creation... Enter password: ... dropping of indexes took 0:00:05 Creating possibly missing indexes... Enter password: creating of indexes took 0:00:05 Patching the database Enter password: ERROR 1005 (HY000) at line 6: Can't create table 'zabbix.#sql-1e3_414' (errno: 121) Failed to patch Zabbix database. Restore from backup

Comment