<?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[Enabling Gitea Indexer fails due to read-only file system]]></title><description><![CDATA[<p dir="auto"><a href="https://docs.gitea.io/en-us/repo-indexer/#repository-indexer" target="_blank" rel="noopener noreferrer nofollow ugc">Gitea supports indexer's</a> so that you can search across the content of the code stored in Gitea.</p>
<p dir="auto">The default configuration in the docs is to add the following to the <code>app.ini</code> file:</p>
<pre><code>[indexer]
; ...
REPO_INDEXER_ENABLED = true
REPO_INDEXER_PATH = indexers/repos.bleve
UPDATE_BUFFER_LEN = 20
MAX_FILE_SIZE = 1048576
REPO_INDEXER_INCLUDE =
REPO_INDEXER_EXCLUDE = resources/bin/**
</code></pre>
<p dir="auto">After adding this to and restarting the app I get the following errors in the logs:</p>
<pre><code>...er/issues/indexer.go:173:func2() [I] [644ad75f-12] PID 167: Initializing Issue Indexer: bleve
...exer/code/indexer.go:186:func3() [I] [644ad75f-14] PID: 167 Initializing Repository Indexer at: /home/git/gitea/indexers/repos.bleve
...xer/stats/indexer.go:38:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories
...ndexer/code/bleve.go:273:Close() [I] [644ad75f-14] PID: 167 Repository Indexer closed
...exer/code/indexer.go:200:func3() [F] [644ad75f-14] PID: 167 Unable to initialize the bleve Repository Indexer at path: /home/git/gitea/indexers/repos.bleve Error: mkdir /home/git/gitea/indexers: read-only file system
...exer/code/indexer.go:265:func4() [W] [644ad75f-14] Repository Indexer Initialization failed
341 INFO exited: gitea (exit status 1; not expected)
</code></pre>
<p dir="auto">The main heart of the problem I believe is <code>Unable to initialize the bleve Repository Indexer at path: /home/git/gitea/indexers/repos.bleve Error: mkdir /home/git/gitea/indexers: read-only file system</code>.</p>
<p dir="auto">In the <code>start.sh</code> file it has <code>crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve"</code> which appears to configure the path for the indexer that indexs issues but maybe there is another setting that needs to be set correctly.</p>
]]></description><link>https://forum.cloudron.io/topic/9122/enabling-gitea-indexer-fails-due-to-read-only-file-system</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 12:15:17 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9122.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Apr 2023 20:41:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Enabling Gitea Indexer fails due to read-only file system on Fri, 28 Apr 2023 07:37:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christophermag" aria-label="Profile: ChristopherMag">@<bdi>ChristopherMag</bdi></a> thanks!</p>
]]></description><link>https://forum.cloudron.io/post/65621</link><guid isPermaLink="true">https://forum.cloudron.io/post/65621</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 28 Apr 2023 07:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Enabling Gitea Indexer fails due to read-only file system on Thu, 27 Apr 2023 20:42:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christophermag" aria-label="Profile: ChristopherMag">@<bdi>ChristopherMag</bdi></a></p>
<p dir="auto">The fix is to change <code>REPO_INDEXER_PATH = indexers/repos.bleve</code> to <code>REPO_INDEXER_PATH = /app/data/appdata/indexers/repos.bleve</code>.</p>
<p dir="auto">Please go ahead and mark this as solved but I wanted to still post it in case it is useful for someone else.</p>
<p dir="auto">Describing the problem led to the obvious solution :-).</p>
]]></description><link>https://forum.cloudron.io/post/65601</link><guid isPermaLink="true">https://forum.cloudron.io/post/65601</guid><dc:creator><![CDATA[ChristopherMag]]></dc:creator><pubDate>Thu, 27 Apr 2023 20:42:37 GMT</pubDate></item></channel></rss>