• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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