I am testing an upgrade from Zabbix 4.0 LTS to the latest 6.4: Zabbix RPMs from the official Zabbix repo (zabbix-server-pgsql-6.4.5, zabbix-nginx-conf-6.4.5); Red Hat Enterprise Linux: 7.9 -> 9.2; Postgresql 12 -> 15; PHP 8.0.27.
After fresh installation I dropped the zabbix database, pg_dump'ed the Zabbix database from the 4.0 to 6.4 server, fired up Zabbix, and the database was successfully upgraded with no error messages. I successfully applied double precision, history* primary key, and timescaledb updates.
The only issue I see is accessing Services->Services; I immediately get an error page:
This page isn’t working
zbx1.uss.rice.edu is currently unable to handle this request.
HTTP ERROR 500
The nginx error log shows:
2023/08/08 17:46:17 [error] 294307#294307: *5895 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: CControllerServiceListGeneral::extendProblemEvents (): Argument Home ($services) must be of type array, bool given, called in /usr/share/zabbix/app/controllers/CControllerServiceList.php on line 145 and defined in /usr/share/zabbix/app/controllers/CControllerServiceListGeneral.php:290
Stack trace:
#0 /usr/share/zabbix/app/controllers/CControllerServiceList.php(145): CControllerServiceListGeneral::extendProblemEvents ()
Home /usr/share/zabbix/include/classes/mvc/CController.php(476): CControllerServiceList->doAction()
Forum /usr/share/zabbix/include/classes/core/ZBase.php(634): CController->run()
#3 /usr/share/zabbix/include/classes/core/ZBase.php(233): ZBase->processRequest()
#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()
#5 /usr/share/zabbix/zabbix.php(22): require_once('...')
Special {main}
thrown in /usr/share/zabbix/app/controllers/CControllerServiceListGeneral.php on line 290" while reading response header from upstream, client: 168.7.56.225, server: server_name, request: "GET /zabbix.php?action=service.list HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:", host: "zbx1.uss.rice.edu", referrer: "https://zbx1.uss.rice.edu/zabbix.php?action=sla.list"
I have tried with multiple browsers and users, including a new user created with full superuser access. I have repeated the OS installation and database dump/restore process from scratch, and I get the same result.
I see a very similar issue posted at
but the user closed the problem report with this comment:
This issue was solved by exporting and importing events table. This table was not exported by mistake. This issue can be closed. Sorry for the confusion.
I am not sure I understand the comment, but my events table was successfully copied over from the 4.0 database and converted to 6.4.
Any ideas how to resolve this?
After fresh installation I dropped the zabbix database, pg_dump'ed the Zabbix database from the 4.0 to 6.4 server, fired up Zabbix, and the database was successfully upgraded with no error messages. I successfully applied double precision, history* primary key, and timescaledb updates.
The only issue I see is accessing Services->Services; I immediately get an error page:
This page isn’t working
zbx1.uss.rice.edu is currently unable to handle this request.
HTTP ERROR 500
The nginx error log shows:
2023/08/08 17:46:17 [error] 294307#294307: *5895 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: CControllerServiceListGeneral::extendProblemEvents (): Argument Home ($services) must be of type array, bool given, called in /usr/share/zabbix/app/controllers/CControllerServiceList.php on line 145 and defined in /usr/share/zabbix/app/controllers/CControllerServiceListGeneral.php:290
Stack trace:
#0 /usr/share/zabbix/app/controllers/CControllerServiceList.php(145): CControllerServiceListGeneral::extendProblemEvents ()
Home /usr/share/zabbix/include/classes/mvc/CController.php(476): CControllerServiceList->doAction()
Forum /usr/share/zabbix/include/classes/core/ZBase.php(634): CController->run()
#3 /usr/share/zabbix/include/classes/core/ZBase.php(233): ZBase->processRequest()
#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()
#5 /usr/share/zabbix/zabbix.php(22): require_once('...')
Special {main}
thrown in /usr/share/zabbix/app/controllers/CControllerServiceListGeneral.php on line 290" while reading response header from upstream, client: 168.7.56.225, server: server_name, request: "GET /zabbix.php?action=service.list HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:", host: "zbx1.uss.rice.edu", referrer: "https://zbx1.uss.rice.edu/zabbix.php?action=sla.list"
I have tried with multiple browsers and users, including a new user created with full superuser access. I have repeated the OS installation and database dump/restore process from scratch, and I get the same result.
I see a very similar issue posted at
but the user closed the problem report with this comment:
This issue was solved by exporting and importing events table. This table was not exported by mistake. This issue can be closed. Sorry for the confusion.
I am not sure I understand the comment, but my events table was successfully copied over from the 4.0 database and converted to 6.4.
Any ideas how to resolve this?
Comment