LXD 3.0.3: Failed to create proxy devices listening on host port: Failed setns to container user namespace: Invalid argument

You should be able to do:

sudo snap install lxd --channel=4.0/stable
sudo lxd.migrate

See also Managing the LXD snap