failed to write to disk
That sounds like either a full web space or a lack of write permissions. Since everything was working fine before, I’d guess it’s the former. Check under Tools > Site Health to see if anything is listed there. Contact your hosting provider’s support team regarding the storage space and to resolve the issue.
thanks. I looked at Site Health. No red.
– First bit has recommendations like delete inactive themes and plugins.
– It says all directories are writable.
– it also says Files can be uploaded (ini)
-This is normal ? Opcode cache interned strings usage 100.00% of 8 MB (16 B free)
I’ve only uploaded +-10 small pictures and the WordPress. IT says total size 173Mb. If it were a space problem, I assume I wouldn’t be able to upload a lot via FTP ? I just uploaded 30mb worth of photos via Ftp to domain.
The helpdesk is usually fast but probably not everyone knows everything there.
Storage space seems to be fine – though some hosting providers use inodes as a limit on storage space. You may have created so many files in the cache (e.g., with a caching plugin) that no more can be added. The hosting support team should be able to see that, though.
Otherwise, it’s really strange. But it must be a feature of the hosting service that’s preventing the files from being saved.
If FTP uploads work but uploads through WordPress fail with “Failed to write to disk,” it’s often a server configuration issue rather than a WordPress issue. Since Site Health reports that your directories are writable, I’d ask your host to check:
- Disk quotas and inode limits.
- The PHP temporary upload directory (
upload_tmp_dir).
- Any
open_basedir restrictions or filesystem permissions for the PHP user.
These can all cause uploads and plugin installations to fail even when FTP uploads work normally. If your host confirms all of those are correct, enabling WP_DEBUG may provide a more specific error message.
I don’t know what the helpdesk checked this morning but he said it’s best that I delete the wordpress via the control panel and start over again. And now everything is gone, can’t make a new wordpress or anything and I have no ftp access even so that’s great :p
I wonder if i can cancel and get another cheap host. I quit my site years ago because it was hosted on Windows with asp.net but if i can do it with wordpress i don’t need the expensive host. And the SSL and all other new obligated stuff seems manageable too. I got that working in the first days.
If I hear from them and get it to work same way again, i could ask those things.
THey installed wordpress and db again and i had to start all over again. Had made a backup so not everything was lost.. but had to redo almost everything anyway. At least the photo upload works again. I guess I’ll have to just make more backups.