• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved migration error

andon

Basic Pleskian
Hello

I want Migrate from a onyx Server to a other onyx Server whit the Plesk Migrate tool on Webinterface. Both servers have ubuntu 16.04

This error occurs after entering the login information from the source server:

Preparing migration
Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: Failed to execute SQL query on Plesk database: failed to parse JSON returned by SQL script.
Query:
SELECT Subscriptions.id as subscription_id, clients.id, login, pname
FROM clients
LEFT JOIN Subscriptions ON
Subscriptions.object_id = clients.id
AND Subscriptions.object_type = 'client'
WHERE clients.type = 'reseller'

Command's exit code: 255
Command's stdout:
Command's stderr: Died at AgentConfig.pm line 23.

That is a critical error, migration was stopped.
 
First of all make sure that MySQL server on source server works fine and you can successfully execute this SQL query manually with:

# plesk db
mysql> SELECT Subscriptions.id as subscription_id, clients.id, login, pname FROM clients LEFT JOIN Subscriptions ON Subscriptions.object_id = clients.id AND Subscriptions.object_type = 'client' WHERE clients.type = 'reseller';
 
Could you confirm that you use root account with corresponding password for migration?
 
sorry my mistake. Ubuntu have by default a not activatet root user. Ubuntu have a other admin user and works whit sudo root privilegues. I have enter this user, but not work. Now i have activated the root user and add him ssh access. now migrator works. Sorry that I used your time because of this stupid mistake from my.

activate root user on ubuntu.

sudo passwd root

afther that

in /etc/ssh/sshd_config

replace

# Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password
StrictModes yes

whit:

# Authentication:
LoginGraceTime 120
#PermitRootLogin prohibit-password
PermitRootLogin yes
StrictModes yes

afther that

service ssh restart
 
Back
Top