- 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:
I encountered multiple errors like these:
It seems related to permissions or some misconfiguration. These errors occur repeatedly for different subscriptions.
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
- Ran plesk repair fs - No errors found.
- Verified that /home/www/vhosts is the correct target directory for subscription storage.
- Checked permissions on /usr/local/psa/var/apspackages/ and its subdirectories.
Questions:
- 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?
- 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 /?
- General Tips:
- Are there any best practices or configurations I should apply to avoid such issues in future transfers?