Ad Widget

Collapse

Docker Compose- Zabbix Database error

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robin.Z
    Junior Member
    • Jun 2024
    • 6

    #1

    Docker Compose- Zabbix Database error

    Hi

    Recently our zabbix updateted to latest version. Since this update happend our zabbix bacame unreachable. When we try to acces our web gui, we will see this error popping up:

    Click image for larger version

Name:	image.png
Views:	495
Size:	18.0 KB
ID:	484996

    When we look at the logs of the zabbix-server container, it will shot this

    2024-06-05T07:54:22.241345931Z 1:20240605:075422.240 Starting Zabbix Server. Zabbix 7.0.0 (revision 49955f1).
    2024-06-05T07:54:22.241354752Z 1:20240605:075422.240 ****** Enabled features ******
    2024-06-05T07:54:22.241363903Z 1:20240605:075422.240 SNMP monitoring: YES
    2024-06-05T07:54:22.241372258Z 1:20240605:075422.240 IPMI monitoring: YES
    2024-06-05T07:54:22.241380756Z 1:20240605:075422.240 Web monitoring: YES
    2024-06-05T07:54:22.241407555Z 1:20240605:075422.241 VMware monitoring: YES
    2024-06-05T07:54:22.241416113Z 1:20240605:075422.241 SMTP authentication: YES
    2024-06-05T07:54:22.241424284Z 1:20240605:075422.241 ODBC: YES
    2024-06-05T07:54:22.241432443Z 1:20240605:075422.241 SSH support: YES
    2024-06-05T07:54:22.241440603Z 1:20240605:075422.241 IPv6 support: YES
    2024-06-05T07:54:22.241449569Z 1:20240605:075422.241 TLS support: YES
    2024-06-05T07:54:22.241457936Z 1:20240605:075422.241 ******************************
    2024-06-05T07:54:22.241466623Z 1:20240605:075422.241 using configuration file: /etc/zabbix/zabbix_server.conf
    2024-06-05T07:54:22.352216033Z 1:20240605:075422.351 current database version (mandatory/optional): 07000000/07000000
    2024-06-05T07:54:22.352251433Z 1:20240605:075422.351 required mandatory version: 07000000
    2024-06-05T07:54:22.425319372Z 210:20240605:075422.424 starting HA manager
    2024-06-05T07:54:22.453910889Z 210:20240605:075422.453 HA manager started in active mode

    If I look at the database versions, they all match to 07000000.

    Since I am new to this, I have no clue how to solve this. Can anyone help me?​
  • Answer selected by Robin.Z at 10-06-2024, 12:23.
    nbhanji
    Junior Member
    • Jan 2013
    • 16

    While you are testing and planning to move forward, you can add the following enviroment variable in docker-compose file to overcome the error
    ZBX_ALLOWUNSUPPORTEDDBVERSIONS=0 # Available since 6.0.0

    I use this variable, because I am using postgresql ver. 16

    Nickb

    Comment


    • Robin.Z
      Robin.Z commented
      Editing a comment
      Thanks for mentioning this. Our zabbix is working again!
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    The error shows that your Zabbix frontend is still at version 6.4.

    Markku

    Comment


    • Robin.Z
      Robin.Z commented
      Editing a comment
      Thanks for pointing out!
  • nbhanji
    Junior Member
    • Jan 2013
    • 16

    #3
    While you are testing and planning to move forward, you can add the following enviroment variable in docker-compose file to overcome the error
    ZBX_ALLOWUNSUPPORTEDDBVERSIONS=0 # Available since 6.0.0

    I use this variable, because I am using postgresql ver. 16

    Nickb

    Comment


    • Robin.Z
      Robin.Z commented
      Editing a comment
      Thanks for mentioning this. Our zabbix is working again!
Working...