Control Web Panel
WebPanel => Migration from other control panels => Topic started by: PakPos on August 04, 2022, 12:29:47 PM
-
almalinux
cwp pro
(both)
firewall off
ssh port correct
api created and match
but still fail
-
If I remember how to do this.
On the SENDING Server:
You have to create an API Key under CWP Settings -> API Manager
Allow New IP Access
Short Name: Xfer
IP Origin: (IP of new server)
Key Code: (Click on Generate)
Owner: root
Format Request: JSON
Enable Function For: CWP to CWP
Now below, click on every box available, that it didn't check.
Turn OFF the firewall temporarily.
--
On the RECEIVING Server:
Turn OFF the firewall temporarily.
Goto User Accounts -> CWP to CWP Migration.
Server IP: (Old Server IP)
User: root
Password: (root password of old server)
SSH Port: (The port # you connect via SSH)
API Key CWP: (API Key generated above)
Maximum simultaneous transfers: (Just leave at 1)
Click on 'Test & Save'
You should see the old server listed under 'Remote Server List'.
Click on the Server IP under and select account to xfer.
-
You can also reference: https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cwp-to-cwp-migration
-
the bad news was.. i already follow those step....
but tonight or tomorrow i will re deploy new vps and retry those step (i will record on mp4).
recommended keep using alma or the new server using centos7 ? (ignore the eol)
-
Hello
check that following:
- If my server is NAT, check that it has a public IP
- That port 2304 is open for communication with the api
- That the remono server allows ssh connections as root
With this most of the problems are solved
-
Hello
check that following:
- If my server is NAT, check that it has a public IP
- That port 2304 is open for communication with the api
- That the remono server allows ssh connections as root
With this most of the problems are solved
yes it behind the NAT both and have ip public, cwp running good some test domain added without any problem
and they are in same datacenter
right now i redeploy the new alma.. to test migration (again)
-
problem still same...
but i solved this by backup one by one manually
-
I have tried all above mentioned but nothing worked.
Finally I have updated CWP package on both server by executing sh /scripts/update_cwp
After updating the package connection established.
-
I have tried all above mentioned but nothing worked.
Finally I have updated CWP package on both server by executing sh /scripts/update_cwp
After updating the package connection established.
how if you try now ?
last update ( i think ) have some hidden bug fix
-
Duplicate posted in case it helps someone in the future:
For CWP->CWP Migration, you have to stand on your head, pat your belly, and rub your feet at the same time in order to make this work. Actually, I just had the opportunity to do a CWP -> CWP migration, so here was my solution to the failed connection errors:
Disable the firewall (CSF & LDF) on both servers.
On both servers, reset the r00t password to be 8 characters or fewer.
In /etc/ssh/sshd_config
set:
PermitRootLogin yes
StrictModes no
Restart sshd:
service sshd restart
On the source server, set up the API key (CWP Settings > API Manager) for CWP Migration using the default CWP template.
On the receiving server, use the interface in User Accounts > CWP->CWP Migration.
After successfully migrating the accounts, revert all changes to your SSH configuration, restart the ssh daemon, reset the r00t passphrases to strong ones, and re-enable the firewalls.