<?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[How to use Volumes in Minio?]]></title><description><![CDATA[<p dir="auto">I tried to use the new Volumes in Minio but somehow I can't. What I did:</p>
<ol>
<li>create Volume</li>
<li>Mount Volume in app</li>
<li>checked via Console if it is availabe at /media: YES</li>
</ol>
<p dir="auto">But then, it seems there is no config in a running app to change the storage from /data to /media.</p>
<p dir="auto">In the docs (<a href="https://docs.minio.io/docs/minio-server-configuration-guide" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.minio.io/docs/minio-server-configuration-guide</a>) it says nothing about storage location except during creation of the container itself.</p>
<p dir="auto">Or am I looking in the wrong direction <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=48b2fe23acb" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/topic/3899/how-to-use-volumes-in-minio</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 15:21:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3899.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Dec 2020 09:29:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use Volumes in Minio? on Wed, 09 Dec 2020 21:36:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> for me it is no issue anymore because of the Volumes. In this Minio app I don't share the Volume with other apps and it's not backed up just like I want.</p>
<p dir="auto">Hopefully in future releases, like <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> wrote, when they will be backed up there will also be an option to never backup specific Volumes?</p>
]]></description><link>https://forum.cloudron.io/post/21172</link><guid isPermaLink="true">https://forum.cloudron.io/post/21172</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Wed, 09 Dec 2020 21:36:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Wed, 09 Dec 2020 20:23: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> I guess we can store that in localstorage, hopefully thought does not get confusing when using more than one browser then. Generally I am questioning here why the manual update even comes into play on such a regular basis that this checkbox is an issue in the first place.</p>
]]></description><link>https://forum.cloudron.io/post/21166</link><guid isPermaLink="true">https://forum.cloudron.io/post/21166</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 09 Dec 2020 20:23:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Wed, 09 Dec 2020 17:36:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> I think previously <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> defaulted the value to the value of "automatic backups" but that change wasn't correct, so we had reverted it. This is because just because the user didn't want automatic daily backups, doesn't mean he doesn't want backup during an update.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Is it easy to store the checkbox state per app (in localstorage or something?). What do you think?</p>
]]></description><link>https://forum.cloudron.io/post/21148</link><guid isPermaLink="true">https://forum.cloudron.io/post/21148</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 09 Dec 2020 17:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Wed, 09 Dec 2020 09:30:55 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/21070">How to use Volumes in Minio?</a>:</p>
<blockquote>
<p dir="auto">Maybe at the browser session level, the checkbox state of the Update dialog can be remembered (at a per-app level). Would that help?</p>
</blockquote>
<p dir="auto">I remember this kind of thing is indeed suggested before in the forum, however if only on browser session then it will be different when using other browsers at the same time I guess?</p>
]]></description><link>https://forum.cloudron.io/post/21107</link><guid isPermaLink="true">https://forum.cloudron.io/post/21107</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Wed, 09 Dec 2020 09:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 18:53:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> Ah, this is a workaround for forgetting to disable backups during minio update! Eventually, volumes will gain backup feature and your workflow might break <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=48b2fe23acb" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Maybe at the browser session level, the checkbox state of the Update dialog can be remembered (at a per-app level). Would that help?</p>
]]></description><link>https://forum.cloudron.io/post/21070</link><guid isPermaLink="true">https://forum.cloudron.io/post/21070</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 08 Dec 2020 18:53:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 18:35:56 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 use this as a backup location for my MacBook and with the many updates of Minio I forgot sometimes to disable backups at updating the app. I don’t want a backup of my backup <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=48b2fe23acb" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/21065</link><guid isPermaLink="true">https://forum.cloudron.io/post/21065</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 08 Dec 2020 18:35:56 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 18:32:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> Why do you want to make it use a volume? Minio's /app/data is really it's "database" and is not meant to be shared with others. If you just want to move the storage location to some other place, you should use the Move Data Directory configuration.</p>
<p dir="auto">The volumes stuff is really for content/files that can be used by all apps. It's not meant for one app to share it's internal data with another.</p>
]]></description><link>https://forum.cloudron.io/post/21063</link><guid isPermaLink="true">https://forum.cloudron.io/post/21063</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 08 Dec 2020 18:32:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 11:50:44 GMT]]></title><description><![CDATA[<p dir="auto">End of the story:</p>
<ol>
<li>migration did not succeed (I think Minio also doesn't like moving files in the background?)</li>
<li>created a new app</li>
<li>added Volume</li>
<li>changed the  <code>sudo chown -R cloudron /media/s3-01 &amp;&amp; sudo chmod u+rxw /media/s3-01</code></li>
<li>changed the <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a></li>
<li>changed the config in <code>/media/s3-01/.minio.sys/config/config.json</code> (search for minioadmin and change those access and secret keys)</li>
<li>I deleted the .minio.sys in the data/data</li>
<li>started the app</li>
</ol>
<p dir="auto">Now buckets are created in the Volume and backup to Minio seems to work (at least I do see now about 400Mbit upload from my MacBook)</p>
]]></description><link>https://forum.cloudron.io/post/21009</link><guid isPermaLink="true">https://forum.cloudron.io/post/21009</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 08 Dec 2020 11:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 11:12:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> I've found some more: the actual config files are created after reboot in the new volume (hidden), and they don't contain the "old" credentials. The Cloudron script <code>/app/code/minio-credentials</code> is hardcoded to create them in data/data instead of the new volume.</p>
]]></description><link>https://forum.cloudron.io/post/21004</link><guid isPermaLink="true">https://forum.cloudron.io/post/21004</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 08 Dec 2020 11:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 10:54:29 GMT]]></title><description><![CDATA[<p dir="auto">Well I would suggest to test this with a fresh minio instance first to ensure the process works!</p>
<p dir="auto">I think there might be more places which need to be made adjustable regarding the credentials. That being said maybe the <code>server &lt;folder&gt;</code> approach was not the best one in the first place, just what came to mind.</p>
]]></description><link>https://forum.cloudron.io/post/21001</link><guid isPermaLink="true">https://forum.cloudron.io/post/21001</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 08 Dec 2020 10:54:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 10:48:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> ok good suggestions, I've tried it but then ran into the issue I couldn't login anymore:</p>
<ol>
<li>moved the data inside data/data to /srv/s3-01</li>
<li>changed <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a></li>
<li>app didn't start because of error: <code>ERROR CUnable to initialize backend: Unable to write to the backend Dec 08 11:20:17 C&gt; Please ensure MinIO binary has write permissions for the backend</code></li>
<li>because WebTerminal in app didn't work I had to stop app and changed back <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a></li>
<li>after restart app, in WebTerminal executed : <code>sudo chown -R cloudron /media/s3-01 &amp;&amp; sudo chmod u+rxw /media/s3-01</code></li>
<li>changed <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a> again</li>
<li>in WebTerminal I can reach the mount and there are no errors</li>
<li>Try to login the web-GUI: <code>The access key ID you provided does not exist in our records</code></li>
<li>tested <code>/app/code/minio-credentials get</code> and got the correct credentials .....?!?!?</li>
</ol>
<p dir="auto">I think I will start with a fresh app and delete the 300GB backup data from my MacBook and let's hope that latter doesn't crash in the meantime <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=48b2fe23acb" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/21000</link><guid isPermaLink="true">https://forum.cloudron.io/post/21000</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 08 Dec 2020 10:48:49 GMT</pubDate></item><item><title><![CDATA[Reply to How to use Volumes in Minio? on Tue, 08 Dec 2020 09:47:50 GMT]]></title><description><![CDATA[<p dir="auto">As far as I understand, you can edit the <code>env.sh</code> file created after first run in minio. There is a line <code>export CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'</code> and you should be able to adjust that <code>/app/data/data</code> path to point to the volume instead.</p>
<p dir="auto">This would not migrate any existing data of course, but should work on a fresh installation.</p>
]]></description><link>https://forum.cloudron.io/post/20996</link><guid isPermaLink="true">https://forum.cloudron.io/post/20996</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 08 Dec 2020 09:47:50 GMT</pubDate></item></channel></rss>