Question

All my sites on my droplet stopped working. Turned on debug and got fwrite() error.

Is it as simple as purchasing a volume and attaching it to the droplet. I have done this but seem to still be getting the error intermitantly.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Can you share the complete error that you are getting here?

If you are using PHP and Apache/Nginx, you might have to make sure that the permissions of your directories are set correctly so that the web service has the correct write access:

sudo chown -R www-data: /path/to/directory

Best,

Bobby