Unable to open userpanel

Started by anandmys, August 27, 2025, 06:52:02 AM

Previous topic - Next topic

anandmys

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

QuotePHP 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

anandmys

Can anyone help please

I even paid and created a one time support ticket. Just going rounds (Payment seems to not updated)

overseer

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.

anandmys

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.

overseer

Did you try to re-issue the server hostname certificate? (Change hostname, could switch to 4096 bit key size)

Starburst

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/
Not work?

anandmys

Quote from: 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)

Did that. No use. Tried 4096 as well now. No use

anandmys


anandmys

And I also see that /webmail is also throwing 403 forbidden error

anandmys

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



Starburst

Sounds like a .htacess file that has redirection messed up somewhere.
Or a WP firewall plugin has taken over (I hate AIOS for doing that, if you're not careful)

By Default CWP Redirect domain.com/webmail to RoundCube.

anandmys

Got this fixed by one time support


overseer

Did they tell you what they did? Was it a unique problem to your server? It's always good to post back solutions to the forum for future reference (for yourself and others!)...

anandmys

No specific answer was given. I was told that cwp was broken