Control Web Panel
WebPanel => Updates => Topic started by: robm on April 27, 2020, 11:56:39 PM
-
*edit
never mind saw the fix in another thread
I'll have to now manually go through 20 vps and apply them.
Thanks. Any way to turn updates off?
-
not recommended, but check out /etc/cron.daily
-
which fix did you get to work.... I have tried them all and all I get is errors....
as usual if you expect an answer from CWP you are dreaming... even though this is their fault
this is the 3rd time one of the CWP updates takes the sign in down.... its ridiculous then they ignore it
-
Well the fix I got to work on *some* I'll put below. However out of 20 VPS it didn't work on 5 of them and I had to wipe the servers and start from scratch... thanks CWP. So bear in mind this might not work on all of them and nobody seems to have any solutions. CWP are silent on the matter.
Code: [Select]
/usr/local/cwp/php71/bin/php -v
PHP 7.2.30
if PHP was not updated to 7.2 then try manually
Code: [Select]
yum update cwpphp --enablerepo=cwp
**Manual update CentOS 7 (skip if you have CentOS 6)**
Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip
**Manual update CentOS 6 (skip if you have CentOS 7)**
Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
**Manual update for services (required CentOS 6 and 7)**
Code: [Select]
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
Test if all is ok, it should run update without errors
Code: [Select]
sh /scripts/update_cwp
-
I've now spent 18 hours rebuilding and updating ONE vps because of this annoying update. How can we permanently disable them? Can we just remove cwp in the cron daily?
-
You are the life saver man thank u very much.
Well the fix I got to work on *some* I'll put below. However out of 20 VPS it didn't work on 5 of them and I had to wipe the servers and start from scratch... thanks CWP. So bear in mind this might not work on all of them and nobody seems to have any solutions. CWP are silent on the matter.
Code: [Select]
/usr/local/cwp/php71/bin/php -v
PHP 7.2.30
if PHP was not updated to 7.2 then try manually
Code: [Select]
yum update cwpphp --enablerepo=cwp
**Manual update CentOS 7 (skip if you have CentOS 6)**
Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip
**Manual update CentOS 6 (skip if you have CentOS 7)**
Code: [Select]
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
**Manual update for services (required CentOS 6 and 7)**
Code: [Select]
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
Test if all is ok, it should run update without errors
Code: [Select]
sh /scripts/update_cwp