• 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.

Resolved Backup Warning "pd: Cannot open: Permission denied"

lukas-degan

Basic Pleskian
Hi all,

in backup log i see 3 domains with the following error:
Code:
Warning: Subscription "<domain1>"
Not all the data from /var/www/vhosts/<domain1> was backed up successfully:
  pd: Cannot open: Permission denied
Warning: Subscription "<domain2>"
Not all the data from /var/www/vhosts/<domain2> was backed up successfully:
  pd: Cannot open: Permission denied
Warning: Subscription "<domain3>"
Not all the data from /var/www/vhosts/<domain3> was backed up successfully:
  pd: Cannot open: Permission denied

In vhosts directory i saw that there are symlinks at these domains. ls -lh shows me:
lrwxrwxrwx 1 <user> psacln 41 Jul 26 00:22 conf -> /var/www/vhosts/system/<domain1>/conf
The same thing i noticed with statistics directory.

In others domain directorys i dont found symlinks, so i feel that is the reason?

Can anybode help me please?
 
Hello lukas-degan,

Could you please send some additional details about your installation?

You can use the following commands:
Code:
plesk version
and
Code:
plesk db "select * from upgrade_history;"

Thank you.
 
Hello lukas-degan,

Could you please send some additional details about your installation?

You can use the following commands:
Code:
plesk version
and
Code:
plesk db "select * from upgrade_history;"

Thank you.

Product version: Plesk Obsidian 18.0.31.0
OS version: Debian 10.6 x86_64

+---------------------+--------------+------------+-------------+------+---------------+
| upgrade_date | version_info | db_version | os | mu | update_ticket |
+---------------------+--------------+------------+-------------+------+---------------+
| 2020-07-04 23:37:27 | 18.0.28 | NULL | Debian 10.4 | 1 | |
| 2020-07-07 06:26:56 | 18.0.28 | NULL | Debian 10.4 | 2 | |
| 2020-07-22 12:07:09 | 18.0.28 | NULL | Debian 10.4 | 3 | |
| 2020-08-09 17:20:49 | 18.0.29 | NULL | Debian 10.5 | 0 | |
| 2020-08-27 18:32:16 | 18.0.29 | NULL | Debian 10.5 | 2 | |
| 2020-09-20 21:46:52 | 18.0.30 | NULL | Debian 10.5 | 0 | |
| 2020-09-24 22:34:34 | 18.0.30 | NULL | Debian 10.5 | 1 | |
| 2020-10-13 21:06:17 | 18.0.30 | NULL | Debian 10.6 | 2 | |
| 2020-10-31 23:04:42 | 18.0.31 | NULL | Debian 10.6 | 0 | |
+---------------------+--------------+------------+-------------+------+---------------+
 
Hello lukas-degan,

Thank you for the provided information. You wrote:
In vhosts directory i saw that there are symlinks at these domains. ls -lh shows me:
lrwxrwxrwx 1 <user> psacln 41 Jul 26 00:22 conf -> /var/www/vhosts/system/<domain1>/conf
The same thing i noticed with statistics directory.

In others domain directorys i dont found symlinks, so i feel that is the reason?
Yes, you are right.

The warning messages mean that 'pd' directory was not included in a backup, so the backup itself is not in a 'failed' state.
To workaround the issue you can exclude '/conf' directory from backups. Here is an example of how to do it: How to exclude specific files/directories from a backup in Plesk?

You can also execute and check the information about permissions per domain:
Code:
plesk repair fs <your_domain> -n

'-n' option means 'only check' and nothing will be changed on your system. Please refer to 'plesk repair fs --help' to get additional details.

Regarding the links, in Plesk Obsidian we do not create such vhost structure by default and, as I can see, your installation was not upgraded from old Plesk versions.

Have you performed some actions with these domains before?

Thank you.
 
Hi Aytalina,
thx for your reply and your help.
plesk repair gives me the following:
Code:
 Incorrect permissions on
      /var/www/vhosts/system/<domain>/conf: expected is one of
      0750, actual is 0755
      Incorrect permissions on
      /var/www/vhosts/system/<domain>/statistics: expected is
      one of 0550, actual is 0755
      Incorrect permissions on
      /var/www/vhosts/system/<domain>/conf/httpd.conf: expected
      is one of 0600, actual is 0755
      Incorrect permissions on
      /var/www/vhosts/system/<domain>/conf/nginx.conf: expected
      is one of 0600, actual is 0755

The domains were migrated with plesk migrator from an plesk onyx server few months ago.
But how can i exactly solve my issue now? Can i unlink the symlinks without any trouble? Or must i set the correct permissions?

Thank you
 
lukas-degan,

I suppose that its inconsistency could be a result of previous upgrades (maybe from old Plesk versions, for instance, 10.4.4 to the Onyx).

You can remove these links if there are no absolute paths to 'vhost.conf' in your configuration files.

Then, you can correct permissions automatically by calling 'plesk repair fs <domain_name>'.
 
Back
Top