Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

How to upgrade a Livepatch on-prem deployment

To upgrade the livepatch on-prem deployment, each application needs to be upgraded separately:

$ juju refresh haproxy
$ juju refresh postgresql
$ juju refresh ubuntu-advantage
$ juju refresh livepatch

After upgrading the livepatch application, a schema upgrade may be required. This will be indicated in the application’s status in juju status. In such a case, run the command:

$ juju run-action livepatch/leader schema-upgrade --wait

One can also restart the livepatch application with the following command:

$ juju run-action livepatch/<desired-unit> restart --wait

Note: juju run-action has been renamed to juju run from Juju v3
See Juju | How to manage actions for more details.

This page was last modified 9 months ago. Help improve this document in the forum.