Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: DangerD2 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...
(https://i.ibb.co/YXyTp8y/image.png) (https://ibb.co/cwCXDtC)
(https://i.ibb.co/bBKq2M5/image.png) (https://ibb.co/YkLYyFB)
any ideas?
Migrating from cwp6.pro to cwp7
-
https://i.vgy.me/c832kA.png (https://i.vgy.me/c832kA.png)
is this domain name or ip ?
-
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 /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.
-
https://i.vgy.me/c832kA.png (https://i.vgy.me/c832kA.png)
is this domain name or ip ?
domain
-
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 /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.
Same issue, maybe i need to buy CWP Pro for second server?
-
Figured out, i had to add IP to API key
-
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!