hassio-addons / addon-unifi

UniFi Network Application - Home Assistant Community Add-ons
https://addons.community
MIT License
279 stars 138 forks source link

Controller offline after 1.0 update #248

Closed Sku1ly closed 3 years ago

Sku1ly commented 3 years ago

Problem/Motivation

Upgraded to 1.0. No breaking changes affect me. Unable to access unifi controller via unifi.ui.com See XML error or offline

Expected behavior

Log into Unifi controller to manage network

Actual behavior

Controller offline

Steps to reproduce

Upgraded to 1.0

Proposed changes

No idea. Error below

[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 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.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2021.8.5
 Home Assistant Supervisor: 2021.06.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.
[19:39:51] INFO: Starting the UniFi Controller...
Exception in thread "launcher" java.lang.IllegalStateException: Tomcat failed to start up
    at com.ubnt.net.B.if(Unknown Source)
    at com.ubnt.service.ooOO.Óo0000(Unknown Source)
    at com.ubnt.ace.Launcher.main(Unknown Source)
Caused by: java.lang.RuntimeException: Web context failed to initialize
    ... 3 more`
Bounties1337 commented 3 years ago

Same here. Log shows INFO: Starting the Unifi Controller.... However, I am not able to request the webpage nor to go over add-on "open webui"... .

Odd.. Please help.

frenck commented 3 years ago

@cjmjmartens @Bounties1337 That sounds like different issues, as the initial report logs show a clear error message in the logs... which is not present in yours. Please don't stack different issues.

Thanks.

github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!