Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Sandeep on October 23, 2023, 10:32:31 AM

Title: [FIX] user panel login is not working
Post by: Sandeep on October 23, 2023, 10:32:31 AM
There are reports the user panel login is not working to solve this you need to run the below commands :

Code: [Select]
cd /scripts
sh generate_hostname_ssl
sh cwpsrv_rebuild_user_conf

then go to cwp admin hostname module and issue the LE ssl

reboot of server is necessary
Title: Re: [FIX] user panel login is not working
Post by: amitksaha on November 03, 2023, 06:53:28 PM
Hey Brother
Can u help? My user panel is not even opening either by the domain or by the IP neither at 2082 or 2083
the admin panel opens fine with the IP:2087

CWP Pro in newly installed

URGENT HELP NEEDED
Title: Re: [FIX] user panel login is not working
Post by: overseer on November 06, 2023, 03:58:54 PM
Are the ports open on your CSF firewall? (Of course, I only recommend the SSL versions of the ports -- 2083, 2087.)
Are you running mod_security? If so, what ruleset?
Title: Re: [FIX] user panel login is not working
Post by: stuth on January 18, 2024, 03:38:50 PM
There are reports the user panel login is not working to solve this you need to run the below commands :

Code: [Select]
cd /scripts
sh generate_hostname_ssl
sh cwpsrv_rebuild_user_conf

then go to cwp admin hostname module and issue the LE ssl

reboot of server is necessary

Thanks for this <3
Title: Re: [FIX] user panel login is not working
Post by: urantian on August 22, 2024, 10:10:14 PM
Does this fix address the user control panel login issue, in which it keeps redirecting back to the login screen after successfully logging in?  I applied the steps that Sandeep posted, except for the LE SSL, and I still have the same issue.  I did not see an option to issue an LE SSL.

Thank you.
Title: Re: [FIX] user panel login is not working
Post by: ckeeper on August 26, 2024, 03:26:24 PM
If anyone else is having this issue, I have resolved mine by editing the account that I can not login, and change the account type to no reseller and save. While at it make sure you have a package selected since this is required as well. After that autologin to that account will work.
Title: Re: [FIX] user panel login is not working
Post by: venty on January 14, 2025, 07:35:00 AM
There are reports the user panel login is not working to solve this you need to run the below commands :

Code: [Select]
cd /scripts
sh generate_hostname_ssl
sh cwpsrv_rebuild_user_conf

then go to cwp admin hostname module and issue the LE ssl

reboot of server is necessary

Hi,

do not work with Alma Linux 9...?!?

Thnaks in advance!

BR
Venty
Title: Re: [FIX] user panel login is not working
Post by: cyberspace on January 14, 2025, 01:19:33 PM

do not work with Alma Linux 9...?!?


Do you get any errors ?
Title: Re: [FIX] user panel login is not working
Post by: venty on January 14, 2025, 07:41:11 PM
There are reports the user panel login is not working to solve this you need to run the below commands :

Code: [Select]
cd /scripts
sh generate_hostname_ssl
sh cwpsrv_rebuild_user_conf

then go to cwp admin hostname module and issue the LE ssl

reboot of server is necessary

Hi,

I assume the second command installs SSL for the host, can I revert to a previous state, delete this certificate?

Thanks in advance!

BR
Venty
Title: Re: [FIX] user panel login is not working
Post by: cyberspace on January 14, 2025, 08:17:20 PM
The certificate files generated for the server's hostname are:

/etc/pki/tls/certs/hostname.bundle
/etc/pki/tls/private/hostname.key
Title: Re: [FIX] user panel login is not working
Post by: venty on January 15, 2025, 06:59:58 AM
The certificate files generated for the server's hostname are:

/etc/pki/tls/certs/hostname.bundle
/etc/pki/tls/private/hostname.key


Hi,

The server use Alma Linux 9 and when I ran this command it seemed to me that the rDNS/PTR went into FAILED status, is this possible?

Thnaks in advance!

BR
Venty
Title: Re: [FIX] user panel login is not working
Post by: Martins-phpbb on January 15, 2025, 08:30:04 AM
On alma linux 9 try to login to the user panel using there name and the servers root password did it work ?

If so open nano /etc/login.defs

Find
SHA_CRYPT_MAX_ROUNDS 10000

replace with
#SHA_CRYPT_MAX_ROUNDS 10000

Now set the user a new password.