Reply
New Member
Posts: 25
Registered: ‎07-12-2017
Kudos: 4
Solutions: 1

Unifi Controller WebUI unresponsive Debian

Hi, looking for some feedback.

 

My Unifi Controller appears to start OK through systemctl,but a few days back after an OS update  the WebUI stopped being accessible.

 

The Controller has been working fine up until now. I am running Debian Buster.

 

Ive enabled debugging via the init script and had the following error:

[2018-01-07 10:26:56,072] <launcher> INFO system - ======================================================================
[2018-01-07 10:26:56,073] <launcher> INFO system - UniFi 5.6.26 (build atag_5.6.26_10236 - release) is started
[2018-01-07 10:26:56,073] <launcher> INFO system - ======================================================================
[2018-01-07 10:26:56,075] <launcher> INFO system - BASE dir:/usr/lib/unifi
[2018-01-07 10:26:56,096] <launcher> INFO system - Current System IP: 192.168.2.2
[2018-01-07 10:26:56,096] <launcher> INFO system - Hostname: 
[2018-01-07 10:26:56,547] <launcher> ERROR Http11AprProtocol - Failed to initialize end point associated with ProtocolHandler ["http-apr-8443"]
java.lang.Exception: Connector attribute SSLCertificateFile must be defined when using SSL with APR
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:521)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:728)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:452)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

 

Highlighted
New Member
Posts: 25
Registered: ‎07-12-2017
Kudos: 4
Solutions: 1

Re: Unifi Controller WebUI unresponsive Debian

Hmm, since nobody responded and this is broken still, Ill post what I did as a work around.

 

I went the way of docker.

 

docker run --init -dit --restart unless-stopped --net=host -p 8080:8080 -p 8443:8443 -p 3478:3478/udp -p 10001:10001/udp -e UNIFI_UID=122 -e UNIFI_GID=127 -e TZ='Australia/Melbourne' -e RUNAS_UID0=false -v ~/unifi:/unifi --name unifi-controller jacobalberty/unifi:stable

 

After importing my back Unifi runs as wll as the old one.

 

Can we updated and modified as follows

 

root@family:~# cat update_unifi_container
docker pull jacobalberty/unifi:stable
docker stop unifi-controller
docker rename unifi-controller unifi-controller.save
root@family:~#

 

root@family:~# cat shell_into_unifi
docker exec -it unifi-controller /bin/bash

root@family:~#

 

I presume this will on any platofrm upon which docker will run.

 

 

 

 

 

Reply