• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue 500 PleskFileException when trying to see the backup pages

elektronen

New Pleskian
Server operating system version
Ubuntu 20.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.38
Hello,

I have problem to see backups page in admin. I get the error:
TypePleskFileException
MessageDirectory does not exist or isn't writable: /opt/psa/tmp
FileFileUtils.php
Line229

The directory is there.
 

Attachments

  • plesk500error.jpg
    plesk500error.jpg
    102.6 KB · Views: 5
That is a temporary directory for backups. The location is defined in /etc/psa/psa.conf in the constant DUMP_TMP_D. First check what is stated there, e.g.
grep -v '#' /etc/psa/psa.conf | grep -w DUMP_TMP_D
Normally this should be /tmp, not /opt/psa/tmp.

Then make sure that that temporary path exists and is writeable, e.g.
# ll /opt/psa/tmp
or
# ll /tmp
(whatever path is set in your psa.conf)
Your tmp directory should have these owners and permissions:
Owner root, group root (root:root)
Permissions drwxrwxrwt. (equivalent to 1777)

If you want to change the path for backup tmps, see https://support.plesk.com/hc/en-us/...for-temporary-backup-files-in-Plesk-for-Linux
 
Thank you. The 1777 solved the issue on /opt/psa/tmp , BUT ...

... in the psa.conf the temp directory is set to /tmp and already have the right permissions (checked it before I posted) , so the /opt/psa/tmp should not matter. Seems like it is a bug, since Pleask is checking /opt/psa/tmp for no reason at all when I do try to see the admin page of backups. /opt/psa/tmp is not at all in the psa.conf files.

Should I report it somewhere?
 
Back
Top