Ad Widget

Collapse

Upgrade Failure: Need help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TecDragon
    Member
    • Nov 2019
    • 63

    #1

    Upgrade Failure: Need help

    Trying to upgrade my proxies from 6.0.6 to 6.2

    Ubuntu 20.04

    following the instructions found here

    https://www.zabbix.com/documentation.../debian_ubuntu

    Which are a bit vague when it comes to proxies so also looking at the instructions found here

    https://bestmonitoringtools.com/upgr...r_Zabbix-Agent

    Basically doing the following as sudo user

    1. service zabbix-proxy stop
    2. rm -Rf /etc/apt/sources.list.d/zabbix.list
    3. wget https://repo.zabbix.com/zabbix/6.2/u...20.04_all.deb
    4. dpkg -i zabbix-release_6.2-1+ubuntu20.04_all.deb
    5. apt-get update

    Everything seems to work to this point, it fails starting at step 6.

    Then tried all of the following commands
    6. apt-get install --only-upgrade zabbix-proxy-mysql
    a. This one did something appeared to upgrade mysql

    7. apt install -y --only-upgrade zabbix-proxy
    a. ERROR - unable to locate package zabbix-proxy

    8. sudo apt install --only-upgrade 'zabbix-server.*'
    a. ERROR - Couldn't find any package by glob 'zabbix-proxy.*'

    I can still restart the service
    9. service zabbix-proxy start

    But it still shows - Zabbix_Proxy (Zabbix) 6.0.6


    What am I doing wrong? Please and thank you!
    Last edited by TecDragon; 21-07-2022, 21:54.
  • vladimir_lv
    Senior Member
    • May 2022
    • 240

    #2
    Hi!
    Probably, it's because the older Let's Encrypt root CA expired and software linked against older versions of OpenSSL or GnuTLS don't realize that there's a separate trust chain that is still valid.
    Try to update ca-certificates for your system:
    Code:
    sudo apt-get install -y ca-certificates

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1782

      #3
      Also, can you show us output of these:

      Code:
      apt update
      dpkg -l zabbix\*
      apt upgrade
      Markku

      Comment

      • TecDragon
        Member
        • Nov 2019
        • 63

        #4
        In step 4 of the directions supplied here
        https://www.zabbix.com/documentation.../debian_ubuntu

        It states to:

        4 Update repository configuration package
        To proceed with the update your current repository package has to be uninstalled.
        # rm -Rf /etc/apt/sources.list.d/zabbix.list
        That doesn't seem to be enough, in the instructions found here
        https://bestmonitoringtools.com/upgr...r_Zabbix-Agent

        It states to

        dpkg --purge zabbix-release

        After doing that command and then re-running through the steps from
        https://www.zabbix.com/documentation.../debian_ubuntu

        I was able to run
        sudo apt-get update
        sudo apt-get upgrade

        and it worked.

        Final process was
        1. sudo service zabbix-proxy stop
        2. sudo dpkg --purge zabbix-release
        3. sudo wget https://repo.zabbix.com/zabbix/6.2/u...u20.04_all.deb
        4. sudo dpkg -i zabbix-release_6.2-1+ubuntu20.04_all.deb
        5. sudo apt-get update
        6. sudo apt-get upgrade
        7. reboot

        Thanks for your replies!

        Now to do it 25 more times

        Comment

        Working...