[ZBX-26219] Zabbix setup timezone ends up in Connexion Reset Created: 2025 Mar 25 Updated: 2025 Aug 18 Resolved: 2025 Aug 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 7.2.10 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | tim | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Infomaniak VPS Lite |
Attachments: |
![]() ![]() |
Description |
Steps to reproduce :
Result : Expected: Diagnostic : I don't think it comes from zabbix though, I would have expected docker to work. I got nothing in the web browser console. apache2 logs :
REDACTED IP - - [25/Mar/2025:10:03:48 +0100] "GET /zabbix/setup.php HTTP/1.1" 200 8800 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0" REDACTED IP- - [25/Mar/2025:10:03:49 +0100] "GET /zabbix/jsLoader.php?ver=7.2.4&lang=en_US&files%5B0%5D=setup.js HTTP/1.1" 304 196 "http://redactedurl/zabbix/setup.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0" REDACTED IP- - [25/Mar/2025:10:03:49 +0100] "GET /zabbix/jsLoader.php?ver=7.2.4&lang=en_US HTTP/1.1" 304 196 "http://redactedurl/zabbix/setup.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0" /var/log/php8.2-fpm.log is not saying anything special Environment :
dpkg -l | grep zabbix
ii zabbix-agent 1:7.2.4-1+debian12 amd64 Zabbix network monitoring solution - agent
ii zabbix-apache-conf 1:7.2.4-1+debian12 all Zabbix network monitoring solution - apache configuration for front-end
ii zabbix-frontend-php 1:7.2.4-1+debian12 all Zabbix network monitoring solution - PHP front-end
ii zabbix-release 1:7.2-1+debian12 all Zabbix official repository configuration
ii zabbix-server-mysql 1:7.2.4-1+debian12 amd64 Zabbix network monitoring solution - server (MySQL)
ii zabbix-sql-scripts 1:7.2.4-1+debian12 all Zabbix network monitoring solution - sql-scripts
php packages :
dpkg -l | grep php ii libapache2-mod-php 2:8.2+93 all server-side, HTML-embedded scripting language (Apache 2 module) (default) ii libapache2-mod-php8.2 8.2.28-1~deb12u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-bcmath 2:8.2+93 all Bcmath module for PHP [default] ii php-common 2:93 all Common files for PHP packages ii php-curl 2:8.2+93 all CURL module for PHP [default] ii php-fpm 2:8.2+93 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default) ii php-gd 2:8.2+93 all GD module for PHP [default] ii php-ldap 2:8.2+93 all LDAP module for PHP [default] ii php-mbstring 2:8.2+93 all MBSTRING module for PHP [default] ii php-mysql 2:8.2+93 all MySQL module for PHP [default] ii php-xml 2:8.2+93 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] ii php8.2-bcmath 8.2.28-1~deb12u1 amd64 Bcmath module for PHP ii php8.2-cli 8.2.28-1~deb12u1 amd64 command-line interpreter for the PHP scripting language ii php8.2-common 8.2.28-1~deb12u1 amd64 documentation, examples and common module for PHP ii php8.2-curl 8.2.28-1~deb12u1 amd64 CURL module for PHP ii php8.2-fpm 8.2.28-1~deb12u1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php8.2-gd 8.2.28-1~deb12u1 amd64 GD module for PHP ii php8.2-ldap 8.2.28-1~deb12u1 amd64 LDAP module for PHP ii php8.2-mbstring 8.2.28-1~deb12u1 amd64 MBSTRING module for PHP ii php8.2-mysql 8.2.28-1~deb12u1 amd64 MySQL module for PHP ii php8.2-opcache 8.2.28-1~deb12u1 amd64 Zend OpCache module for PHP ii php8.2-readline 8.2.28-1~deb12u1 amd64 readline module for PHP ii php8.2-xml 8.2.28-1~deb12u1 amd64 DOM, SimpleXML, XML, and XSL module for PHP ii zabbix-frontend-php 1:7.2.4-1+debian12 all Zabbix network monitoring solution - PHP front-end Timezone and locales configurations :
timedatectl Local time: Tue 2025-03-25 09:45:13 CET Universal time: Tue 2025-03-25 08:45:13 UTC RTC time: Tue 2025-03-25 08:45:13 Time zone: Europe/Paris (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no locale -a C C.utf8 en_US.utf8 -> DEFAULT fr_FR.utf8 POSIX
/etc/php/8.2/fpm/php.ini [Date] ; Defines the default timezone used by the date functions ; https://php.net/date.timezone date.timezone = Europe/Paris [Date] ; Defines the default timezone used by the date functions ; https://php.net/date.timezone date.timezone = Europe/Paris
/etc/apache2/conf-enabled/zabbix.conf :
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix/ui
</IfModule><Directory "/usr/share/zabbix/ui">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all <IfModule mod_php.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value max_input_vars 10000
php_value always_populate_raw_post_data -1
php_value date.timezone Europe/Paris
</IfModule> <IfModule mod_php7.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value max_input_vars 10000
php_value always_populate_raw_post_data-1
php_value date.timezone Europe/Paris
</IfModule> <IfModule mod_php8.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value max_input_vars 10000
php_value always_populate_raw_post_data-1
php_value date.timezone Europe/Paris
</IfModule></Directory>
Do you have any idea what I can do to resolve this issue ?
|
Comments |
Comment by Alexander Vladishev [ 2025 Mar 25 ] |
Hi! Does the web server error log contain any error records? |
Comment by tim [ 2025 Mar 25 ] |
no, nothing... |
Comment by tim [ 2025 Apr 01 ] |
There is only one PHP.ini ~# php --ini Configuration File (php.ini) Path: /etc/php/8.2/cli /etc/php/8.2/cli/conf.d/10-opcache.ini, |
Comment by tim [ 2025 Apr 01 ] |
I'm on debian 12.9, there is no SELinux installed. |
Comment by tim [ 2025 Apr 24 ] |
Hello bnems, any idea what could be the cause ? Thank you |
Comment by Michał Mikołajski [ 2025 Jun 17 ] |
I had the same problem. Connection was terminated by IPS because of "Buffer overflow in HTML attribute" |
Comment by Bartosz Nems [ 2025 Jul 04 ] |
Hi Tim, Could You state which version of VPS You are using, CPU, RAM etc? |
Comment by Olivier Rassemusse [ 2025 Jul 10 ] |
Hello, got the same problem : fresh install on a debian 12, I tried apache2, nginx, php and fpm. I found this : https://support.zabbix.com/browse/ZBX-22612 https://www.zabbix.com/forum/en-francais/495470-probleme-installation-de-zabbix-7-0-5 Problems with the CTimezoneHelper.php are still here I guess. Anyway, changing the return of the function do the trick for the moment. |
Comment by Alexey Pustovalov [ 2025 Jul 30 ] |
How much free memory do you have on the server? I tried to decrease memory limits to 40MB and still everything is ok. |