Failed to open stream: Permission denied
-
Hello
My issue looks the same as https://forum.cloudron.io/topic/13321/failed-to-open-stream-permission-denied-for-cache-data/7 but I don't think a solution as been provided

Jan 10 17:23:32 => Run cron tasks Jan 10 17:23:32 In Filesystem.php line 122: Jan 10 17:23:32 2026-01-10T16:23:32Z Jan 10 17:23:32 file_put_contents(/app/code/storage/framework/cache/data/71/e7/71e745d13645 Jan 10 17:23:32 beba997b5011324db8ee58db0e30): Failed to open stream: Permission deniedI'm running Freescout 1.8.201 and emails are not automatically fetched. I've to click on Manage > Tools Fetch Emails to get them.
On Manage > Status I can read:
Non-writable files found/app/code/storage/framework/cache/data/71/e7/71e745d13645beba997b5011324db8ee58db0e30
Run the following command (read more):
sudo chown -R www-data:www-data /app/code
on storage/framework/cache/data/
I've tried sudo chown -R www-data:www-data /app/code but it anwsers "Read only file system"
I've also tried sudo chmod 775 -R /app/code/ with same results.Do you have any idea what I can test ?
Generate Diagnostics Data
-
S sebastienserre referenced this topic
-
Rebooting mail service and then Freescout app is solving the issue.
I will monitor to see if it's definitively fixed.