Hi,
Everything was working fine until suddenly WordPress can’t write anything to disk, such as update plugins, upload media, etc. Also as a result of this, w3 total cache doesn’t work, because it can’t write to disk.
I have checked to make sure that permissions are set to 755 and owner is www-data (apache user).
Temporarily swithching permissions to 775 or 777 and running an update still didn’t work.
I have even tried to recreate the uploads and upgrade directories.
Nothing works. Any suggestions on a fix for this?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I would recommend checking a couple things.
1.) Make sure that your web files are owned by the user www-data (this is for Ubuntu or Debian and the line below assumes the default web root for apache).
chown -Rf www-data.www-data /var/www/html
2.) Check that you have not run out of disk space
df
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.