Plesk

Unable to start Plesk migration: bin/mkdir: cannot create directory: Permission denied

Symptoms

Unable to start migration to Plesk with one of the following errors:

Failed to perform action: Fetch data from source cPanel
Cause: Command execution failed on the source server 'cpanel' (203.0.113.2) with non-zero exit code.
command: /bin/mkdir -p /home/user/public_html/plesk_migrator
exit code: 1
stdout:
stderr: /bin/mkdir: cannot create directory `/home/user': Permission denied
That is a critical error, migration was stopped.


Failed to fetch basic information about resellers, clients and domains data from source servers Cause: Command execution failed on the source server 'source' (203.0.113.2) with non-zero exit code. command: /bin/mkdir -p /root/plesk_migrator exit code: 1 stdout: stderr: /bin/mkdir: cannot create directory ‘/root’: Permission denied
That is a critical error, migration was stopped.


Failed to perform action: Fetch shallow data from source cPanel
Cause: Error while connecting to the the source server 'cpanel' (203.0.113.2) at '203.0.113.2' by SSH as 'exampleuser': Unable to connect to '203.0.113.2' by SSH: [Errno 110] Connection timed out.
Ensure that the server is up and there are no firewall rules that may block SSH connections to the server, then restart migration. That is a critical error, migration was stopped.

Cause

Plesk Migrator could not create required directory on the source server because migration was started not under root user.

Resolution

Start a new migration session having specified root user credentials from the source server on the step 4.

If the issue still persists, configure the source server to accept SSH connections and allow user root to log in:

 Preparing Linux-based source server access for Plesk migration

Exit mobile version