<?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[Chat logs lost after update from 1.19 -> 1.20]]></title><description><![CDATA[<p dir="auto">All my TheLounge chat logs have been lost. After testing backups I found the first backup missing logs occurred in the update from 1.19 to 1.20 on 12/15. I have archived the last good backup so they're not completely destroyed.</p>
<p dir="auto">Maybe related to the change mentioned in <a href="https://forum.cloudron.io/topic/10644/lounge-backups-regularly-stalling">Lounge backups regularly stalling</a>?</p>
<p dir="auto">Cloudron should take these actions at minimum:</p>
<ul>
<li>Affected users should be notified (anyone running TheLounge app) and instructed to archive the last 1.19 backup ASAP</li>
<li>Identify the cause of the lost logs (just a mishap in the transition to symlinked logs?)</li>
<li>Validate that logs are still being backed up at all</li>
<li>Come up with a strategy to merge logs from the backup with the logs generated between 12/15 and today.</li>
</ul>
]]></description><link>https://forum.cloudron.io/topic/10677/chat-logs-lost-after-update-from-1-19-1-20</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 17:56:36 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10677.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Dec 2023 23:49:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 22:22:30 GMT]]></title><description><![CDATA[<p dir="auto">It looks like it's working now.</p>
]]></description><link>https://forum.cloudron.io/post/86574</link><guid isPermaLink="true">https://forum.cloudron.io/post/86574</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sun, 07 Apr 2024 22:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 20:29:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> said in <a href="/post/86567">Chat logs lost after update from 1.19 -&gt; 1.20</a>:</p>
<blockquote>
<p dir="auto">I updated to package version io.github.thelounge@1.20.1-1 and I still see that logs is a symlink to the ephemeral run directory:</p>
</blockquote>
<p dir="auto">My bad, that symlink has to get deleted. I pushed another package now, can you please check?</p>
]]></description><link>https://forum.cloudron.io/post/86569</link><guid isPermaLink="true">https://forum.cloudron.io/post/86569</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 Apr 2024 20:29:10 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 20:22:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> said in <a href="/post/86559">Chat logs lost after update from 1.19 -&gt; 1.20</a>:</p>
<blockquote>
<p dir="auto">Oh. So because logs were assumed to be app logs and redirected to the ephemeral /run directory so they were not backed up.</p>
</blockquote>
<p dir="auto">yes, pretty much <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /></p>
<blockquote>
<p dir="auto">How did this issue persist when we had a whole discussion about how logs are chat logs not app logs nearly 6 months ago?</p>
</blockquote>
<p dir="auto">I think this just fell through the cracks. We didn't investigate further and lost track.</p>
]]></description><link>https://forum.cloudron.io/post/86568</link><guid isPermaLink="true">https://forum.cloudron.io/post/86568</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 Apr 2024 20:22:12 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 19:42:05 GMT]]></title><description><![CDATA[<p dir="auto">I updated to package version io.github.thelounge@1.20.1-1 and I still see that logs is a symlink to the ephemeral run directory:</p>
<p dir="auto"><img src="/assets/uploads/files/1712518815198-d9b58096-719a-4ee1-a935-aee726d33747-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/86567</link><guid isPermaLink="true">https://forum.cloudron.io/post/86567</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sun, 07 Apr 2024 19:42:05 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 17:33:23 GMT]]></title><description><![CDATA[<p dir="auto">Oh. So because logs were assumed to be app logs and redirected to the ephemeral /run directory so they were not backed up.</p>
<p dir="auto">How did this issue persist when we had a whole discussion about how logs are chat logs not app logs nearly 6 months ago?</p>
]]></description><link>https://forum.cloudron.io/post/86559</link><guid isPermaLink="true">https://forum.cloudron.io/post/86559</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sun, 07 Apr 2024 17:33:23 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 17:27:47 GMT]]></title><description><![CDATA[<p dir="auto">Backups cover a lot of sins. I still have the archived backup from the last time this happened.</p>
<p dir="auto">Now we need a process for restoring the chat logs. I guess we can start by cloning the app from an old backup, but I'm not sure how to copy files between containers. Any ideas?</p>
]]></description><link>https://forum.cloudron.io/post/86558</link><guid isPermaLink="true">https://forum.cloudron.io/post/86558</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sun, 07 Apr 2024 17:27:47 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 10:51:27 GMT]]></title><description><![CDATA[<p dir="auto">New package is out. Unfortunately, the old versions still lose the irc logs <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /></p>
]]></description><link>https://forum.cloudron.io/post/86537</link><guid isPermaLink="true">https://forum.cloudron.io/post/86537</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 Apr 2024 10:51:27 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 10:09:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> the package incorrectly assumes that logs directory is app logs. It's actually the irc logs (messages). I am making a new package.</p>
<p dir="auto">Usually, this is caught in our tests... But unfortunately, thelounge has no proper tests because this is not easy to test....</p>
]]></description><link>https://forum.cloudron.io/post/86534</link><guid isPermaLink="true">https://forum.cloudron.io/post/86534</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 Apr 2024 10:09:25 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 09:27:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/79752">Chat logs lost after update from 1.19 -&gt; 1.20</a>:</p>
<blockquote>
<p dir="auto">I wonder how we can reproduce this.</p>
</blockquote>
<p dir="auto">Try what <a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> suggested above?</p>
]]></description><link>https://forum.cloudron.io/post/86531</link><guid isPermaLink="true">https://forum.cloudron.io/post/86531</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 07 Apr 2024 09:27:32 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sun, 07 Apr 2024 04:32:17 GMT]]></title><description><![CDATA[<p dir="auto">Ok well the new update loses chat logs again. I guess I can't use cloudron for irc.</p>
]]></description><link>https://forum.cloudron.io/post/86517</link><guid isPermaLink="true">https://forum.cloudron.io/post/86517</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sun, 07 Apr 2024 04:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sat, 23 Dec 2023 10:51:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> said in <a href="/post/79777">Chat logs lost after update from 1.19 -&gt; 1.20</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> In case you haven't already, I would strongly recommend that you pin the latest 1.19 backup so that it's not automatically cleaned up before this is sorted out.</p>
</blockquote>
<p dir="auto">Thanks, good idea! But in my case I'm really not bothered about this as there aren't really any important messages there.</p>
]]></description><link>https://forum.cloudron.io/post/79782</link><guid isPermaLink="true">https://forum.cloudron.io/post/79782</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sat, 23 Dec 2023 10:51:21 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Sat, 23 Dec 2023 05:29:42 GMT]]></title><description><![CDATA[<p dir="auto">My guess is that they are destroyed when upgrading to version 1.20 of the app, due to a change in the message history storage location described in the <em>Lounge backups regularly stalling</em> topic linked in the opening post of this thread. Maybe there's some mishap when 1.20+ is restoring files from a backup made at 1.19 or earlier.</p>
<p dir="auto">This indicates a potential reproduction strategy:</p>
<ol>
<li>Create a new The Lounge app at version 1.19</li>
<li>Log in and create some chat history</li>
<li>Stop the app, validate the logs are present on the fs, and create a backup</li>
<li>Upgrade the app to 1.20, observe the chat history is missing</li>
</ol>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> In case you haven't already, I would strongly recommend that you pin the latest 1.19 backup so that it's not automatically cleaned up before this is sorted out.</p>
]]></description><link>https://forum.cloudron.io/post/79777</link><guid isPermaLink="true">https://forum.cloudron.io/post/79777</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sat, 23 Dec 2023 05:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Fri, 22 Dec 2023 12:53:46 GMT]]></title><description><![CDATA[<p dir="auto">yeah, <a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> obviously isn't really talking about logs, but about chat message history.</p>
<p dir="auto">I just checked my install too and can confirm that every channel I'm in now only scrolls back to 14 Dec, which is indeed when the update from Cloudron package 1.19.0 to 1.20.0 happened.</p>
]]></description><link>https://forum.cloudron.io/post/79759</link><guid isPermaLink="true">https://forum.cloudron.io/post/79759</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 22 Dec 2023 12:53:46 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Fri, 22 Dec 2023 11:23:02 GMT]]></title><description><![CDATA[<p dir="auto">I see we are talking about different log types then. App logs are things like debug messages, those are logrotated. The chat history (logs) should not be purged if I would understand the app correctly. Possibly a bug then? I wonder how we can reproduce this.</p>
]]></description><link>https://forum.cloudron.io/post/79752</link><guid isPermaLink="true">https://forum.cloudron.io/post/79752</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 22 Dec 2023 11:23:02 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Fri, 22 Dec 2023 06:24:14 GMT]]></title><description><![CDATA[<p dir="auto">Sorry I didn't see your message until now.</p>
<p dir="auto">Yes all chat logs were lost. I don't think it's a good idea to purge chat logs automatically. I have logs of dozens of channels over 10 years and it really doesn't take up that much space if you avoid channels with huge amounts of spam.</p>
<p dir="auto">IRC has no mechanism for storing messages, the server only transmits them. If you're not present in the channel and store them yourself then you just miss those messages, including direct messages. This is the benefit and primary purpose of using an IRC bouncer, it stays connected so you can see and store chat history yourself.</p>
]]></description><link>https://forum.cloudron.io/post/79743</link><guid isPermaLink="true">https://forum.cloudron.io/post/79743</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Fri, 22 Dec 2023 06:24:14 GMT</pubDate></item><item><title><![CDATA[Reply to Chat logs lost after update from 1.19 -> 1.20 on Mon, 18 Dec 2023 12:28:20 GMT]]></title><description><![CDATA[<p dir="auto">Do you mean chat history or which kind of logs are these? Log files are purged every now and then like in all packages.</p>
<p dir="auto">Given that Lounge is an IRC client, isn't history stored on the IRC server side? I haven't used IRC in a long time though to remember the behavior.</p>
]]></description><link>https://forum.cloudron.io/post/79584</link><guid isPermaLink="true">https://forum.cloudron.io/post/79584</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 18 Dec 2023 12:28:20 GMT</pubDate></item></channel></rss>