- Plesk Onyx for Linux
Note: This article has the reference to the issue with the fix available:
- #PMT-3980 "Fixed the issue where it was impossible to import websites to the Plesk on CloudLinux target server with enabled CageFS."
- Site Import 1.2.0 16 May 2018 (Linux)
Transferring of WordPress site with Website Importing functionality fails with an error like:
PLESK_ERROR: Most probably, files were not copied from the source site: failed to decode output of FTP migrator.
Error when decoding output: No JSON object could be decoded
stderr of the FTP migrator:
sh: /usr/local/psa/var/modules/panel-migrator/thirdparties/ftp-migrator_1.6/ftp-migrator: No such file or directory
Plesk is installed on CloudLinux and system user of target subscription is added to CageFS enabled.
A directory cannot be created due to CageFS restrictions. This is a Plesk Migrator bug PMT-3980 was fixed in its component update - Site Import 1.2.0 .
As a workaround, apply the steps below:
Connect to the server using SSH
/etc/cagefs/cagefs.mpfile with text editor:
# vi /etc/cagefs/cagefs.mp
- Add to the file the following line:
# grep thirdparties /etc/cagefs/cagefs.mp
- Re-initializes mount points for all customers:
# cagefsctl --remount-all