<?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[Access Cloudron volume from WordPress container]]></title><description><![CDATA[<p dir="auto">Hi guys <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=c34f2a691b3" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">Please could you help with the following; thank you very much in advance.</p>
<p dir="auto">We've done out homework using both Cloudron and forum resources, see links below (thank you to all who documented their prior experience and troubleshooting):</p>
<ul>
<li><a href="https://docs.cloudron.io/volumes/#filesystem-mountpoint" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/volumes/#filesystem-mountpoint</a></li>
<li><a href="https://docs.cloudron.io/apps/#mounts" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/#mounts</a></li>
</ul>
<p dir="auto">We created a volume, we presented it to the WordPress app container / website, but we are not able to access an mp4 hosted on the volume from within WordPress to display the mp4 on a website page or post.</p>
<p dir="auto">Here is what we've done:</p>
<ul>
<li>In Cloudron Volumes, we created a volume called ovitest of type Filesystem and pointing to /srv/ovitest (we created this folder on the host first using FileZilla); permissions were assigned to root, as one would expect</li>
<li>In one of our WordPress Cloudron containers / websites, on Storage tab under the Mounts section, we added the volume ovitest with Read and Write permissions</li>
<li>As per advice from <a href="https://forum.cloudron.io/topic/5747/volumes-are-not-working/8">https://forum.cloudron.io/topic/5747/volumes-are-not-working/8</a> we figured out that our cloudron user and group equivalent on our setup is www-data, so we ran "chown -R www-data:www-data /media/ovitest" to change permissions on the new volume, we confirmed from FileZilla that this change applied succesfully and plus, checking other hosted apps / systems we have, we noted the same Owner of www-data elsewhere so we are confident that the mount is set up correctly from a host / Cloudron perspective<br />
NB: We were slightly surprised by the chown command using /media/ovitest given that we set up the Filesystem volume with /srv/ovitest, but the chowm command worked. Also when we run "ls -lah /media" in the Terminal for the website, we do get ovitest returned in the results.</li>
</ul>
<p dir="auto">Now, trying to access the mp4 file from the WordPress site, we can't figure out what the correct URL or UNC path is; we tried /media/ovitest/Red-cloud.mp4 which is correct from a Cloudron perspective, but it does not load in a video WordPress object (because the mp4 can't be found or accessed); we also tried https://&lt;our_web_domain&gt;/media/ovitest/Red-cloud.mp4 but this does not work either (mp4 can't be found or accessed). We confirmed the mp4 has correctly inherited the www-data user and group permissions, so we are out of ideas, hence asking you guys for advice.</p>
<p dir="auto">Not sure if we also need a symlink created as detailed here <a href="https://forum.cloudron.io/topic/7619/filesystem-mount-inside-container/5">https://forum.cloudron.io/topic/7619/filesystem-mount-inside-container/5</a> but our website is not showing under /home for root as benborges detailed in his post; so this may not apply to us.</p>
<p dir="auto">Finally, as mentioned here <a href="https://forum.cloudron.io/topic/7619/filesystem-mount-inside-container/11">https://forum.cloudron.io/topic/7619/filesystem-mount-inside-container/11</a> we also ran "chmod 777 Red-cloud.mp4" but this made no different as far as accessing this file from WordPress.</p>
<p dir="auto">Your help and assistance is much appreciated, thank you again.</p>
<p dir="auto">THI Staff</p>
]]></description><link>https://forum.cloudron.io/topic/9830/access-cloudron-volume-from-wordpress-container</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 01:44:23 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9830.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Aug 2023 20:04:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Access Cloudron volume from WordPress container on Mon, 28 Aug 2023 16:54: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> Yes, all sorted, thank you for asking.</p>
<p dir="auto">Thanks to <a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a>'s suggestion all we needed to do was the following:</p>
<ul>
<li>in terminal window for our WordPress app, at /app/code/wp-content/uploads we created a symlink (ln -s /media/ovitest ovitest) and then updated its permissions, just in case (chown -R www-data:www-data ovitest)</li>
<li>then we could access the mp4 at https://&lt;our_web_domain&gt;/wp-content/uploads/ovitest/Red-cloud.mp4</li>
</ul>
<p dir="auto">Thank you very much all; we did enjoy finding the fix in the end. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=c34f2a691b3" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> And of course we will make good use of it as we can now keep 10-20 GB of data, or even more, outside the WordPress data container, so out of the backup, but still reference this content on our website, which is great.</p>
]]></description><link>https://forum.cloudron.io/post/72582</link><guid isPermaLink="true">https://forum.cloudron.io/post/72582</guid><dc:creator><![CDATA[THI_Staff]]></dc:creator><pubDate>Mon, 28 Aug 2023 16:54:56 GMT</pubDate></item><item><title><![CDATA[Reply to Access Cloudron volume from WordPress container on Thu, 24 Aug 2023 13:37:03 GMT]]></title><description><![CDATA[<p dir="auto">If I'm understanding the aim, maybe a job for the Minio app? Might make future migrations of content locations easier, too.</p>
]]></description><link>https://forum.cloudron.io/post/72407</link><guid isPermaLink="true">https://forum.cloudron.io/post/72407</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Thu, 24 Aug 2023 13:37:03 GMT</pubDate></item><item><title><![CDATA[Reply to Access Cloudron volume from WordPress container on Thu, 24 Aug 2023 11:17:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thi_staff" aria-label="Profile: THI_Staff">@<bdi>THI_Staff</bdi></a> did you get this sorted out? Somehow I missed this thread.</p>
]]></description><link>https://forum.cloudron.io/post/72401</link><guid isPermaLink="true">https://forum.cloudron.io/post/72401</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 24 Aug 2023 11:17:02 GMT</pubDate></item><item><title><![CDATA[Reply to Access Cloudron volume from WordPress container on Wed, 16 Aug 2023 18:07:52 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> That makes a lot of sense, though we've not seen any of this mentioned in the Cloudron documentation.</p>
<p dir="auto">I will talk to our WordPress developer though he is new to the Cloudron packaged WP container deployment so if anybody can detail further what exactly is required for the following 2 steps, we would be very grateful indeed. Of course we'll have a go ourselves as well. Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a></p>
<p dir="auto">"However now you have to map the mount dir to something the webserver can read and have access to.<br />
For WP that means something like an additional dir in the wp-content/uploads/ tree that links to the /media/ovitest mount path."</p>
]]></description><link>https://forum.cloudron.io/post/71975</link><guid isPermaLink="true">https://forum.cloudron.io/post/71975</guid><dc:creator><![CDATA[THI_Staff]]></dc:creator><pubDate>Wed, 16 Aug 2023 18:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to Access Cloudron volume from WordPress container on Wed, 16 Aug 2023 19:46:59 GMT]]></title><description><![CDATA[<p dir="auto">It seems the app container can see the mount from terminal so that's fine.</p>
<p dir="auto">However now you have to map the mount dir to something the webserver can read and have access to.</p>
<p dir="auto">For WP that means something like an additional dir in the wp-content/uploads/ tree that sym-links to the /media/ovitest mount path.</p>
<p dir="auto">Once you can see and select your .mp4 from the media picker or filemanager plugin in WP, it'll work.</p>
]]></description><link>https://forum.cloudron.io/post/71973</link><guid isPermaLink="true">https://forum.cloudron.io/post/71973</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 16 Aug 2023 19:46:59 GMT</pubDate></item><item><title><![CDATA[Reply to Access Cloudron volume from WordPress container on Wed, 16 Aug 2023 12:56:33 GMT]]></title><description><![CDATA[<p dir="auto">Hmmm linking <a class="plugin-mentions-group plugin-mentions-a" href="/groups/staff" aria-label="Profile: staff">@<bdi>staff</bdi></a> maybe <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> or <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> have some thoughts.</p>
]]></description><link>https://forum.cloudron.io/post/71943</link><guid isPermaLink="true">https://forum.cloudron.io/post/71943</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Wed, 16 Aug 2023 12:56:33 GMT</pubDate></item></channel></rss>