Ad Widget

Collapse

Migration Zabbix Docker 5.4 to 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • contact@proserv.fr
    Junior Member
    • May 2022
    • 6

    #1

    Migration Zabbix Docker 5.4 to 6.0

    Hi there,

    I've migrate Zabbix Docker (docker compose) 5.4 to 6.0.
    Juste change all version on docker compose file.

    Now, web server don't work...

    Code:
    root@PS-SRV-SCAN1:/apps/zabbix# docker logs 695a7137f1ed
    ** Deploying Zabbix web-interface (Apache) with MySQL database
    ** Using MYSQL_USER variable from ENV
    ** Using MYSQL_PASSWORD variable from ENV
    ********************
    * DB_SERVER_HOST: mysql-server
    * DB_SERVER_PORT: 3306
    * DB_SERVER_DBNAME: zabbix
    ********************
    **** MySQL server is not available. Waiting 5 seconds...
    ** Adding Zabbix virtual host (HTTP)
    **** Impossible to enable SSL support for Apache2. Certificates are missed.
    ** Preparing Zabbix frontend configuration file
    ################################################## ######
    ** Executing '/usr/sbin/apache2ctl -D FOREGROUND'
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.16.238.3. Set the 'ServerName' directive globally to suppress this message
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.16.238.3. Set the 'ServerName' directive globally to suppress this message
    [Tue May 10 17:50:14.203551 2022] [mpm_prefork:notice] [pid 13] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
    [Tue May 10 17:50:14.203714 2022] [core:notice] [pid 13] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
    [Tue May 10 17:50:14.979985 2022] [php:error] [pid 15] [client 127.0.0.1:49792] PHP Fatal error: Uncaught Error: Class "CMessageHelper" not found in /usr/share/zabbix/include/func.inc.php:2039\nStack trace:\n#0 /usr/share/zabbix/includerror()\n#1 /usr/share/zabbix/include/classes/core/CAutoloader.php(77): zbx_err_handler()\n#2 /usr/share/zabbix/include/classes/core/CAutoloader.php(77): require('...')\n#3 /usr/share/zabbix/include/func.inc.php(2039): CAutoloader->loadClabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(80): error()\n#5 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper.php(82): CFrontendApiWrapper->callMethod()\n#6 /usr/share/zabbix/include/classes/user/CWebUser.php(99))\n#7 /usr/share/zabbix/include/classes/core/ZBase.php(464): CWebUser::checkAuthentication()\n#8 /usr/share/zabbix/include/classes/core/ZBase.php(187): ZBase->authenticateUser()\n#9 /usr/share/zabbix/include/config.inc.php(25): ZBase->rubbix/index.php(24): require_once('...')\n#11 {main}\n thrown in /usr/share/zabbix/include/func.inc.php on line 2039
    zabbix:80 127.0.0.1 - - [10/May/2022:17:50:14 +0200] "GET / HTTP/1.1" 500 185 "-" "curl/7.81.0"
    I've remove all local folders except /var/lib/mysql to zabbix_env, same issue.
  • contact@proserv.fr
    Junior Member
    • May 2022
    • 6

    #2
    I've tried with alpine images, work fine.
    I think ubuntu images not working well

    Comment

    Working...