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

0 Members and 2 Guests are viewing this topic.

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

What is this command for?
I observe that it worked for many but I want to know what its function is please

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

What is this command for?
I observe that it worked for many but I want to know what its function is please

The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #17 on: December 30, 2021, 01:22:19 PM »
For the last 2 nights/mornings I woke up to see all our vhosts overwritten and none of our sites working. On one server, we only have one site on it. I would never think it would have to do with bandwidth issues but should I go ahead and try the fix above and see what happens?

Thanks

Offline
***
Re: After update today, nginx/1.20.0 error
« Reply #18 on: December 31, 2021, 03:46:45 AM »
For the last 2 nights/mornings I woke up to see all our vhosts overwritten and none of our sites working. On one server, we only have one site on it. I would never think it would have to do with bandwidth issues but should I go ahead and try the fix above and see what happens?

Yes.
This is being reported by CWP team, and the users in this forum, as the solution.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #19 on: December 31, 2021, 11:06:02 AM »
Again today the accounts are suspended and get nginx 1.21 ERROR

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #20 on: December 31, 2021, 12:28:57 PM »
Hello, I have the same problem but I get this when I try to run the second line of the commands:

Code: [Select]
/scripts/cwp_api webservers rebuild_all
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory '/etc/varnish/conf.d': No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory
rm: cannot remove '/etc/nginx/conf.d/vhosts': Is a directory
You have new mail in /var/spool/mail/root
[root@resonant-power ~]# cd /scripts/cwp_api
-bash: cd: /scripts/cwp_api: Not a directory
[root@resonant-power ~]# cd scripts
-bash: cd: scripts: No such file or directory
[root@resonant-power ~]# cd /local
-bash: cd: /local: No such file or directory
You have new mail in /var/spool/mail/root

Can someone help me with this?

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #21 on: December 31, 2021, 02:14:54 PM »
Yes.
This is being reported by CWP team, and the users in this forum, as the solution.
[/quote]

This fix didn't really help. Like a post above this, it happened again last night/tonight. one of my five servers didn't break this morning. The other four, same problem. Like the other post above, the 2nd command didn't fully run, I got errors as well. After the errors, I copied the good host conf files to the server to get it working.

Offline
*
Re: After update today, nginx/1.20.0 error
« Reply #22 on: January 06, 2022, 06:41:53 AM »
After recent update, all nginx/php-fpm configuration files regenerates everyday since a week now. So I made templates so after everyday regeneration doesn't break websites. But this is big problem. I tried all the commands but still every morning when I check configuration files, they are showing modified.

This needs to be fixed urgently guys.

Offline
***
Re: After update today, nginx/1.20.0 error
« Reply #23 on: January 06, 2022, 09:02:22 PM »
After recent update, all nginx/php-fpm configuration files regenerates everyday since a week now. So I made templates so after everyday regeneration doesn't break websites. But this is big problem. I tried all the commands but still every morning when I check configuration files, they are showing modified.

This needs to be fixed urgently guys.

Did you change the template files.?

Offline
*****
Re: After update today, nginx/1.20.0 error
« Reply #24 on: January 26, 2022, 10:33:01 AM »
Check if your SQL server running and works. If yes check your SQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services