Difference between revisions of "WHMCS Auto Update"

From WebHostingNeeds.com
Jump to: navigation, search
(Created page with " == Backup MySQL Database == <pre> mysqldump hon_manage > hon_manage_before_upgrade-`date '+%Y-%m-%d-%H:%M:%S'`.sql </pre> == Make Files Writeable == <pre> chown -R www-d...")
 
m
 
Line 1: Line 1:
 +
Latest instructions at  https://blog.hostonnet.com/whmcs-upgrade
 +
  
 
== Backup MySQL Database ==
 
== Backup MySQL Database ==

Latest revision as of 06:37, 2 June 2017

Latest instructions at https://blog.hostonnet.com/whmcs-upgrade


Backup MySQL Database

mysqldump hon_manage > hon_manage_before_upgrade-`date '+%Y-%m-%d-%H:%M:%S'`.sql


Make Files Writeable

chown -R www-data:www-data /home/manage.hostonnet.com/public_html/


After Update

Set file ownership to root.

chown -R root:root /home/manage.hostonnet.com/public_html/


Update Admin Logo

sed -i "s/templates\/{\$template}\/images\/logo.gif/https:\/\/s3.amazonaws.com\/fwcdn\/whmcs-admin-logo.png/g" /home/manage.hostonnet.com/public_html/honadmin/templates/blend/header.tpl

Update Client Area Logo

vi /home/manage.hostonnet.com/public_html/templates/six/header.tpl


<a href="{$WEB_ROOT}/index.php"><img src="{$WEB_ROOT}/templates/{$template}/img/logo.png" alt="{$companyname}" /></a>

<a href="{$WEB_ROOT}/index.php"><img src="https://s3.amazonaws.com/fwcdn/hon-white-logo.png" alt="{$companyname}" /></a>



whmcs