Ad Widget

Collapse

Upgrade fails (again)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hsv
    Junior Member
    • Jun 2020
    • 14

    #1

    Upgrade fails (again)


    Hi
    Today I tried to upgrade from 5.0 to 5.2
    I follow the steps from:
    2 Debian/Ubuntu [Zabbix Documentation 5.2]
    I have Ubuntu 20.04 fully updated

    mkdir /opt/zabbix-backup/
    sudo mkdir /opt/zabbix-backup/
    sudo cp /etc/zabbix/zabbix_server.conf /opt/zabbix-backup/
    sudo cp /etc/apache2/conf-enabled/zabbix.conf /opt/zabbix-backup/
    sudo cp -R /usr/share/zabbix/ /opt/zabbix-backup/
    sudo cp -R /usr/share/doc/zabbix-* /opt/zabbix-backup/
    sudo rm -Rf /etc/apt/sources.list.d/zabbix.list
    wget https://repo.zabbix.com/zabbix/5.2/u...u20.04_all.deb
    sudo dpkg -i zabbix-release_5.2-1+ubuntu20.04_all.deb
    sudo apt-get update
    sudo apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent
    sudo service zabbix-server start
    sudo reboot

    And surprise surprise it fucked up like last time where I upgrade from 4.x to 5.0
    So my question is what was forgotten this time in the documentation or misliding.

    This time with the following error:
    The Zabbix database version does not match current requirements. Your database version: 5000000. Required version: 5020000. Please contact your system administrator

    Another fun fact you can install with two Web Servers, but only Apache is mention in the upgrade description.

    So what to do to get the database upgraded to 5.2

    Regards
    Henning

  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    The database is updated when you start a new Zabbix server for the first time. Look in the log file-it says what version you are running.

    Comment

    Working...