<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cloudron update recreated docker cloudron network causing database connectivity issues for all apps]]></title><description><![CDATA[<p dir="auto">Hi team,</p>
<p dir="auto">After upgrading to 9.1.7 and a few days later responding to the "reboot required" reminder email, none of my apps would come back up properly - some reported database connection errors so after staring at the logs for a while I set Claude loose on my environment to try and figure out what was going on.</p>
<p dir="auto">After about an hour of token burning I believe the root cause was:</p>
<p dir="auto"><strong>Root cause:</strong> Cloudron's update recreated the Docker cloudron network, assigning a new bridge ID (<code>br-redacted</code>). The nftables <code>ip raw PREROUTING</code> chain had stale security rules from the OLD bridge ID (<code>br-also-redacted</code>). These stale rules appeared BEFORE the new bridge's rules and dropped all container-to-database packets at the raw level — BEFORE the FORWARD chain was even reached.</p>
<p dir="auto"><strong>Why:</strong> Cloudron adds new bridge rules to <code>ip raw PREROUTING</code> when the network is created but does NOT remove old rules for the previous bridge ID. Old rules silently drop all traffic from containers on the new bridge to database IPs.</p>
<p dir="auto"><strong>How to diagnose:</strong></p>
<ol>
<li>Check <code>sudo nft list table ip raw</code> for rules with old bridge IDs that DROP container IPs</li>
<li>Look for high counters on <code>iifname != "br-XXXXXXXX"</code> rules — that's the stale rule doing the dropping</li>
<li>The iptables FORWARD chain counter for the database IP will show 0 (packets never reach FORWARD)</li>
<li>tcpdump on the veth shows SYNs leaving the container, but no SYN-ACKs return</li>
</ol>
<p dir="auto"><strong>Fix:</strong></p>
<pre><code class="language-bash">sudo nft -a list chain ip raw PREROUTING | grep br-&lt;OLD-ID&gt;  # find stale rule handles
sudo nft delete rule ip raw PREROUTING handle &lt;N&gt;             # delete each stale rule
</code></pre>
<p dir="auto">Delete all rules referencing the old bridge ID. The new bridge rules (for the current bridge) remain and are correct.</p>
<p dir="auto"><strong>How to apply:</strong> After any Cloudron update that changes the Docker network bridge ID, check <code>nft list table ip raw</code> for stale bridge rules. Also check after any reboot where Docker recreation of the cloudron network is suspected.</p>
<p dir="auto">Hopefully this helps anyone else who encounters this issue - it may be isolated to me, I don't know, but I'm really impressed that Claude was able to figure this out.</p>
<p dir="auto"><strong>Logs:</strong> I did not capture the <code>cloudron-support --troubleshoot</code> for this case as I've resolved the issue, but can do if the dev team thinks this will help them figure out what went wrong.</p>
]]></description><link>https://forum.cloudron.io/topic/15490/cloudron-update-recreated-docker-cloudron-network-causing-database-connectivity-issues-for-all-apps</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 10:48:50 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15490.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 May 2026 05:06:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cloudron update recreated docker cloudron network causing database connectivity issues for all apps on Thu, 07 May 2026 06:12:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/leighmhart" aria-label="Profile: leighmhart">@<bdi>leighmhart</bdi></a> and welcome to the Cloudron forum</p>
<p dir="auto">Thanks for the detailed report.<br />
We will have to look into this.</p>
]]></description><link>https://forum.cloudron.io/post/124465</link><guid isPermaLink="true">https://forum.cloudron.io/post/124465</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 07 May 2026 06:12:44 GMT</pubDate></item></channel></rss>