Control Web Panel

WebPanel => Installation => Topic started by: jonathan1 on September 13, 2017, 04:53:37 AM

Title: suddenly getting "502 bad gateway" for CWP admin panel
Post by: jonathan1 on September 13, 2017, 04:53:37 AM
Out of nowhere, I'm suddenly getting "502 bad gateway" on my dashboard when I access domain.com:2030

All the websites work just fine, it's only the server dashboard.

Any ideas what could cause this and how to fix it?

TIA!

Error I get: 502 Bad Gateway

cwpsrv
Title: Re: suddenly getting "502 bad gateway" for CWP admin panel
Post by: jonathan1 on September 13, 2017, 05:32:04 AM
Nevermind - I ended up restoring a backup to fix it, it's fixed now. Still no idea what caused the issue to begin with.
Title: Re: suddenly getting "502 bad gateway" for CWP admin panel
Post by: studio4host on September 13, 2017, 08:49:03 AM
this should fix it

sh /scripts/restart_cwpsrv
Title: Re: suddenly getting "502 bad gateway" for CWP admin panel
Post by: jonathan1 on September 13, 2017, 02:49:22 PM
I rebooted many times, re-installed cwpsrv, phpsrv, but nothing had fixed it.
Title: Re: suddenly getting "502 bad gateway" for CWP admin panel
Post by: Administrator on September 14, 2017, 07:28:25 AM
then you need to check the logs to see the exact error you have

http://wiki.centos-webpanel.com/service-log-paths
Title: Re: suddenly getting "502 bad gateway" for CWP admin panel
Post by: pronexo on August 07, 2019, 02:06:59 AM
try checking the logs or reinstall it
/usr/local/cwp/php71/var/log/php-fpm.log
yum reinstall cwpphp
or
yum install cwpphp