Applicable to:
- Plesk for Linux
Symptoms
-
Unable to start migration. The following error message can be found in the downloaded debug logfile:
CONFIG_TEXT: [ERROR] Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: The command "authorized_keys_dir="`dirname ~/.ssh/authorized_keys`";
if [ ! -d "$authorized_keys_dir" ]; then
mkdir -p "$authorized_keys_dir";
fi;
...........
executed at the source server 'source' (203.0.113.2) returned a non-zero exit code.
Stderr:
bash: line 8: /root/.ssh/authorized_keys: Permission denied -
The file /root/.ssh has immutable bit:
# lsattr -a /root/.ssh
----i-------- /root/.ssh/.
Cause
Plesk is not able to create the authorized_keys file, because the file /root/.ssh is immutable.
Resolution
-
Connect to the source Plesk server via SSH.
-
Remove the immutable bit attribute:
# chattr -i /root/.ssh
Comments
0 comments
Please sign in to leave a comment.