Ad Widget

Collapse

Package zabbix-apache-conf is not available upgrading from 4.0 to 5.0 on Ubuntu 16.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hermannkm
    Junior Member
    • Jun 2020
    • 2

    #1

    Package zabbix-apache-conf is not available upgrading from 4.0 to 5.0 on Ubuntu 16.04

    I am stuck in my frontend with

    Click image for larger version  Name:	zbx5upgrade.png Views:	0 Size:	41.7 KB ID:	403079

    My php is

    Code:
    PHP 7.3.18-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 14 2020 10:34:21) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.18, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.18-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
    I have read documentation about installing on xenial (https://www.zabbix.com/documentation...tend_on_debian).
    Obviously I am missing something -- having the right php-version (and all the necessary modules installed) is not sufficient to install the frontend?
    How could I do this?

    When trying to install the web frontend with apt-get install zabbix-apache-conf I get:

    Code:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package zabbix-apache-conf is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'zabbix-apache-conf' has no installation candidate
    I (think I) followed installation instructions so /etc/apt/sources.list.d/zabbix.list contains

    Code:
    deb http://repo.zabbix.com/zabbix/5.0/ubuntu xenial main
    deb-src http://repo.zabbix.com/zabbix/5.0/ubuntu xenial main
    and the rest of the installation worked, I did database upgrades too. Server version shows

    Code:
    zabbix_server (Zabbix) 5.0.1
    Revision c2a0b03480 25 May 2020, compilation time: May 28 2020 09:17:44
    
    Copyright (C) 2020 Zabbix SIA
    License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it according to
    the license. There is NO WARRANTY, to the extent permitted by law.
    
    This product includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit (http://www.openssl.org/).
    
    Compiled with OpenSSL 1.0.2g-fips 1 Mar 2016
    Running with OpenSSL 1.0.2g 1 Mar 2016
    Last edited by hermannkm; 10-06-2020, 11:35. Reason: Added details, rearranged story
  • george.hagi
    Junior Member
    • Aug 2016
    • 12

    #2
    Hi,

    same problem, same screen error.

    Problem is that zabbix-frontend-php and zabbix-apache-conf stay on old version. When i try:

    sudo apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent

    got:

    zabbix-agent is already the newest version (1:5.0.1-1+xenial).
    zabbix-server-mysql is already the newest version (1:5.0.1-1+xenial).
    zabbix-frontend-php is already the newest version (1:4.4.9-1+xenial).
    0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

    what i do:

    sudo service zabbix-server stop
    sudo rm -Rf /etc/apt/sources.list.d/zabbix.list
    dpkg --purge zabbix-release

    wget https://repo.zabbix.com/zabbix/5.0/u...xenial_all.deb
    sudo dpkg -i zabbix-release_5.0-1+xenial_all.deb
    sudo apt-get update
    sudo apt install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent
    sudo apt-get install -y zabbix-apache-conf

    and now i got:
    zabbix-apache-conf is already the newest version (1:4.4.9-1+xenial).
    0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

    Any suggestions?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      The zabbix-frontend-php and zabbix-apache-conf packages for 16.04(Xenial) do not exist.


      Zabbix 5.0 requires PHP 7.2 or later. What version of PHP are you using?
      If you use a package other than Xenial standard, you may be able to prepare PHP 7.2 or later environment.
      However, the package provided for Xenial is zabbix-frontend-php-deprecated instead of zabbix-frontend-php. Since there is no zabbix-apache-conf package, I think that it is necessary to place a unique configuration file according to the Apache and PHP environment.

      Comment

      Working...