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?


Capture.PNG
LinuxInstallation* ubiquityUbuntu

Avatar of undefined
Last Comment
Leigh Kalbli

8/22/2022 - Mon
Leigh Kalbli

ASKER
Capture.PNG
Leigh Kalbli

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

Capture.PNG
log.PNG
Leigh Kalbli

ASKER
when running sudo journalctl -p err -b it lookgs like the output is nearly the same.  Capture.PNG
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Leigh Kalbli

ASKER
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.
Leigh Kalbli

ASKER
Capture.PNG
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
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Leigh Kalbli

ASKER
I would like to stay clear of installing the older version. Thanks .
Leigh Kalbli

ASKER
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.

Capture.PNG
Leigh Kalbli

ASKER
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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Leigh Kalbli

ASKER
Yes it was installed.

Capture.PNG
Leigh Kalbli

ASKER
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.
Leigh Kalbli

ASKER
Separate note, i am going to create a second VM as well.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Leigh Kalbli

ASKER
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
David Favor

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Leigh Kalbli

ASKER
David,

Thank you for the link.  I get this:

Capture.PNG
Leigh Kalbli

ASKER
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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck