[ZBX-24878] Update errors from 6.4 to 7.0 Created: 2024 Jul 19  Updated: 2024 Jul 23  Resolved: 2024 Jul 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Владислав Assignee: Zabbix Development Team
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 12, nginx+php-fpm 8.2+mysql


Attachments: JPEG File Screen1.jpg     JPEG File Screen2.jpg     JPEG File Screen22.jpg     JPEG File Screen4.jpg     File error.7z     JPEG File screen3.jpg    
Team: Team A

 Description   

Updated from version 6.4 to version 7.0 according to instructions from the site.

I noticed that there were errors
(1) When adding a new widget, for example, Web Monitoring, an unexpected server error appears. (attached screenshot No. 1)
(2) When editing the Graphics widget, a pop-up window appears for editing, but the chart itself is not visible and the navigation buttons - DatasetDisplay optionsTime periodAxesLegendProblemsReplacements are not clickable (attached screenshot No. 2)

 

Part of the access.log log when an error occurs

192.168.88.3 - - [19/Jul/2024:00:52:17 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:52:28 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:52:31 +0300] "POST /zabbix.php?action=notifications.get&output=ajax HTTP/1.1" 200 271 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:52:39 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:52:50 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:53:01 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:53:12 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:53:23 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:53:31 +0300] "POST /zabbix.php?action=notifications.get&output=ajax HTTP/1.1" 200 271 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"
192.168.88.3 - - [19/Jul/2024:00:53:34 +0300] "POST /jsrpc.php?output=json-rpc HTTP/1.1" 200 74 "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.0.0 Safari/537.36"



 Comments   
Comment by Alexander Vladishev [ 2024 Jul 19 ]

Could you please attach the error.log file? It should be located next to the access.log file.

Comment by Владислав [ 2024 Jul 19 ]

Hello, I have attached

Comment by Владислав [ 2024 Jul 20 ]

I decided to download Zabbix 7.0.1rc2 (WEB UI) and check the errors there.

(1) When editing the Graphics widget, a pop-up window appears for editing, but the chart itself is not visible and the navigation buttons - DatasetDisplay optionsTime periodAxesLegendProblemsReplacements are not clickable Became displayed correctly (attached screenshot No. 3)

(2) When adding a new widget, for example, Web Monitoring, an unexpected server error appears. (attached screenshot No. 1)- Error again, attaching part error.log

 

thrown in /srv/www/zabbix/html/include/classes/html/widgets/CWidgetFieldMultiSelectGrou" while reading response header from upstream, client: 192.168.88.3, server: zabbix.pve01.local, request: "POST /zabbix.php?action=widget.web.edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/www-zabbix.sock:", host: "zabbix.pve01.local", referrer: "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=177&from=now-12h&to=now"
2024/07/20 00:29:49 [error] 1927458#1927458: *2210 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function CWidgetFieldMultiSelectGroupView::construct(), 1 passed in /srv/www/zabbix/html/widgets/web/views/widget.edit.php on line 25 and exactly 2 expected in /srv/www/zabbix/html/include/classes/html/widgets/CWidgetFieldMultiSelectGroupView.php:26
Stack trace:
#0 /srv/www/zabbix/html/widgets/web/views/widget.edit.php(25): CWidgetFieldMultiSelectGroupView->construct()
#1 /srv/www/zabbix/html/include/classes/mvc/CView.php(128): include('...')
#2 /srv/www/zabbix/html/include/classes/core/ZBase.php(721): CView->getOutput()
#3 /srv/www/zabbix/html/include/classes/core/ZBase.php(645): ZBase->processResponseFinal()
#4 /srv/www/zabbix/html/include/classes/core/ZBase.php(228): ZBase->processRequest()
#5 /srv/www/zabbix/html/include/config.inc.php(20): ZBase->run()
#6 /srv/www/zabbix/html/zabbix.php(17): require_once('...')
#7 {main}
  thrown in /srv/www/zabbix/html/include/classes/html/widgets/CWidgetFieldMultiSelectGrou" while reading response header from upstream, client: 192.168.88.3, server: zabbix.pve01.local, request: "POST /zabbix.php?action=widget.web.edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/www-zabbix.sock:", host: "zabbix.pve01.local", referrer: "http://zabbix.pve01.local/zabbix.php?action=dashboard.view&dashboardid=182&from=now-12h&to=now"

 

Comment by Alexander Vladishev [ 2024 Jul 23 ]

This happened because you installed the frontend files for 7.0 on top of the old 6.4 files. To fix this, you should install Zabbix 7.0 in a clean directory.

Comment by Владислав [ 2024 Jul 23 ]

Thank you very much, it really worked.

Generated at Fri Mar 14 13:25:50 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.