After updating from Zabbix 7.2.8 to 7.4 I am locked out of deleting hosts that have a discovery job attached. Ive tried only removing the template, and get the same error.
Cannot update host
I tried giving delete rights on the table specified to the db-user, but still no solution.
Cannot update host
- pg_query(): Query failed: ERROR: permission denied for table lld_macro_export [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerHostUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHost->update() → CHost->updateForce() → CHostGeneral->updateTemplates() → CHostGeneral::unlinkTemplatesObjects() → CDiscoveryRule::clearTemplateObjects() → CDiscoveryRule::deleteForce() → DB::delete() → DBexecute() → pg_query() in include/db.inc.php:255]
- Error in query [DELETE FROM lld_macro_export WHERE (itemid IN ('197632','197633','197634','197635'))] [ERROR: permission denied for table lld_macro_export]
- SQL statement execution has failed "DELETE FROM lld_macro_export WHERE (itemid IN ('197632','197633','197634','197635'))"
I tried giving delete rights on the table specified to the db-user, but still no solution.
Comment