Ad Widget

Collapse

Step-by-Step Guide: Upgrade Zabbix (4.x, 5.x) to 6.0 or install it from scratch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZaBeast
    Member
    • Sep 2019
    • 42

    #1

    Step-by-Step Guide: Upgrade Zabbix (4.x, 5.x) to 6.0 or install it from scratch

    Upgrade Zabbix to 6.0:

    Zabbix 6.0 is out and I have written a step-by-step guide on how to upgrade Zabbix monitoring system (4.x, 5.x) to 6.0 version on Ubuntu/CentOS/RHEL/Debian/Rasbian:

    https://bestmonitoringtools.com/how-...atest-version/


    Fresh Zabbix 6.0 Installation and optimization guides:

    If you need a guide on how to do fresh Zabbix installation and optimize the Zabbix server/database, please check these links:

    Ubuntu: https://bestmonitoringtools.com/how-...ver-on-ubuntu/

    CentOS/RHEL: https://bestmonitoringtools.com/how-...entos-or-rhel/

    Debian: https://bestmonitoringtools.com/how-...ver-on-debian/

    Raspberry Pi: https://bestmonitoringtools.com/how-...y-pi-raspbian/
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Having latest platform and doing this is piece of cake. But how many of you run your old 4 or 5 LTS versions on a latest OS versions, supported by 6LTS? I suspect not too many. Upgrading platform AND product at the same time will be much more complicated....

    Comment

    • wittie
      Junior Member
      • Dec 2020
      • 2

      #3
      HI ZaBeast,

      Thank you for sharing your steps or guide. Hope you can also provide us upgrading zabbix using centos7

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Originally posted by wittie
        HI ZaBeast,

        Thank you for sharing your steps or guide. Hope you can also provide us upgrading zabbix using centos7
        Start with upgrading to Centos8 ..:P

        Comment

        • firo1603
          Junior Member
          • Sep 2021
          • 6

          #5
          hellow ,i got a problem on raspberrypi 4B
          i install zbx 6.0.2 ,the os version is bullseye
          but when i complete installation,the zabbix server crashing for every three minutes
          i try to make a new installation(include the os,database,nginx and any more),but the problem has not be solve
          i creat a issus on zabbix support,you can find the log for this problem
          can you help me ?

          Comment


          • firo1603
            firo1603 commented
            Editing a comment
            i make ne fresh install on 64bit os,it working without the same problem
        • Mighty33
          Junior Member
          • Jun 2022
          • 4

          #6
          I was getting an error when following the install.

          $ sudo apt update
          Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
          Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
          Hit:3 https://linux.teamviewer.com/deb stable InRelease
          Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
          Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
          Get:7 https://dlm.mariadb.com/repo/mariadb....6/repo/ubuntu focal InRelease [4,717 B]
          Hit:8 https://repo.zabbix.com/zabbix/6.0/ubuntu focal InRelease
          Hit:6 https://downloads.mariadb.com/Tools/ubuntu focal InRelease
          Get:9 https://dlm.mariadb.com/repo/maxscale/latest/apt focal InRelease [6,384 B]
          Fetched 11.1 kB in 1s (9,996 B/s)
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          2 packages can be upgraded. Run 'apt list --upgradable' to see them.
          N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.zabbix.com/zabbix/6.0/ubuntu focal InRelease' doesn't support architecture 'i386'


          Can anyone help me on this?


          Comment

        • hai.dao
          Junior Member
          • Jun 2022
          • 19

          #7
          Hi, it means we can not upgrade 5.x to 6.0 when using centos 7 ???

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #8
            Originally posted by hai.dao
            Hi, it means we can not upgrade 5.x to 6.0 when using centos 7 ???
            yes. you cannot run 6.0 on Centos7.

            Comment

            • hai.dao
              Junior Member
              • Jun 2022
              • 19

              #9
              Originally posted by cyber

              yes. you cannot run 6.0 on Centos7.
              Hi bro.

              Click image for larger version

Name:	image.png
Views:	6537
Size:	3.0 KB
ID:	456030
              i'm using Zabbix 5.0.1 - centos 7

              - STEP 4 : upgrade database , i can't see upgrade success or fail like your manual post.​

              Comment


              • Atsushi
                Atsushi commented
                Editing a comment
                Unless you change to an OS such as CentOS 8, you cannot build a Zabbix 6.0 server environment using official packages. If you are still on CentOS 7 and intend to update using official packages, your Zabbix server version is old and not updated. Therefore, database upgrade processing will not be performed.
            Working...