Author Topic: cPanel Migration Tool is not working stops at backup  (Read 34944 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cPanel Migration Tool is not working stops at backup
« on: August 24, 2019, 10:38:42 AM »
Everything is working fine. My all the packages are migrated. but when it comes to accounts it stops at

[2019-08-24 16:04:54] - Start import process CPANELCWP_20190824103454
[2019-08-24 16:04:56] - Import Account epilepsyfirst
[2019-08-24 16:04:56] - Create Backup Account epilepsyfirst

This account is of 7Mb and i am waiting from last half an hour no any log is generated after these 3 line in the log window


2019-08-24 10:10:19 23992
--> /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -f /usr/local/cwpsrv/htdocs/resources/admin/include/cron_migration_cpanelv2.php &> /dev/null & echo $!
2019-08-24 10:12:28 31008
--> /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -f /usr/local/cwpsrv/htdocs/resources/admin/include/cron_migration_cpanelv2.php &> /dev/null & echo $!
2019-08-24 10:22:15 1387
--> /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -f /usr/local/cwpsrv/htdocs/resources/admin/include/cron_migration_cpanelv2.php &> /dev/null & echo $!
2019-08-24 10:34:54 6324
--> /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -f /usr/local/cwpsrv/htdocs/resources/admin/include/cron_migration_cpanelv2.php &> /dev/null & echo $!
« Last Edit: August 24, 2019, 10:46:47 AM by vivekmoyal »

Offline
*
Re: cPanel Migration Tool is not working stops at backup
« Reply #1 on: August 24, 2019, 10:55:30 AM »
Is this with manual 1 account at a time migration? If not try manually.

Offline
*
Re: cPanel Migration Tool is not working stops at backup
« Reply #2 on: August 24, 2019, 11:10:57 AM »
manually means go to cpanel -> create backup -> download backup -> restore it over cwp.

I have 122 accounts to migrate it will took 2 3 days to complete

Offline
*
Re: cPanel Migration Tool is not working stops at backup
« Reply #3 on: August 24, 2019, 11:16:55 AM »
Here are the logs

2019-08-24 16:04:56 RESPUESTA BACKUP --> {"metadata":{"version":1,"command":"start_background_pkgacct","reason":"Permission denied: You do not have the required privileges to run “start_background_pkgacct”.","result":0}} --> epilepsyfirst
2019-08-24 16:04:56 HTTP STATUS BACK --> 200 --> epilepsyfirst
2019-08-24 16:04:56 Import Account epilepsyfirst
2019-08-24 16:04:56 Create Backup Account epilepsyfirst
2019-08-24 16:04:56 update accounts set FILE_BACKLOG='', FILE_BACK_ELOG='', FILE_NAME='cpmove-epilepsyfirst.tar.gz', BACKUP_ID = '' where ID='3'
2019-08-24 10:34:56 /usr/bin/ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@159.69.7.198 test -f /var/cpanel/pkgacct_sessions// && echo 'true' || echo 'false' 2>&1
2019-08-24 10:34:56 false
2019-08-24 10:34:56 false

Offline
*
Re: cPanel Migration Tool is not working stops at backup
« Reply #4 on: August 24, 2019, 02:00:39 PM »
cPanel migration will bring an extra issue of file permissions. If you are good at command line, do the below

1. Create all users in CWP
2. Compress data of each user in public_html
3. Download that compressed file by going to cd /home/<user>/public_html by using wget <url>/file.zip
4. Uncompress there or goto Advanced File Manager of CWP and uncompress from there

This could take around 5 mins per user. If db exists, then some extra time.

Offline
*
Re: cPanel Migration Tool is not working stops at backup
« Reply #5 on: August 25, 2019, 01:06:37 AM »
cPanel migration will bring an extra issue of file permissions. If you are good at command line, do the below

1. Create all users in CWP
2. Compress data of each user in public_html
3. Download that compressed file by going to cd /home/<user>/public_html by using wget <url>/file.zip
4. Uncompress there or goto Advanced File Manager of CWP and uncompress from there

This could take around 5 mins per user. If db exists, then some extra time.

Have you checked the root permissions for the cpanel api?


Offline
*****
Re: cPanel Migration Tool is not working stops at backup
« Reply #6 on: August 25, 2019, 01:13:10 AM »
Here are the logs

2019-08-24 16:04:56 RESPUESTA BACKUP --> {"metadata":{"version":1,"command":"start_background_pkgacct","reason":"Permission denied: You do not have the required privileges to run “start_background_pkgacct”.","result":0}} --> epilepsyfirst
2019-08-24 16:04:56 HTTP STATUS BACK --> 200 --> epilepsyfirst
2019-08-24 16:04:56 Import Account epilepsyfirst
2019-08-24 16:04:56 Create Backup Account epilepsyfirst
2019-08-24 16:04:56 update accounts set FILE_BACKLOG='', FILE_BACK_ELOG='', FILE_NAME='cpmove-epilepsyfirst.tar.gz', BACKUP_ID = '' where ID='3'
2019-08-24 10:34:56 /usr/bin/ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@159.69.7.198 test -f /var/cpanel/pkgacct_sessions// && echo 'true' || echo 'false' 2>&1
2019-08-24 10:34:56 false
2019-08-24 10:34:56 false


Hi, You must create the Cpanel Api with all the privileges so you can create the backups