Hello everyone ! Greetings folks,
I'll try to resume it for you to make it easier, let me know if you need some other information please
I'm running Zabbix 6.4 on centOS, three separated servers: Zabbix Frontend 6.4, Zabbix Server 6.4 and MariaDB Database, all running good.
My idea here now is to create a Kubernetes environment, install zabbix 7 and then migrate database from 6.4 server to this new one. I tried to do it, but didn't work. Zabbix 7 was running fine
I created a dump from old 6.4 zabbix maria db database, which have 21gigs.
// Command to make dump file
mysqldump -u root -p --databases zabbix > zabbix.sql
// Command to restore dumpfile into fresh new zabbix database on new mariadb database container
nohup mariadb -u root -p'rootpass' zabbix < /tmp/zabbix.sql &
I selected into database to see how many hosts, itens and so on, everything seems to be fine but when I ran "SELECT * FROM dbversion;" it returned "6040000" for both mandatory and optional colums (on new server)
After all of that I deployed zabbix server and then frontend containers but now i'm receiving this error:
"Database error
- The Zabbix database version does not match current requirements. Your database version: 6040000. Required version: 7000000. Please contact your system administrator.
"
I was researching on chatgpt and it recommended me to run a script called upgrade_6-4_7-0.sql that I couldn't find anywhere.
Folks, let me know if I can post here more detailed information, please.
Comment