<?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[problem with permissions installing Flask on a LAMP container]]></title><description><![CDATA[<p dir="auto">Hello , i created a new LAMP container. as "root" i can not create folders in the /root directory.</p>
<p dir="auto">root@78bd304d-c826-4dd9-a64d-978a5b931efd:/app/code# ls -ld /root<br />
drwx------ 1 root root 4096 Oct 16 12:33 /root</p>
<p dir="auto">when I try to install Flask I get this error message,</p>
<p dir="auto">ERROR: Could not install packages due to an OSError: [Errno 30] Read-only file system: '/root/.local'</p>
<p dir="auto">it could be an indication that the underlying file system is mounted as read-only.</p>
<p dir="auto">any ideas on how to solve this?</p>
<p dir="auto">thank you</p>
]]></description><link>https://forum.cloudron.io/topic/10443/problem-with-permissions-installing-flask-on-a-lamp-container</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 14:46:12 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10443.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Nov 2023 16:19:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to problem with permissions installing Flask on a LAMP container on Fri, 17 Nov 2023 09:21:59 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> this is interesting! I will have a look</p>
]]></description><link>https://forum.cloudron.io/post/77588</link><guid isPermaLink="true">https://forum.cloudron.io/post/77588</guid><dc:creator><![CDATA[manuel]]></dc:creator><pubDate>Fri, 17 Nov 2023 09:21:59 GMT</pubDate></item><item><title><![CDATA[Reply to problem with permissions installing Flask on a LAMP container on Fri, 17 Nov 2023 09:21:28 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. this is really interesting! I will have a look</p>
]]></description><link>https://forum.cloudron.io/post/77587</link><guid isPermaLink="true">https://forum.cloudron.io/post/77587</guid><dc:creator><![CDATA[manuel]]></dc:creator><pubDate>Fri, 17 Nov 2023 09:21:28 GMT</pubDate></item><item><title><![CDATA[Reply to problem with permissions installing Flask on a LAMP container on Fri, 17 Nov 2023 09:19:17 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> Hi ! thank you for your reply, i will explain you a bit the use case. i am doing these kind of project for the first time and maybe i am not doing the right thing...</p>
<p dir="auto">I would like to install a web app locally on my computer using Flask (the python framework).<br />
Once is installed locally I would like to also install it in my Virtual private server (the ubuntu vps where i have installed cloudron) and use Git for version control. I need an apache server and I thouht it could be good idea to use the <a href="https://www.cloudron.io/store/lamp.cloudronapp.php74.html" target="_blank" rel="noopener noreferrer nofollow ugc">LAMP</a> you guys have packaged on cloudron.</p>
<p dir="auto">the command i am trying to run in the lamp container is : "pip install --user Flask</p>
<p dir="auto">i hope this makes it more clear</p>
]]></description><link>https://forum.cloudron.io/post/77586</link><guid isPermaLink="true">https://forum.cloudron.io/post/77586</guid><dc:creator><![CDATA[manuel]]></dc:creator><pubDate>Fri, 17 Nov 2023 09:19:17 GMT</pubDate></item><item><title><![CDATA[Reply to problem with permissions installing Flask on a LAMP container on Thu, 16 Nov 2023 18:35:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/manuel" aria-label="Profile: manuel">@<bdi>manuel</bdi></a> you can try setting the HOME env var to /app/data</p>
]]></description><link>https://forum.cloudron.io/post/77549</link><guid isPermaLink="true">https://forum.cloudron.io/post/77549</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 16 Nov 2023 18:35:21 GMT</pubDate></item><item><title><![CDATA[Reply to problem with permissions installing Flask on a LAMP container on Thu, 16 Nov 2023 18:17:48 GMT]]></title><description><![CDATA[<p dir="auto">By Flask, I assume you mean the Python framework. The LAMP app is meant for hosting PHP files and nothing more. You have to build your own package via Docker unless you want to host other frameworks - <a href="https://docs.cloudron.io/packaging/tutorial/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/packaging/tutorial/</a></p>
]]></description><link>https://forum.cloudron.io/post/77548</link><guid isPermaLink="true">https://forum.cloudron.io/post/77548</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 16 Nov 2023 18:17:48 GMT</pubDate></item><item><title><![CDATA[Reply to problem with permissions installing Flask on a LAMP container on Thu, 16 Nov 2023 16:32:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi, on Cloudron apps run mostly in a read-only filesystem. Only /app/data/ is writeable which is causing the error.<br />
How are you installing flask and can you describe the use-case a bit more? Maybe we have to install some more tools in the main app image to make it work.</p>
]]></description><link>https://forum.cloudron.io/post/77542</link><guid isPermaLink="true">https://forum.cloudron.io/post/77542</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 16 Nov 2023 16:32:50 GMT</pubDate></item></channel></rss>