cPanel Transfer Failure

mr_rain5

Registered
Nov 23, 2020
3
0
1
Notts
cPanel Access Level
Website Owner
I'm currently attempting to restore a cPanel account from another server. The transfer was successful however restore subsequently failed with the following error message:

Target “/home” on host “host.domain.com” has 409.31 GB free and requires at least 39 bytes free, which includes space for temporary files. debug: Established cpanel session


Disk space appears to be fine on the server itself:

Code:
[my.server]# df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                  16G     0   16G   0% /dev
tmpfs                     16G     0   16G   0% /dev/shm
tmpfs                     16G  9.2M   16G   1% /run
tmpfs                     16G     0   16G   0% /sys/fs/cgroup
/dev/mapper/centos-root   50G  6.0G   45G  12% /
/dev/sda2               1014M  144M  871M  15% /boot
/dev/sda1                200M   12M  189M   6% /boot/efi
/dev/mapper/centos-home  410G   34M  410G   1% /home
/dev/loop0               2.3G  8.0M  2.1G   1% /tmp
tmpfs                    3.2G     0  3.2G   0% /run/user/0
At this point I'm not sure what is happening - Any ideas?
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
3,074
384
243
cPanel Access Level
Root Administrator
Hey there! Did you see any other lines reported from the Transfer Tool when you tried that work? That piece of the transfer log is usually just information, and doesn't indicate a specific error. If there are other entries in the log please let me see those and that might allow me to provide better details.
 

mr_rain5

Registered
Nov 23, 2020
3
0
1
Notts
cPanel Access Level
Website Owner
Hey there! Did you see any other lines reported from the Transfer Tool when you tried that work? That piece of the transfer log is usually just information, and doesn't indicate a specific error. If there are other entries in the log please let me see those and that might allow me to provide better details.
Thank you for the speedy response!

Yes, there was more in the logs...

This is the full error message:


Code:
Starting “RESTORE” for “Account” “domain”.
Restore File: /home/cpmove-domain-1606152865.tar.gz
Restore Reseller Privs: no
Restricted mode: yes
Live transfer: no
Target “/home” on host “my.dedi” has 409.31 GB free and requires at least 39 bytes free, which includes space for temporary files.
debug: Established cpanel session
The “Reseller” restore module has the following areas disabled by request: “all”
ArchiveManager
Preparing archive for restoration …
Calculating disk space needed …
Done.
Target “/home/cpanelpkgrestore.TMP.work.d055ec0c/unsafe_to_read_archive” on host “my.dedi” has 409.31 GB free and requires at least 39 bytes free, which includes space for temporary files.
ArchiveManager
Failed to extract the archive at “/home/cpmove-domain-1606152865.tar.gz”: The tar archive extraction failed because of the error “The “/usr/bin/gtar --no-same-owner --use-compress-program=/usr/local/cpanel/bin/gzip-wrapper --preserve-permissions --extract --directory /home/cpanelpkgrestore.TMP.work.d055ec0c/unsafe_to_read_archive --file /home/cpmove-fireplac-1606152865.tar.gz” command (process 15435) reported error number 2 when it ended.”: pigz: skipping: <stdin> unrecognized format /usr/bin/gtar: Child returned status 1 /usr/bin/gtar: Error is not recoverable: exiting now
Removing copied archive “/home/cpmove-domain-1606152865.tar.gz” from the local server …
Failed: Account Restore Failed: “Failed to extract the archive at “/home/cpmove-domain-1606152865.tar.gz”: The tar archive extraction failed because of the error “The “/usr/bin/gtar --no-same-owner --use-compress-program=/usr/local/cpanel/bin/gzip-wrapper --preserve-permissions --extract --directory /home/cpanelpkgrestore.TMP.work.d055ec0c/unsafe_to_read_archive --file /home/cpmove-domain-1606152865.tar.gz” command (process 15435) reported error number 2 when it ended.”: pigz: skipping: <stdin> unrecognized format /usr/bin/gtar: Child returned status 1 /usr/bin/gtar: Error is not recoverable: exiting now ”
Let me know if you need anything more :)
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
3,074
384
243
cPanel Access Level
Root Administrator
Thanks for the details - that seems much better and gives me more information to work with.

Is this work happening through the Transfer Tool in WHM or did you create the backup and move the backup file to a new server to restore it? It looks like the latter option to me, and if that is the case can you run the following command the cpmove file to see what it says?

tar -tzf /home/cpmove-domain-1606152865.tar.gz

That will give a lot of output, but if you see something like this block of text, that would indicate the tar file is corrupted and you won't be able to restore your data from it:

Code:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
We have some additional details about this in our article here: How to check a tar file for corruption

but let me know if that helps!
 

mr_rain5

Registered
Nov 23, 2020
3
0
1
Notts
cPanel Access Level
Website Owner
Thanks for the details - that seems much better and gives me more information to work with.

Is this work happening through the Transfer Tool in WHM or did you create the backup and move the backup file to a new server to restore it? It looks like the latter option to me, and if that is the case can you run the following command the cpmove file to see what it says?

tar -tzf /home/cpmove-domain-1606152865.tar.gz

That will give a lot of output, but if you see something like this block of text, that would indicate the tar file is corrupted and you won't be able to restore your data from it:

Code:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
We have some additional details about this in our article here: How to check a tar file for corruption

but let me know if that helps!
Unfortunately, it's the former option, the backup was transferred from the remote server and attempted to restore which is when it failed. I'm in the processing of taking a backup manually and will try extracting via SSH.

I'm inclined at this point to agree with you about it being corrupt.

If all else fails I'm just going to rsync.

Thank you for your help! I will let you know how it goes