• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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 Issues with Subscription Transfer in Plesk: "Permission Denied" and Partition Usage Concerns

Dandi

New Pleskian
Server operating system version
Alamalinux + Cloudlinux
Plesk version and microupdate number
18.0.65 Update #2
Hello,

I recently set up a new server to transfer some subscriptions from my old server. However, I encountered several issues during the transfer process. Below are the details:

System Information:

  • Server OS: Cloudlinux
  • Plesk Version: Plesk Obsidian 18.0.65 Update #2 Web Host Edition
  • Disk Configuration:
# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 4.0K 63G 1% /dev/shm
tmpfs 63G 59M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sda4 70G 56G 15G 80% /
none 63G 4.0K 63G 1% /var/lve/dbgovernor-shm
/dev/sda2 1014M 287M 728M 29% /boot
/dev/sda5 1.8T 17G 1.8T 1% /home
/dev/sda1 599M 5.9M 593M 1% /boot/efi
tmpfs 13G 0 13G 0% /run/user/989
tmpfs 13G 0 13G 0% /run/user/1001

Problem 1: Errors During Subscription Transfer

When running the following command:
plesk bin transvhosts.pl --dest-dir /home/www/vhosts --correct-scripts
I encountered multiple errors like these:
[2024-12-03 06:57:29.489] ERR [panel] Exception: filesystem error: directory iterator cannot open directory: Permission denied [/usr/local/psa/var/apspackages/.../cache/scripts]
It seems related to permissions or some misconfiguration. These errors occur repeatedly for different subscriptions.

Problem 2: Partition /dev/sda4 Filling Up

I noticed that during the transfer, the /dev/sda4 partition (mounted at /) is being utilized heavily, even though the subscriptions are configured to use /home (partition /dev/sda5). Current usage of / is at 80%, while /home is mostly free. This seems inefficient, and I suspect it might contribute to my issues.

Troubleshooting So Far

  1. Ran plesk repair fs - No errors found.
  2. Verified that /home/www/vhosts is the correct target directory for subscription storage.
  3. Checked permissions on /usr/local/psa/var/apspackages/ and its subdirectories.

Questions:

  1. Permission Errors:
    • How can I resolve the "Permission Denied" errors during the transfer process?
    • Are there specific directories or users I should check for proper permissions?
  2. Partition Usage:
    • Why is /dev/sda4 being utilized during the transfer instead of /dev/sda5?
    • How can I ensure new subscriptions use /home to avoid overloading /?
  3. General Tips:
    • Are there any best practices or configurations I should apply to avoid such issues in future transfers?

Any insights or suggestions would be greatly appreciated. Thank you!


 
Hi!

> 1. Permission Errors:
I could not reproduce this issue on the test, but I guess it depends on specific applications installed on the server. Based on the directory there are some application scripts in cache directories.
Application Cache stores already downloaded applications and it is used to deploy these applications for new domains without downloading it each time. Therefore, I would suggest to clean up the cache "Tools&Settings > Application Vault > Clear Cache" before transferring vhost directory.
> 2. Partition Usage:
Most probably it is used as temporary storage during the transfer.
You can review /etc/psa/psa.conf configuration file to check what working directories are used by Plesk and adjust them if it is necessary.
> 3. General Tips:
Unfortunately, there are no single document with such tips. Most common is to create a backups (if you running Plesk inside virtual machine - create a snapshot of the VM, it will be possible to restore previous state quickly). Unpredictable behavior can be with NAS devices for Plesk services.
 
Back
Top