I was working on a clients Dreamhost VPS server and received an error:
Sorry, there has been an error. Failed to write file to disk..
That’s not something I’ve come across before. Some googling didn’t turn up much but this InMotion hosting support page did mention a full
/tmp dir. A look at the php variables said my
/tmp folder was default and out of my control.
Error logs had these two rows:
Contacted Dreamhost with the info and they came back with just what the InMotion hosting page said. They emptied it and all is well.
Why it was full? Not sure. This was a dev site and I had accidentally left a cron running every ten minutes since the afternoon before. That was all was different.
In any case,
/temp folder was the thing!