Error: Data migration is only supported on Ubuntu at this time

Hello,

trying to migrate to snap on a KDE/neon (Ubuntu 16.04) workstation but the command lxd.migrate does no work as it thinks that this is not an Ubuntu system…

Is there a way to tell lxd.migrate that this is actually an Ubuntu system?

The migration tool looks for ID=ubuntu in /etc/os-release, you could temporarily change yours to match that.

2 Likes

Thanks. This worked for me when upgrading KDE Neon from 18.04 to 20.04.
Apparently it automigrates LXD from apt to snap but it fails because it says only ubuntu is supported.
Could the migrate script look at id_like as well before it throws error?

The KDE neon /etc/os-release:
NAME=“KDE neon”
VERSION=“5.19”
ID=neon
ID_LIKE=“ubuntu debian”
PRETTY_NAME=“KDE neon User Edition 5.19”
VARIANT=“User Edition”
VERSION_ID=“20.04”
HOME_URL=“https://neon.kde.org/
SUPPORT_URL=“https://neon.kde.org/
BUG_REPORT_URL=“https://bugs.kde.org/
LOGO=start-here-kde-neon
PRIVACY_POLICY_URL=“https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal