Control Web Panel

WebPanel => Updates => Topic started by: drudesign on March 13, 2020, 01:05:26 PM

Title: 502 bad gateway after CWP Pro update
Post by: drudesign on March 13, 2020, 01:05:26 PM
Hello there,
I have big issue with my server - after manually update CWP to latest version, I have 502 Bad Gateway error while trying to connect with panel. Please help!

EDIT:
Here's what I found in /usr/local/cwpsrv/logs:

[crit] 23093#0: *11 connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (2: No such file or directory) while connecting to upstream
Title: Re: 502 bad gateway after CWP Pro update
Post by: drudesign on March 13, 2020, 01:33:56 PM
Fixed issue with:

Code: [Select]
sh /scripts/cwpsrv_rebuild_user_conf
sh /scripts/update_cwp
service cwpsrv restart
service cwpsrv-phpfpm restart