<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — In-place upgrade from Alma/Rocky 8 to 9]]></title>
		<link>https://forum.iredmail.org/topic20636-inplace-upgrade-from-almarocky-8-to-9.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20636.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in In-place upgrade from Alma/Rocky 8 to 9.]]></description>
		<lastBuildDate>Wed, 06 Nov 2024 19:38:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: In-place upgrade from Alma/Rocky 8 to 9]]></title>
			<link>https://forum.iredmail.org/post89823.html#p89823</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>george wrote:</cite><blockquote><p>I suspect that doing so would be quite safe, as long as the version of PostgreSQL stays the same.</p></blockquote></div><p>The one you need to take care of is Dovecot, not PostgreSQL.</p><p>- Setup a new VM with Alma 9 first, so that you have a working Dovecot config files for reference.<br />- Then upgrade Alma 8 in place.<br />- If there&#039;s something wrong, check log files to figure it out by comparing config files on both machines.</p><p>If there&#039;s something you need to change after in-place OS upgrade, please do let us know, so that we can publish a tutorial to benefit other iRedMail users.</p></blockquote></div><p>Zhang, I have much of the upgrade-in-place documented and I&#039;ll happily put it on this thread.&nbsp; Dovecot seems to have moved easily.&nbsp; The upgrade of Postgresql required a bit more effort, but I documented that as well.&nbsp; For some reason python3-sqlalchemy either wasn&#039;t installed on my test system or it got uninstalled in the upgrade.</p><p>The last item I need to get worked out has to do with the ebpf.plugin that seems to be part of netdata.&nbsp; I see groups of entries in /var/log/messages like this:</p><p>Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: time=2024-11-06T14:04:20.739-05:00 comm=ebpf.plugin source=collector level=warning tid=8983&nbsp; msg=&quot;Failed to initialize journal. Using stderr.&quot;<br />Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: time=2024-11-06T14:04:20.740-05:00 comm=ebpf.plugin source=collector level=info errno=&quot;2, No such file or directory&quot; tid=8983&nbsp; msg=&quot;Does not have a configuration file inside `/opt/netdata/etc/netdata/ebpf.d.conf. It will try to load stock file.&quot;<br />Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: time=2024-11-06T14:04:20.751-05:00 comm=ebpf.plugin source=collector level=info tid=8983&nbsp; msg=&quot;Name resolution is disabled, collector will not parse \&quot;hostnames\&quot; list.&quot;<br />Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: time=2024-11-06T14:04:20.752-05:00 comm=ebpf.plugin source=collector level=info errno=&quot;2, No such file or directory&quot; tid=8983&nbsp; msg=&quot;Cannot read process groups configuration file &#039;/opt/netdata/etc/netdata/apps_groups.conf&#039;. Will try &#039;/opt/netdata/usr/lib/netdata/conf.d/apps_groups.conf&#039;&quot;<br />Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: time=2024-11-06T14:04:20.754-05:00 comm=ebpf.plugin source=collector level=info errno=&quot;2, No such file or directory&quot; tid=8983&nbsp; msg=&quot;PROCFILE: Cannot open file &#039;/proc/8879/status&#039;&quot;<br />Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: time=2024-11-06T14:04:20.755-05:00 comm=ebpf.plugin source=collector level=error tid=8983&nbsp; msg=&quot;Cannot open /proc/8879/status&quot;<br />Nov&nbsp; 6 14:04:20 mail-2.local.com netdata[8983]: libbpf: elf: failed to open /opt/netdata/usr/libexec/netdata/plugins.d/ebpf.d/rnetdata_ebpf_softirq.5.14.rhf.o: No such file or directory<br />Nov&nbsp; 6 14:04:41 mail-2.local.com kernel: ebpf.plugin[8983]: segfault at 10 ip 000000000095caad sp 00007ffd2cb63f58 error 4 in ebpf.plugin[401000+571000] likely on CPU 0 (core 0, socket 0)</p><p>I don&#039;t think these are normal.&nbsp; Do you have any suggestion for what would be causing these?</p><p>Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (george)]]></author>
			<pubDate>Wed, 06 Nov 2024 19:38:57 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89823.html#p89823</guid>
		</item>
		<item>
			<title><![CDATA[Re: In-place upgrade from Alma/Rocky 8 to 9]]></title>
			<link>https://forum.iredmail.org/post89695.html#p89695</link>
			<description><![CDATA[<div class="quotebox"><cite>george wrote:</cite><blockquote><p>I suspect that doing so would be quite safe, as long as the version of PostgreSQL stays the same.</p></blockquote></div><p>The one you need to take care of is Dovecot, not PostgreSQL.</p><p>- Setup a new VM with Alma 9 first, so that you have a working Dovecot config files for reference.<br />- Then upgrade Alma 8 in place.<br />- If there&#039;s something wrong, check log files to figure it out by comparing config files on both machines.</p><p>If there&#039;s something you need to change after in-place OS upgrade, please do let us know, so that we can publish a tutorial to benefit other iRedMail users.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 10 Oct 2024 00:50:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89695.html#p89695</guid>
		</item>
		<item>
			<title><![CDATA[In-place upgrade from Alma/Rocky 8 to 9]]></title>
			<link>https://forum.iredmail.org/post89694.html#p89694</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.0<br />- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer<br />- Linux/BSD distribution name and version: AlmaLinux 8<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL<br />- Web server (Apache or Nginx): nginx<br />- Manage mail accounts with iRedAdmin-Pro? No<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>I am wondering if anyone has attempted to do an in-place upgrade of the underlying Linux system from Alma/Rocky/CentOS/RHEL 8 to v9.&nbsp; I suspect that doing so would be quite safe, as long as the version of PostgreSQL stays the same.</p><p>Has anyone tested this yet?</p><p>Zhang, do you think this is advisable to do?&nbsp; Or do you recommend that a new server be set up with iRedMail of the same version and then we do a migration of all the data?</p><p>Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (george)]]></author>
			<pubDate>Wed, 09 Oct 2024 20:18:42 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89694.html#p89694</guid>
		</item>
	</channel>
</rss>
