LXD fails to start: Duplicate config row found for key "ipv4.address" for network ID 4

For some reason after host reboot my LXD started failing with the error:

Duplicate config row found for key “ipv4.address” for network ID 4

I checked /var/snap/lxd/common/lxd/database/global/db.bin and the networks_config table indeed contains a duplicate entry but how do I get rid of it? Tried to edit the db data but it just comes back…

Please can you look at this issue and follow the instructions in there to fix your config:

Thanks

1 Like

Thank you, that did the trick!

1 Like