hi all,
Had issues with a server today, following message
Error: Get “http://unix.socket/1.0”: EOF
this was after an upgrade from lxd 4.09 to 5.11 a week ago.
I had tried without success to revert back to 4.09
snap revert lxd --revision 24061
error: cannot perform the following tasks:
- Start snap “lxd” (24061) services (systemctl command [start snap.lxd.activate.service] failed with exit status 1: Job for snap.lxd.activate.service failed because the control process exited with error code.
See “systemctl status snap.lxd.activate.service” and “journalctl -xeu snap.lxd.activate.service” for details.
)
but no luck.
I then tried to delete and install lxd again. which worked in terms of the lxd package.
however, big mistake as my containers are not showing.
LXD containers lived in /lxd-pool and all files and directories are there,
ls -l /lxd-pool
total 0
drwx–x–x 1 root root 40 Dec 17 08:19 containers
drwx–x–x 1 root root 0 Dec 5 06:16 containers-snapshots
drwx–x–x 1 root root 0 Dec 5 06:16 custom
drwx–x–x 1 root root 0 Dec 5 06:16 custom-snapshots
drwx–x–x 1 root root 0 Dec 5 06:16 images
drwx–x–x 1 root root 0 Dec 5 06:16 virtual-machines
drwx–x–x 1 root root 0 Dec 5 06:16 virtual-machines-snapshots
df -h
/dev/nvme1n1 2.5T 1.3T 1.3T 52% /lxd-pool
Is there a way to get my set-up back ? Obviously files & there.
I can re-add the storage pool, is there a way to get the containers back?