Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: sympan on December 13, 2023, 11:06:09 AM

Title: problem with migration from cpanel to cwp
Post by: sympan on December 13, 2023, 11:06:09 AM
hi
i have setup migration from cpanel and working. few days ago without changing anything try to use and return error. create new api and setup again but return error "Token API does not have ROOT Access"
in other server receive message for root login from ip of cwp server
maybe you have any idea what happen ?
thanks
Title: Re: problem with migration from cpanel to cwp
Post by: overseer on December 13, 2023, 06:57:24 PM
Is this a VPS running cPanel you are connecting to? You have root access on both servers? Is your CWP server IP address allowed on the firewall? Temporarily try an 8 character root password -- I had an issue back in 2020 when I was doing cPanel migrations and that was one key factor back then...
Title: Re: problem with migration from cpanel to cwp
Post by: sympan on December 19, 2023, 07:56:56 PM
cpanel run in dedicated
receive message from cpanel as ip of cwp connected with root access but cwp return error as not root access
Title: Re: problem with migration from cpanel to cwp
Post by: rcschaff on December 19, 2023, 10:10:59 PM
try setting up id_rsa authentication so you don't need a password.

https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server
Title: Re: problem with migration from cpanel to cwp
Post by: overseer on December 20, 2023, 10:13:00 PM
Are both servers whitelisting each other on the respective firewalls?
Title: Re: problem with migration from cpanel to cwp
Post by: Starburst on December 20, 2023, 11:31:49 PM
I've noticed even though the IP is whitelisted, for some reason you still need the ports open in the firewalls.

Or disable both firewalls, try to connect right away, and it will tell you if it's a firewall problem.
Title: Re: problem with migration from cpanel to cwp
Post by: Starburst on December 21, 2023, 07:49:08 AM
OR
backup the site in cPanel, and use the cPanel Account Restore feature in CWP.
Title: Re: problem with migration from cpanel to cwp
Post by: josemnunez on December 21, 2023, 10:49:58 AM
the error is clear, the cpapnel api is returning i: The token API does not have ROOT access"
Title: Re: problem with migration from cpanel to cwp
Post by: rcschaff on December 21, 2023, 11:45:53 AM
https://support.cpanel.net/hc/en-us/articles/360052357494-How-to-create-a-Root-API-Token