Cockpit – “Cannot Refresh Cache Whilst Offline” Error on Ubuntu Linux

Cockpit is definitely one of the best Linux server managment dashboard solution out there. However, you might encounter the titular error the first time you install and access its contro panel’s “Software Updates” page. I used below instructions to resovle it.

Firstly, vi your NIC’s yaml config file by

sudo vi /etc/netplan/00-installer-config.yaml

At the end of the file, append below line

renderer: NetworkManager

It should look like something as

Secondly, do remember to re-apply the netplan to apply this new rule:

sudo netplan apply

Lastly, reboot the cockpit service just in case:

sudo systemctl restart cockpit

And you shall be able to see latest list of updatable software like below:

Reference article link is at Github.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *