Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


nztim

4012 posts

Uber Geek
+1 received by user: 2710

ID Verified
Trusted
TEAMnetwork
Subscriber

#270343 5-May-2020 12:28
Send private message

Hi There, my unifi controller (5.12.66) is running on a Ubuntu 16.04 VM - At the time of installation the controller .deb files didn't support 18.04

 

Now that installation is getting a little long in the tooth I am wonder if anyone has experience getting this running on 18.04 or 20.04 and if so has anyone had experience exporting and re-importing the configuration





Any views expressed on these forums are my own and don't necessarily reflect those of my employer. 


Create new topic
cyril7
9073 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #2476880 5-May-2020 12:33
Send private message

Hi, exporting and importing from one machine to another is painless and just works. As for 18.04 or above, last I looked UniFi controller still did not support netplan, but that may have changed, if it does then all good, otherwise stay with 16

 

Cyril




davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #2476900 5-May-2020 13:09
Send private message

Backup and restore is really easy to get the config on a new system.

I’m running on an 18.04 or 19.04 let’s system in docker. Seems fine.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2476903 5-May-2020 13:18
Send private message

My UniFi controller runs on Debian 10. Personally, I'd recommend that over Ubuntu given that Ubiquiti focus more on Debian over other *nix distros.

 

I think you're going to run into a problem with MongoDB being too new with Ubuntu 20.04. There are workarounds, but perhaps run it in Docker instead: https://hub.docker.com/r/linuxserver/unifi-controller





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.




darylblake
1172 posts

Uber Geek
+1 received by user: 410

Trusted

  #2476904 5-May-2020 13:18
Send private message

nztim:

 

Hi There, my unifi controller (5.12.66) is running on a Ubuntu 16.04 VM - At the time of installation the controller .deb files didn't support 18.04

 

Now that installation is getting a little long in the tooth I am wonder if anyone has experience getting this running on 18.04 or 20.04 and if so has anyone had experience exporting and re-importing the configuration

 

 

Installed 2 weeks ago on 18.04 LTS working absolutely brilliantly. 


zenourn
281 posts

Ultimate Geek
+1 received by user: 168

ID Verified
Trusted
DR

  #2477016 5-May-2020 13:57
Send private message

Got two instances running on 18.04 without any issues.


sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #2477039 5-May-2020 14:55
Send private message

I've been running on 18 for probably 18 months and never had any problems installing it on mutliple systems both before then and after.

 

It'll work on anything from 16 right up to 20.

 

Best bet is to use an install script such as this and then simply restore your old backup file. https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-Ubuntu-16-04-18-04-/ccbc7530-dd61-40a7-82ec-22b17f027776

 

 

 

 


 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
cyril7
9073 posts

Uber Geek
+1 received by user: 2499

ID Verified
Trusted
Subscriber

  #2477042 5-May-2020 15:03
Send private message

Hi it was probably 2yrs ago that I had issues with 18 and net plan so would expect its fixed now.

Cyril

nztim

4012 posts

Uber Geek
+1 received by user: 2710

ID Verified
Trusted
TEAMnetwork
Subscriber

  #2477063 5-May-2020 15:19
Send private message

Thanks All!

 

I will spin up an 18.04 20.04 and Debian 10 VMs to see what works best for me

 

Regards

 

Tim

 

 





Any views expressed on these forums are my own and don't necessarily reflect those of my employer. 


Sounddude
I fix stuff!
1935 posts

Uber Geek
+1 received by user: 640

Trusted
2degrees
Lifetime subscriber

  #2477085 5-May-2020 15:45
Send private message

I run mine inside a Docker.

 

 

 

Just works!


pistol
39 posts

Geek
+1 received by user: 7
Inactive user


  #2477168 5-May-2020 16:56
Send private message

Sounddude:

 

I run mine inside a Docker.

 

 

 

Just works!

 



Agree, couldn't imagine running it any other way now.
Makes updates trivial as well.


Tracer
343 posts

Ultimate Geek
+1 received by user: 151


  #2478223 6-May-2020 21:26
Send private message

Another vote for docker. https://hub.docker.com/r/linuxserver/unifi-controller


 
 
 

Want to support Geekzone and browse the site without the ads? Subscribe to Geekzone now (monthly, annual and lifetime options).
nztim

4012 posts

Uber Geek
+1 received by user: 2710

ID Verified
Trusted
TEAMnetwork
Subscriber

  #2482555 13-May-2020 09:55
Send private message

Thanks for all the recommendations guys! I now have the Unifi controller running in a Docker Container on Debian 10.3





Any views expressed on these forums are my own and don't necessarily reflect those of my employer. 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.