Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: anandmys on August 27, 2025, 06:52:02 AM

Title: Unable to open userpanel
Post by: anandmys on August 27, 2025, 06:52:02 AM
Hi

I am getting "403 Forbidden" cwpsrv error when try to open user panel

On checking /usr/local/cwpsrv/logs/error_log I see the following line

Quote
PHP message: PHP Notice:  Undefined index: mail_disk in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0
PHP message: PHP Notice:  Undefined index: mysql_disk in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts
Quote
2025/08/27 15:38:18 [error] 184171#0: *25 directory index of "/usr/local/cwpsrv/var/services/users/xyz/" is forbidden, client: 49.43.*.*, server: localhost, request: "POST /xyz/ HTTP/1.1", host: "my server.com:2083", referrer: "https://my server.com:2087/"

Please suggest
Title: Re: Unable to open userpanel
Post by: anandmys on August 30, 2025, 11:08:33 AM
Can anyone help please

I even paid and created a one time support ticket. Just going rounds (Payment seems to not updated)
Title: Re: Unable to open userpanel
Post by: overseer on August 30, 2025, 01:25:13 PM
Is this from the Accounts > List Accounts page (where you click on the Open Panel wrench icon? Or is it from the :2083 link, using their credentials directly?

Have you tried the usual fix of going into Features, Themes, Languages and changing something in the package or account? You can set it back afterward, but it's a good first test.
Title: Re: Unable to open userpanel
Post by: anandmys on August 30, 2025, 01:45:28 PM
List accounts link gives 403 forbidden error

While :2083 gives https error

Also I am getting forbidden error at places like webmail

You cannot visit domain.tld right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.
Title: Re: Unable to open userpanel
Post by: overseer on August 30, 2025, 04:52:42 PM
Did you try to re-issue the server hostname certificate? (Change hostname, could switch to 4096 bit key size)
Title: Re: Unable to open userpanel
Post by: Starburst on August 30, 2025, 05:07:15 PM
Please advise the following:

What distro are you running CWP on?

Public or NAT?

--

Also did the fix from https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/ (https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/)
Not work?
Title: Re: Unable to open userpanel
Post by: anandmys on September 01, 2025, 03:18:47 AM
Did you try to re-issue the server hostname certificate? (Change hostname, could switch to 4096 bit key size)

Did that. No use. Tried 4096 as well now. No use
Title: Re: Unable to open userpanel
Post by: anandmys on September 01, 2025, 03:21:19 AM
Please advise the following:

What distro are you running CWP on?

Public or NAT?

--

AL 8. Elevated from centos stream

Also did the fix from https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/ (https://forum.centos-webpanel.com/centos-webpanel-bugs/fix-user-panel-login-is-not-working/)
Not work?

Didnt work
Title: Re: Unable to open userpanel
Post by: anandmys on September 01, 2025, 03:22:40 AM
And I also see that /webmail is also throwing 403 forbidden error
Title: Re: Unable to open userpanel
Post by: anandmys on September 01, 2025, 05:55:07 AM
This looks like some issue related to default url

/wp-admin/ gives 403 but wp-admin/index.php opens

May or may not be related