Control Web Panel
WebPanel => Updates => Topic started by: gailclark80 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
-
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.
-
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.
-
The same thing happens to me 404 for 4 CWP servers.
-
Yes, NGINX is giving 404 Not Found error on all servers. This is a big issue.
-
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
-
I have try /scripts/update_cwp
then restart Apache and Nginx, the website still show "404 Not Found, nginx/1.20.0"
-
Also the CPanels all give 404 not found
-
2 cwp panels - all sites down.
-
there is one more way to resolve it
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all
-
there is one more way to resolve it
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all
Thanks! Working.
-
Working! Thank you!
-
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
-
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.
-
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. >:(
-
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
-
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
-
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
-
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.
-
Again today the accounts are suspended and get nginx 1.21 ERROR
-
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?
-
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.
-
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.
-
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.?
-
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