<?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[Gitea minio storage for lfs]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I'm interested in using git LFS storage from my gitea app but I'm worried that my server could run out of space with many large files. Gitea supports any s3-like storage as a backend for LFS and attachments (see <a href="https://docs.gitea.io/en-us/config-cheat-sheet/#storage-storage" target="_blank" rel="noopener noreferrer nofollow ugc">Gitea Config Cheat Sheet</a>). So, using the gitea app terminal I edited <code>/app/data/app.ini</code> to add the following configuration and restarted gitea from the dashboard:</p>
<pre><code>[server]
LFS_START_SERVER = true

[storage.my-storage]
STORAGE_TYPE = minio
SERVE_DIRECT = true
MINIO_ENDPOINT = s3.us-west-001.backblazeb2.com 
MINIO_ACCESS_KEY_ID = {secret-id}
MINIO_SECRET_ACCESS_KEY = {secret-key}
MINIO_BUCKET = my-bucket
MINIO_LOCATION = us-west-001
MINIO_USE_SSL = true

[lfs]
STORAGE_TYPE = my-storage

[attachment]
STORAGE_TYPE = my-storage
MAX_SIZE = 50
</code></pre>
<p dir="auto">And it seems to work, great! Yes, I'm actually using backblaze b2, because it's much more cost efficient than amazon's service. Yay compatibility!</p>
<ul>
<li><strong>One question</strong>: is <code>/app/data/app.ini</code> the correct place to add gitea custom configurations?</li>
</ul>
]]></description><link>https://forum.cloudron.io/topic/4455/gitea-minio-storage-for-lfs</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 17:48:42 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4455.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Feb 2021 06:35:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 23:57:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wirv" aria-label="Profile: Wirv">@<bdi>Wirv</bdi></a> I did it by setting this to false</p>
<pre><code>SERVE_DIRECT = true
</code></pre>
]]></description><link>https://forum.cloudron.io/post/61291</link><guid isPermaLink="true">https://forum.cloudron.io/post/61291</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 23:57:49 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 23:45:16 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 finally succeeded! Do you happen to know how multiple repos are managed? Is there a way to diversify buckets per repo or does it handle it well with one bucket for all repos?</p>
]]></description><link>https://forum.cloudron.io/post/61287</link><guid isPermaLink="true">https://forum.cloudron.io/post/61287</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 23:45:16 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 23:01:24 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> thank you very much anyway, thanks to you anyway I solved a big problem, I hope someone on the forum can help me conclude or be able to find a solution</p>
]]></description><link>https://forum.cloudron.io/post/61286</link><guid isPermaLink="true">https://forum.cloudron.io/post/61286</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 23:01:24 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 20:58:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wirv" aria-label="Profile: Wirv">@<bdi>Wirv</bdi></a> OK, I don't really know that part since I have never tried LFS myself. I just wanted to get you over the configuration hurdle.</p>
]]></description><link>https://forum.cloudron.io/post/61281</link><guid isPermaLink="true">https://forum.cloudron.io/post/61281</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 01 Feb 2023 20:58:13 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 19:37:40 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 it seems to work, the push takes a long time for a single file of less than a gb (for security inserted in the gitattribute as lfs) but the bucket is empty after the push, I don't understand where to throw it.<br />
I made sure I removed gitea's default lfs path from the app.ini</p>
]]></description><link>https://forum.cloudron.io/post/61275</link><guid isPermaLink="true">https://forum.cloudron.io/post/61275</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 19:37:40 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 19:23:07 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> unfortunately yes, what do I do, try to regenerate it until a key without special characters comes out?</p>
]]></description><link>https://forum.cloudron.io/post/61273</link><guid isPermaLink="true">https://forum.cloudron.io/post/61273</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 19:23:07 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 18:30:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wirv" aria-label="Profile: Wirv">@<bdi>Wirv</bdi></a> It seems that error may be from backblaze b2 and not gitea - <a href="https://www.reddit.com/r/backblaze/comments/u9ivrh/malformed_access_key_id/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.reddit.com/r/backblaze/comments/u9ivrh/malformed_access_key_id/</a> . The user there succeeded by regenerating the key. Which makes me wonder, does your key have fancy characters like "=" , "/" , "[" or something?</p>
]]></description><link>https://forum.cloudron.io/post/61270</link><guid isPermaLink="true">https://forum.cloudron.io/post/61270</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 01 Feb 2023 18:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 16:23: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/61257">Gitea minio storage for lfs</a>:</p>
<blockquote>
<p dir="auto">You have to omit the curly braces . Maybe you put curly braces in your config? Could that be it?</p>
</blockquote>
<p dir="auto">I actually tried both ways and the same error</p>
<pre><code>2023/02/01 16:20:39 ...les/storage/minio.go:91:NewMinioStorage() [I] Creating Minio storage at s3.eu-central-003.backblazeb2.com:build2bit with base path attachments/
2023/02/01 16:20:39 routers/init.go:59:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: Malformed Access Key Id
Received signal 15; terminating.
</code></pre>
]]></description><link>https://forum.cloudron.io/post/61259</link><guid isPermaLink="true">https://forum.cloudron.io/post/61259</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 16:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 16:09:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wirv" aria-label="Profile: Wirv">@<bdi>Wirv</bdi></a> said in <a href="/post/61251">Gitea minio storage for lfs</a>:</p>
<blockquote>
<p dir="auto">Malformed Access Key Id</p>
</blockquote>
<p dir="auto">In the docs, it says</p>
<pre><code>MINIO_SECRET_ACCESS_KEY = {secret-key}
</code></pre>
<p dir="auto">You have to omit the curly braces . Maybe you put curly braces in your config? Could that be it?</p>
]]></description><link>https://forum.cloudron.io/post/61257</link><guid isPermaLink="true">https://forum.cloudron.io/post/61257</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 01 Feb 2023 16:09:31 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 15:32:44 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 did as you told me, and inserted the changes reported on app.ini, with the data of my bucket b2, but when I restart gitea with the following changes and minio server turned on, it gives me this error</p>
<pre><code>2023/02/01 15:24:05 routers/init.go:59:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: Malformed Access Key Id
Received signal 15; terminating.
</code></pre>
]]></description><link>https://forum.cloudron.io/post/61251</link><guid isPermaLink="true">https://forum.cloudron.io/post/61251</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 15:32:44 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 15:17:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wirv" aria-label="Profile: Wirv">@<bdi>Wirv</bdi></a> Have you seen <a href="https://docs.cloudron.io/apps/gitea/#lfs" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/gitea/#lfs</a> already? Yes, you need an active minio server or external S3 provider.</p>
]]></description><link>https://forum.cloudron.io/post/61248</link><guid isPermaLink="true">https://forum.cloudron.io/post/61248</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 01 Feb 2023 15:17:06 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 01 Feb 2023 15:14:44 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> forgive me I've been fighting it for days, but how does the connection work, do I need an active minio server? or just this setting in the app.ini is enough<br />
Is there any git config command to do? If someone can help me I would be very grateful and happy</p>
]]></description><link>https://forum.cloudron.io/post/61247</link><guid isPermaLink="true">https://forum.cloudron.io/post/61247</guid><dc:creator><![CDATA[Wirv]]></dc:creator><pubDate>Wed, 01 Feb 2023 15:14:44 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Thu, 29 Apr 2021 06:09:13 GMT]]></title><description><![CDATA[<p dir="auto">This is a fun but completely off topic discussion. And its something that the project clarifies in their own readme: <a href="https://github.com/go-gitea/gitea#faq" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/go-gitea/gitea#faq</a></p>
]]></description><link>https://forum.cloudron.io/post/30533</link><guid isPermaLink="true">https://forum.cloudron.io/post/30533</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Thu, 29 Apr 2021 06:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Thu, 29 Apr 2021 03:35:06 GMT]]></title><description><![CDATA[<p dir="auto">G I T ? &lt;g i tea&gt;  <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=3cf3d61db4b" 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/30531</link><guid isPermaLink="true">https://forum.cloudron.io/post/30531</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 29 Apr 2021 03:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Wed, 28 Apr 2021 06:09:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a><br />
For the pronunciation, I assumed it was Git-tea. Hence the logo. That aside, it turns out to be a much better sell than Gitlab. Sure, Gitlab has nice features but a simple comparison of the feature vs the resource usage makes it win for me. Gitlab is still a massive resource hog for what it offers.</p>
<p dir="auto">Also Drone CI  + Gitea make for a very powerful combo.</p>
]]></description><link>https://forum.cloudron.io/post/30482</link><guid isPermaLink="true">https://forum.cloudron.io/post/30482</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 28 Apr 2021 06:09:42 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Mon, 26 Apr 2021 20:06:14 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> Yes that's what I meant, thanks!</p>
]]></description><link>https://forum.cloudron.io/post/30407</link><guid isPermaLink="true">https://forum.cloudron.io/post/30407</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Mon, 26 Apr 2021 20:06:14 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Mon, 26 Apr 2021 19:47:59 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> Oh, I guess you meant the config that you posted as an example. Good idea, I put it at <a href="https://docs.cloudron.io/apps/gitea/#lfs" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/gitea/#lfs</a></p>
]]></description><link>https://forum.cloudron.io/post/30404</link><guid isPermaLink="true">https://forum.cloudron.io/post/30404</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 26 Apr 2021 19:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Mon, 26 Apr 2021 17:43:49 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> Isn't the customization file already mentioned here - <a href="https://docs.cloudron.io/apps/gitea/#customizing-gitea" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/gitea/#customizing-gitea</a> ? Or are you referring to something else?</p>
]]></description><link>https://forum.cloudron.io/post/30397</link><guid isPermaLink="true">https://forum.cloudron.io/post/30397</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 26 Apr 2021 17:43:49 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Mon, 26 Apr 2021 15:42:06 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> Do you think it would be a good idea to document or link to this customization in particular in the <a href="https://docs.cloudron.io/apps/gitea/" target="_blank" rel="noopener noreferrer nofollow ugc">Gitea docs</a>?</p>
]]></description><link>https://forum.cloudron.io/post/30390</link><guid isPermaLink="true">https://forum.cloudron.io/post/30390</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Mon, 26 Apr 2021 15:42:06 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Mon, 15 Feb 2021 05:16:41 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/25754">Gitea minio storage for lfs</a>:</p>
<blockquote>
<p dir="auto">One question: is /app/data/app.ini the correct place to add gitea custom configurations?</p>
</blockquote>
<p dir="auto">Yes, that's the correct place!</p>
]]></description><link>https://forum.cloudron.io/post/25832</link><guid isPermaLink="true">https://forum.cloudron.io/post/25832</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 15 Feb 2021 05:16:41 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Sun, 14 Feb 2021 21:10:47 GMT]]></title><description><![CDATA[<p dir="auto">I've been struggling with how to pronounce it as well; so far my internal monologue has been settling in the direction of "Andre-a // Git-eh-ah", but stealing the t from git: "Gi-tee-ah". It doesn't sound like it has "git" anymore, but at least there's "tea". Have the devs given any talks on Gitea? I'd rather settle on something instead of sounding it out 4-5 times every time I read it lol</p>
]]></description><link>https://forum.cloudron.io/post/25805</link><guid isPermaLink="true">https://forum.cloudron.io/post/25805</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Sun, 14 Feb 2021 21:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Sun, 14 Feb 2021 19:45:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a> for me the word is vocalized in a foreign language I speak, which sounds like Andre-a // Git-eh-ah</p>
<p dir="auto">Otherwise it's more something like Giddiup where the p is silent.</p>
<p dir="auto">Now Tea also some to mind.. the female name and the beverage.</p>
<p dir="auto">So maybe the Git coffee is really just a dark tea <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=3cf3d61db4b" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/25792</link><guid isPermaLink="true">https://forum.cloudron.io/post/25792</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sun, 14 Feb 2021 19:45:14 GMT</pubDate></item><item><title><![CDATA[Reply to Gitea minio storage for lfs on Sun, 14 Feb 2021 17:54:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> I'm going with Gitier, as in Glacier. Can't imagine anyone would say Gitay?</p>
]]></description><link>https://forum.cloudron.io/post/25780</link><guid isPermaLink="true">https://forum.cloudron.io/post/25780</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Sun, 14 Feb 2021 17:54:21 GMT</pubDate></item></channel></rss>