Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: DragoCom on October 04, 2024, 06:14:07 AM

Title: Known Issue???
Post by: DragoCom on October 04, 2024, 06:14:07 AM
All of a sudden tonight my cwp user panels won't load, they just hang there but if I do a domain.com:20893/user/ I get a 500 error like this?

This page isn’t working
viking.dragocom.xyz is currently unable to handle this request.

HTTP ERROR 500

I have restarted cwp root admin panel which works fine but cwp user panel does not.
Title: Re: Known Issue???
Post by: cyberspace on October 04, 2024, 07:40:04 AM
Anything could cause the problem (ddos attack, resource overusage, etc).

So I recommend you to check the error logs of CWP for investigation:
https://wiki.centos-webpanel.com/service-log-paths
(see the section "CWP server logs and server services logs, including (PhpMyAdmin/Roundcube/API)")
Title: Re: Known Issue???
Post by: Starburst on October 04, 2024, 08:15:07 AM
Yesterday the control panel updated, and today there was an update to the cwp-suphp if you have the CWP repo active.

Did you try to reboot?
Title: Re: Known Issue???
Post by: DragoCom on October 05, 2024, 06:10:49 AM
Yesterday the control panel updated, and today there was an update to the cwp-suphp if you have the CWP repo active.

Did you try to reboot?

Yeah I tried a reboot. The cwp user page comes up I enter my l/p in the fields and submit and it goes to 500 error

This page isn’t working
viking.dragocom.xyz is currently unable to handle this request.

HTTP ERROR 500
Title: Re: Known Issue???
Post by: Starburst on October 05, 2024, 07:07:48 AM
Might be that bug popping up.

Try Suspending the client, make sure the suspend page come up, and then unsuspend.
Title: Re: Known Issue???
Post by: DragoCom on October 06, 2024, 02:41:03 AM
Might be that bug popping up.

Try Suspending the client, make sure the suspend page come up, and then unsuspend.

That didn'twork unfortunately
Title: Re: Known Issue???
Post by: Starburst on October 06, 2024, 06:08:24 AM
Try

User Account -> Fix Permissions -> (Select User) nobody

Check All 3 boxes, and then Fix Selected Issues.

If it's a permission issue, this 'might' take care of it.
Title: Re: Known Issue???
Post by: overseer on October 07, 2024, 05:45:17 AM
https://blog.alphagnu.com/fix-cwp-500-internal-server-error-expired-white-blank-screen/ (https://blog.alphagnu.com/fix-cwp-500-internal-server-error-expired-white-blank-screen/)
Title: Re: Known Issue???
Post by: DragoCom on October 07, 2024, 08:03:49 AM
Try

User Account -> Fix Permissions -> (Select User) nobody

Check All 3 boxes, and then Fix Selected Issues.

If it's a permission issue, this 'might' take care of it.

Tried it same black screen with the same message.
Title: Re: Known Issue???
Post by: DragoCom on October 07, 2024, 08:09:40 AM
https://blog.alphagnu.com/fix-cwp-500-internal-server-error-expired-white-blank-screen/ (https://blog.alphagnu.com/fix-cwp-500-internal-server-error-expired-white-blank-screen/)

[root@viking ~]# chattr -i -R /usr/local/cwpsrv/var/services/
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//user_api/v1/app/libs/hooks.php
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//user_api/v1/app/libs/functions.php
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/login/cwp_theme
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/softaculous/softimages
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/softaculous/themes
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/dragocom
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/nulled
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/nullwh
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/vipanel
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/fvault
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//users/users
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/public_html/program/resources
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/public_html/program/js
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/public_html/skins
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/public_html/.htaccess
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/public_html/plugins
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/public_html/robots.txt
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/vendor/bin/crypt-gpg-pinentry
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube/vendor/bin/rcubeinitdb.sh
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube_06-08-2024.bak/public_html/robots.txt
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube_06-08-2024.bak/public_html/plugins
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube_06-08-2024.bak/public_html/.htaccess
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube_06-08-2024.bak/public_html/skins
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube_06-08-2024.bak/public_html/program/js
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcube_06-08-2024.bak/public_html/program/resources
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/public_html/program/resources
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/public_html/program/js
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/public_html/.htaccess
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/public_html/skins
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/public_html/plugins
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/vendor/bin/rcubeinitdb.sh
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//roundcubemail-1.4.11/vendor/bin/crypt-gpg-pinentry
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//pma_06-08-2024.bak/vendor/bin/highlight-query
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services//pma_06-08-2024.bak/vendor/bin/lint-query

I went ahead and ran the rest of the commands and the sh update and it didn't help.
Title: Re: Known Issue???
Post by: DragoCom on October 08, 2024, 11:07:21 PM
For future fyi this fixed my user panels:

sh /scripts/cwpsrv_rebuild_user_conf

More Info @: https://wiki.centos-webpanel.com/404-on-user-login
Title: Re: Known Issue???
Post by: Starburst on October 09, 2024, 12:57:21 AM
Glad you got it working.