Control Web Panel

WebPanel => Updates => Topic started by: gurugrv on March 23, 2017, 07:26:05 PM

Title: CWP messed up
Post by: gurugrv on March 23, 2017, 07:26:05 PM
I was trying to update to mariadb and I screwed up with the repo. In the process some error occured and I am getting 502 Bad Gateway for CWP. The hosted sites are working fine.

One of the errors I am getting is

/usr/local/cwp/php71/bin/php: No such file or directory
Title: Re: CWP messed up
Post by: Darkroom on March 23, 2017, 07:57:02 PM
For a quick and dirty fix try:

#which php

#ln -s ^^location of php ^^ /usr/local/bin
Title: Re: CWP messed up
Post by: Igor S. on March 27, 2017, 06:53:55 PM
Hello.

Try run command:
Code: [Select]
yum -y reinstall cwpphp