To upgrade HubKit or Coordinator, please follow the procedure below. In a nutshell, we have migrated from a docker-based installation to a .deb
package.
This document guides you through the process of upgrading HubKit 4.2 version to 4.3 on Linux / Raspberry Pi.
Update installation of HubKit 4.3 series and Coordinator 2.6 series
Download the server for the appropriate platform from the download site.
- Use SSH to connect to your Ubuntu 18.04/20.04 LTS machine.
- Transfer the downloaded deb package (setup_XXXX.deb) your machine.
- Execute the following Commands in the console:
Ensure you have the latest packages:
sudo apt update
sudo apt upgrade
Stop your current HubKit that is running”
cd <home directory which you run Gravio>
sudo docker-compose down
Delete the gravio
user directory that has been created.
sudo rm -rf /home/<youraccoutforgravio>/
Install Update Manager, Coordinator, and HubKit
sudo apt install -y ./setup_XXXX.deb
Check Update Manager’s running.
Open a browser and access port 8080 of the IP address of Ubuntu 18.04/20.04 LTS.
https://(ip address):8008/
You will see a holding screen while the Update Manager processes the Coordinator and HubKit. Please wait until the login screen appears to proceed with the next step.
Migrating the data of the running Coordinator and HubKit.
(The directory of the newly installed HubKit 4.3 is backed up to hubkitrepo4_bak just in case.)
cd /home/gravio
sudo mv hubkitrepo4 hubkitrepo4_bak
sudo mv /home/(Username where HubKit 4.2 is installed)/hubkit/hubkitrepo4 .
sudo chown -R gravio:gravio hubkitrepo4
Now that the configuration is complete, reboot Ubuntu.
sudo reboot
Logging in to Update Manager
After rebooting Ubuntu, open a browser and access port 8080 of the Ubuntu 18.04/20.04 LTS IP address.
https://(ip address):8080/
For instructions on how to use Update Manager, please refer to here.
Need more help with this?
Join our slack community for help