Author Topic: 502 bad gateway after CWP Pro update  (Read 3723 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
502 bad gateway after CWP Pro update
« 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
« Last Edit: March 13, 2020, 01:11:40 PM by drudesign »

Offline
*
Re: 502 bad gateway after CWP Pro update
« Reply #1 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