Ad Widget

Collapse

Ubuntu+Zabbix Update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wwwzebra
    Junior Member
    • Dec 2023
    • 19

    #1

    Ubuntu+Zabbix Update

    Colleagues!
    There is a server with Ubuntu 22.04.3 lts + Zabbix 7.0.0 alpha 9 + PHP 8.2.13
    I am running the standard procedure for installing updates
    sudo apt update & sudo apt upgrade -y

    A lengthy update procedure is underway.

    As a result, on the Zabbix page I get the error "Minimum required PHP version is 8.0.0."

    What can I fix?
    Thanks for the help

    P.S. Was done
    # wget https://repo.zabbix.com/zabbix/6.5/u...u22.04_all.deb
    # dpkg -i zabbix-release_6.5-1+ubuntu22.04_all.deb
    # apt update
  • wwwzebra
    Junior Member
    • Dec 2023
    • 19

    #2
    Сделал следующее:
    1. sudo apt remove libapache2-mod-php
    2. sudo a2dismod php7.4*

    И о чудо - с PHP похоже подружились.

    Новая ошибка
    "The Zabbix database version does not match current requirements. Your database version: 6050175. Required version: 7000000. Please contact your system administrator."

    Выполнил следующее:
    # apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

    Получаю ошибку:
    Unable to locate package zabbix-server-sql

    Что-то опять не пошло

    Спасибо

    Comment

    • Hugo Monteiro
      Junior Member
      • Mar 2024
      • 3

      #3
      Originally posted by wwwzebra
      Colleagues!
      There is a server with Ubuntu 22.04.3 lts + Zabbix 7.0.0 alpha 9 + PHP 8.2.13
      I am running the standard procedure for installing updates
      sudo apt update & sudo apt upgrade -y

      A lengthy update procedure is underway.

      As a result, on the Zabbix page I get the error "Minimum required PHP version is 8.0.0."

      What can I fix?
      Thanks for the help

      P.S. Was done
      # wget https://repo.zabbix.com/zabbix/6.5/u...u22.04_all.deb
      # dpkg -i zabbix-release_6.5-1+ubuntu22.04_all.deb
      # apt update
      Do you have more than one version of PHP installed?

      what is the output in update-alternatives --config php

      Comment

      • wwwzebra
        Junior Member
        • Dec 2023
        • 19

        #4
        Originally posted by Hugo Monteiro

        Do you have more than one version of PHP installed?

        what is the output in update-alternatives --config php
        root@srv-zabbix:/var/log/zabbix# sudo update-alternatives --config php
        There are 4 choices for the alternative php (providing /usr/bin/php).

        Selection Path Priority Status
        ------------------------------------------------------------
        * 0 /usr/bin/php.default 100 auto mode
        1 /usr/bin/php.default 100 manual mode
        2 /usr/bin/php7.4 74 manual mode
        3 /usr/bin/php8.1 81 manual mode
        4 /usr/bin/php8.2 82 manual mode

        Press <enter> to keep the current choice[*], or type selection number:

        Comment

        Working...