Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22572

add page on dashboard not working

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.0
    • Frontend (F)
    • debian11 postgresql13

      I'm trying to add a new page to the dashboard but I can't do it due to a crash in the frontend. Error following

      Details Failed to update dashboard

      pg_query(): Query failed: ERROR: duplicate key value violates unique constraint "dashboard_page_pkey"
      DETAIL: Key (dashboard_pageid)=(63) already exists. [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CDashboard->update() → CDashboardGeneral->updatePages() → DB::insert() → DB::insertBatch() → DBexecute() → pg_query() in include/db.inc.php:373]
      Error in query [INSERT INTO dashboard_page (dashboard_pageid,dashboardid,name,display_period,sortorder) VALUES ('63','1','gfn','0','1')] [ERROR: duplicate key value violates unique constraint "dashboard_page_pkey"
      DETAIL: Key (dashboard_pageid)=(63) already exists.]
      SQL statement execution has failed "INSERT INTO dashboard_page (dashboard_pageid,dashboardid,name,display_period,sortorder) VALUES ('63','1','gfn','0','1')".

            zabbix.dev Zabbix Development Team
            zmdpc Vladimir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: