Hi:
I was trying to upgrade on the web screen it shows 4.4.10.
So I followed the upgrade procedure as outlined in https://www.zabbix.com/documentation...es/rhel_centos. I am running centos 7 and it is up to date. I installed php 7.4.14
Here is a history of what I did:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[root@monitor ~]# mkdir /opt/zabbix-backup/
[root@monitor ~]# cp /etc/zabbix/zabbix_server.conf /opt/zabbix-backup/
[root@monitor ~]# cp /etc/httpd/conf.d/zabbix.conf /opt/zabbix-backup/
[root@monitor ~]# cp -R /usr/share/zabbix/ /opt/zabbix-backup/
[root@monitor ~]# cp -R /usr/share/doc/zabbix-* /opt/zabbix-backup/
[root@monitor ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.2/r...el8.noarch.rpm
Retrieving https://repo.zabbix.com/zabbix/5.2/r...el8.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:zabbix-release-5.2-1.el8 ################################# [ 50%]
Cleaning up / removing...
2:zabbix-release-5.0-1.el7 ################################# [100%]
[root@monitor ~]# yum upgrade zabbix-server-mysql zabbix-web-mysql zabbix-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.ussg.iu.edu
* epel: mirror.team-cymru.com
* extras: mirrors.raystedman.org
* remi-php74: mirror.team-cymru.com
* remi-safe: mirror.team-cymru.com
* updates: mirror.genesisadaptive.com
Resolving Dependencies
--> Running transaction check
---> Package zabbix-agent.x86_64 0:4.4.10-1.el7 will be updated
---> Package zabbix-agent.x86_64 0:5.0.7-1.el7 will be an update
---> Package zabbix-server-mysql.x86_64 0:4.4.10-1.el7 will be updated
---> Package zabbix-server-mysql.x86_64 0:5.0.7-1.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ================================================== ================================================== =
Package Arch Version Repository Size
================================================== ================================================== ================================================== =
Updating:
zabbix-agent x86_64 5.0.7-1.el7 zabbix 453 k
zabbix-server-mysql x86_64 5.0.7-1.el7 zabbix 2.7 M
Transaction Summary
================================================== ================================================== ================================================== =
Upgrade 2 Packages
Total download size: 3.2 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
zabbix-agent-5.0.7-1.el7.x86_6 FAILED
http://repo.zabbix.com/zabbix/5.2/rh...l7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found0 B/s | 0 B --:--:-- ETA
Trying other mirror.
To address this issue please refer to the below wiki article
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
zabbix-server-mysql-5.0.7-1.el FAILED
http://repo.zabbix.com/zabbix/5.2/rh...l7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found 0 B --:--:-- ETA
Trying other mirror.
Error downloading packages:
zabbix-agent-5.0.7-1.el7.x86_64: [Errno 256] No more mirrors to try.
zabbix-server-mysql-5.0.7-1.el7.x86_64: [Errno 256] No more mirrors to try.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I am not sure what I should do at this point. I'd hate to restart from scratch as I did some valuable work.
Any help is greatly appreciated.
Thank you,
David
I was trying to upgrade on the web screen it shows 4.4.10.
So I followed the upgrade procedure as outlined in https://www.zabbix.com/documentation...es/rhel_centos. I am running centos 7 and it is up to date. I installed php 7.4.14
Here is a history of what I did:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[root@monitor ~]# mkdir /opt/zabbix-backup/
[root@monitor ~]# cp /etc/zabbix/zabbix_server.conf /opt/zabbix-backup/
[root@monitor ~]# cp /etc/httpd/conf.d/zabbix.conf /opt/zabbix-backup/
[root@monitor ~]# cp -R /usr/share/zabbix/ /opt/zabbix-backup/
[root@monitor ~]# cp -R /usr/share/doc/zabbix-* /opt/zabbix-backup/
[root@monitor ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.2/r...el8.noarch.rpm
Retrieving https://repo.zabbix.com/zabbix/5.2/r...el8.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:zabbix-release-5.2-1.el8 ################################# [ 50%]
Cleaning up / removing...
2:zabbix-release-5.0-1.el7 ################################# [100%]
[root@monitor ~]# yum upgrade zabbix-server-mysql zabbix-web-mysql zabbix-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.ussg.iu.edu
* epel: mirror.team-cymru.com
* extras: mirrors.raystedman.org
* remi-php74: mirror.team-cymru.com
* remi-safe: mirror.team-cymru.com
* updates: mirror.genesisadaptive.com
Resolving Dependencies
--> Running transaction check
---> Package zabbix-agent.x86_64 0:4.4.10-1.el7 will be updated
---> Package zabbix-agent.x86_64 0:5.0.7-1.el7 will be an update
---> Package zabbix-server-mysql.x86_64 0:4.4.10-1.el7 will be updated
---> Package zabbix-server-mysql.x86_64 0:5.0.7-1.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ================================================== ================================================== =
Package Arch Version Repository Size
================================================== ================================================== ================================================== =
Updating:
zabbix-agent x86_64 5.0.7-1.el7 zabbix 453 k
zabbix-server-mysql x86_64 5.0.7-1.el7 zabbix 2.7 M
Transaction Summary
================================================== ================================================== ================================================== =
Upgrade 2 Packages
Total download size: 3.2 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
zabbix-agent-5.0.7-1.el7.x86_6 FAILED
http://repo.zabbix.com/zabbix/5.2/rh...l7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found0 B/s | 0 B --:--:-- ETA
Trying other mirror.
To address this issue please refer to the below wiki article
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
zabbix-server-mysql-5.0.7-1.el FAILED
http://repo.zabbix.com/zabbix/5.2/rh...l7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found 0 B --:--:-- ETA
Trying other mirror.
Error downloading packages:
zabbix-agent-5.0.7-1.el7.x86_64: [Errno 256] No more mirrors to try.
zabbix-server-mysql-5.0.7-1.el7.x86_64: [Errno 256] No more mirrors to try.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I am not sure what I should do at this point. I'd hate to restart from scratch as I did some valuable work.
Any help is greatly appreciated.
Thank you,
David
You can upgrade to 5.0 on RH (centos) 7, but for anything above, you need 8.
Comment