LXD snap no longer starts - Invalid configuration key: Wildcard addresses aren’t allowed key=cluster.https_address

With some research and the help of this article I was able to temporarily get lxd running.

But now it is failing again with:
Failed to start the daemon err="Failed to start dqlite server: raft_start(): io: closed segment 0000000001048683-0000000001048701 is past last snapshot snapshot-1-1048387-21758482"

long version:

lxd --verbose --debug
DBUG[12-03|16:01:04] Connecting to a local LXD over a Unix socket 
DBUG[12-03|16:01:04] Sending request to LXD                   method=GET url=http://unix.socket/1.0 etag=
INFO[12-03|16:01:04] LXD is starting                          version=4.0.8 mode=normal path=/var/snap/lxd/common/lxd
INFO[12-03|16:01:04] Kernel uid/gid map: 
INFO[12-03|16:01:04]  - u 0 0 4294967295 
INFO[12-03|16:01:04]  - g 0 0 4294967295 
INFO[12-03|16:01:04] Configured LXD uid/gid map: 
INFO[12-03|16:01:04]  - u 0 1000000 1000000000 
INFO[12-03|16:01:04]  - g 0 1000000 1000000000 
INFO[12-03|16:01:04] Kernel features: 
INFO[12-03|16:01:04]  - closing multiple file descriptors efficiently: no 
INFO[12-03|16:01:04]  - netnsid-based network retrieval: yes 
INFO[12-03|16:01:04]  - pidfds: yes 
INFO[12-03|16:01:04]  - core scheduling: no 
INFO[12-03|16:01:04]  - uevent injection: yes 
INFO[12-03|16:01:04]  - seccomp listener: yes 
INFO[12-03|16:01:04]  - seccomp listener continue syscalls: yes 
INFO[12-03|16:01:04]  - seccomp listener add file descriptors: no 
INFO[12-03|16:01:04]  - attach to namespaces via pidfds: no 
INFO[12-03|16:01:04]  - safe native terminal allocation : yes 
INFO[12-03|16:01:04]  - unprivileged file capabilities: yes 
INFO[12-03|16:01:04]  - cgroup layout: hybrid 
WARN[12-03|16:01:04]  - Couldn't find the CGroup blkio.weight, disk priority will be ignored 
WARN[12-03|16:01:04]  - Couldn't find the CGroup memory swap accounting, swap limits will be ignored 
INFO[12-03|16:01:04]  - shiftfs support: yes 
INFO[12-03|16:01:04] Initializing local database 
DBUG[12-03|16:01:04] Refreshing local trusted certificate cache 
INFO[12-03|16:01:04] Set client certificate to server certificate fingerprint=c79af4bfa82848b543d4d42cb4a4c52bc1e00384eaa948aae4bb2fb34b30e7b8
DBUG[12-03|16:01:04] Initializing database gateway 
INFO[12-03|16:01:04] Starting database node                   id=1 address=1 role=voter
EROR[12-03|16:01:04] Failed to start the daemon               err="Failed to start dqlite server: raft_start(): io: closed segment 0000000001048683-0000000001048701 is past last snapshot snapshot-1-1048387-21758482"
INFO[12-03|16:01:04] Starting shutdown sequence               signal=interrupt
INFO[12-03|16:01:04] Not unmounting temporary filesystems (instances are still running) 
INFO[12-03|16:01:04] Daemon stopped 
Error: Failed to start dqlite server: raft_start(): io: closed segment 0000000001048683-0000000001048701 is past last snapshot snapshot-1-1048387-21758482

Maybe @freeekanayaka can help?