• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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