Tu peux faire un yum list installed | grep zabbix* pour voir la version de tes packages ?
Ad Widget
Collapse
Problème pendant update : The frontend does not match Zabbix database
Collapse
X
-
J'ai testé avec un dump de ma base voila le résultat :
3387:20190304:115624.960 current database version (mandatory/optional): 03000000/03000000
3387:20190304:115624.960 required mandatory version: 04000000
3387:20190304:115624.960 optional patches were found
3387:20190304:115624.960 starting automatic database upgrade
3387:20190304:115624.986 completed 0% of database upgrade
3387:20190304:115625.057 completed 1% of database upgrade
3387:20190304:115625.080 [Z3005] query failed: [1050] Table 'trigger_tag' already exists [create table trigger_tag (
`triggertagid` bigint unsigned not null,
`triggerid` bigint unsigned not null,
`tag` varchar(255) default '' not null,
`value` varchar(255) default '' not null,
primary key (triggertagid)
) engine=innodb]
3387:20190304:115625.081 database upgrade failed
Comment
-
Tu peux supprimer cette table "trigger_tag" ?"Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
-
Tu as supprimé la table qui pose problème ?"Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
-
C'est curieux cela car il dit bien qu'il va la créer.
Peux-tu poster le log de l'upgrade ?"Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
-
3673:20190304:143634.896 using configuration file: /usr/local/etc/zabbix_serve r.conf
3673:20190304:143634.908 current database version (mandatory/optional): 030100 37/03010037
3673:20190304:143634.908 required mandatory version: 04000000
3673:20190304:143634.908 optional patches were found
3673:20190304:143634.908 starting automatic database upgrade
3673:20190304:143634.908 [Z3005] query failed: [1146] Table 'zabbix.problem_tag' doesn't exist [create index problem_tag_2 on problem_tag (tag,value)]
3673:20190304:143634.908 database upgrade failed
Comment
-
Execute les requêtes suivantes:
CREATE TABLE `problem_tag` (
`problemtagid` bigint unsigned NOT NULL,
`eventid` bigint unsigned NOT NULL,
`tag` varchar(255) DEFAULT '' NOT NULL,
`value` varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (problemtagid)
) ENGINE=InnoDB;
CREATE INDEX `problem_tag_1` ON `problem_tag` (`eventid`,`tag`,`value`);
ALTER TABLE `problem_tag` ADD CONSTRAINT `c_problem_tag_1` FOREIGN KEY (`eventid`) REFERENCES `problem` (`eventid`) ON DELETE CASCADE;"Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
-
J'ai l'impression que ça vient du fait que ta base de données zabbix ne doit pas être de type utf8."Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
-
create database zabbix character set utf8 collate utf8_bin;"Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
-
Bonjour,
est-ce que tu peux juste essayer la création de la table "problem_tag" pour voir ?
CREATE TABLE `problem_tag` (
`problemtagid` bigint unsigned NOT NULL,
`eventid` bigint unsigned NOT NULL,
`tag` varchar(255) DEFAULT '' NOT NULL,
`value` varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (problemtagid)
) ENGINE=InnoDB;
"Estimez la taille de votre base de données Zabbix: http://tools.izi-it.io
"Rejoignez le ZABBIX Discord francophone https://discordapp.com/invite/hvauXEQ"
"izi-it.io / ZABBIX Certified Trainer / ZABBIX French Evangelist"Comment
Comment