Migrating from truenas app (unifi console ver 9.5.21) to unifi OS server (10.4.57), can't restore from backup

I have been self-hosting the Unifi console as a Truenas app using local credentials for the past few years. Recently, I found out that I can no longer use my Truenas box to host the Unifi console since the SoC/CPU does not support AVX which is required for recent versions of MongoDB. Instead of simply running an external MongoDB instance I decided to migrate to the newer Unifi OS server running on a new install of Ubuntu running baremetal on some old hardware.

For some reason I can not import my settings from my Unifi console truenas appto the Unifi os server. When I try to restore from the backup file I receive an error: The file is either incompatible or corrupted. Please upload another file. I have tried creating another backup file and restoring from that but I still receive the same error.

Can someone help me, is it not possible to keep my setting when migrating from Unifi controller version 9.5.21 to Unifi OS server 10.4.57 using local credentials?

Are you in the latest version of the UniFi controller before you exported your config?

Unfortunately I am not, I am running the Unifi controller on a Truenas mini X via the Truenas app which can not be updated to a newer version of Unifi controller since the SoC in the Truenas mini X does not support AVX instructions that are required to run versions of MongoDB which is required for unifi controller 10+; This is the main reason why I am attempting to migrate from the Unifi controller Truenas app to a bare metal Unifi OS server.

I was under the impression that the config will transfer to newer versions of the Unifi platform. I knew migrating to an older version of the Unifi platform would cause issues. I thought migrating to a newer version of the platform - which is the case for me, would be straight forward. If this is not the case how does Unifi expect me to migrate? I just found out a few months ago that I would not be able to upgrade to a newer Unifi platform a few months ago. That didn’t leave me enough time to migrate to a newer Unifi platform.

You can, but you must be on the latest version of the old UniFi controller for it to work. You will have to stand up another UniFi controller some other way, import the config, upgrade the controller to the latest version, then export.

That is insane, it has only been a few months Since I found out that I would not be able to migrate to a newer version of the unifi controller. I thought Unifi was considered professional level hardware, unifi did not leave me enough time to migrate, that is not pro at all.

Anyways, thanks xMAXIMUSx. Instead of going through all of that I’ll probably just have to start over from scratch on the Unifi Server OS. DOing what you suggest seems more complicated. I guess it won’t be too bad starting from scratch, it’s not like I am running a multi site configuration.

You should be able to do this as a site migration. Follow the Exporting Individual Sites from Older UniFi Hosting Options instructions on this page https://help.ui.com/hc/en-us/articles/360008976393-Backups-and-Migration-in-UniFi