Overview
The error Kohana_Exception [ 0 ]: Directory APPPATH/cache must be writable indicates that the file permissions for the Plesk Warden extension are incorrectly configured. This issue typically occurs after manual permission modifications, system updates, or incomplete installation processes.
Resolution Steps
To restore the correct directory permissions and resolve the error, execute the appropriate installer script for your operating system via SSH with root privileges.
- Connect to the server using an SSH client.
- Open a terminal session with administrative access.
- Run the command corresponding to your OS distribution:
AlmaLinux/CloudLinux/RHEL
/usr/local/psa/admin/bin/modules/warden/install.sh
Debian/Ubuntu
/opt/psa/admin/bin/modules/warden/install.sh
Once the script completes successfully, refresh your application or Plesk interface to verify that the error has been resolved.
Troubleshooting
- If you encounter a Permission denied message, ensure you are executing the command as the root user or prefix it with sudo.
- If the script path is not found, verify that the Warden extension is properly installed.
- If the error persists after running the installer, manually check the ownership and permissions of the cache directory to ensure they align with your web server requirements.