Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

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

 
backup restore migrationcpaneldomainsfirewallplesk for linux

Symptoms

When starting a Plesk migration, the preparation fails with one of the following error messages:

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.


Could not connect to the target server. ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain


Failed to fetch basic information about resellers, clients and domains data from source servers
...
stderr: /bin/mkdir: cannot create directory ‘/root’: Permission denied


Failed to fetch basic information about resellers, clients and domains data from source servers
...
stderr: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]


SSH connection to the source server 'source' (203.0.113.2) can not be used: command "bin/true" executed by SSH returned non-zero exit code. Check that the user used to connect to the server has "/bin/sh" or "/bin/bash" as its shell.

Cause

Migration was started using a user with sudo rights.

For Plesk migration, only a built-in 'root' user will work.

Resolution

Start a new Plesk migration session using the 'root' user and its password.

If the 'root' user is disabled on the source server, enable it using the steps from this KB article.

Note: To learn more about Plesk Migrator limitations, see this KB article.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

WebPros Announces the Promotion of Jesse Asklund to Chief Product Officer

Read More »

Hosting Control Panels of 2024 – The Definitive Guide

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »
Knowledge Base

How to migrate from cPanel to Plesk using Plesk Migrator?

Read More »

Unable to start Plesk migration or connect via SSH Terminal extension due to invalid permissions on .ssh files: Permission denied (publickey,gssapi-with-mic,password)

Read More »

Unable to start migration on Plesk server: Command execution failed on the local server with non-zero exit code.

Read More »

Subscription does not appear in the list of subscription during migration from cPanel to Plesk

Read More »

Hosting Wiki

  • Server Redundancy
  • AMP
  • Bare Metal Server
  • Backup
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • Domain
  • cPanel/WHM
  • Plesk
  • Web Server
  • DNS Server
  • SSH
  • Firewall
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family