I just migrated to 20.04, and LXD was replaced with the snap version. Now, unfortunately LXD is not in a working state, and my containers are not accessible: lxc list
returns an empty list.
I had a look at other similar posts in this forum, and I can confirm that the debian package is not installed:
$ dpkg -l | grep lxd
ii lxd 1:0.9 all Transitional package - lxd -> snap (lxd)
The containers are still listed in /var/lib/lxd/storage-pools/default/containers
, but lxd.migrate
returns an error:
=> Connecting to source server
error: Unable to connect to the source LXD: Get "http://unix.socket/1.0": dial unix /var/lib/lxd/unix.socket: connect: no such file or directory
Any hints on what I could try next?