Skip to content

Manual Update

Lorenzo Mangani edited this page Mar 4, 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!

Paths

Assuming your web path being /var/www/sipcapture/htdocs and API path being /var/www/sipcapture/htdocs/api an existing H5 setup can be updated to the latest available version by executing the following actions, while retaining the api/configuration.php and api/preferences.php files created during initial installation.

Backup

cp -r /var/www/sipcapture/htdocs /var/www/htdocs-backup

Pull Latest & Update

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
cd homer-ui
cp -r ./* /var/www/sipcapture/htdocs
cd ..
cd homer-api
cp -r ./api/* /var/www/sipcapture/htdocs/api

WARNING

Make sure your browser cache is cleared after an upgrade to avoid issues and inconsistencies in the UI! (CTRL+SHIFT+RELOAD for most)

Clone this wiki locally