Author Topic: After update today, nginx/1.20.0 error  (Read 11238 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
After update today, nginx/1.20.0 error
« on: December 29, 2021, 05:45:20 AM »
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
« Last Edit: December 29, 2021, 06:36:14 AM by gailclark80 »

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #1 on: December 29, 2021, 05:54:49 AM »
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.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #2 on: December 29, 2021, 06:12:27 AM »
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.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #3 on: December 29, 2021, 06:36:35 AM »
The same thing happens to me 404 for 4 CWP servers.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #4 on: December 29, 2021, 06:39:02 AM »
Yes, NGINX is giving 404 Not Found error on all servers. This is a big issue.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #5 on: December 29, 2021, 06:40:03 AM »
try to run cwp update manually, it looks like new automatic suspensions for bandwidth exceeders was not working properly with unlimited accounts.

Code: [Select]
/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.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #6 on: December 29, 2021, 06:50:23 AM »
I have try /scripts/update_cwp
then restart Apache and Nginx, the website still show "404 Not Found, nginx/1.20.0"

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #7 on: December 29, 2021, 06:51:40 AM »
Also the CPanels all give 404 not found

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #8 on: December 29, 2021, 06:54:25 AM »
2 cwp panels - all sites down.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #9 on: December 29, 2021, 06:57:10 AM »
there is one more way to resolve it
Code: [Select]
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.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #10 on: December 29, 2021, 07:02:35 AM »
there is one more way to resolve it
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all
Thanks! Working.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #11 on: December 29, 2021, 07:07:15 AM »
Working! Thank you!

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #12 on: December 29, 2021, 08:40:13 AM »
there is one more way to resolve it
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

It works also for me. Thanks for the hint

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #13 on: December 29, 2021, 11:59:30 AM »
there is one more way to resolve it
Code: [Select]
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.




Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #14 on: December 29, 2021, 12:51:09 PM »
I had the exact same problem.

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

Now I get:

Code: [Select]
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.  >:(