The WordPress error “Missing a temporary folder.” usually means PHP cannot write temporary files during an upload (media, plugin ZIP, theme ZIP). On GARMTECH hosting this is typically caused by one of these reasons:
- disk space or inode limit is reached
- incorrect permissions on temporary folders
- a custom PHP setting (
upload_tmp_dir) points to a folder that does not exist
Step 1: Check disk space and inodes first
- Log in to Plesk from My.GARMTECH.
- Open Statistics and check Disk space and Inodes.
If any limit is close to 100%, clean up files (cache/backups) and retry the upload.
Step 2: Reset custom temp directory settings (recommended)
If you have previously added custom PHP directives, remove them first:
- Plesk → Websites & Domains → your domain → PHP Settings.
- Scroll to Additional configuration directives.
- If you see
upload_tmp_dir=..., remove it and save.
In many cases, returning to the default temp directory resolves the issue immediately.
Step 3: Create a private temp folder (if you need a custom one)
If the default temp folder still fails, you can define your own temp directory inside your domain (recommended location: private directory, not public httpdocs):
- In Plesk, open Files.
- Go to your domain root and open the
privatedirectory (create it if it does not exist). - Create a folder named
tmp(so you getprivate/tmp). - Set permissions to allow writing (usually
700or750is enough). - Copy the full path (Plesk File Manager shows it above the file list), for example:
/var/www/vhosts/example.com/private/tmp - Now set it in Plesk:
- PHP Settings → Additional configuration directives
- Add:
upload_tmp_dir=/var/www/vhosts/example.com/private/tmp
Step 4: Retest and check logs
- Retry uploading a small image in WordPress (Media → Add New).
- If it still fails, open Plesk Logs for the domain to see the exact PHP warning/error.
Tip: If you enabled 2FA in WordPress, this error is unrelated – it is a filesystem/PHP write issue.
Add Comment