I have an zabbix 1.1.6 system which i would like to see upgraded to the newest version.
in the first step I wanted to upgrade to 1.4.6. therefore I dumped the current mysql database. imported the dump on some other machine and tried to apply zabbix-1.4.6/upgrades/dbpatches/1.4/mysql/patch.sql.
this takes some while...after 5 hours I get the following error:
"ERROR 1050 (42S01) at line 618: Table 'node_cksum' already exists"
the table node_cksum that already exists looks like the following:
and the one the script'd like to create:
after dropping the table I get the same problem with "node_configlog" and "nodes" and "escalations", the latter one during 1.4->1.6 upgrade.
I dropped the tables as the where all empty.
is this the way it should be?
for the rest of the upgrade there weren't any more errors. the zabbix_server runs without any problems. but the webinterface makes some problems.
this is how it looks like:

I can successfully log in, though after that I can do nothing.
I can manually go to /charts.php but there will not be shown any graphs. .... any idea?
in the first step I wanted to upgrade to 1.4.6. therefore I dumped the current mysql database. imported the dump on some other machine and tried to apply zabbix-1.4.6/upgrades/dbpatches/1.4/mysql/patch.sql.
this takes some while...after 5 hours I get the following error:
"ERROR 1050 (42S01) at line 618: Table 'node_cksum' already exists"
the table node_cksum that already exists looks like the following:
+-----------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------------+------+-----+---------+-------+
| cksumid | bigint(20) unsigned | NO | PRI | 0 | |
| nodeid | bigint(20) unsigned | NO | MUL | 0 | |
| tablename | varchar(64) | NO | | | |
| fieldname | varchar(64) | NO | | | |
| recordid | bigint(20) unsigned | NO | | 0 | |
| cksumtype | int(11) | NO | | 0 | |
| cksum | char(32) | NO | | | |
+-----------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------------+------+-----+---------+-------+
| cksumid | bigint(20) unsigned | NO | PRI | 0 | |
| nodeid | bigint(20) unsigned | NO | MUL | 0 | |
| tablename | varchar(64) | NO | | | |
| fieldname | varchar(64) | NO | | | |
| recordid | bigint(20) unsigned | NO | | 0 | |
| cksumtype | int(11) | NO | | 0 | |
| cksum | char(32) | NO | | | |
+-----------+---------------------+------+-----+---------+-------+
CREATE TABLE node_cksum (
smtp_helo varchar(255) DEFAULT '' NOT NULL,
smtp_email varchar(255) DEFAULT '' NOT NULL,
exec_path varchar(255) DEFAULT '' NOT NULL,
gsm_modem varchar(255) DEFAULT '' NOT NULL,
username varchar(255) DEFAULT '' NOT NULL,
passwd varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (mediatypeid)
) ENGINE=InnoDB;
smtp_helo varchar(255) DEFAULT '' NOT NULL,
smtp_email varchar(255) DEFAULT '' NOT NULL,
exec_path varchar(255) DEFAULT '' NOT NULL,
gsm_modem varchar(255) DEFAULT '' NOT NULL,
username varchar(255) DEFAULT '' NOT NULL,
passwd varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (mediatypeid)
) ENGINE=InnoDB;
I dropped the tables as the where all empty.
is this the way it should be?
for the rest of the upgrade there weren't any more errors. the zabbix_server runs without any problems. but the webinterface makes some problems.
this is how it looks like:

I can successfully log in, though after that I can do nothing.
I can manually go to /charts.php but there will not be shown any graphs. .... any idea?


Comment