Local restore of account not doing anything
I am attempting to migrate a client to a new server using a local restore that I created on the old server, and it's saying it's completed with 0% done. No warnings, no errors, no debug information of any kind. The cpmove file is in the /home directory, I am able to select it and it looks like it's starting, then it immediately finishes:
https://i.imgur.com/UGNWAEo.png
After i click Restore: https://i.imgur.com/BbfQ2ze.png
When I run the command they give to check the progress in terminal: https://i.imgur.com/SjqrQF5.png
It seems like there is plenty of space for it (and I would expect an error message if there weren't), the file did completely transfer from the old server, and I am stumped on where to go from here. Any ideas? Note, I ran the tool twice with the exact same results each time, and also should mention there definitely is no new user created. Nothing. Edit: This wouldn't have anything to do with us still being in the trial period, would it? I would think if that were the case there would be some sort of message on the screen about it, but like I said there is nothing. Edit 2: In case it matters, the cpmove file was created on the source server using the `/scripts/pkgacct USERNAME` command. The old server was cpanel version 86.0.34 on CentOS 6.10 and the new one is 92.0.6 on CentOS 7.9. -Michael
After i click Restore: https://i.imgur.com/BbfQ2ze.png
When I run the command they give to check the progress in terminal: https://i.imgur.com/SjqrQF5.png
It seems like there is plenty of space for it (and I would expect an error message if there weren't), the file did completely transfer from the old server, and I am stumped on where to go from here. Any ideas? Note, I ran the tool twice with the exact same results each time, and also should mention there definitely is no new user created. Nothing. Edit: This wouldn't have anything to do with us still being in the trial period, would it? I would think if that were the case there would be some sort of message on the screen about it, but like I said there is nothing. Edit 2: In case it matters, the cpmove file was created on the source server using the `/scripts/pkgacct USERNAME` command. The old server was cpanel version 86.0.34 on CentOS 6.10 and the new one is 92.0.6 on CentOS 7.9. -Michael
-
Hey there! That's definitely odd and I would expect some additional errors to happen. This wouldn't be related to the trial license as that doesn't restrict any of the features on the system. Do you see anything odd in the cPanel logs at /usr/local/cpanel/logs/error_log on the system? You could also try performing the restore directly from the command line to see if that gives you additional output. To do that, you'd run this command: /scripts/restorepkg boiling1 /home/cpmove-boiling1.tar.gz
Could you try that to see if that gets you more detail?0 -
@cPRex Thanks, I did actually open a ticket after posting this, and yeah, that shows that there is not enough space on the primary disk. I do have an additional partition with plenty of space on it, and i know you can have multiple home directories, but for some reason it's not creating new accounts on the /home2 directory I created on the other partition (even though that partition has much more space on it). It's a bug that the error that shows when i run it manually is not showing in the control panel, right? That should be showing something? Edit: In Basic WHM Setup i explicitly told it to create new accounts under /home2, and that worked for new accounts at least, but still not putting the restore there. -Michael 0 -
It should definitely show something in the interface if an error happens. Can you post the ticket number here so I can follow along on my end? 0 -
It's 94055235. Regarding /home2, I put it on the wrong partition, doh! The Basic WHM setup says: [quote]Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) Only mount points are considered.
My additional drive is mounted at /mnt/volume_nyc3_01. Do I need to rename the mount point to /home2 in order for cpanel to automatically use it? -Michael0 -
Thanks for the additional details. For cPanel to automatically see and use that, it should be named /home$ to work with all our tools. 0 -
Thanks for the additional details. For cPanel to automatically see and use that, it should be named /home$ to work with all our tools.
When you say "it", are you referring to the directory or the mount point? I copied the cpmove file to the directory on the additional disk and ran the command from there, and now it actually appears to be working:/scripts/restorepkg /mnt/volume_nyc3_01/home2/cpmove-boiling1.tar.gz
Edit: nope. It checked for space on the home2, then went ahead and starting installing it in /home. My guess is it will run out of space and crash. /sigh -Michael0 -
Ah, sorry for that confusion. You'd want the mount point itself to have the name, as it won't know what to do with /mnt/other_name/home2. 0
Please sign in to leave a comment.
Comments
7 comments