I've tried all sorts (albeit on my phone), Unifi doesn't even launch. My fault, the Pi needs a clean up anyway.
So I've done a fresh install.
I wrote a guide on how to install Unifi on Raspbian Stretch Lite on a Pi.
To get the image on the Pi, use win32diskimager and a microSD card.
https://www.raspberrypi.org/downloads/raspbian/
Get the 'Lite' image, unzip it and use win32diskimager to write it to the card.
Pop it into the Pi, boot up and follow these instructions
(it will work for Pi2 and Pi3, not sure about others, probably too slow for a good experience)
https://community.ubnt.com/t5/UniFi...ry-stretch/m-p/2122428/highlight/true#M259215