Author Topic: Error in trasnfer File  (Read 2634 times)

0 Members and 3 Guests are viewing this topic.

Offline
**
Error in trasnfer File
« on: March 10, 2023, 11:16:36 AM »
Hi, made a CWP > CWP migration, had done it 10+ times, no problem before, but had issue with drive space. So made extra space but still get the error > Error in trasnfer File, any help?

Offline
*****
Re: Error in trasnfer File
« Reply #1 on: March 11, 2023, 09:49:21 AM »
How much space do you have available and what is the size of the account you are transferring? Are you factoring in the mail in /var/vmail?

Offline
**
Re: Error in trasnfer File
« Reply #2 on: March 13, 2023, 08:48:51 AM »
180 GB now, was 80kb, size is not big, I migrated a 15GB sites, this could be less than 1gb, also mail, yes.
Can it be that at server side the file was stooped or something?

Offline
*****
Re: Error in trasnfer File
« Reply #3 on: March 13, 2023, 09:07:34 AM »
I would think you would need 2x the space of the account for a migration, to allow for an archive file to temporarily exist and be expanded into place before being cleaned up at the end. And if it was interrupted, make sure it is cleaned up (usually a dotfile directory in /home).

Offline
**
Re: Error in trasnfer File
« Reply #4 on: March 13, 2023, 09:15:28 AM »
There is plenty away able space.
A dotfile? There are no files at home. Can you suggest more...were and what to look?

Offline
*****
Re: Error in trasnfer File
« Reply #5 on: March 14, 2023, 12:59:10 AM »
Have you looked over the migration log?
Code: [Select]
/var/log/cwp/migration_cwptocwp.log
And the dot files look something like this while it is processing:
Code: [Select]
/home/.accountname2023030210162406c06f23df2524dbd24ad6f8dd4027a2
/home/cwpmove-accountname.tar.gz
/home/.CWPTOCWP_20230302090033

Offline
**
Re: Error in trasnfer File
« Reply #6 on: March 14, 2023, 07:46:32 AM »
Log:
Code: [Select]
2023-03-13 05:05:55 An error occurred while trying to create the account api
2023-03-13 05:05:55 grep 'site=' /home/.CWPTOCWP_20230313090528/accounts.ini
2023-03-13 05:05:55 rm -fR /home/.site2023031309134001a5ea6ff464cbabbde5c582cbe7868c

Home 2 files only
Code: [Select]
cwpmove-site.tar.gz
.CWPTOCWP_20230313090528

Offline
*****
Re: Error in trasnfer File
« Reply #7 on: March 14, 2023, 08:38:29 AM »
Can you post a little more of the log? Probably not the whole thing, but the last 20-25 lines so that might help us identify the cause of the error.

Offline
**
Re: Error in trasnfer File
« Reply #8 on: March 14, 2023, 10:34:59 AM »
Code: [Select]
2023-03-13 05:05:53 true
2023-03-13 05:05:53 Pos-> 0
2023-03-13 05:05:53 grep 'site=' /home/.CWPTOCWP_20230313090528/accounts.ini
2023-03-13 05:05:53 Start Transfer Backup site
2023-03-13 05:05:54 nice -n -10 ionice -c2 -n1 rsync -e 'ssh -p 0' -avz root@192.168.0.0:/home/cwpmove-site.tar.gz /home/
2023-03-13 05:05:54 grep 'site=' /home/.CWPTOCWP_20230313090528/accounts.ini
2023-03-13 05:05:54 Transfer Backup Completed site
2023-03-13 05:05:54 Starting file decompression site
2023-03-13 05:05:54 cwpmove-site/
cwpmove-site/conf.json
/usr/bin/tar: cwpmove-site/conf.json: time stamp 2023-03-13 11:13:40 is 465.861746116 s in the future
cwpmove-site/package.json
/usr/bin/tar: cwpmove-site/package.json: time stamp 2023-03-13 11:13:40 is 465.861540152 s in the future
cwpmove-site/ssl/
cwpmove-site/ssl/autossl/
cwpmove-site/ssl/autossl/ssl.json
/usr/bin/tar: cwpmove-site/ssl/autossl/ssl.json: time stamp 2023-03-13 11:13:43 is 468.86138846 s in the future
cwpmove-site/ssl/autossl/cert/
cwpmove-site/ssl/autossl/cert/siteor.lv.cert
/usr/bin/tar: cwpmove-site/ssl/autossl/cert/siteor.lv.cert: time stamp 2023-03-13 11:13:43 is 468.861283773 s in the future
cwpmove-site/ssl/autossl/key/
/usr/bin/tar: cwpmove-site/ssl/autossl/cert: time stamp 2023-03-13 11:13:43 is 468.861197412 s in the future
cwpmove-site/ssl/autossl/key/siteor.lv.key
/usr/bin/tar: cwpmove-site/ssl/autossl/key/siteor.lv.key: time stamp 2023-03-13 11:13:43 is 468.861085643 s in the future
cwpmove-site/ssl/autossl/bundle/
/usr/bin/tar: cwpmove-site/ssl/autossl/key: time stamp 2023-03-13 11:13:43 is 468.860988835 s in the future
cwpmove-site/ssl/autossl/bundle/siteor.lv.bundle
/usr/bin/tar: cwpmove-site/ssl/autossl/bundle/siteor.lv.bundle: time stamp 2023-03-13 11:13:43 is 468.860895447 s in the future
cwpmove-site/ssl/commercial/
/usr/bin/tar: cwpmove-site/ssl/autossl/bundle: time stamp 2023-03-13 11:13:43 is 468.860814233 s in the future
/usr/bin/tar: cwpmove-site/ssl/autossl: time stamp 2023-03-13 11:13:40 is 465.860794539 s in the future
cwpmove-site/ssl/commercial/cert/
cwpmove-site/ssl/commercial/cert/siteor.cert
/usr/bin/tar: cwpmove-site/ssl/commercial/cert/siteor.cert: time stamp 2023-03-13 11:13:40 is 465.860694528 s in the future
cwpmove-site/ssl/commercial/key/
/usr/bin/tar: cwpmove-site/ssl/commercial/cert: time stamp 2023-03-13 11:13:40 is 465.860610116 s in the future
cwpmove-site/ssl/commercial/key/siteor.key
/usr/bin/tar: cwpmove-site/ssl/commercial/key/siteor.key: time stamp 2023-03-13 11:13:40 is 465.860521117 s in the future
cwpmove-site/ssl/commercial/bundle/
/usr/bin/tar: cwpmove-site/ssl/commercial/key: time stamp 2023-03-13 11:13:40 is 465.860441809 s in the future
cwpmove-site/ssl/commercial/bundle/siteor.bundle
/usr/bin/tar: cwpmove-site/ssl/commercial/bundle/siteor.bundle: time stamp 2023-03-13 11:13:40 is 465.860353827 s in the future
cwpmove-site/mysql/
/usr/bin/tar: cwpmove-site/ssl/commercial/bundle: time stamp 2023-03-13 11:13:40 is 465.860321152 s in the future
/usr/bin/tar: cwpmove-site/ssl/commercial: time stamp 2023-03-13 11:13:40 is 465.860303008 s in the future
/usr/bin/tar: cwpmove-site/ssl: time stamp 2023-03-13 11:13:40 is 465.860286599 s in the future
cwpmove-site/mysql/dump.log
/usr/bin/tar: cwpmove-site/mysql/dump.log: time stamp 2023-03-13 11:13:42 is 467.860240952 s in the future
cwpmove-site/mysql/site_db.sql.gz
/usr/bin/tar: cwpmove-site/mysql/site_db.sql.gz: time stamp 2023-03-13 11:13:43 is 468.80382073 s in the future
cwpmove-site/mysql/user_grants.sql
/usr/bin/tar: cwpmove-site/mysql/user_grants.sql: time stamp 2023-03-13 11:13:43 is 468.803654493 s in the future
cwpmove-site/domains.json
/usr/bin/tar: cwpmove-site/mysql: time stamp 2023-03-13 11:13:43 is 468.80360336 s in the future
/usr/bin/tar: cwpmove-site/domains.json: time stamp 2023-03-13 11:13:43 is 468.803551852 s in the future
cwpmove-site/passwd
/usr/bin/tar: cwpmove-site/passwd: time stamp 2023-03-13 11:13:43 is 468.803411303 s in the future
cwpmove-site/ftp/
cwpmove-site/ftp/accounts_ftp.json
/usr/bin/tar: cwpmove-site/ftp/accounts_ftp.json: time stamp 2023-03-13 11:13:43 is 468.803324315 s in the future
cwpmove-site/named/
/usr/bin/tar: cwpmove-site/ftp: time stamp 2023-03-13 11:13:43 is 468.803252197 s in the future
cwpmove-site/named/siteor.db
/usr/bin/tar: cwpmove-site/named/siteor.db: time stamp 2023-03-13 11:13:43 is 468.8031795 s in the future
cwpmove-site/named/siteor.lv.db
/usr/bin/tar: cwpmove-site/named/siteor.lv.db: time stamp 2023-03-13 11:13:43 is 468.803120459 s in the future
/usr/bin/tar: cwpmove-site/named: time stamp 2023-03-13 11:13:43 is 468.803058674 s in the future
/usr/bin/tar: cwpmove-site: time stamp 2023-03-13 11:13:43 is 468.803032288 s in the future

2023-03-13 05:05:54 The file was decompressed site
2023-03-13 05:05:55 Finish site
2023-03-13 05:05:55 Start Read /home/.site2023031309134001a5ea6ff464cbabbde5c582cbe7868c/cwpmove-site/conf.json
2023-03-13 05:05:55 {"email":"site@gmail.com","package_name":"default","package_id":"1","domain":"siteor","reseller":""}
2023-03-13 05:05:55 {"id":"1","package_name":"default","disk_quota":"200000","bandwidth":"1000000","ftp_accounts":"10","email_accounts":"10","email_lists":"10","databases":"10","sub_domains":"10","parked_domains":"10","addons_domains":"10","hourly_emails":"200","reseller":"","accounts":"","cgroups":"","nproc":"40","apache_nproc":"40","inode":"0","nofile":"150","nodejs_apps":"1","mongo_database":"1"}
2023-03-13 05:05:55 {"access_token":"40ed8a53fdfd408ab45a43cce803","user":"site","domain":"siteor","action":"add","pass":"123qwe**","email":"site@gmail.com","package":"1","inode":0,"limit_nproc":40,"limit_nofile":200,"server_ips":"1.1.1.1","backup":"ON"}
2023-03-13 05:05:55 ********************** >null
2023-03-13 05:05:55 An error occurred while trying to create the account api
2023-03-13 05:05:55 grep 'site=' /home/.CWPTOCWP_20230313090528/accounts.ini
2023-03-13 05:05:55 rm -fR /home/.site2023031309134001a5ea6ff464cbabbde5c582cbe7868c

Offline
**
Re: Error in trasnfer File
« Reply #9 on: March 15, 2023, 01:04:47 PM »
Any ideas???

Offline
**
Re: Error in trasnfer File
« Reply #10 on: March 20, 2023, 09:30:42 AM »
Solution was from another server to migrate and it worked.

Offline
*****
Re: Error in trasnfer File
« Reply #11 on: March 25, 2023, 08:15:11 PM »
Well, glad you got that sorted out! I just couldn't offer too much advice from afar without being in an interactive mode to try testing different possibilities. I've posted my migration experience to a couple of threads so it's there for posterity. (I post things like that here on the forum so I can look things back up at a later date!)