Ad Widget

Collapse

Zabbix 7.2 upgrade fail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Morpheus_Davis
    Junior Member
    • Dec 2024
    • 1

    #16
    Hi there,
    I tried to start the zabbix-web-nginx-pgsql container with a new persistent volume and that works with the zabbix-web-nginx-pgsql:latest docker image.
    Issue fixed on my side with that change, no data lost at all.
    Hope this help !

    Comment

    • binderth
      Junior Member
      • Apr 2022
      • 5

      #17
      Originally posted by Michelsup
      Code:
      define('ZABBIX_VERSION', '7.0.6');
      define('ZABBIX_API_VERSION', '7.0.6');
      define('ZABBIX_EXPORT_VERSION', '7.0');
      So the all docker images for the front end are still in 7.0.6. Can we expect an update soon ?

      Edit: So from rage I deleted
      Code:
      zabbix-web
      and recreated it. Everything is now fine.
      Can I just kiss you!
      That's great and the solution for my problem also. Zabbix-Server and the PostgreSQL worked finde, my WARN alerts came through, but the Frontend wasn't loading up. I just created a new volume and now it works as expected. Seems like a bug in the all(?) docker updates for me - because I already got this error more than once and simply re-created all of my stuff in ZABBIX again.
      Originally posted by mlazzarotto

      Hi MicelSup, what do you mean? Did you recreate the Docker container only or the Docker volume as well?
      Just re-creating the container does NOT do the trick, you have to re-create the volume.

      Comment

      • mlazzarotto
        Junior Member
        • Feb 2022
        • 14

        #18
        Originally posted by binderth

        Just re-creating the container does NOT do the trick, you have to re-create the volume.
        Yep, that did the trick!

        Comment

        • lukeluke1979
          Junior Member
          • Dec 2024
          • 2

          #19
          I confirm this trick.
          ​​​​​
          Thanks a lot

          Comment

          • pablo.sanchez
            Junior Member
            • Jan 2025
            • 3

            #20
            Dear Zabbix Support Team,
            I am in an offline environment and running PostgreSQL 16.1 on a Linux 9 operating system.
            I recently upgraded Zabbix from version 7.0 to 7.2 and now I have an issue where the Zabbix server keeps indicating that the database version is not supported. The error I get is the following:
            "Database error: Zabbix database version does not match the current requirements. Your database version: 7020000. Required version: 7000000.
            I have verified that the database version is correctly set to 7020000, but Zabbix is ​still showing this error. I have also performed the following steps to try to fix it:

            - I have verified that the database upgrade scripts have been executed correctly.
            - I have verified that the Zabbix configuration file (`zabbix_server.conf`) is pointing to the correct database.
            - I have reviewed the Zabbix and database logs, but have not found any further details that could indicate the problem.
            - I have tried clearing the Zabbix cache and restarting the server, but the problem persists.

            zabbix_server --version
            zabbix_server: /usr/pgsql-16/lib/libpq.so.5: no version information available (required by zabbix_server)
            zabbix_server (Zabbix) 7.2.2
            Revision bc0d5fdf8af 6 Jan 2025, build time: 6 Jan 2025 00:00:00

            I would appreciate any guidance or solution you can offer.
            Kind regards,
            Pablo​

            Comment

            • PhaseIV
              Junior Member
              • Feb 2025
              • 1

              #21
              Hey Pablo,

              did you checked your DB Password in /etc/zabbix/zabbix_server.conf?
              Pretty sure it is not set after upgrade process.

              Kind Regards
              Sebastian

              Comment

            • MBender
              Junior Member
              • May 2024
              • 5

              #22
              Originally posted by binderth

              Can I just kiss you!
              That's great and the solution for my problem also. Zabbix-Server and the PostgreSQL worked finde, my WARN alerts came through, but the Frontend wasn't loading up. I just created a new volume and now it works as expected. Seems like a bug in the all(?) docker updates for me - because I already got this error more than once and simply re-created all of my stuff in ZABBIX again.

              Just re-creating the container does NOT do the trick, you have to re-create the volume.
              I'm confused. Which volume? Because if I've got a docker configuration I do NOT want to re-create my volume and lose all my existing data. That's the whole point of an "upgrade", no?

              In other words - I'm still short what the steps to fix this are if Zabbix is docker-installed.

              EDIT:
              Found the cause. The problem (for me) was some uncommented Java-related server setting that did nothing in the previous version but in 7.2 caused Zabbix server to look for the other Java-related settings and then complain about them not being set. In other words - for me at least, the upgrade process never really properly started.
              Last edited by MBender; 26-02-2025, 14:23.

              Comment

              • carlbroohm@gmail.com
                Junior Member
                • Dec 2024
                • 2

                #23
                Originally posted by Morpheus_Davis
                Hi there,
                I tried to start the zabbix-web-nginx-pgsql container with a new persistent volume and that works with the zabbix-web-nginx-pgsql:latest docker image.
                Issue fixed on my side with that change, no data lost at all.
                Hope this help !
                This worked for me. 7.2 => 7.4. I owe you a beer.

                Comment

                Working...