make `public` folder writable
@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?
In the past, we have made change for specific extensions like the VOIP integration - https://git.cloudron.io/cloudron/espocrm-app/-/commit/575567fc72457be3d76d8932e7620b1c849fdd8e
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.php
Do you remember what extension writes where? Is it in a subdirectory under public or does it write straight under public itself?