Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't create tmp_dir anymore #135

Closed
HOSTED-POWER opened this issue Jan 9, 2020 · 1 comment
Closed

Doesn't create tmp_dir anymore #135

HOSTED-POWER opened this issue Jan 9, 2020 · 1 comment

Comments

@HOSTED-POWER
Copy link

HOSTED-POWER commented Jan 9, 2020

We use these settings for ages, but newest cachetool fails:

/etc/cachetool.yml

adapter: fastcgi
temp_dir: /dev/shm/cachetool

We get this output now:

In FastCGI.php line 128:

  FastCGI error: Could not write to `/dev/shm/cachetool/cachetool-5e16eb8387967.php`: No such file or directory. (/usr/local/php73/sockets/webapps.sock)


In Code.php line 59:

  Could not write to `/dev/shm/cachetool/cachetool-5e16eb8387967.php`: No such file or directory.


opcache:reset


When we change path to temp_dir: /dev/shm OR when we manually create /dev/shm/cachetool, the issues are resolved.

We use these settings on many servers, any idea why the default of creating the path has changed? Can this be changed again so the path is created? Thx! :)

@gordalina
Copy link
Owner

Added in version 5.0.0. Check the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant