<?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[Issue indexer queue not getting processed, 8000+ unfinished jobs]]></title><description><![CDATA[<p dir="auto">This instance is a couple of years old, so it's been through some updates, and one server migration.</p>
<p dir="auto">I tried deleting <code>/app/data/appdata/indexers</code> in order to try and rebuild the indexing but since found that workers do not process that queue anyway. The issue indexer work queue is building up without getting worked on. Adding workers manually doesn’t help.</p>
<p dir="auto">I found a <a href="https://blog.gitea.io/2021/08/gitea-1.15.0-is-released/#-change-default-queue-settings-to-be-low-go-routines-15964httpsgithubcomgo-giteagiteapull15964" target="_blank" rel="noopener noreferrer nofollow ugc">note</a> for a recommendation from the 1.15 release, stating:</p>
<blockquote>
<p dir="auto">It is recommended to ensure that queues are empty before upgrading using <code>gitea manager flush-queues</code> or on the admin pages.</p>
</blockquote>
<p dir="auto">Should I do that?</p>
]]></description><link>https://forum.cloudron.io/topic/8423/issue-indexer-queue-not-getting-processed-8000-unfinished-jobs</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 16:55:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8423.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2023 09:58:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Fri, 27 Jan 2023 10:37:48 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> Setting</p>
<pre><code>[indexer]
ISSUE_INDEXER_TYPE=db
</code></pre>
<p dir="auto">in <code>app.ini</code> solved the issue immediately. Thanks alot!</p>
<p dir="auto">Now I'm curious to know what <code>db</code> means in this context (but the urgency is gone <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f605.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--sweat_smile" style="height:23px;width:auto;vertical-align:middle" title=":sweat_smile:" alt="😅" />). Should the Cloudron package have db as ISSUE_INDEXER_TYPE out of the box, for example?</p>
<p dir="auto">Some Cloudron app config data got alot of legacy files from earlier versions, so sometimes it's hard to know what the true good defaults are.</p>
]]></description><link>https://forum.cloudron.io/post/60936</link><guid isPermaLink="true">https://forum.cloudron.io/post/60936</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Fri, 27 Jan 2023 10:37:48 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Fri, 20 Jan 2023 13:55:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yusf" aria-label="Profile: yusf">@<bdi>yusf</bdi></a> I guess we have to ask upstream for ideas...</p>
<p dir="auto">But I found <a href="https://github.com/go-gitea/gitea/issues/17563" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/go-gitea/gitea/issues/17563</a> . It suggests changing the indexer to db instead of the default bleve. Don't know if that will help your case.</p>
<p dir="auto">I think another idea is to figure where these jobs are stored and clear that. There is a <code>task</code> table, probably there?</p>
]]></description><link>https://forum.cloudron.io/post/60558</link><guid isPermaLink="true">https://forum.cloudron.io/post/60558</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 20 Jan 2023 13:55:25 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Mon, 16 Jan 2023 10:19:05 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> Must've got it wrong somehow. Anyway, <code>--debug</code> only adds one line of little insight:</p>
<pre><code>sudo -u git /home/git/gitea/gitea -c /run/gitea/app.ini manager flush-queues --debug
2023/01/16 09:45:29 ...dules/git/command.go:213:Run() [D] /usr/bin/git version
flush timeout with non-empty queues: issue_indexer</code></pre>
]]></description><link>https://forum.cloudron.io/post/60177</link><guid isPermaLink="true">https://forum.cloudron.io/post/60177</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Mon, 16 Jan 2023 10:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Fri, 13 Jan 2023 14:28:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yusf" aria-label="Profile: yusf">@<bdi>yusf</bdi></a> said in <a href="/post/60008">Issue indexer queue not getting processed, 8000+ unfinished jobs</a>:</p>
<blockquote>
<p dir="auto">With what command? At least not gitea manager flush-queues.</p>
</blockquote>
<p dir="auto">yes, <code>--debug</code> is an option for that command.</p>
]]></description><link>https://forum.cloudron.io/post/60015</link><guid isPermaLink="true">https://forum.cloudron.io/post/60015</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 13 Jan 2023 14:28:34 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Fri, 13 Jan 2023 13:41:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> I have skimmed the logs but I haven't seen any abnormalities (though logs are quite verbose). I don't know what a stacktrace is.</p>
]]></description><link>https://forum.cloudron.io/post/60009</link><guid isPermaLink="true">https://forum.cloudron.io/post/60009</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Fri, 13 Jan 2023 13:41:05 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Fri, 13 Jan 2023 13:39:46 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> said in <a href="/post/60002">Issue indexer queue not getting processed, 8000+ unfinished jobs</a>:</p>
<blockquote>
<p dir="auto">--debug</p>
</blockquote>
<p dir="auto">With what command? At least not <code>gitea manager flush-queues</code>. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
]]></description><link>https://forum.cloudron.io/post/60008</link><guid isPermaLink="true">https://forum.cloudron.io/post/60008</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Fri, 13 Jan 2023 13:39:46 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Fri, 13 Jan 2023 12:18:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yusf" aria-label="Profile: yusf">@<bdi>yusf</bdi></a> For me that command says "Flushed" instantly. Maybe something is stuck in the queue. Looks like you can pass a "--debug" flag to the command. Can you see what it's doing?</p>
]]></description><link>https://forum.cloudron.io/post/60002</link><guid isPermaLink="true">https://forum.cloudron.io/post/60002</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 13 Jan 2023 12:18:47 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Thu, 12 Jan 2023 16:30:42 GMT]]></title><description><![CDATA[<p dir="auto">I'm using Gitea for quite some years as well and this got me curious. The current queue can be seen in the webinterface of Gitea at <code>https://your-domain/admin/monitor</code>. My queues however are at <code>0</code>.</p>
<p dir="auto">If you have not done yet I would check the logs of gitea if there are any abnormalities in regards to queue handling. Error messages at startup?</p>
<p dir="auto">The same website also allows to see stacktraces for the running processes.</p>
<p dir="auto">In the end it may be a bug within Gitea that would need reporting and fixing upstream.</p>
]]></description><link>https://forum.cloudron.io/post/59959</link><guid isPermaLink="true">https://forum.cloudron.io/post/59959</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Thu, 12 Jan 2023 16:30:42 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Thu, 12 Jan 2023 14:59:08 GMT]]></title><description><![CDATA[<p dir="auto">The queue has still not being processed, but 13000 flush workes (and probably counting) have seemingly been added.</p>
<p dir="auto">I’d really appreciate some help before this instance blows up <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f605.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--sweat_smile" style="height:23px;width:auto;vertical-align:middle" title="😅" alt="😅" /></p>
]]></description><link>https://forum.cloudron.io/post/59956</link><guid isPermaLink="true">https://forum.cloudron.io/post/59956</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Thu, 12 Jan 2023 14:59:08 GMT</pubDate></item><item><title><![CDATA[Reply to Issue indexer queue not getting processed, 8000+ unfinished jobs on Wed, 11 Jan 2023 12:48:50 GMT]]></title><description><![CDATA[<p dir="auto">I went ahead and tried to flush the queue:</p>
<pre><code>sudo -u git /home/git/gitea/gitea -c /run/gitea/app.ini  manager flush-queues --timeout 20m
</code></pre>
<p dir="auto">but even with that generous timeout value it timed out:</p>
<pre><code>flush timeout with non-empty queues: issue_indexer
</code></pre>
<p dir="auto">I've little to no idea of what I'm doing here btw.</p>
]]></description><link>https://forum.cloudron.io/post/59872</link><guid isPermaLink="true">https://forum.cloudron.io/post/59872</guid><dc:creator><![CDATA[yusf]]></dc:creator><pubDate>Wed, 11 Jan 2023 12:48:50 GMT</pubDate></item></channel></rss>