Author Topic: CWP -> CWP Migration (Centos 9)  (Read 724 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
CWP -> CWP Migration (Centos 9)
« on: July 06, 2024, 11:08:28 AM »
Hi folks,

I am trying to migration from CWP (Centos 7.9) to CWP (Centos 9).

No matter what account I am trying to migration, I am getting the following error in the log file (migration_cwptocwp.log):
An error occurred while trying to create the account api

Does anyone have an idea how to solve this? And why is it talking about "api", does it need access to its own REST api somehow?

Thanks for your help :)

Offline
*****
Re: CWP -> CWP Migration (Centos 9)
« Reply #1 on: July 06, 2024, 10:51:31 PM »
You need to ELevate from CentOS 7.9 to Alma Linux 8, then upgrade to 9. But beware that CWP support for EL9 releases is still beta, so there will be some notable bugs. Best to stick with Alma 8 for the present moment for a production server!

Offline
*
Re: CWP -> CWP Migration (Centos 9)
« Reply #2 on: July 21, 2024, 05:20:10 PM »
I had this issue on Alma9. It was due to the host (source machine) not being known to the destination server.  Fixed by

   ssh-copy-id -p xxxx root@sourceip > desintationIP

and accepting the source IP fingerprint ( in my case I'd added the source server public key already, so it then says it already exists, but the important and missing thing was the fingerprint)

Offline
*****
Re: CWP -> CWP Migration (Centos 9)
« Reply #3 on: July 22, 2024, 01:04:33 AM »
I hope you are using AlmaLinux 9, and no the beta OS CentOS 9 Stream.

This is/was known bug in running CWP on AlmaLinux 9.

Offline
*
Re: CWP -> CWP Migration (Centos 9)
« Reply #4 on: August 06, 2024, 07:57:22 AM »
You my lovely I0NG are a true MVP.
I wanted to use ALMA9 and CWP CWP Migration and was stuck with the error ssh-copy-id too many arguments.

Ich tried sshing manually, and accepting the fingerprint. But using ssh-copy-id -p #PORT root@#old/sourceserver > #newserver was the thing I needed.

Many thanks