When upgrading from v3.2.0 to v3.4.1 I get next error:
For this error I created bug report in https://support.zabbix.com/browse/ZBX-12744. As I understand the problem is in db manual change and support closed the ticket, but I don't find how to fix the problem.
Thanks in advance.
Code:
62928:20170919:092214.034 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: insert or update on table "alerts" violates foreign key constraint "c_alerts_5" DETAIL: Key (p_eventid)=(12279274) is not present in table "events". [update alerts set p_eventid=12271751 where eventid=12272265; ... update alerts set p_eventid=12287860 where eventid=12288925; ] failed, setting transaction as failed 62928:20170919:092214.042 query [txnlev:1] [rollback;] 62928:20170919:092214.048 database upgrade failed 62928:20170919:092214.048 End of DBcheck_version():FAIL
Thanks in advance.
Comment