Hi
I Just upgrade my Zabbix Server from 3.4.15 to 4.0.0 (on my Centos7.5 mysql/apache)
I want share some problems and fix that I used.
I follow this Guide: https://www.zabbix.com/documentation...es/rhel_centos
First problem: Repository Zabbix 4.0 are not seen
FIX:
Second Problem: DB upgrade failed
FIX:
I hope this will be useful to someone.
I Just upgrade my Zabbix Server from 3.4.15 to 4.0.0 (on my Centos7.5 mysql/apache)
I want share some problems and fix that I used.
I follow this Guide: https://www.zabbix.com/documentation...es/rhel_centos
First problem: Repository Zabbix 4.0 are not seen
FIX:
- Use > sudo yum clean all > sudo rm -rf /var/cache/yum > sudo yum repolist > then perform sudo yum update/upgrade -y
Second Problem: DB upgrade failed
FIX:
- check the log sudo cat /var/log/zabbix/zabbix_server.log
- On logs: "[Z3005] query failed: [1060] Duplicate column name 'severity' [alter table `events` add `severity` integer def ault '0' not null]'
- According with this Issue https://support.zabbix.com/projects/...lter=allissues I removed the severity value in the events table.
- mysql -u USER -P
- use DB-ZABBIX;
- ALTER TABLE events DROP COLUMN severity;
- exit
- sudo systemctl start zabbix-server.service
- check log and try to login on dashboard
I hope this will be useful to someone.
Comment