After being down for many days and finding no way to get this server in cluster going. I decide to reinstall it from scratch.
snap remove lxd
snap remove lxc
sudo apt remove -y lxd
sudo apt autoremove
sudo zpool list
sudo apt purge lxd
dpkg --purge --force-all lxd
dpkg --reconfigure -a
sudo apt-get remove --purge snapd
sudo rm -rf /snap
sudo rm -rf /var/snap
rm -vf /etc/systemd/snap-.mount
rm -vf /etc/systemd/snap-.service
rm -vf /etc/systemd/snap-*.service
and then did
apt install snap
apt install snapd
snap install lxd
and of course I get this…
Error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: no such file or directory
What the freak does this really mean. am I going to have waste another day rebuilding the server from scratch. Why doesn’t LXD work well with Ubuntu simple apt upgrade?
Why does apt upgrade break LXD?
Why is so freaking complicated to just reinstall this thing?
There is something wrong in how this software works if it requires you erase your server to update it.