Iñaki López
New Pleskian
Hi all,
I've been reading about Directadmin migration problems using Plesk Migrator 2.7.9-0. I've configured all required options:
On Directadmin 1.51.3 server (source):
On Plesk Onyx 17.5.3 Update #6 server (target):
But after taking into account all threads on forum about errors on this kind of migration, I still receive this error:
Can someone help me?. As you can see the stdout ssh session output shows me those rare codes [97m etc. that as far as I know are color related codes for ssh sessions. Could this be causing the error?.
Thank you in advance for your help!.
I've been reading about Directadmin migration problems using Plesk Migrator 2.7.9-0. I've configured all required options:
On Directadmin 1.51.3 server (source):
- CentOS 6.9 (Linux version 2.6.32-642.15.1.el6.x86_64 (mockbuild@c1bm.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Fri Feb 24 14:31:22 UTC 2017)
- Python 2.6.6
- sshd_config
PermitRootLogin yes
RSAAuthentication yes
PubkeyAuthentication yes
UsePAM yes
AllowUsers plesk-migrator-*
On Plesk Onyx 17.5.3 Update #6 server (target):
- CentOS 7.3.1611 (Linux version 3.10.0-514.16.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Apr 12 15:04:24 UTC 2017)
- Python 2.7.5
- panel.ini
[api]
enabled = on
- No admin restrict access is configured
- Disabled Fail2ban and Plesk Firewall
But after taking into account all threads on forum about errors on this kind of migration, I still receive this error:
Code:
Failed to collect information about objects on source server
Cause: Command execution failed on the source server 'directadmin' (x.x.x.x) with non-zero exit code.
command: /opt/plesk/python/2.7/bin/python /root/plesk_migrator/plesk_migrator-6858cw408xtludzv08al1o3zjphgnui5/agent/directadmin.py
exit code: 1
stdout: [97m[2017-05-20 18:56:05] [0mGetting DirectAdmin config[0m
...................................
....... HERE GOES USER DETAIL DATA FROM DIRECTADMIN SERVER .......
...................................
[97m[2017-05-20 18:56:06] [0mClosing connection to DirectAdmin database[0m
stderr: Traceback (most recent call last):
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 1742, in <module>
panel_dump = get_dump()
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 1705, in get_dump
resellers=get_resellers(warnings, connections),
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 1670, in get_resellers
suspended
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 1504, in get_subscriptions
da_subscription
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 1225, in get_protected_directories
"AuthUserFile"
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 1168, in get_protected_directory_users
skip_error=True
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 192, in get_lines
error = check_file(filename)
File "/root/plesk_migrator/plesk_migrator-39eq08n21k0zy2i3lmdtmpzunoyvst4w/agent/directadmin.py", line 126, in check_file
if not os.path.exists(filename):
File "/opt/plesk/python/2.7/lib64/python2.7/genericpath.py", line 26, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
That is a critical error, migration was stopped.
Can someone help me?. As you can see the stdout ssh session output shows me those rare codes [97m etc. that as far as I know are color related codes for ssh sessions. Could this be causing the error?.
Thank you in advance for your help!.
Last edited: