• 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 Onyx Migrator from 12.5 not working

Janko1000

Regular Pleskian
Hi all,

we have a strange Issue to migrate some Webs from Plesk 12.5 to Plesk Onyx.
From Plesk 12.5 to another Plesk 12.5 is all working fine.

The Migrator in Plesk Onyx tells me:
Code:
Failed to connect to target Plesk server by Plesk API: <urlopen error [Errno 104] Connection reset by peer>

Code:
+|2016-11-12_04:10:32,875|D|MT|hosting_check.utils.http_client|||Unable to import NSS. We will use OpenSSL
+|2016-11-12_04:10:32,888|I|MT|core.migrator|||Initialize Plesk Migrator
+|2016-11-12_04:10:32,889|I|MT|core.migrator|||Load configuration
+|2016-11-12_04:10:32,889|D|MT|core.migrator|||Source panel: plesk
+|2016-11-12_04:10:32,889|D|MT|core.migrator|||Target panel: plesk
+|2016-11-12_04:10:32,895|I|MT|plesk.connections.target_connections|||Target Plesk host: 138.201.224.230
+|2016-11-12_04:10:32,896|I|MT|plesk.source.plesk.connections|||Source Plesk 'source' host: 85.93.91.21
+|2016-11-12_04:10:32,896|I|MT|plesk.connections.target_connections|||Target Plesk host: 138.201.224.230
+|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||Exception:
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||Traceback (most recent call last):
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/data_storage.py", line 14, in __init__
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||    self._data = self._load()
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/data_storage.py", line 57, in _load
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||    return decode_json(self._session_file.read())
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/json_utils.py", line 27, in decode_json
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||    return json.loads(data, cls=decoder)
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||  File "/opt/plesk/python/2.7/lib/python2.7/json/__init__.py", line 338, in loads
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||    return _default_decoder.decode(s)
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||  File "/opt/plesk/python/2.7/lib/python2.7/json/decoder.py", line 366, in decode
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||  File "/opt/plesk/python/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||    raise ValueError("No JSON object could be decoded")
=|2016-11-12_04:10:32,897|D|MT|core.utils.data_storage|||ValueError: No JSON object could be decoded
+|2016-11-12_04:10:32,905|D|MT|core.workflow.runner.base|||MIGRATOR START: /opt/psa/admin/sbin/modules//panel-migrator/plesk-migrator stop-migration /opt/psa/var/modules/panel-migrator/sessions/20161112040423/config.ini
+|2016-11-12_04:10:32,906|D|MT|core.workflow.runner.by_subscription|||Enter common action block
+|2016-11-12_04:10:32,906|D|MT|core.workflow.runner.by_subscription|||Checking whether it is required to execute action
+|2016-11-12_04:10:32,906|I|MT|core.workflow.runner.by_subscription|||START: Stop all running migrations in the current session
+|2016-11-12_04:10:32,906|I|MT|core.workflow.runner.by_subscription|||FINISH: Stop all running migrations in the current session
+|2016-11-12_04:10:32,906|D|MT|core.workflow.runner.by_subscription|||Exit common action block
+|2016-11-12_04:10:32,907|D|MT|core.workflow.runner.base|||MIGRATOR END: /opt/psa/admin/sbin/modules//panel-migrator/plesk-migrator stop-migration /opt/psa/var/modules/panel-migrator/sessions/20161112040423/config.ini
+|2016-11-12_04:10:41,011|D|MT|hosting_check.utils.http_client|||Unable to import NSS. We will use OpenSSL
+|2016-11-12_04:10:41,024|I|MT|core.migrator|||Initialize Plesk Migrator
+|2016-11-12_04:10:41,024|I|MT|core.migrator|||Load configuration
+|2016-11-12_04:10:41,024|D|MT|core.migrator|||Source panel: plesk
+|2016-11-12_04:10:41,024|D|MT|core.migrator|||Target panel: plesk
+|2016-11-12_04:10:41,031|I|MT|plesk.connections.target_connections|||Target Plesk host: 138.201.224.230
+|2016-11-12_04:10:41,032|I|MT|plesk.source.plesk.connections|||Source Plesk 'source' host: 85.93.91.21
+|2016-11-12_04:10:41,032|I|MT|plesk.connections.target_connections|||Target Plesk host: 138.201.224.230
+|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||Exception:
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||Traceback (most recent call last):
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/data_storage.py", line 14, in __init__
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||    self._data = self._load()
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/data_storage.py", line 57, in _load
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||    return decode_json(self._session_file.read())
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/json_utils.py", line 27, in decode_json
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||    return json.loads(data, cls=decoder)
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||  File "/opt/plesk/python/2.7/lib/python2.7/json/__init__.py", line 338, in loads
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||    return _default_decoder.decode(s)
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||  File "/opt/plesk/python/2.7/lib/python2.7/json/decoder.py", line 366, in decode
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||  File "/opt/plesk/python/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||    raise ValueError("No JSON object could be decoded")
=|2016-11-12_04:10:41,033|D|MT|core.utils.data_storage|||ValueError: No JSON object could be decoded

Login with SSH Keys works fine.
 
Hello!

Looks like Plesk Migrator is unable to access your target Plesk Onyx by API-RPC. Messages in the log which you attach are not errors, just a working process, but an actual error should be near - debug log contain exact API request which fails. Could you please provide me a full debug.log via private conversation for investigation?
 
Hello Janko1000,

We have performed more detail investigation and discovered the main reason of this error. The issue was occured because TLSv1 protocol was disabled for Plesk API on target server.
The software issue "PMT-3276" was created and will be fixed in nearest Plesk Migrator update.

Thanks.
 
Back
Top