Ad Widget

Collapse

Zabbix is partially updated from 6.4.21 to 7.x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vovkvu25
    Junior Member
    • Jan 2025
    • 9

    #1

    Zabbix is partially updated from 6.4.21 to 7.x

    Hello.
    I'm trying to upgrade Zabbix 6.4.21 to any version of 7.X
    Zabbix on a hyper-v virtual machine on Ubuntu 20.04.6, 12 GB of memory, disk space is available. OS updates are installed, php = 8.3.16, Postgresql database
    How I'm updating
    1) systemctl stop zabbix-server zabbix-agent
    2) rm -Rf /etc/apt/sources.list.d/zabbix.list
    3) wget https://repo.zabbix.com/zabbix/7.2/r...u20.04_all.deb
    4) dpkg -i zabbix-release_latest_7.2+ubuntu20.04_all.deb
    5) apt update
    6) apt install --only-upgrade 'zabbix*' or apt install --only-upgrade zabbix-server-pgsql zabbix-frontend-php zabbix-agent
    7) systemctl start zabbix-server zabbix-agent
    I see that the packages have been updated.
    But the database update does not start.
    Version 6.4.21 remains in the web interface.

    Apache2 has updated php
    1) a2dismod php7.4
    2) systemctl restart apache2
    3) a2enmod php8.3
    4) systemctl restart apache2​

    Made apt install php8.3-pgsql

    Is there something else I'm missing? I'm just trying to upgrade to both 7.0.x and 7.2.x, but the database itself is not being updated. Maybe it can be started manually somehow?
    Thanks for any help and advice.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Database is upgraded during first startup of the server. But Server binaries and frontend for 7.x are not provided for 20.04.. https://www.zabbix.com/download?zabbix=7.2&os_distribution=ubuntu&os_vers ion=20.04&components=proxy&db=mysql&ws=
    You need a bit newer platform to run 7.2

    Comment

    • vovkvu25
      Junior Member
      • Jan 2025
      • 9

      #3
      Now it became clear. Thank you.

      Comment

      • vovkvu25
        Junior Member
        • Jan 2025
        • 9

        #4
        Bingo. I updated ubuntu to 22.04 and everything worked out. Thank you.

        Comment

        Working...