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

Zabbix setup timezone ends up in Connexion Reset

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 7.2.10
    • Frontend (F)
    • None

      Steps to reproduce :

      1. I use the VPS Lite from Infomaniak
      2. Install Zabbix on fresh debian 12.9 install following the official tutorial. I used apache2, mariadb, php8.2.
      3. Navigate to the setup page http://IP/zabbix/setup.php
      4. Welcome : OK
        Check of pre-requisites : OK
        Configure DB connection : OK
        Settings -> the dropdown menu for timezone won't charge and the connexion is reseted. Impossible to go through the final steps.
      5. I tried with nginx, postgreSQL, php8.2-fpm and had the same result.
      6. Worst : I installed the docker version, the zabbix frontend is accessible (no need to do the setup) but when I browse User Settings -> Profile  I have the same "connexion reset" page on my browser.
      7. I tried Google Chrome, Mozilla Firefox, both correctly updated.

      Result :
      See screenshots, the connexion is reseted

      Expected:
      The setup should go through and we should pass all these steps : https://www.zabbix.com/documentation/current/en/manual/installation/frontend

      Diagnostic :
      I see i'm not the only one who faced the issue at some point : ZBX-24071   but i can't find the fix that works for me.

      I don't think it comes from zabbix though, I would have expected docker to work.
      It could be my system but i reinstalled the VPS a few times and had no progress.

      I got nothing in the web browser console.
      In the network tab, i got "NS_ERROR_NET_RESET" on the file setup.php

      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
      /var/log/zabbix/zabbix_server.log is not saying anything special

      Environment :
      zabbix packages :

       

      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

       
      /etc/php/8.2/apache2/php.ini

      [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 ?
      It works so fine on hyper-V ... I'm lost 

       

       

            Unassigned Unassigned
            tim_zbx tim
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: