Control Web Panel

WebPanel => Migration from other control panels => Topic started by: Tsa on March 25, 2025, 05:56:21 PM

Title: CWP to CWP migration error in transfer file
Post by: Tsa on March 25, 2025, 05:56:21 PM
Hi All,

I trying to migrate from CWP Version 0.9.8.1200 Centos 7 to CWP same version on AlmaLinux 8 , I follow instructions and whitelist both IPs connection test OK after starting migration I get this error :
 Error in trasnfer File  
 it is also misspelled trasnfer instead transfer ???

Code: [Select]
[code][2025-03-25 17:16:51] - Start import process CWPTOCWP_20250325171651
[2025-03-25 17:16:59] - Import Account user_1
[2025-03-25 17:16:59] - Create Backup Account user_1
[2025-03-25 17:17:06] - Start Transfer Backup user_1
[2025-03-25 13:17:22] - Error in trasnfer File user_1
[/code]

thanks for the help.
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 27, 2025, 10:17:32 AM
I checked the log files and find this :

 
Code: [Select]
********************** >null
2025-03-27 05:50:18 SELECT * FROM user WHERE username='user_name'
2025-03-27 05:50:18 ID:  null
2025-03-27 05:50:18 An error occurred while trying to create the account api
2025-03-27 05:50:18 grep 'user_name=' /home/.CWPTOCWP_20250327094946/accounts.ini
2025-03-27 05:50:18 rm -fR /home/.user_name1202503270949484477f4c9e1c08ed909854ca941d616ee
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 28, 2025, 03:45:37 PM
No can help??? OK maybe this is a BUG .
Title: Re: CWP to CWP migration error in transfer file
Post by: overseer on March 28, 2025, 03:56:56 PM
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 28, 2025, 05:07:56 PM
Quote
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?

Yes indeed I obfuscate the username='user_name'
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 28, 2025, 05:12:21 PM

Quote
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?

accounts.ini

user_name="11"
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 28, 2025, 05:16:20 PM
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?

Thanks for your replay , if you need any logs let me know.
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 29, 2025, 11:46:51 AM
If that is a BUG so what should be done ?? and where are CWP team members???
Title: Re: CWP to CWP migration error in transfer file
Post by: overseer on March 29, 2025, 11:52:13 AM
This is used as their bug report form:
https://control-webpanel.com/contact (https://control-webpanel.com/contact)

I would open a support ticket with them. I will be doing a migration soon and see if I can replicate your issue or if it goes smoothly.
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 29, 2025, 01:23:22 PM
This is used as their bug report form:
https://control-webpanel.com/contact (https://control-webpanel.com/contact)

I would open a support ticket with them. I will be doing a migration soon and see if I can replicate your issue or if it goes smoothly.

Ok thanks , I will wait your test migration .
By the way there is another issue I think it is the same error as I reported see:
https://forum.centos-webpanel.com/migration-from-other-control-panels/cwp-migration-failed-in-file-transfer (https://forum.centos-webpanel.com/migration-from-other-control-panels/cwp-migration-failed-in-file-transfer)/
Title: Re: CWP to CWP migration error in transfer file
Post by: Starburst on March 29, 2025, 04:38:01 PM
CWP -> CWP Migration was working fine under AL8.

AL9, not so much.

@Tsa CWP developers are rarely in the forums. Best way to contact CWP is via their support form.
Title: Re: CWP to CWP migration error in transfer file
Post by: Tsa on March 29, 2025, 05:49:22 PM
CWP -> CWP Migration was working fine under AL8.

AL9, not so much.

@Tsa CWP developers are rarely in the forums. Best way to contact CWP is via their support form.


@Starburst  I am traying the migration from CWP -> CWP Centos 7 to AL8 and NOT AL9??
Title: Re: CWP to CWP migration error in transfer file
Post by: Starburst on March 31, 2025, 12:30:38 AM
It was a generic post, saying migration is working.

Make sure you have port 2304 open incoming & outgoing.

If that doesn't work, and I hate saying this ever, disable CSF on both servers and try to connect.

If it connects, you have an issue with one of the firewalls.