RPI Unifi migration 32 > 64bit

Here are the steps on how to migrate the Unifi Network Application from a 32bit Pi Bullseye to an 64 bit Bullseye (Raspian Software):

  1. First you need to check your current version of the Unifi Network Application running on your 32bit Raspian
  2. Then you need to download the backup Image and save if somewhere safe – NOT on the SD Card you’re about to format 😉
  3. Clean Install with the Raspberry Imager – 64bit Version
  4. Run it an check that you have the same IP as before!!
  5. sudo apt update -> sudo apt upgrade
  6. install dependencies: sudo apt install binutils openjdk-11-jre-headless
  7. now you need to check if you have the libssl1.0.0 Package installed with a command: sudo apt list libssl*
  8. If that is not the case you need to download it:  wget http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.11_arm64.deb
  9.  Install it: dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.11_arm64.deb
  10. Now you can download the Mongo DB (either 3.4 or 3.6 – which I installed):  wget https://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.6/multiverse/binary-arm64/mongodb-org-server_3.6.23_arm64.deb
  11. Install it: dpkg -i mongodb-org-server_3.6.23_arm64.deb
  12. Next you can download the 64bit Unifi Network Application package but the SAME Version as you had on your 32bit Image
  13. Download it: wget https://dl.ui.com/unifi/7.3.83-4501ffd244/unifi_sysvinit_all.deb
  14. Install it: dpkg -i unifi_sysvinit_all.deb
  15. After that login to https://(ipaddress):8443 and restore it with the backup you downloaded…
  16. Finished :-)!!