After update today, nginx/1.20.0 error

Started by gailclark80, December 29, 2021, 05:45:20 AM

Previous topic - Next topic

gailclark80

My CWPpro version is: 0.9.8.1109

After the automatic update today, the website cannot be accessed, and my website show "404 Not Found, nginx/1.20.0"

what's the problem?
How to fix it?


I checked the error_log

AH00112: Warning: DocumentRoot [/usr/local/apache/htdocs/suspended-page] does not exist
AH00112: Warning: DocumentRoot [/usr/local/apache/htdocs/suspended-page] does not exist
AH00112: Warning: DocumentRoot [/usr/local/apache/htdocs/suspended-page] does not exist
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using linode.com. Set the 'ServerName' directive globally to suppress this message

Leo

Somehow the last update messed up everything. It changed the default package and all domains in my account got suspended. Their vhost file is not reverting back to original so I had to fix it one by one manually. File and folder permissions also got messed up. I am only using the stable version update which is supposed to be 2 weeks tested and all of a sudden an update breaks my entire file system. I think I will stop with auto updates. It's simply an invitation for disaster in a production environment.

Masonic

That's interesting. We are getting 404's for all of our sites hosted on centoswebpanel servers but as far as I can see account packages are still the same. Also, we're using apache webserver if that has anything to do with the current disaster.

liviudiaconu85

The same thing happens to me 404 for 4 CWP servers.

jijib

Yes, NGINX is giving 404 Not Found error on all servers. This is a big issue.

studio4host

try to run cwp update manually, it looks like new automatic suspensions for bandwidth exceeders was not working properly with unlimited accounts.

/scripts/update_cwp
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

gailclark80

I have try /scripts/update_cwp
then restart Apache and Nginx, the website still show "404 Not Found, nginx/1.20.0"

jijib


BigBang


studio4host

there is one more way to resolve it
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

BigBang

Quote from: studio4host on December 29, 2021, 06:57:10 AM
there is one more way to resolve it
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

Thanks! Working.


cata77

Quote from: studio4host on December 29, 2021, 06:57:10 AM
there is one more way to resolve it
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all


It works also for me. Thanks for the hint

artidens

Quote from: studio4host on December 29, 2021, 06:57:10 AM
there is one more way to resolve it
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all


That worked, thanks.

Is it possible to change the scheduled time for the auto update? Now it is done around 3am and I don't like to wake up in the middle of the night to fix possible errors caused by the update.




thundercat

I had the exact same problem.

So I talked with my vps provider, and made a backup restore of my VPS.

Now I get:

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart Control Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:


Seems like mariadb service cannot start no matter what I do.

So I bought a one time support with centos support, that has not been replied yet.


I wish I had found this earlier.  >:(