make `public` folder writable
-
There are some EspoCRM extensions require a public content being uploaded to /app/code/7.0.8/public folder, which is on read-only filesystem in the cloudron app now.
Could you amend the app so the public folder was linked to
/app/data/public? -
There are some EspoCRM extensions require a public content being uploaded to /app/code/7.0.8/public folder, which is on read-only filesystem in the cloudron app now.
Could you amend the app so the public folder was linked to
/app/data/public? -
@vladimir-d actually that folder contains release files and the actual app code, so we can't just link that folder into
/app/dataas it would be very hard to ensure tested and reliable updates then with new releases. If EspoCRM extensions require to place and patch release files, then I think we can't support those easily without risking to break the app on every update.Do you have more information on how the upstream app handles such cases with their extensions?
-
I think I was unclear about what folder being made writable, sorry.
What we need is to deploy some files and directories in
/app/code/current/publicfolder which is readonly now. This/app/code/current/publicfolder contains just directories/files available for public visitors. We don't need to update or patch release files. -
I checked this again, but it seems that the public directory has a bunch of code.
root@d66257ab-b6ad-4648-acf5-f1dbc2281a80:/app/code/7.2.7/public# find . . ./oauth-callback.php ./robots.txt ./index.php ./web.config ./api ./api/v1 ./api/v1/.htaccess ./api/v1/portal-access ./api/v1/portal-access/.htaccess ./api/v1/portal-access/index.php ./api/v1/index.php ./portal ./portal/.htaccess ./portal/index.php ./install ./install/img ./install/img/devices.png ./install/js ./install/js/install.js ./install/css ./install/css/install.css ./install/index.phpDo you remember what extension writes where? Is it in a subdirectory under public or does it write straight under public itself?
-
J james marked this topic as a regular topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login