Skip to content
● Grav 2.2.19 and 1.7.53.8 are out with security fixes found by Anthropic's OSS Scanner: update your sites. Read more →

Site stopped working overnight - 'not writeable' error

Solved by nwhitfield View solution

Started by nwhitfield 4 weeks ago · 2 replies · 287 views
4 weeks ago

I'm running 2.2.5 and yesterday, I had a site that was working just fine.

This morning, the admin page I left open in my browser was prompting me to sign in again. And when I tried, I got the 'Grav Problems' page telling me there are problems with 8 required folders: cache, logs, tmp, backup, images, assets user/accounts and user/data

All are declared 'exists but not writeable'

The webserver is Apache, with php 8.5, running under user/group www-data. All the directories have 775 permissions.

And yet, I just can't get this error to go away. I'm absolutely mystified as to what could have happened overnight - the only thing that runs from cron is a task that backs up to rsync.net.

Nigel.

4 weeks ago Solution

Well, I spent half a day tearing my hair out, restoring from backups, and having the same error, even though bin/plugin problems check told me all was ok.

In the end, I swapped the standard php module for php-fpm, and it's working again. Still none the wiser, but that may at least help someone else.

4 weeks ago

Please don't post your question in more than one forum (cross-posting). In each forum, people will be spending time and effort to answer the question and in the end, the time and effort in all but one will be wasted.

Instead, choose the best channel and wait a few days. Then post in another place. Provide links between each forum and repost the answer (link) in each location.

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 1 week ago
1 169 1 week ago
Support · by webmasterodp, 4 weeks ago
4 322 4 weeks ago
Support · by stell, 1 month ago
5 577 1 month ago
Support · by gravinator, 2 months ago
5 718 1 month ago
Support · by Gravver, 1 month ago
6 487 1 month ago