Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

cache-purge stopps with error

Started by TomW 1 week ago · 3 replies · 158 views
1 week ago

When I sart the cache-purge job I get the following error:

TXT
DirectoryIterator::__construct(/var/www/vhosts/***/grav-2/cache/grav): Failed to open directory: Datei oder Verzeichnis nicht gefunden

On my webspace is no directory with "grav" only the follow directory exits. api, compiled, gpm, login, twig

I use Grav 2.2.32

Is this a bug in the script?

1 week ago

more likely the cache folder doesn't exist, or permissions are such that grav can't write in there.

1 week ago

I didn't express myself very clearly; what I meant was that there is no “grav” directory under “cache.” Only “api,” “compiled,” “gpm,” “login,” and “twig.”

3 days ago

I've add missing folder. Now it works.

But I don't know if this folder "cache/garv" is needed.

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 225 8 hours ago
Support · by alex, 2 months ago
8 666 22 hours ago
Support · by Supple, 5 days ago
1 97 1 day ago
Support · by TomW, 6 days ago
2 105 5 days ago
Support · by TomW, 1 week ago
3 199 1 week ago