Error in trasnfer File

Started by johnny09, March 10, 2023, 11:16:36 AM

Previous topic - Next topic

johnny09

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?

overseer

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?

johnny09

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?

overseer

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).

johnny09

There is plenty away able space.
A dotfile? There are no files at home. Can you suggest more...were and what to look?

overseer

Have you looked over the migration log?
/var/log/cwp/migration_cwptocwp.log

And the dot files look something like this while it is processing:
/home/.accountname2023030210162406c06f23df2524dbd24ad6f8dd4027a2
/home/cwpmove-accountname.tar.gz
/home/.CWPTOCWP_20230302090033

johnny09

Log:
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

cwpmove-site.tar.gz
.CWPTOCWP_20230313090528

overseer

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.

johnny09


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

johnny09


johnny09

Solution was from another server to migrate and it worked.

overseer

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!)