Ad Widget

Collapse

unable to upgrade to 5.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lokha
    Junior Member
    • Jun 2020
    • 15

    #1

    unable to upgrade to 5.0

    I had version 4.4, I uninstalled all zabbix- * packages

    after added repository 5.0 (I have debian 9 stretch):
    deb http://repo.zabbix.com/zabbix/5.0/debian stretch main
    deb-src http://repo.zabbix.com/zabbix/5.0/debian stretch main

    after I installed 5.0, everything except zabbix-frontend-php
    zabbix-frontend-php / oldstable, now 1: 3.0.7 + dfsg-3 all [installed]
    zabbix-release / unknown, now 1: 5.0-1 + stretch all [installed]
    zabbix-server-mysql / unknown, now 1: 5.0.1-1 + stretch amd64 [installed]

    then in the log it was seen how the database is being converted. this process has been completed. but when trying to log in via the web, he writes the error "The frontend does not match Zabbix database. Current database version (mandatory / optional): 5000000/5000000. Required mandatory version: 3000000. Contact your system administrator"

    I feel completely helpless. I do not understand why zabbix-frontend-php is not updated when everything else is updated
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Zabbix frontend package for Stretch is not zabbix-frontend-php. There will be a package named zabbix-frontend-php-deprecated.
    This is probably because Stretch's standard package configuration cannot build the PHP 7.2 or later environment required by Zabbix 5.0. Prepare PHP 7.2 or later environment.

    Comment

    • lokha
      Junior Member
      • Jun 2020
      • 15

      #3
      Originally posted by Atsushi
      Zabbix frontend package for Stretch is not zabbix-frontend-php. There will be a package named zabbix-frontend-php-deprecated.
      This is probably because Stretch's standard package configuration cannot build the PHP 7.2 or later environment required by Zabbix 5.0. Prepare PHP 7.2 or later environment.
      Thanks for the answer, but I already solved the problem differently. I will leave here a solution for posterity

      Remove zabbix-frontend-php via apt-get
      I downloaded frontend from source and manually created a site from them via apache2 in the folder /var/www/html/zabbix
      And zabbix-server-mysql install via apt-get from deb http://repo.zabbix.com/zabbix/5.0/debian stretch main
      And it worked

      Comment

      Working...