• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Clicking on Backup triggers the error: Warning: Permission denied.

enerspace

Basic Pleskian
Server operating system version
Almalinux 8.10
Plesk version and microupdate number
18.0.68 Update #2
Hello everyone,

I have the problem that when I go to the Backup Manager as user: admin and click on "Back Up", I end up on the dashboard with the error message: "Warning: Permission denied."

However, backups can be carried out via CLI and scheduled.

Does anyone have an idea what this could be caused by?

I have already tried several approaches:
  • Plesk repair all
  • Delete SFTP Addon
Error in the log files:
Code:
PleskPermissionDeniedException: Permission denied.
file: /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Backup/Trait.php
line: 290
code: 0
trace: #0 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): Admin_BackupController->backupAction()
#1 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'backupAction')
#2 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#3 /usr/local/psa/admin/plib/Application/Web.php(48): Zend_Controller_Front->dispatch(object of type Zend_Controller_Request_Http)
#4 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()

Best regards
 
Hello, @enerspace . Assuming that you don't have restricted mode enabled, I would recommend temporarily enabling Plesk debug mode, reproducing the issue and checking the panel.log for additional details. I know that in the past users experienced similar issues due to modules with empty name value.
 
The entries logged before/after the PleskPermissionDeniedException: Permission denied, specifically SQL entries (if the issue is the same in your case). If you can provide what's logged at the time of the issue, it will be great.
 
Hi @Sebahat.hadzhi,

Here the log file:
Code:
[2025-04-14 18:28:45.536] 102907:67fd37bd7c54a DEBUG [dbquery] [73] SQL: SELECT `Modules`.* FROM `Modules` WHERE (`name` = '')
[2025-04-14 18:28:45.536] 102907:67fd37bd7c54a DEBUG [dbquery] [73] END: 0.00003 sec
[2025-04-14 18:28:45.536] 102907:67fd37bd7c54a ERR [panel] PleskPermissionDeniedException: Permission denied.
file: /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Backup/Trait.php
line: 290
code: 0
trace: #0 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): Admin_BackupController->backupAction()
#1 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'backupAction')
#2 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#3 /usr/local/psa/admin/plib/Application/Web.php(48): Zend_Controller_Front->dispatch(object of type Zend_Controller_Request_Http)
#4 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()

How can I fix the error?

Can’t the error also be fixed by the Plesk repair tool in the future?
 
What's the output of these commands?
Code:
ls -ld /usr/local/psa/PMM/tasks && ls -l /usr/local/psa/PMM/tasks/
Code:
ls -ld /usr/local/psa/PMM && ls -l /usr/local/psa/PMM/
Plesk Repair may not catch an incorrect permission if it's on the parent directory, so please that to check.
 
Hi @alvarezcruz ,

Code:
root@XXX ~ # ls -ld /usr/local/psa/PMM/tasks && ls -l /usr/local/psa/PMM/tasks/
drwxr-x--- 2 root root 4.0K 15. Apr 09:22 /usr/local/psa/PMM/tasks
insgesamt 208K
-rw-r--r-- 1 root root 204K 15. Apr 09:22 tasks.db
root@XXX~ # ls -ld /usr/local/psa/PMM && ls -l /usr/local/psa/PMM/
drwxr-xr-x 8 root root 4.0K 15. Apr 09:22 /usr/local/psa/PMM
insgesamt 408K
-rwxr-xr-x  1 root   root   2.2K  7. Mär 11:51 correct_aw_statistics.pl
-rw-r--r--  1 root   root   1.8K  7. Mär 11:51 list_admin.py
-rw-r--r--  1 root   root    542  7. Mär 11:51 list_password.py
-rw-r--r--  1 root   root    805  7. Mär 11:51 log4cpp.properties
-rwxr-xr-x  1 root   root    53K  7. Mär 11:51 mb2md.pl
-rw-r--r--  1 root   root    99K  7. Mär 11:51 plesk.xsd
-rw-r--r--  1 root   root   102K  7. Mär 11:51 pmm-common.xsd
-rw-r--r--  1 root   root   104K  7. Mär 11:51 restore-specification.xsd
drwxr-xr-x  7 root   root   4.0K 15. Apr 09:22 rsessions
-rwxr-xr-x  1 root   root    997  7. Mär 11:51 sa_convert.sh
drwxr-xr-x  2 root   root   4.0K 18. Mär 11:20 schemas
drwxr-xr-x 10 root   root   4.0K 15. Apr 02:12 sessions
drwxr-x---  2 root   root   4.0K 15. Apr 09:22 tasks
drwxr-xr-x  2 psaadm psaadm 4.0K 15. Apr 09:22 tmp
drwxr-xr-x  2 root   root   4.0K 11. Mär 10:25 var
 
Back
Top