Link to home
Start Free TrialLog in
Avatar of Leigh Kalbli
Leigh Kalbli

asked on

Unifi Controller on Ubuntu 16

Installed Ubuntu 16.04 LTS and trying to install Unifi Controller for our switches.

I get the following error. Still new to linux side.  Any thoughts?


User generated image
Avatar of Leigh Kalbli
Leigh Kalbli

ASKER

User generated image
Here is journalctl -p err -b.  For some reason it wont let me see logs.  Im logged in as the only admin.

User generated image
User generated image
when running sudo journalctl -p err -b it lookgs like the output is nearly the same.  User generated image
I will have to look deeper into your last comment. Since I am unable to get to the path because of the permissions, I dont know the name of the log files that would be present there.
Avatar of Prabhin MP
can you remove existing package and try to install in same manner which is explained in the following link
https://jcutrer.com/howto/networking/ubnt/install-unifi-controller-on-ubuntu-linux
I would like to stay clear of installing the older version. Thanks .
Martyn,
I prefer to diagnose the problem. Since the decision was made to run the Unifi Controller on Ubuntu, and i will be the one that has to support it, uninstalling and reinstalling does no good to me. I typed the above command. After that nothing is displayed.  Did i miss a step.

User generated image
https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu  is what i followed.  Ironically, i install the Unifi Camera Server on Ubuntu 16.04 TLS with no issue.  I can, as you said try to uninstall or reinstall or even a new VM. We had already installed the Unifi Controller for switchers to a Server 2012 VM but decided to migrate it to Ubuntu. So, this is not mission or time critical.
Yes it was installed.

User generated image
Yes the VM is running on Dell R630 Power Eddge servers on vCenter 6.7  I looked in /etc and see no folder for unifi or no standalone file.
Separate note, i am going to create a second VM as well.
After  running /usr/lib/unifi/bin/unifi.init start i get "starting ubiquiti contoller unifi cannot locate Java Home"  As you reference java being a problem, i thing this may be a critical piece linking the issue.  I will double check that java is correctly installed.  Thank you for your help
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
David,

Thank you for the link.  I get this:

User generated image
I reached out to a friend who is more well versed than me and he was able to resolve the issue with Java that caused the problem.