Ad Widget

Collapse

Update zabbix from 3.4 to 5.0.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • redelek
    Junior Member
    • Jul 2020
    • 3

    #1

    Update zabbix from 3.4 to 5.0.1

    Good morning,
    I upgraded from 3.4 to 5.0.1 from Zabbix, everything went fine as per the instructions.


    After updating, I get a message on the page
    Database error
    The frontend does not match Zabbix database. Current database version (mandatory / optional): 5000000/5000001. Required mandatory version: 3040000. Contact your system administrator.
    The server logs show that the database has been updated. How can I solve this problem?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    It's the web-based "frontend" that's complaining, which means you still have the 3.4 frontend installed. You also need to upgrade the Zabbix web interface to the same package versions.

    Depending on which version of RHEL or CentOS you're on, there may be some special steps required, because of the updated PHP version requirements for the web interface. That's covered in the URL you referenced.

    Comment

    • redelek
      Junior Member
      • Jul 2020
      • 3

      #3
      I did the update
      yum upgrade zabbix-server-mysql zabbix-web-mysql zabbix-agent
      but as you can see some packages remain old
      zabbix-mysql-web-3.4.15-1.el7.noarch
      zabbix-release-5.0-1.el7.noarch
      zabbix-mysql-server-5.0.2-1.el7.x86_64
      zabbix-get-5.0.2-1.el7.x86_64
      zabbix-web-3.4.15-1.el7.noarch
      zabbix-agent-5.0.2-1.el7.x86_64
      If I run update zabbix-web
      everything is up to date

      Comment

      • redelek
        Junior Member
        • Jul 2020
        • 3

        #4
        I have successfully uninstalled zabbix-web and zabbix-web-mysql and installed new versions.
        Everything works. Thank you for your help

        Comment

        Working...