<?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 get music in?]]></title><description><![CDATA[<p dir="auto">I already have a Volume called Music at <code>/media/Music</code> so I mounted that in the Storage settings of the app and then as per the docs here <a href="https://docs.funkwhale.audio/administrator/configuration/env-file.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.funkwhale.audio/administrator/configuration/env-file.html</a> I created the following within <code>env.sh</code> using the File Manager</p>
<p dir="auto"><code>MEDIA_ROOT="/media/Music"</code></p>
<p dir="auto">also tried:</p>
<p dir="auto"><code>MEDIA_ROOT=/media/Music</code></p>
<p dir="auto">Neither resulted in anything being displayed in Funkwhale.</p>
<p dir="auto">Has anyone got this working yet?</p>
<p dir="auto">Thanks!</p>
<p dir="auto">PS I thought we normally had <code>env</code> instead of <code>env.sh</code> in Cloudron apps these days? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=95dae3ecbe4" 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/topic/15166/how-to-get-music-in</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 12:29:41 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15166.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Mar 2026 16:23:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to get music in? on Wed, 04 Mar 2026 13:41:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a><br />
As I understood it, not even that.<br />
<code>MEDIA_ROOT</code> is where all media uploaded gets stored.<br />
<code>MUSIC_DIRECTORY_PATH</code> is like an import folder where you can manually upload files that then get imported.<br />
But I am not 100 % certain, it is still confusing for me.</p>
]]></description><link>https://forum.cloudron.io/post/121222</link><guid isPermaLink="true">https://forum.cloudron.io/post/121222</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 04 Mar 2026 13:41:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Wed, 04 Mar 2026 13:18:08 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a>. ok, so MEDIA_ROOT is like metadata and MUSIC_DIRECTORY_PATH is the real music. .</p>
]]></description><link>https://forum.cloudron.io/post/121221</link><guid isPermaLink="true">https://forum.cloudron.io/post/121221</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 04 Mar 2026 13:18:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Wed, 04 Mar 2026 12:52:21 GMT]]></title><description><![CDATA[<p dir="auto">According to the documentation of Funkwhale:</p>
<p dir="auto"><a href="https://docs.funkwhale.audio/administrator/configuration/env-file.html#config.settings.common.MEDIA_ROOT" target="_blank" rel="noopener noreferrer nofollow ugc">MEDIA_ROOT</a></p>
<blockquote>
<p dir="auto">The path where you store media files (such as album covers or audio tracks) on your system. Make sure this directory actually exists.</p>
</blockquote>
<p dir="auto"><a href="https://docs.funkwhale.audio/administrator/configuration/env-file.html#config.settings.common.MUSIC_DIRECTORY_PATH" target="_blank" rel="noopener noreferrer nofollow ugc">MUSIC_DIRECTORY_PATH</a></p>
<blockquote>
<p dir="auto">The path on your server where Funkwhale places files from in-place imports. This path needs to be readable by the webserver and api and worker processes.</p>
</blockquote>
<p dir="auto"><a href="https://docs.funkwhale.audio/administrator/configuration/env-file.html#config.settings.common.MUSIC_DIRECTORY_SERVE_PATH" target="_blank" rel="noopener noreferrer nofollow ugc">MUSIC_DIRECTORY_SERVE_PATH</a></p>
<blockquote>
<p dir="auto">On Docker setups the value of MUSIC_DIRECTORY_PATH may be different from the actual path on your server. You can specify this path in your docker-compose.yml file</p>
</blockquote>
<p dir="auto">When setting this in the <code>/app/data/env.sh</code> and creating the folders and setting the correct permissions manually.<br />
A media file was uploaded to the volume.</p>
<pre><code class="language-bash">export MEDIA_ROOT="/media/External SSD/funkwhale/media"
export STATIC_ROOT="/media/External SSD/funkwhale/static"
export MUSIC_DIRECTORY_PATH="/media/External SSD/funkwhale/music"
export MUSIC_DIRECTORY_SERVE_PATH="/media/External SSD/funkwhale/music"
</code></pre>
]]></description><link>https://forum.cloudron.io/post/121219</link><guid isPermaLink="true">https://forum.cloudron.io/post/121219</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 04 Mar 2026 12:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Wed, 04 Mar 2026 03:07:33 GMT]]></title><description><![CDATA[<p dir="auto">Looking at the repo, there are three paths:</p>
<pre><code>export MEDIA_ROOT="/app/data/media"
export MUSIC_DIRECTORY_PATH="/app/data/music"
export MUSIC_DIRECTORY_SERVE_PATH="/app/data/music"
</code></pre>
<p dir="auto">What's the difference between music and media <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=95dae3ecbe4" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /> cc <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a></p>
]]></description><link>https://forum.cloudron.io/post/121175</link><guid isPermaLink="true">https://forum.cloudron.io/post/121175</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 04 Mar 2026 03:07:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Tue, 03 Mar 2026 17:23:53 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rmdes" aria-label="Profile: rmdes">@<bdi>rmdes</bdi></a> <a href="/post/121160">said</a>:</p>
<p dir="auto">So the key point for the user: mount at /app/data/music</p>
</blockquote>
<p dir="auto">But unless I've misunderstood Cloudron Volumes cannot be mounted there, they are always at /media/volume-name , no?</p>
<p dir="auto">Perhaps it's possible to symlink or something?</p>
<p dir="auto">But, I think if I set MUSIC_DIRECTORY_PATH to (in my case) /media/Music I'd guess it would've worked... will have another play...</p>
]]></description><link>https://forum.cloudron.io/post/121165</link><guid isPermaLink="true">https://forum.cloudron.io/post/121165</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Tue, 03 Mar 2026 17:23:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Tue, 03 Mar 2026 13:58:31 GMT]]></title><description><![CDATA[<p dir="auto">Another way to import music fast :</p>
<p dir="auto">In-place import means Funkwhale indexes your music files without copying them — it reads the metadata (tags) and creates database entries, then streams directly from the original location.</p>
<p dir="auto">In the Cloudron context, it would work like this:</p>
<ol>
<li>Mount the volume at /app/data/music in Cloudron's Storage settings</li>
<li>Files are immediately visible to Funkwhale - MUSIC_DIRECTORY_PATH already points there</li>
<li>Import via CLI from the web terminal:</li>
</ol>
<pre><code>/app/code/manage.sh import_files &lt;library_id&gt; "/app/data/music/" --in-place --recursive
</code></pre>
<ol start="3">
<li>(Get your library ID from the Funkwhale web UI, create a library first if you haven't)</li>
<li>Streaming works because nginx already serves /_protected/music/ from /app/data/music/ via X-Accel-Redirect,  the files are served directly, no duplication</li>
</ol>
<p dir="auto">The package even has scheduler tasks for maintaining in-place imports:</p>
<ul>
<li>check_inplace_files_check - dry-run to see if any referenced files are missing</li>
<li>check_inplace_files_apply - actually update the database for missing files</li>
</ul>
<p dir="auto">So the key point for the user: mount at /app/data/music, then in-place import just works out of the box. Their files stay on the mounted volume, Funkwhale only stores metadata in PostgreSQL, and nginx serves the audio directly from disk.</p>
]]></description><link>https://forum.cloudron.io/post/121160</link><guid isPermaLink="true">https://forum.cloudron.io/post/121160</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Tue, 03 Mar 2026 13:58:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Tue, 03 Mar 2026 13:54:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a>  you should mount the volume at <code>/app/data/music</code> in Cloudron's Storage settings instead of <code>/media/Music.</code></p>
<p dir="auto">The package already expects music files at <code>/app/data/music/</code>, nginx already serves from there, and the env vars already point there. No <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a> changes needed,  just change the mount point in Cloudron's UI.</p>
<p dir="auto">I have not tested with a volume mount (I'm still loading all my collection within <code>/app/data/music</code> natively in the container, but I will transition to volume mount soon</p>
]]></description><link>https://forum.cloudron.io/post/121159</link><guid isPermaLink="true">https://forum.cloudron.io/post/121159</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Tue, 03 Mar 2026 13:54:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Mon, 02 Mar 2026 21:41:30 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> <a href="/post/121089">said</a>:</p>
<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a></p>
<p dir="auto">Please try to use:</p>
<pre><code class="language-bash">export MEDIA_ROOT="/media/Music"
</code></pre>
<p dir="auto">in the <code>/app/data/env.sh</code> file.</p>
</blockquote>
<p dir="auto">That didn't seem to make any difference. Any my server is running out of space so for now I've just deleted the app to free app a little.</p>
]]></description><link>https://forum.cloudron.io/post/121122</link><guid isPermaLink="true">https://forum.cloudron.io/post/121122</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 02 Mar 2026 21:41:30 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Mon, 02 Mar 2026 16:38:27 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> <a href="/post/121087">said</a>:</p>
<p dir="auto">PS I thought we normally had env instead of <a href="http://env.sh" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a> in Cloudron apps these days? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=95dae3ecbe4" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title="🤔" alt="🤔" /></p>
</blockquote>
<p dir="auto"><code>env.sh</code> -&gt; export required<br />
<code>env</code> -&gt; no export required</p>
]]></description><link>https://forum.cloudron.io/post/121094</link><guid isPermaLink="true">https://forum.cloudron.io/post/121094</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 02 Mar 2026 16:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to get music in? on Mon, 02 Mar 2026 16:27:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a></p>
<p dir="auto">Please try to use:</p>
<pre><code class="language-bash">export MEDIA_ROOT="/media/Music"
</code></pre>
<p dir="auto">in the <code>/app/data/env.sh</code> file.</p>
]]></description><link>https://forum.cloudron.io/post/121089</link><guid isPermaLink="true">https://forum.cloudron.io/post/121089</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 02 Mar 2026 16:27:33 GMT</pubDate></item></channel></rss>