Control Web Panel

WebPanel => Updates => Topic started by: Scherlock on November 01, 2014, 10:12:28 PM

Title: Upgrade to 0.9.6
Post by: Scherlock on November 01, 2014, 10:12:28 PM
Hello.

I'm on 0.9.5 CWP. How to update to 0.9.6 ?

The "Update Server Packages" function indicates that there is no update available.  :-[

Thank you.
Title: Re: Upgrade to 0.9.6
Post by: Administrator on November 02, 2014, 03:45:57 AM
cwp has automatic updates, if your CWP is not updated within 24 hours then reply here again.
Title: Re: Upgrade to 0.9.6
Post by: apmuthu on November 09, 2014, 06:22:01 PM
Where is the CWP version listed? yum update or update within the CWP does not show any CWP upgrades.
The following URL:
Code: [Select]
http://centos-webpanel.com/webpanel/main.php?app=rc4key&version=0.9.6shows:
Code: [Select]
vbbFWq52HsnPBXvBcTl/HRwSIWI=
The following URLs do not exist:
Code: [Select]
http://dl1.centos-webpanel.com/files/cwp/cwp_test_095.zip
http://dl1.centos-webpanel.com/files/cwp/cwp_test_096.zip
Title: Re: Upgrade to 0.9.6
Post by: apmuthu on November 10, 2014, 06:16:52 PM
The auto webupdater is a cron job currently named /etc/cron.daily/cwp which executes 2 obfuscated php files using /usr/local/cwp/php54/bin/php with a timeout of 1 million seconds ( why? ):
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
/usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php
The effects of the first of these files have been investigated and it is found that the email address of the root user and the webpanel version are transmitted to the developers site along with all Globals (IP Address, paths, etc) at the start of the update and the final webpanel version is transmitted at the conclusion of the update. The files essentially affected are expected to be in the /usr/local/cwpsrv/htdocs folder only but could actually be to anywhere on the server.

The webpanel version is listed at the bottom of the dashboard and is probably taken from the obfuscated file:
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/include/version.php

Title: Re: Upgrade to 0.9.6
Post by: Administrator on November 11, 2014, 01:14:14 AM
cwp version is listed on the index site once you login