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

Docker container does not start after update to 7.0.8

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 7.0.8
    • Installation (I), Proxy (P)
    • None
    • Ubuntu 24.04.
      Docker environment

      After update Docker container (zabbix/zabbix-proxy-mysql Zabbix 7.0.8 ) from 7.0.7 to 7.0.8, the container does not want to start.

      Logs:
      ----------------------------------------

      1:20250108:110510.969 Starting Zabbix Proxy (active) [Proxy01]. Zabbix 7.0.8 (revision f6fc739).
           1:20250108:110510.969 **** Enabled features ****
           1:20250108:110510.969 SNMP monitoring:       YES
           1:20250108:110510.969 IPMI monitoring:       YES
           1:20250108:110510.969 Web monitoring:        YES
           1:20250108:110510.969 VMware monitoring:     YES
           1:20250108:110510.969 ODBC:                  YES
           1:20250108:110510.969 SSH support:           YES
           1:20250108:110510.969 IPv6 support:          YES
           1:20250108:110510.969 TLS support:           YES
           1:20250108:110510.969 **************************
           1:20250108:110510.969 using configuration file: /etc/zabbix/zabbix_proxy.conf
           1:20250108:110511.019 [Z3001] connection to database 'zabbix_proxy' failed: [1044] Access denied for user 'zabbix'@'%' to database 'zabbix_proxy'
           1:20250108:110511.019 Cannot connect to the database. Exiting...
      

      ------------------------------------------------

      This is correct: This DB-Name does not exist.
      docker-compose.yml
      -------------------------

      [...]
       zabbix-proxy:
        image: zabbix/zabbix-proxy-mysql:ubuntu-7.0-latest
        container_name: Zabbix-Proxy
      [...]
       environment:
         - DB_SERVER_HOST=mysql-server
         - MYSQL_DATABASE=zabbix
         - MYSQL_USER=zabbix
         - MYSQL_PASSWORD=xyz
      [...]
      
      

      -----------------------------------

      After roll back to 7.0.7 its woks as expected.

        1. Images.txt
          0.8 kB
        2. Proxy-Log.txt
          10 kB
        3. ps-after-rollback.txt
          1.0 kB

            zabbix.support Zabbix Support Team
            Ruddimaster Dirk Bongard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: