Canonical Livepatch internal error

I've started seeing a livepatch warning in my system tray.

System tray icons.

Clicking it takes me the the livepatch client where I see this error message:

Canonical Livepatch has experienced an internal error. Please refer to https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues for further information.

Despite the URL, there isn't a #CommonIssues section on the page: https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues

Any ideas how I can fix this?

Ubuntu 18.04.2 LTS
4.15.0-34-generic


In terminal i just fire this command and it worked, try this

sudo canonical-livepatch refresh

In Detail you can read here

  1. Canonical Livepatch informs about internal error - what to do?
  2. https://ubuntuforums.org/showthread.php?t=2420465

Note: Some people have found simply running sudo canonical-livepatch refresh solves the problem. Try that first and then, if the problem persists, follow the steps below.


This forum thread describes the same issue and says the solution is to use a new livepatch token:

  1. disable the livepatch service sudo canonical-livepatch disable

  2. get a new token from https://auth.livepatch.canonical.com/

  3. enable the service with your new token sudo canonical-livepatch enable <your token>

  4. restart livepatch service

    sudo systemctl restart snap.canonical-livepatch.canonical-livepatchd.service