Ad Widget

Collapse

Upgrade - frontend problem

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

    #1

    Upgrade - frontend problem

    Hi,
    Debian 9, after upgrade zabbix 4.4 now I get:

    The frontend does not match Zabbix database. Current database version (mandatory/optional): 4050136/4050136. Required mandatory version: 4050027. - . Zabbix 5.0.0rc1 (revision ffde654900)
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Are you sure you upgraded to 4.4.x? That looks more like you accidentally upgraded to a pre-release version of Zabbix 5.x.

    Did you upgrade using packages? What zabbix-related packages are currently installed on your server?

    Comment

    • rlukaszczyk
      Junior Member
      • Jul 2020
      • 3

      #3
      Upgraded from:

      deb http://repo.zabbix.com/zabbix/4.5/debian stretch main
      deb-src http://repo.zabbix.com/zabbix/4.5/debian stretch main

      And here is a problem.it's prerelase. Installed packages:


      zabbix-agent/unknown,now 1:5.0.0~rc1-1+stretch amd64 [installed]
      zabbix-apache-conf/unknown,now 1:5.0.0~alpha1-1+stretch all [installed]
      zabbix-frontend-php/unknown,now 1:5.0.0~alpha1-1+stretch all [installed]
      zabbix-release/unknown,now 1:4.5-1+stretch all [installed]
      zabbix-server-mysql/unknown,now 1:5.0.0~rc1-1+stretch amd64 [installed]





      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        The repository you are using is not for 4.4. Since it is 4.5, it is a development version before the release of 5.0.
        It seems that you have already upgraded to the development version of 5.0. Do you have a backup of the previous database?
        If you have a previous backup, please upgrade to version 4.4 using the repository.

        Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!

        Code:
        # wget https://repo.zabbix.com/zabbix/4.4/debian/pool/main/z/zabbix-release/zabbix-release_4.4-1+stretch_all.deb
        # dpkg -i zabbix-release_4.4-1+stretch_all.deb
        # apt update
        If you don't have a previous backup, you'll have to upgrade to 5.0. However, please be aware that if you are using Debian 9, you will need an environment of PHP 7.2 or later, so you cannot build the environment with only the OS standard packages.

        Comment

        • rlukaszczyk
          Junior Member
          • Jul 2020
          • 3

          #5
          I understand now and I have backup. Thanks for help!

          Comment

          Working...