Author Topic: Migration CWP -> CWP doesn't work...  (Read 1091 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Migration CWP -> CWP doesn't work...
« on: March 05, 2023, 07:49:16 PM »
I'm receving error thap api key doesn't have something enabled (used CWP-CWP button to enable needed permissions) but that failed. so i decided to enable everything, but unfortunatelly that didn't worked also...


any ideas?

Migrating from cwp6.pro to cwp7

Offline
***
Re: Migration CWP -> CWP doesn't work...
« Reply #1 on: March 06, 2023, 01:56:26 AM »
https://i.vgy.me/c832kA.png

is this domain name or ip ?

Offline
****
Re: Migration CWP -> CWP doesn't work...
« Reply #2 on: March 06, 2023, 06:38:46 AM »
For a successful 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 it work. But actually, I just had the opportunity to do a CWP -> CWP migration, so here was my solution to the various unhelpful errors (such as for API TOKEN):
Disable the firewall (CSF & LDF) on both servers.
On both servers, reset the r00t password to be 8 characters or fewer.
In
Code: [Select]
/etc/ssh/sshd_config set:
Code: [Select]
PermitRootLogin yes
StrictModes no
Restart sshd:
Code: [Select]
service sshd restartOn 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.

Offline
*
Re: Migration CWP -> CWP doesn't work...
« Reply #3 on: March 06, 2023, 06:33:36 PM »

Offline
*
Re: Migration CWP -> CWP doesn't work...
« Reply #4 on: March 06, 2023, 07:30:13 PM »
For a successful 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 it work. But actually, I just had the opportunity to do a CWP -> CWP migration, so here was my solution to the various unhelpful errors (such as for API TOKEN):
Disable the firewall (CSF & LDF) on both servers.
On both servers, reset the r00t password to be 8 characters or fewer.
In
Code: [Select]
/etc/ssh/sshd_config set:
Code: [Select]
PermitRootLogin yes
StrictModes no
Restart sshd:
Code: [Select]
service sshd restartOn 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.
Same issue, maybe i need to buy CWP Pro for second server?

Offline
*
Re: Migration CWP -> CWP doesn't work...
« Reply #5 on: March 06, 2023, 07:41:50 PM »
Figured out, i had to add IP to API key

Offline
****
Re: Migration CWP -> CWP doesn't work...
« Reply #6 on: March 07, 2023, 03:24:56 AM »
Sometimes the little things are the ones that get you! Stumped by some niggling detail until you realize what you missed, after staring at it for far too long!