Checking lxd update history

Hi,

How to check the updating history of lxd? I have an in house server with ubuntu 18.04, set up in march, and never connect to internet until lately, suddenly it became 3.18, how to check the original version? Thanks.

As you are probably aware, snapd journaling (journalctl -u snapd) gives you helpfully the full history of snapd updates ‘failures’, that is, snapd has found nothing to update (events that are happening several times each day), however, ‘successes’ (something to update, events happening one time every 2-3 months for lxd) are not logged.

If you keep a huge syslog history, I guess that snap updates are logged, however in my case given the fantastic log spamming happening in a distro like Ubuntu 18.04, I have only 5 days so it’s pretty useless.

I have found that the much maligned systemd has more useful journaling, with

sudo journalctl | grep Mounting | grep lxd

Aug 25 14:17:03 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Aug 25 16:07:58 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Aug 25 16:24:00 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Aug 26 06:51:12 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 02 15:23:31 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 03 10:04:55 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 03 22:59:33 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 03 23:10:53 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 07:48:28 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 08:31:22 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 08:56:04 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 12:40:02 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 12:46:06 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 12:54:22 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 07 13:07:52 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 08 08:48:48 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11727…
Sep 09 12:19:15 q1900 systemd[1]: Mounting Mount unit for lxd, revision 11824…

gives me the information on when lxd revision 11824 has raised its head on my system for the first time.

snap info lxd gives me the stable version (12317)

So

sudo journalctl | grep Mounting | grep lxd | grep 12317
Nov 05 07:28:04 q1900 systemd[1]: Mounting Mount unit for lxd, revision 12317…

I got the benefit of LXD 3.18 12317 on 5 november.