Skip to content

Manual Update

Lorenzo Mangani edited this page Apr 12, 2016 · 18 revisions

Updating Homer 5.x to latest GIT

This guide provides a quick guide to update your EXISTING Homer 5 setup to the latest version.

This guide is NOT intended for Homer 3.x to 5.x upgrades!

Introduction

An existing HOMER 5 setup can be updated to the latest available version by pulling and installing the latest UI+API versions, retaining the api/configuration.php and api/preferences.php files created during initial installation.

Pull Latest & Update

WEBPATH=/var/www/sipcapture/htdocs
cp -r $WEBPATH $WEBPATH-backup
cd /usr/src/homer
rm -rf homer-ui && rm -rf homer-api
git clone http://github.com/sipcapture/homer-ui && git clone http://github.com/sipcapture/homer-api
cp -r ./homer-ui/* $WEBPATH
cp -r ./homer-api/api/* $WEBPATH/api

WARNING

Please do ALWAYS make sure your browser cache is fully cleared or disabled after upgrading your H5 UI+API to avoid odities, issues and inconsistencies with the code & libraries (try Incognito Mode if in doubt)


Clone this wiki locally