Author Topic: CWP CO6 - CWP CO7 migration not working  (Read 9274 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP CO6 - CWP CO7 migration not working
« on: September 15, 2018, 06:21:25 PM »
I want to migrate cwp from a server with centos 6 to another server with cwp on centos 7.

I always get the message:

Successful operation
The following error occurred (false )

Offline
*
Re: CWP CO6 - CWP CO7 migration not working
« Reply #1 on: September 15, 2018, 06:23:23 PM »
I also cant restore a backup manually on the user panel.
https://i.imgur.com/Asw5bRj.png

Offline
***
Re: CWP CO6 - CWP CO7 migration not working
« Reply #2 on: September 16, 2018, 09:25:26 AM »
I migrated two servers and it went fine. Kindly post all log entries for the migration.

Offline
*
Re: CWP CO6 - CWP CO7 migration not working
« Reply #3 on: September 16, 2018, 10:38:09 AM »
However I got it working by using the default ssh port (22) instead of a custom one.

Offline
*
Re: CWP CO6 - CWP CO7 migration not working
« Reply #4 on: September 16, 2018, 11:05:46 AM »
However the file transfer does not work...
 https://i.imgur.com/JcyxgG3.png

Code: [Select]
2018-09-16 10:48:54
2018-09-16 10:48:55 Creating user and mysql permissions on the remote machine arcade
2018-09-16 10:48:55 Successfully migrated account arcade
2018-09-16 10:48:55 
2018-09-16 10:54:04 Verifying...!
2018-09-16 10:54:05 initiating account creation analytic
2018-09-16 10:54:06 account creation analytic
2018-09-16 10:54:06 {status:OK}
2018-09-16 10:54:07 copying account data (analytic)
2018-09-16 10:54:08 initiating mail transfer and domain name (analytic)
2018-09-16 10:54:08 vacation
2018-09-16 10:54:08 mail add domain creation analytics.gsoftwarelab.com {status:OK,message:Data Updated!}
2018-09-16 10:54:08 alias addons domains
2018-09-16 10:54:09 vacation addons domains
2018-09-16 10:54:10 initiating database copying (analytic)
2018-09-16 10:54:10 ready 3 to transfer
2018-09-16 10:54:10 DB:  analytic_db
2018-09-16 10:54:10 Generating Database Backup
2018-09-16 10:54:10 mysqldump --databases --user=*** --password=***  analytic_db > /home/analytic/dumpsql.sql 2>&1
2018-09-16 10:54:13
2018-09-16 10:54:14 {status:OK,result:[{database:analytic_db,user:analytic_db,host:localhost}]}
2018-09-16 10:54:15 starting copying account files (analytic)
2018-09-16 10:54:15 /usr/bin/sshpass -e ionice -c 3 nice -n +19 rsync  -avz -e 'ssh -p 22  -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet' /home/analytic/ root@104.168.61.***:/home/analytic/
2018-09-16 10:54:18
2018-09-16 10:54:19 Creating user and mysql permissions on the remote machine analytic
2018-09-16 10:54:19 Successfully migrated account analytic
2018-09-16 10:54:19 
2018-09-16 11:00:56 Verifying...!
2018-09-16 11:00:57 initiating account creation analytic
2018-09-16 11:00:57 account creation analytic
2018-09-16 11:00:57 {status:OK}
2018-09-16 11:00:58 copying account data (analytic)
2018-09-16 11:00:59 initiating mail transfer and domain name (analytic)
2018-09-16 11:00:59 vacation
2018-09-16 11:01:00 mail add domain creation analytics.gsoftwarelab.com {status:OK,message:Data Updated!}
2018-09-16 11:01:00 alias addons domains
2018-09-16 11:01:00 vacation addons domains
2018-09-16 11:01:01 initiating database copying (analytic)
2018-09-16 11:01:01 ready 3 to transfer
2018-09-16 11:01:01 DB:  analytic_db
2018-09-16 11:01:01 Generating Database Backup
2018-09-16 11:01:01 mysqldump --databases --user=*** --password=*** analytic_db > /home/analytic/dumpsql.sql 2>&1
2018-09-16 11:01:04
2018-09-16 11:01:05 {status:OK,result:[{database:analytic_db,user:analytic_db,host:localhost}]}
2018-09-16 11:01:06 starting copying account files (analytic)
2018-09-16 11:01:06 /usr/bin/sshpass -e ionice -c 3 nice -n +19 rsync  -avz -e 'ssh -p 22  -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet' /home/analytic/ root@104.168.61.**:/home/analytic/
2018-09-16 11:01:10
2018-09-16 11:01:11 Creating user and mysql permissions on the remote machine analytic
2018-09-16 11:01:11 Successfully migrated account analytic
2018-09-16 11:01:11 

Edit:
the transfer only works if I migrate one by one.
« Last Edit: September 16, 2018, 11:30:36 AM by g4m3r »