<?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[Trouble with SQL]]></title><description><![CDATA[<p dir="auto">I use the Manjaro Cinnammon operating system.</p>
<p dir="auto">I had problems with Strawberry in both versions: stable and Flatpak.</p>
<p dir="auto">I installed it normally, continued using it for days and suddenly it stopped working and warnings like this appeared:</p>
<p dir="auto">"*Unable to execute SQL query: database disk image is malformed.</p>
<p dir="auto">Failed SQL query: SELECT COUNT(<em>) FROM songs WHERE unavailable = 0</em> "</p>
<p dir="auto">Is there any solution for ![alt text](image url)this?<br />
Any commands to type in the terminal that can make the player work again?</p>
<p dir="auto">I really like this player and would like to use it again.</p>
<p dir="auto"><img src="/assets/uploads/files/1720019500234-captura-de-tela-de-2024-07-03-12-09-57.png" alt="Captura de tela de 2024-07-03 12-09-57.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/1687/trouble-with-sql</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 20:00:15 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/1687.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Jul 2024 15:11:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble with SQL on Fri, 05 Jul 2024 15:48:41 GMT]]></title><description><![CDATA[<p dir="auto">I did what you recommended and was unable to get the player to work again. This is sad, because since last year, the Strawberry player has always worked well. I don't think there's anything else to do...</p>
<p dir="auto">Well, thanks for helping me.</p>
<p dir="auto"><img src="/assets/uploads/files/1720194357566-captura-de-tela-de-2024-07-05-12-43-57.png" alt="Captura de tela de 2024-07-05 12-43-57.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1720194357596-captura-de-tela-de-2024-07-05-12-45-32.png" alt="Captura de tela de 2024-07-05 12-45-32.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/3970</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/3970</guid><dc:creator><![CDATA[henriquepz45]]></dc:creator><pubDate>Fri, 05 Jul 2024 15:48:41 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with SQL on Wed, 03 Jul 2024 18:45:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/2515">@henriquepz45</a><br />
You should see simply "ok" if the database is good.<br />
But you should also see some output if the database has issues.</p>
<p dir="auto">You can try:<br />
<code>sqlite3 ~/.local/share/strawberry/strawberry/strawberry.db</code><br />
and enter <code>pragma integrity_check;</code></p>
<p dir="auto">You can also try the following.:</p>
<pre><code>vacuum;
REINDEX;
</code></pre>
<p dir="auto">enter <code>.quit</code> to exit.</p>
<p dir="auto">Also check that your disk is not full.</p>
<p dir="auto">If that doesn't solve it:</p>
<p dir="auto">If you don't mind loosing your indexed collection and playlist you can simply delete the database file  <code>strawberry.db</code> and it will automatically create a new on startup.</p>
<p dir="auto">Otherwise there are some steps for possible recovery here: <a href="https://www.sqlite.org/recovery.html" rel="nofollow ugc">https://www.sqlite.org/recovery.html</a></p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/3936</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/3936</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Wed, 03 Jul 2024 18:45:17 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with SQL on Wed, 03 Jul 2024 18:10:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/1">@jonas</a> I did this, typed the command suggested for Linux in the terminal:</p>
<p dir="auto">sqlite3 ~/.local/share/strawberry/strawberry/strawberry.db "pragma integrity_check</p>
<p dir="auto">And nothing happened. I opened Strawberry and that warning appeared again, unfortunately.</p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/3935</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/3935</guid><dc:creator><![CDATA[henriquepz45]]></dc:creator><pubDate>Wed, 03 Jul 2024 18:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble with SQL on Wed, 03 Jul 2024 15:17:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://forum.strawberrymusicplayer.org/uid/2515">@henriquepz45</a><br />
Close strawberry and check the database for errors:</p>
<p dir="auto"><a href="https://wiki.strawberrymusicplayer.org/wiki/Database_integrity_check" rel="nofollow ugc">https://wiki.strawberrymusicplayer.org/wiki/Database_integrity_check</a></p>
]]></description><link>https://forum.strawberrymusicplayer.org/post/3933</link><guid isPermaLink="true">https://forum.strawberrymusicplayer.org/post/3933</guid><dc:creator><![CDATA[jonas]]></dc:creator><pubDate>Wed, 03 Jul 2024 15:17:41 GMT</pubDate></item></channel></rss>