Transfer tool: Unimplemented remotecopy direction: download at /usr/local/cpanel/Whostmgr/Remote/CommandStream/Legacy.pm line 352.

elmister

Active Member
Mar 2, 2004
42
2
158
I'm trying to transfer one account from a Centos 7 server to another Centos 7, same cpanel version on both and i'm getting an error

I'm doing it disabling the copy from the backup and enable and disabling fast transfer doesn't make a difference

Unimplemented remotecopy direction: download at /usr/local/cpanel/Whostmgr/Remote/CommandStream/Legacy.pm line 352.

Multiple attemps give the same result, this is the transfer log, some details (server names, domains and IPs) have been edited to keep customer privacy


Starting “TRANSFER” for “Cuenta” “editedaccountname”.
Copiar destino: /home
Tipo de servidor remoto: “WHM1164”.
Iniciando una conexión de API (Interfaz de programación de aplicaciones) remota para empaquetar la cuenta en un proceso en segundo plano …
[2021-09-20 20:49:49 +0200] pkgacct started.
[2021-09-20 20:49:49 +0200] pkgacct version 10 - user : editedaccountname - tarball: 1 - target mysql : 10.3 - split: 1 - incremental: 0 - homedir: 0 - mailman: 1 - backup: 0 - archive version: 4 - running with uid 0
[2021-09-20 20:49:49 +0200] pkgacct using '/usr/local/cpanel/3rdparty/bin/pigz -6 --processes 8 --blocksize 128 --rsyncable' to compress archives
[2021-09-20 20:49:49 +0200] pkgacct working dir : /home/cpmove-editedaccountname
[2021-09-20 20:49:49 +0200] Copying Reseller Config...
[2021-09-20 20:49:49 +0200] Done
[2021-09-20 20:49:49 +0200] Copying Suspension Info (if needed)...
[2021-09-20 20:49:49 +0200] Done
[2021-09-20 20:49:49 +0200] Copying installed SSL certificates and keys...
[2021-09-20 20:49:49 +0200] Performing “ApacheTLS” component....
[2021-09-20 20:49:49 +0200] Completed “ApacheTLS” component.
[2021-09-20 20:49:49 +0200] Done
[2021-09-20 20:49:49 +0200] Copying DKIM keys....
[2021-09-20 20:49:49 +0200] Done
[2021-09-20 20:49:49 +0200] Copying Bandwidth Data....
[2021-09-20 20:49:49 +0200] Performing “Bandwidth” component....
[2021-09-20 20:49:49 +0200] Summary databases …
[2021-09-20 20:49:50 +0200] done!
[2021-09-20 20:49:50 +0200] Completed “Bandwidth” component.
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Copying Dns Zones....
[2021-09-20 20:49:50 +0200] ...other.edited.es...
[2021-09-20 20:49:50 +0200] ...editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...editedaccountname.com...
[2021-09-20 20:49:50 +0200] ...editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...editedaccountname.mobi...
[2021-09-20 20:49:50 +0200] ...xxxx.editedaccountname.com...
[2021-09-20 20:49:50 +0200] ...editedaccountname.net...
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Copying Mail files....
[2021-09-20 20:49:50 +0200] Performing “MailConfig” component....
[2021-09-20 20:49:50 +0200] Completed “MailConfig” component.
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Copying proftpd file....
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Performing “Logs” component....
[2021-09-20 20:49:50 +0200] ...log file sizes [31460921 byte(s)]...
[2021-09-20 20:49:50 +0200] ...editedaccountname-popbytes_log...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.com.editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...xxx.edited.es.editedaccountname.edited.es-bytes_log...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.mobi.editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.net.editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.edited.es.editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.edited.es.editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...xxx.edited.es.editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...ftp.editedaccountname.edited.es-ftp_log...
[2021-09-20 20:49:50 +0200] ...xxxeditedaccountname.net.editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...xxxx.xxxeditedaccountname.com...
[2021-09-20 20:49:50 +0200] ...xxxeditedaccountname.mobi.editedaccountname.edited.es-bytes_log...
[2021-09-20 20:49:50 +0200] ...xeditedaccountname.com.editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...xx.xxxxeditedaccountname.com-ssl_log...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.mobi.editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...xxxxx.xxxxeditedaccountname.com.editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...xxxx.edited.es.editedaccountname.edited.es...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.net.editedaccountname.edited.es-bytes_log...
[2021-09-20 20:49:50 +0200] ...xxxx.xxxxeditedaccountname.com.editedaccountname.edited.es-ssl_log...
[2021-09-20 20:49:50 +0200] ...xxxxeditedaccountname.com.editedaccountname.edited.es-bytes_log...
[2021-09-20 20:49:50 +0200] Completed “Logs” component.
[2021-09-20 20:49:50 +0200] Copy userdata...
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Copy custom virtualhost templates...
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Copying mailman lists and archives....
[2021-09-20 20:49:50 +0200] Done copying mailman lists and archives.
[2021-09-20 20:49:50 +0200] Performing “Postgresql” component....
[2021-09-20 20:49:50 +0200] Completed “Postgresql” component.
[2021-09-20 20:49:50 +0200] Performing “Mysql” component....
[2021-09-20 20:49:50 +0200] Determining mysql dbs...
[2021-09-20 20:49:50 +0200] ...mysqldump version: 5.7.35...
[2021-09-20 20:49:50 +0200] ...mysql version: 5.7...
[2021-09-20 20:49:50 +0200] Saving mysql privs...
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Saving mysql authentication information...
[2021-09-20 20:49:50 +0200] Done
[2021-09-20 20:49:50 +0200] Storing MySQL databases...
[2021-09-20 20:49:50 +0200] Storing database editedaccountname_com
[2021-09-20 20:49:50 +0200] Storing database editedaccountname_seditedaccountname
[2021-09-20 20:49:51 +0200] Storing database editedaccountname_somedabase
[2021-09-20 20:49:52 +0200] Done
[2021-09-20 20:49:52 +0200] ...Done
[2021-09-20 20:49:52 +0200] ...Done
[2021-09-20 20:49:52 +0200] Completed “Mysql” component.
[2021-09-20 20:49:52 +0200] Performing “MysqlRemoteNotes” component....
[2021-09-20 20:49:52 +0200] Completed “MysqlRemoteNotes” component.
[2021-09-20 20:49:52 +0200] Performing “CpUserFile” component....
[2021-09-20 20:49:52 +0200] Completed “CpUserFile” component.
[2021-09-20 20:49:52 +0200] Performing “Cron” component....
[2021-09-20 20:49:52 +0200] Readable crontab file (/var/spool/cron/editedaccountname) found; copying …
[2021-09-20 20:49:52 +0200] Completed “Cron” component.
[2021-09-20 20:49:52 +0200] Performing “Quota” component....
[2021-09-20 20:49:52 +0200] Completed “Quota” component.
[2021-09-20 20:49:52 +0200] Performing “Integration” component....
[2021-09-20 20:49:52 +0200] Completed “Integration” component.
[2021-09-20 20:49:52 +0200] Performing “AuthnLinks” component....
[2021-09-20 20:49:52 +0200] Completed “AuthnLinks” component.
[2021-09-20 20:49:52 +0200] Performing “APITokens” component....
[2021-09-20 20:49:52 +0200] Completed “APITokens” component.
[2021-09-20 20:49:52 +0200] Performing “DNSSEC” component....
[2021-09-20 20:49:52 +0200] Completed “DNSSEC” component.
[2021-09-20 20:49:52 +0200] Performing “Custom” component....
[2021-09-20 20:49:52 +0200] No custom components to perform.
[2021-09-20 20:49:52 +0200] Completed “Custom” component.
[2021-09-20 20:49:52 +0200] Performing “AutoSSL” component....
[2021-09-20 20:49:52 +0200] Completed “AutoSSL” component.
[2021-09-20 20:49:52 +0200] Storing Subdomains....
[2021-09-20 20:49:52 +0200] Done
[2021-09-20 20:49:52 +0200] Storing Parked Domains....
[2021-09-20 20:49:52 +0200] Done
[2021-09-20 20:49:52 +0200] Storing Addon Domains....
[2021-09-20 20:49:52 +0200] Performing “Password” component....
[2021-09-20 20:49:52 +0200] Completed “Password” component.
[2021-09-20 20:49:52 +0200] Performing “DigestShadow” component....
[2021-09-20 20:49:52 +0200] Completed “DigestShadow” component.
[2021-09-20 20:49:52 +0200] Copying shell.......
[2021-09-20 20:49:52 +0200] Done
[2021-09-20 20:49:52 +0200] Performing “WebCalls” component....
[2021-09-20 20:49:52 +0200] Completed “WebCalls” component.
[2021-09-20 20:49:52 +0200] Performing “PublicContact” component....
[2021-09-20 20:49:52 +0200] Completed “PublicContact” component.
[2021-09-20 20:49:52 +0200] Performing “MailLimits” component....
[2021-09-20 20:49:52 +0200] Completed “MailLimits” component.
[2021-09-20 20:49:52 +0200] Performing “LinkedNodes” component....
[2021-09-20 20:49:52 +0200] Completed “LinkedNodes” component.
[2021-09-20 20:49:52 +0200] Creating Archive ....
[2021-09-20 20:49:52 +0200]
[2021-09-20 20:49:52 +0200] splitpkgacctfile is: /home/cpmove-editedaccountname-split/cpmove-editedaccountname.tar.gz.part00001
[2021-09-20 20:49:52 +0200] splitmd5sum is: c6a1cf35c1620158006f9f6a1498dfde
[2021-09-20 20:49:52 +0200] splitsize is: 5402904
[2021-09-20 20:49:52 +0200] Done
[2021-09-20 20:49:52 +0200] mysqlsize is: 259637270
[2021-09-20 20:49:52 +0200] pkgacct completed
El objetivo “/home” en el anfitrión “newserver” tiene 1,66 TB libre y requiere al menos 11,26 GB libre, incluido el espacio para los archivos temporales.
El objetivo “/home” en el anfitrión ““newserver”” tiene 176.361.614 inodos libre y requiere al menos 386.091 inodos libre, incluido el espacio para los archivos temporales.
¡Usar el método de distribución de archivos!
Archivo n.º1: “/home/cpmove-editedaccountname-split/cpmove-editedaccountname.tar.gz.part00001” con md5sum: c6a1cf35c1620158006f9f6a1498dfde
El archivo remoto es “/home/cpmove-editedaccountname-split/cpmove-editedaccountname.tar.gz.part00001” con tamaño: 5402904
Intento n.º1 para realizar la transferencia mediante el método “WHM”.
El sistema recuperará la transmisión mediante el WHM remoto del host “66.66.ip.66:2087”…
…100% @ 40.7573 MiB/s …
Listo
La descarga mediante el método “WHM” falló: Unknown error
Intento n.º1 para realizar la transferencia mediante el método “SCP”.
Falló: Unimplemented remotecopy direction: download at /usr/local/cpanel/Whostmgr/Remote/CommandStream/Legacy.pm line 352.


Any clue about what could be wrong? searching on the error message gave no information
 
Last edited by a moderator:

elmister

Active Member
Mar 2, 2004
42
2
158
Finally i solved this issue.

-SOLUTION-

Transfer tool was able to connect to port 2087 on source server but unable to connect to SSH, in my case it was caused because source server had ssh configured to not allow login with password, in my case /etc/ssh/sshd_config had "PermitRootLogin without-password" which didn't allow cpanel to login with the password.

If you are having this issue, check if you can manually connect to SSH on source server from the destination server with the same password or key you are trying to use with transfer tool.

-- END SOLUTION --