• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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