Hi,
I'm trying to migrate of mysql to postgresql, at the same time upgrading zabbix 2.0.8 to 2.2. I ran into issues with the db upgrade.
I performed old database migration using py-mysql2pgsql tool. Checked and everything did look fine in GUI. My next step was to install zabbix 2.2 from the repository and let zabbix-server update a 'new' postgresql database. As soon as I did that I got this in the logs:
5516:20131125:200022.446 completed 6% of database upgrade
5516:20131125:200022.450 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: index "httptest_2" does not exist
[drop index httptest_2]
5516:20131125:200022.450 database upgrade failed
I'm not a db admin, dunno if this can be fixed somehow. Thanks!
I'm trying to migrate of mysql to postgresql, at the same time upgrading zabbix 2.0.8 to 2.2. I ran into issues with the db upgrade.
I performed old database migration using py-mysql2pgsql tool. Checked and everything did look fine in GUI. My next step was to install zabbix 2.2 from the repository and let zabbix-server update a 'new' postgresql database. As soon as I did that I got this in the logs:
5516:20131125:200022.446 completed 6% of database upgrade
5516:20131125:200022.450 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: index "httptest_2" does not exist
[drop index httptest_2]
5516:20131125:200022.450 database upgrade failed
I'm not a db admin, dunno if this can be fixed somehow. Thanks!
Comment