My Ubiquiti UniFi Appliance 3.0 – now even more super!

Update February 2020

A lot of people were reporting that when they deploy more than 1 of the appliances to their unifi.ui.com account, the first one would disconnect. This is due to a duplicate UUID.

To remedie this issue, I have added a script to regenerate the UUID as well as a menu item to automate the process. These updated were added with commit abf5fca.

Simply run the Github-Script update process from the menu, your VA will reboot, and then it should be on menu version 1.2.0 and the UUID update will be option 6.

WARNING: do not run this option on a VA after it has been registered to unifi.ui.com, as it will probably disconnect your controller. It should only be ran on a new virtual appliance.

Update August 2019

I have added some new updates to the GitHub repo that will add the official Ubiquiti repo and update you to the latest Unifi software.

To install this update and get to the latest version of Unifi, you need to go to the console and run menu option 3 in the menu.

Once it is finished run option 4 (bash shell)
Type 
sudo reboot
Once the appliance has rebooted run option 3 again, this will cause it to actually run the update script.
Once the update has ran it should be on the latest and greatest unifi

Update – v3.1

I have updated the appliance to Ubuntu 18.04 as well as the latest version of Unifi as of Feb 2019. The new download links are below. Enjoy!

Out with the old

My Ubiquiti Unifi 2.0 virtual appliance has gotten quite a few downloads. So I decided to revamp it for 2018. This version is easier to use, comes with the latest UniFi server (as of this post), and can be more easily updated in the future.

I also created a post on how to build your own UniFi server in AWS using a few simple steps too, but for those purists who still need a solution that can run on-prem in VMware or Hyper-V… Long live the OVA Virtual Appliance!

In with the new

So what makes my new “Version 3.0” virtual appliance more kick ass? Simplicity.

This new version comes with a console based menu that allows you to update and configure the appliance.

Unifi Virtual Appliance Menu

So what does the menu help with?

  • Shows current IP address
  • Allows you to easily update Unifi via the official APT repository
  • Allows you to configure the network interface (DHCP or Static) without knowing anything about Linux
  • Updates my unifi-va scripts directory from my GitHub Repo (http://github.com/recklessop/unifi-va)
  • Change the “unifi” user’s password

Basically, all the things that non-Linux people wouldn’t like about running UniFi on a Linux machine can be done via this menu. As I think of more things to add I will update my GitHub repo and you can update your appliance by running option 3 in the menu.

Deploying v3

Deploying v3 is just like deploying any other virtual appliance.

First, download the virtual appliance (select the appropriate version).

VMware 6.5+ SHA256 version

VMware 6.0 and older SHA1 Version

Then import it into your hypervisor. For VMware 6.0 and older go to File, then “Deploy OVF Template”. For VMware 6.0 and newer, with the web interface, right click on your cluster or host and select “Deploy OVF Template”.

Configuring v3

Configuration is already mostly done, all you need to do is make sure the virtual appliance has an IP address. Once it does go to a browser and type in https://<IP ADDRESS>:8443 and you should see the invalid SSL warning page. Click through it, and you will then see the UniFi Configuration page. From there you can either import an old configuration or create a brand new appliance.

Note: the default username and password for this appliance is “unifi” (for both the username and password)

Get Update Notifications

If you want to be kept up to date on my UniFi Virtual Appliance news, fill out the form below to get email updates when it’s time to run the “Unifi-VA Scripts Update” from the menu on your appliance

Feedback

I’m always looking for feedback. So if you come across something that I could do better in the virtual appliance let me know. You can use the Drift chat box in the bottom right corner, or shoot me a message on Twitter (@recklessop), or shoot me an email ([email protected]).

Thanks for reading!

Looking for the UniFi Hardware?

If you haven’t completed your Ubiquiti Unifi hardware deployment, Amazon has great prices on all the UniFi hardware.

UniFi Security Gateway Unifi PoE Switch Unifi Wireless Access Point

Share This Post

98 Responses to "My Ubiquiti UniFi Appliance 3.0 – now even more super!"

  1. Hi Justin,

    Just installed this on my ESXI and is working fine.

    Right after i went in the web-ui i got notified that there is an update for Unifi software 5.10.21. So i tried updating with the console menu but it doesn’t seem to update. Do i need to download the .deb file and place it somewhere?

  2. Justin,

    Just wanted to thank you for putting this together. You are a life saver.

    SHA256 version Worked great on a 6.0 host managed by 6.7 vcenter (Latest patch on both as of 4/20/2019)

    It blows my mind that the vendor is incapable of putting something like this together. I am so thankful that I don’t have to run this in windows and start the application in order to get management functionality.

    Best,
    Mike D

  3. Wanted to throw out there that the version 2 appliance disks filled up, maybe I was saving too many backups?

    There was also alot of superseded kernel images in there

    Anything we need to worry about w\version 3.1?

  4. Hi, there seems to be a problem with updateing the VA from the console, do you know if it is a common problem with the VA?

  5. Daniel Rodrigues · Edit

    Hi! I would like to install some other features (like an dhcp server, ip tables) in the same server… What is the SU password of this image??

  6. did wget write to another file “unifi_sysvinit_all.deb.1” or something, because the file existed from the 5.10.23 download?
    in this case you would need to rename the file or use the correct one in “sudo dpkg …”

  7. Yes, it works. It doesn’t make much sense to update the Unifi Software via Menu Option 3 though, because of it’s naming “Update Unifi-va Scripts”, while menu option 1 “Update Unifi Application” does not update the Unifi Application.

  8. Hi Justin. Big fan of your appliance. I work for a small MSP and we utilize your appliance for clients that already have a virtualized environment. Unfortunately for some reason when you add multiple to unifi cloud access, only one shows up. Is there a unique identifier that I could change in the appliance that would allow multiple sites to show up under the unifi cloud controller?

    Thanks!

  9. Running in esxi. Works like a charm! super fast.
    Update indeed didn’t work and latest backup couldnt be imported. But did it manually, now 5.11.47 and voilla.

  10. Thank you for your work. I’ve clicked your referrers a few times for small unifi parts. Consider adding a direct payment link or adding more unifi gear to your referral links.

    I’ll offer one constructive criticism: after following the steps to assign a static IP the appliance still holds on to the the DHCP address, The VM ends up with two addresses and the ubnt cloud cant manage two IPs. I’ve tried to shut down DHCP on the appliance a few ways, but I can’t shake the second address. But I can easily work around it with DHCP reservations and again- tell how to send you some $ for your generous work.

  11. quick question here… i downloaded your image.. upgrade it to match the version of my current controller (windows)… downloaded the settings… upload them to the new controller… can I just turn off the windows one, change the IP of the ubuntu one and will they work? Thanks!!

  12. Thanks for this solution that should have provided as an alternative to the Cloud Key. Setting a static IP didn’t disable DHCP. I eneded up with two addresses, so I edited 01-netcfg.yaml. You should put a donation link.

  13. Hi Justin, is this the unifi Controller or the usg software? I have the controller on a raspberry with dietpi and it works perfectly.
    Best regards Jan

  14. Thank you for your answer, I tried the password before, unfortunately without success.
    login and password unifi worked but unfortunately not for the super user

  15. Feature request: a script to manage the autobackup location and authentication. It’s missing from Unifi UI and tricky from system.properties file.

  16. So for normal deployments we do for our customers this works great(thanks a ton for creating this masterpiece) but we’re having issues with larger multi-site deployments where we’re not even collecting statistics and the controller is filling up.

    What about expanding disk space to accommodate larger controllers such as this, what’s the best way to go about that? Create larger templates that give scaling examples of what they’re rated for to deploy accordingly or would it be easier to try and go about expanding the disks on the controller?

  17. Chris, there is no su password

    Use sudo and you can then set a root password if you want.

    drop down to a bash shell (option 4) and then type ‘sudo bash’ … you are now root. if you want to set a root password simply type passwd … but honestly just typing sudo bash puts you at a root bash prompt without the risk of having a root password. But its your machine, do it however you like.

  18. I am not able to ssh Unifi Controller with the password i set in Unifi Controller, I talked to Unifi support, they told me that the password to the controller shall be same as the device password as your VM.

    Wonder is there a ssh account and password to the controller?

  19. I am not able to ssh Unifi Controller with the password i set in Unifi Controller, I talked to Unifi support, they told me that the password to the controller shall be same as the device password as your VM.

    Wonder is there a ssh account and password to the controller? Thanks.

  20. Hi, getting an error after months of the VM working fine [ 80.813102] print_req_error: I/O, dev fd0, sector 0

  21. I have notice a problem with the mongodb signing key and it fails to update the mongodb application. This was on a new install.

    thanks

  22. I hope you can help, I am after updating to 5.12.72 but I change the URL but I get a forbidden. Any idea’s?

Leave a Reply