<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Upgrade_di_Zabbix_4.x_a_6.2</id>
	<title>Upgrade di Zabbix 4.x a 6.2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Upgrade_di_Zabbix_4.x_a_6.2"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_di_Zabbix_4.x_a_6.2&amp;action=history"/>
	<updated>2026-06-20T06:47:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Upgrade_di_Zabbix_4.x_a_6.2&amp;diff=10892&amp;oldid=prev</id>
		<title>Gabriele.vivinetto at 16:55, 2 February 2023</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_di_Zabbix_4.x_a_6.2&amp;diff=10892&amp;oldid=prev"/>
		<updated>2023-02-02T16:55:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:55, 2 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sTUB&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Stub&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[https://www.zabbix.com/forum/zabbix-help/443739-help-restoring-a-zabbix-server-without-the-history-trend-tables Help Restoring a Zabbix Server without the History &amp;amp; Trend Tables - ZABBIX Forums]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[https://www.zabbix.com/forum/zabbix-help/443739-help-restoring-a-zabbix-server-without-the-history-trend-tables Help Restoring a Zabbix Server without the History &amp;amp; Trend Tables - ZABBIX Forums]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Upgrade_di_Zabbix_4.x_a_6.2&amp;diff=10891&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: Created page with &quot;{{sTUB}}  *[https://www.zabbix.com/forum/zabbix-help/443739-help-restoring-a-zabbix-server-without-the-history-trend-tables Help Restoring a Zabbix Server without the History...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Upgrade_di_Zabbix_4.x_a_6.2&amp;diff=10891&amp;oldid=prev"/>
		<updated>2023-02-02T16:54:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{sTUB}}  *[https://www.zabbix.com/forum/zabbix-help/443739-help-restoring-a-zabbix-server-without-the-history-trend-tables Help Restoring a Zabbix Server without the History...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{sTUB}}&lt;br /&gt;
&lt;br /&gt;
*[https://www.zabbix.com/forum/zabbix-help/443739-help-restoring-a-zabbix-server-without-the-history-trend-tables Help Restoring a Zabbix Server without the History &amp;amp; Trend Tables - ZABBIX Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mysqldump --no-data zabbix &amp;gt; zabbix_backup.sql&lt;br /&gt;
&lt;br /&gt;
mysqldump --no-create-info --ignore-table=zabbix.history --ignore-table=zabbix.history_uint --ignore-table=zabbix.history_text --ignore-table=zabbix.history_log --ignore-table=zabbix.history_str --ignore-table=zabbix.trends --ignore-table=zabbix.trends_uint zabbix &amp;gt;&amp;gt; zabbix_backup.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
docker compose exec mysql-server /bin/bash&lt;br /&gt;
&lt;br /&gt;
password root_pwd&lt;br /&gt;
&lt;br /&gt;
* import DB&lt;br /&gt;
&lt;br /&gt;
*[https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/447359-unable-to-initialize-mysql-database-in-6-2-per-documentation Unable to initialize mysql database in 6.2 per documentation - ZABBIX Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
UPDATE mysql.user SET Super_Priv=&amp;#039;Y&amp;#039; WHERE user=&amp;#039;zabbix1&amp;#039; AND host=&amp;#039;%&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 7:20230126:110733.090 [Z3005] query failed: [1&lt;br /&gt;
419] You do not have the SUPER privilege and binary logging is enabled (you *might* wan&lt;br /&gt;
t to use the less safe log_bin_trust_function_creators variable) [create trigger hosts_&lt;br /&gt;
insert after insert on hosts&lt;br /&gt;
zabbix-zabbix-server-1            | for each row&lt;br /&gt;
zabbix-zabbix-server-1            | insert into changelog (object,objectid,operation,clock)&lt;br /&gt;
zabbix-zabbix-server-1            | values (1,new.hostid,1,unix_timestamp())]&lt;br /&gt;
zabbix-zabbix-server-1            |      7:20230126:110733.091 database upgrade failed&lt;br /&gt;
zabbix-zabbix-server-1            |      7:20230126:110733.103 database could be upgraded to use primary keys in history tables&lt;br /&gt;
&lt;br /&gt;
*[https://hub.docker.com/r/zabbix/zabbix-server-mysql/ zabbix/zabbix-server-mysql - Docker Image | Docker Hub]&lt;br /&gt;
&lt;br /&gt;
vi env_vars/.env_srv &lt;br /&gt;
ZBX_CACHESIZE=2G&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[https://www.zabbix.com/documentation/current/en/manual/installation/upgrade_notes_620#secure-password-hashing 10 Upgrade notes for 6.2.0]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
UPDATE users SET passwd = &amp;#039;$2a$10$ZXIvHAEP2ZM.dLXTm6uPHOMVlARXX7cqjbhM6Fn0cANzkCQBWpMrS&amp;#039; WHERE username = &amp;#039;Admin&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
After running this query, the user&amp;#039;s password will be set to zabbix. Make sure to change the default password on the first login.&lt;br /&gt;
&lt;br /&gt;
PROXY&lt;br /&gt;
&lt;br /&gt;
Installare 6.2&lt;br /&gt;
&lt;br /&gt;
pfsense&lt;br /&gt;
*[https://www.zabbix.com/forum/zabbix-help/399461-zabbix-troubles-on-pfsense Zabbix troubles on PFsense - ZABBIX Forums]&lt;br /&gt;
rm /var/db/zabbix-proxy/zabbix.db&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>