• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Session files writing error

Somebody1

New Pleskian
For only one vhost, I get this error:

PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0" while reading upstream, client: IP-REMOVED, server: website.com, request: "GET /contact/ HTTP/1.1", upstream: "fastcgi://unix:/var/www/vhosts/system/website.com/php-fpm.sock:", host: "website.com", referrer: "http://website.com/"

I'm using CloudLinux 6.5 and Plesk 12.0.18. The strangest thing is: it's only one vhost causing this problem. All other vhosts have the same configuration (nginx processing PHP), and are working fine. When setting the webserver to apache, the problem disappears...

Edit: When disabling CageFS for the specific website, the error disappears. Change it back, and it pops up again. All others in CageFS are working fine...

Edit2: Seems I am wrong. Now also other vhosts reproduce the same error. Disabling CageFS solves it. This seems to be a bug. Manually creating var/lib/php/session within .cagefs doesn't help neither...
 
Last edited:
Please note that cagefs is a third party application which is not officially tested with Plesk, hence we can not guarantee its proper functionality along with Plesk.
As far as I know php.ini configuration loading from different location (behind cageFS) but not from default Plesk location and it is causing the issue. So, you need to use Plesk vhosts php.ini but not cageFS php.ini.
 
Back
Top