Home Assistant Community Add-on: UniFi Controller

I eventually dit the same, reinstalled the integration and it looks like the reconfiguration problem is solved.

I have a couple of problems, I hope you can help me.
I installed the plugin but after a few seconds of starting my homeassistant it dies, I can’t access its web interface, if I open the “Unifi Network” web interface, the following appears:

Looking at the logs of the Ubiquiti Network plugin I have the following:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: UniFi Network Application
 Manage your UniFi network using a web browser
-----------------------------------------------------------
 Add-on version: 1.1.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 6.6  (aarch64 / raspberrypi3-64)
 Home Assistant Core: 2021.11.3
 Home Assistant Supervisor: 2021.10.8
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] unifi.sh: executing... 
[cont-init.d] unifi.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[04:02:06] INFO: Now starting the UniFi Network Application...
[04:02:06] INFO: Note: No add-on specific logs beyond this point.

I have been reading the comments of this publication and many with similar problems managed to return to version 0.23.2, I really don’t know how to do it, if that or could be a solution, could someone tell me how to install an old version of the plugin?

So how do i get the Unifi controller to update.

When i installed it a few months ago, it installed version 1.0.0 of the Unifi controller, and the Unifi version that it is running is 6.2.26

I have set it to auto update, but it never does.

From what i can see on the github page, the latest version is 1.1.1 and it should be running 6.5.53

So is there a way to manually trigger this…I was thinking about doing a delete and reinstall, but i would rather not if possible, as i dont want to start from scratch with the controller and the AP’s.

Controller is running on a Raspberry Pi4 so if there is a cli method of forcing an update, that will work as well.

Hi.

I’m running Home Assistant with the Unifi Plugin on a RPi 4
Everything is working as expected until i reboot the Pi
After restart i get a Integration requires reconfiguration notification for the unifi plugin
I have to enter my unifi controller password again an everything ist working normal again.

Any ideas why the integration ist not surviving the restart?
Maybe a race condition, like the plugin is not ready fast enough?

regard Juergen

I run the same configuration (RPi 4 with home assistant and the unifi controller addon)

May i ask what version of the unifi controller integration you have (Mine is 1.0.0) and the controller version is 6.2.26 but i see that there is a version 1.1.1 and controller version 6.5.53

Are you running 1.0.0 or 1.1.1 (Or something in between) ??

Looking at the log it says :


Add-on: UniFi Controller
Manage your UniFi network using a web browser

Add-on version: 1.0.0
You are running the latest version of this add-on.
System: Home Assistant OS 6.6 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.11.5
Home Assistant Supervisor: 2021.10.8

To answer your question…I can restart it without having the issue you have.

Add-on version: 1.1.1
You are running the latest version of this add-on.
System: Home Assistant OS 6.6 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.11.5
Home Assistant Supervisor: 2021.10.8

Unifi Controller 6.5.53

I think there is no need to start from scratch.
You can download your config as a backup.
After reinstall select “restore from backup” on the initial setup screen.
As long as the name/IP doesn’t change it should work.
I had to ssh into my Switch and AP and set the inform-server manually because the device were stuck at adoption

set-inform http://unifi.example.com:8080

Yeah, i just thought of something.

I have totally been tripping myself up on this one.

I am using a Pihole server for DNS requests, and it has apparantly been set to deny requests to :

trace.svc.ui.com

I whitelisted that site, and boom…There is an update :slight_smile:

Just wanted to put it up here, if someone else had this problem and googled it, they might find this post :slight_smile:

For what it’s worth, I block trace.svc.ui.com as-well and am fully up to date. I don’t think the add-on update, delivered through https://addons.community, is affected by trace.svc.ui.com

I can only say that i have not had any update notice for the unifi controller since i installed it on my HA installation.

Took only a few seconds after i whitelisted that one, until it suddenly found the update.

I found that URL, when i filtered in pihole and only looked at what was being denied, and this was the only thing that was denied from the HA Raspberry’s IP.

For me whitelisting this address solved the problem…I am probably going to try and block it again, and then if there is an update, and i do not get it automatically, i will try whitelisting it again, while it updates.

Was Raspberry Pi support dropped for this add-on?

I’m seeing an notice on the add-on in the Store that indicates " This add-on is not compatible with the processor of your device or the operating system you have installed on your device."

My device is currently on core-2021.11.4 (in the process of upgrading it and will update if this resolves it) with Supervisor-2021.12.2 and HA OS 7.0 on a Raspberry Pi 3 Model B Rev 1.2.

Support for 32-bit systems was dropped in ver 1.0

Are you running 32-bit HAOS ?

That was it. Installed 64-bit and now it’s available for adding. Thanks!

1 Like

Is this kept up to date as running it outside of home assistant would be? Or are the updates controlled by home assistant and potentially behind the official unifi version?

It is slightly behind the official release as we have to wait for the the add-on devs to update it each time Unifi release an update.

can anybody help to resolve that issue?

Can’t install ghcr.io/hassio-addons/unifi/aarch64:1.1.3: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/hassio-addons/unifi/aarch64:1.1.3/json: Not Found (“no such image: ghcr.io/hassio-addons/unifi/aarch64:1.1.3: No such image: ghcr.io/hassio-addons/unifi/aarch64:1.1.3”)

Running the latest armbian debian buster image on a helios64 NAS

I know the native SSL support has been pulled from the latest version of the UniFi Controller add-on, but does anyone have it running through the NGINX Home Assistant SSL proxy add-on? I have my HA running through NGINX and LetsEncrypt, but I’m not sure what config I’d need to also make UniFi route through it. Has anyone solved that and could share their setup? Thanks in advance!

I would also be interested to know if there is a solution for DuckDNS and LetsEncrypt :slight_smile:

What’s the difference between this add-on and the native integration?

This addon is the Controller, which is used to configure and maintain your Unifi network and devices. The native integration provides some sensors I believe. They are very different animals.