<?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[Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled.]]></title><description><![CDATA[<p dir="auto">I recently had enabled Full Text Search (Solr) indexing now that I'm on a much more powerful dedicated server with memory to spare, and unfortunately a side-effect that was noticed was in webmail in particular (Roundcube), myself and users were experiencing this generic failure when a search was performed:</p>
<pre><code>Server Error: UID SEARCH: Internal error occurred. Refer to server log for more information. [2024-12-06 17:00:58] (0.001
+ 0.000
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1733594076252-6af81b0a-db6e-4f9b-a2b1-5b09c2fa5c57-image-resized.png" alt="6af81b0a-db6e-4f9b-a2b1-5b09c2fa5c57-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">As soon as I disabled SOLR indexing, the issue was resolved.</p>
<p dir="auto">Has anyone else experienced this? Any suggestions other than leaving it disabled for now? Not sure if this is a specific Roundcube problem or more of a Cloudron mail problem or both. Feel free to change this to the Roundcube category if needed.</p>
]]></description><link>https://forum.cloudron.io/topic/12913/searching-mail-error-server-error-uid-search-internal-error-when-full-text-search-solr-indexing-is-enabled-resolves-when-disabled</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 11:00:08 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12913.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Dec 2024 17:56:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Mon, 23 Dec 2024 06:52:57 GMT]]></title><description><![CDATA[<p dir="auto">That's great, thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=fed68e33a46" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> It seems to work now. I enabled it and followed the steps in the new documentation you linked to, and then ran <code>doveadm -c /run/dovecot.conf index -A '*'</code> from the mail container which started indexing everything. Just waiting for the indexing to finish to confirm it'll be good. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=fed68e33a46" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/98765</link><guid isPermaLink="true">https://forum.cloudron.io/post/98765</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Mon, 23 Dec 2024 06:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 19 Dec 2024 09:48:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> apologies, my instructions were not complete. I put the docs at <a href="https://docs.cloudron.io/email/#search" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/email/#search</a> sometime back and forgot to update the thread here. doveadm needs the config argument. Can you please try with those instructions?</p>
]]></description><link>https://forum.cloudron.io/post/98500</link><guid isPermaLink="true">https://forum.cloudron.io/post/98500</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 19 Dec 2024 09:48:40 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 19 Dec 2024 07:41:50 GMT]]></title><description><![CDATA[<p dir="auto">One last update, I re-enabled Solr and then followed your steps above for clearing the index, and then re-ran the <code>doveadm index -A '*'</code> and now I get a <code>400 Bad Request</code> lookup failed message instead of the <code>500 server error</code> earlier. I've disabled it again now.</p>
]]></description><link>https://forum.cloudron.io/post/98465</link><guid isPermaLink="true">https://forum.cloudron.io/post/98465</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 19 Dec 2024 07:41:50 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 19 Dec 2024 07:25:26 GMT]]></title><description><![CDATA[<p dir="auto">I also seem to get the same errors by the way if I use a command I found to immediately index all users by using: <code>doveadm index -A '*'</code> from the mail container, but it outputs the errors for each mailbox user and folder of course.</p>
<p dir="auto">Any suggestions on next steps?</p>
]]></description><link>https://forum.cloudron.io/post/98464</link><guid isPermaLink="true">https://forum.cloudron.io/post/98464</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 19 Dec 2024 07:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 19 Dec 2024 07:19:04 GMT]]></title><description><![CDATA[<p dir="auto">I disabled Solr for now to avoid any issues with my clients. I'd love to make this work though, I'm not sure how to find out what's going wrong with it. The logs don't seem to show anything that I can find. Is there perhaps Solr logs on their own that I'm missing?</p>
]]></description><link>https://forum.cloudron.io/post/98463</link><guid isPermaLink="true">https://forum.cloudron.io/post/98463</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 19 Dec 2024 07:19:04 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 19 Dec 2024 07:13:45 GMT]]></title><description><![CDATA[<p dir="auto">I just enabled Solr and then immediately went into the mail container and see the following errors (which seems to jive closely with what webmail returned earlier):</p>
<pre><code>root@3cbcbbb04246:/app/code/haraka# doveadm index -u &lt;redacted&gt; '*'
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Trash: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Junk: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Archive: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Deleted Messages: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Sent Messages: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Receipts: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Spam: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Drafts: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox Sent: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
doveadm(&lt;redacted&gt;): Error: fts_solr: Lookup failed: 500 Server Error
doveadm(&lt;redacted&gt;): Error: Mailbox INBOX: Status lookup failed: Internal error occurred. Refer to server log for more information. [2024-12-19 07:11:18]
</code></pre>
]]></description><link>https://forum.cloudron.io/post/98462</link><guid isPermaLink="true">https://forum.cloudron.io/post/98462</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 19 Dec 2024 07:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 19 Dec 2024 07:06:02 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>, I'll try that. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=fed68e33a46" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/98461</link><guid isPermaLink="true">https://forum.cloudron.io/post/98461</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 19 Dec 2024 07:06:02 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Tue, 17 Dec 2024 20:58:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> If you exec into the mail container, you can run <code>doveadm index -u mail@domain.com '*'</code>  . That does the indexing . Maybe the solr index got corrupt and it's throwing some errors?</p>
<p dir="auto">You can also see the logs in <code>/run/solr/solr.log</code></p>
<p dir="auto">To clear the index:</p>
<ul>
<li>Exec into the mail container (docker exec -ti mail /bin/bash)</li>
<li>supervisorctl stop dovecot</li>
<li>supervisorctl stop solr</li>
<li>rm -rf /app/data/solr/dovecot</li>
<li>supervisorctl start solr</li>
<li>gosu cloudron:cloudron /app/code/solr/bin/solr create -c dovecot</li>
<li>supervisorctl start dovecot</li>
<li>doveadm index -u <a href="mailto:mail@domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">mail@domain.com</a> '*'</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/98372</link><guid isPermaLink="true">https://forum.cloudron.io/post/98372</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 17 Dec 2024 20:58:28 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Thu, 12 Dec 2024 13:10:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> let me test and report back the exact behavior . would be nice to have this documented as well...</p>
]]></description><link>https://forum.cloudron.io/post/98141</link><guid isPermaLink="true">https://forum.cloudron.io/post/98141</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 12 Dec 2024 13:10:34 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Wed, 11 Dec 2024 17:34:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>, now I’m starting to wonder if the thing was just indexing then that particular mailbox. The mailbox they have is around 15 GB, so 150 minutes approximately would be “down” for searching after they initiate the first search. If that is what was happening… I wonder… is there a way from the command line I can trigger it to index all mailboxes that haven’t been indexed already? My thinking is I could have it running overnight and then when they walk in to start the day it works as expected for them.</p>
]]></description><link>https://forum.cloudron.io/post/98104</link><guid isPermaLink="true">https://forum.cloudron.io/post/98104</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Wed, 11 Dec 2024 17:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Wed, 11 Dec 2024 17:29:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> there’s about 70 GB of mail on my server at the moment, so at that rate I guess it should be done in approximately 700 minutes (less than 12 hours) but even if we gave it 24 hours… 1-2 days seems like way too long then. The problem is my client uses webmail (Roundcube) exclusively and it’s dealing with medical stuff so I can’t really have the search failing like that as they rely on search heavily.</p>
<p dir="auto">My intention of enabling it was to speed up the search even faster than it is, but it ended up blowing up in my face, lol.</p>
<p dir="auto">Is there perhaps anything else I can try or is recommended for me to do or monitor if I were to try enabling it again? Anything in the logs I should be searching for? I didn’t find anything relevant in the logs even though the webmail client says to check the logs when it throws that error, so it was hard to know if it just wasn’t logged or if it was perhaps logged somewhere else.</p>
]]></description><link>https://forum.cloudron.io/post/98103</link><guid isPermaLink="true">https://forum.cloudron.io/post/98103</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Wed, 11 Dec 2024 17:29:02 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Wed, 11 Dec 2024 10:37:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> 1-2 days seems quite a lot. I know that when you search the very first time, dovecot starts putting stuff into solr. There is a progress shown in the IMAP connection but most mail clients don't show it to the user .</p>
<p dir="auto">As noted in <a href="https://docs.cloudron.io/email/#full-text-search" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/email/#full-text-search</a> , it might take even 10mins for 1GB of mail. Unfortunately, there is no way around this AFAIK. Also, only search is blocked and not checking emails . But of course, this depends on how the mail client deals with connections (it has to open a separate connection to check mails).</p>
]]></description><link>https://forum.cloudron.io/post/98079</link><guid isPermaLink="true">https://forum.cloudron.io/post/98079</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 11 Dec 2024 10:37:31 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Mon, 09 Dec 2024 16:18:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I hadn’t tried with a small mailbox to be fair, it was a larger one who noted it to me and my own account is fairly large too and I was able to easily reproduce it. Assumed at the time it was impacting everyone but that’s just a guess.</p>
<p dir="auto">I had enabled the indexing though about 1-2 days before this issue was seen… is it expected to take that long to index everything? Is there a way to mitigate the indexing impact at all? Perhaps pausing when a user issues a search query?</p>
]]></description><link>https://forum.cloudron.io/post/97992</link><guid isPermaLink="true">https://forum.cloudron.io/post/97992</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Mon, 09 Dec 2024 16:18:39 GMT</pubDate></item><item><title><![CDATA[Reply to Searching mail error &quot;Server Error: UID SEARCH: Internal error&quot; when Full Text Search (Solr) indexing is enabled, resolves when disabled. on Mon, 09 Dec 2024 13:19:20 GMT]]></title><description><![CDATA[<p dir="auto">I have seen this happen when the indexing is busy the first time around. Do you see this happen with small mailbxoes as well? If so, you might just have to wait till the large mailboxes finish indexing before searching.</p>
]]></description><link>https://forum.cloudron.io/post/97985</link><guid isPermaLink="true">https://forum.cloudron.io/post/97985</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 09 Dec 2024 13:19:20 GMT</pubDate></item></channel></rss>