Author Topic: Migration to other CWS server fails  (Read 3675 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Migration to other CWS server fails
« on: October 16, 2019, 04:11:24 PM »
I try to migrate CWP server accounts to a new server. I don't see any errors, the account is created by not database and therefor nothing works.

This is the result, no errors (did remove ssh key entry)

2019-10-16 15:57:20 Verifying...!
2019-10-16 15:57:21 initiating account creation landy
2019-10-16 15:57:21 2019-10-16 15:57:21 https://51.75.180.86:2304/v1/account
2019-10-16 15:57:22 {status:OK}
2019-10-16 15:57:22 account creation landy
2019-10-16 15:57:23 copying account data (landy)
2019-10-16 15:57:24 initiating mail transfer and domain name (landy)
2019-10-16 15:57:24 mail account creation info@landroverfoto.eu {status:OK,result:{domain:landroverfoto.eu,username:info}}
2019-10-16 15:57:24 mail account creation webmaster@landroverfoto.eu {status:OK,result:{domain:landroverfoto.eu,username:webmaster}}
2019-10-16 15:57:24 sshpass -e ionice -c 3 nice -n +19 rsync -avz -e 'ssh -p 2230' -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet /var/vmail/landroverfoto.eu/ root@51.75.180.86:/var/vmail/landroverfoto.eu/
2019-10-16 15:57:25 vacation
2019-10-16 15:57:25 alias creation admin@landroverfoto.eu {status:OK,result:Alias email admin@landroverfoto.eu Successfully adding}
2019-10-16 15:57:25 landroverfoto.nl >>>> /public_html
2019-10-16 15:57:25 mail add domain creation landroverfoto.nl {status:OK,message:Data Updated!}
2019-10-16 15:57:25 alias addons domains
2019-10-16 15:57:25 vacation addons domains
2019-10-16 15:57:25 Create contacts.json
2019-10-16 15:57:25 Create identities.json
2019-10-16 15:57:26 initiating database copying (landy)
2019-10-16 15:57:43 ready 3 to transfer
2019-10-16 15:57:43 DB: landy_wpLndr
2019-10-16 15:57:43 Generating Database Backup
2019-10-16 15:57:43 mysqldump --databases landy_wpLndr > /home/landy/dumpsql.sql 2>&1
2019-10-16 15:57:44
2019-10-16 15:57:46 {status:OK,result:[{database:landy_wpLndr,user:landy_wp556,host:localhost}]}
2019-10-16 15:57:47 starting copying account files (landy)
2019-10-16 15:57:47 sshpass -e ionice -c 3 nice -n +19 rsync -avz -e 'ssh -p 2230 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet' /home/landy/ root@51.75.180.86:/home/landy/
2019-10-16 15:57:49
2019-10-16 15:57:50 Creating user and mysql permissions on the remote machine landy
2019-10-16 15:57:50 Successfully migrated account landy
2019-10-16 15:57:50


Regards. Machiel Broekman
ISES Softpack