I have server that has completely gone off the rails and LXC is not usable or operable - When I give a command to LXC the system just sits there. The logs have only yielded hundreds of instances of the below error.
t=2020-07-01T22:26:15-0700 lvl=warn msg="Dqlite: attempt 5: server 0: dial: Failed to connect to HTTP endpoint: dial tcp: address 0: missing port in address"
Considering there are other things wrong with this system and I am more inclined to re image it, how would you recommend I export a few containers for them to be imported later?
sqlite3 /var/snap/lxd/common/lxd/database/local.db “UPDATE config SET value=‘127.0.0.1:8443’ WHERE key IN (‘core.https_address’, ‘cluster.https_address’);”
sqlite3 /var/snap/lxd/common/lxd/database/local.db “UPDATE raft_nodes SET address=‘127.0.0.1:8443’;”
Ok, so different approach, what do you have on that system?
Is it just a bunch of containers or do you also have images and custom storage volumes that you care about?
Its a small offsite server that has a few containers on it. I have two containers that I have to get a few files backed up from, after that I can scrub the whole system and be OK with that.
We are using the default setup, I believe lxcfs. We have a singular “local.img” in “/var/snap/lxd/common/lxd/disks”.