Package Updates

FogLAMP will periodically check for updates to the various packages that are installed. If updates are available then this will be indicated by a status indicating on the bar at the top of the FogLAMP GUI.

alert

Clicking on the bell icon will display the current system alerts, including the details of the packages available to be updated.

Installing Updates

Updates must either be installed manually from the command line or via the FogLAMP API. To update via the API a call to the /foglamp/update should be made using the PUT method.

curl -X PUT http://localhost:8081/foglamp/update

If the FogLAMP instance has been configured to require authentication then a valid authentication token must be passed in the request header and that authentication token must by for a user with administration rights on the instance.

curl -H "authorization: <token>" -X PUT http://localhost:8081/foglamp/update

Manual updates can be down from the command line using the appropriate package manager for your Linux host. If using the apt package manager then the command would be

apt install --only-upgrade 'foglamp*'

Or for the yum package manager

yum upgrade 'foglamp*'

Note

These commands should be executed as the root user or using the sudo command.