After update today, nginx/1.20.0 error

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

Previous topic - Next topic

ErikNahim

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


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

Netino

Quote from: ErikNahim on December 29, 2021, 08:33:13 PM
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


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

mgworek

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

Netino

Quote from: mgworek 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?

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

agrigio

Again today the accounts are suspended and get nginx 1.21 ERROR

thundercat

Hello, I have the same problem but I get this when I try to run the second line of the commands:

/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?

mgworek

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.

brijeshb

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.

Netino

Quote from: brijeshb 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.

Did you change the template files.?

Igor S.

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