linuxserver / docker-unifi-controller

GNU General Public License v3.0
899 stars 125 forks source link

[BUG] USG-Pro won't adopt - endless loop adopting #218

Closed makako-dev closed 1 year ago

makako-dev commented 1 year ago

Is there an existing issue for this?

Current Behavior

My USG Pro will not adopt. It will stay in "Adopting" status event after restarting container.

I currently have the container installed in a Debian 10 server. When installing Unifi Controller on a Windows Machine, it works OK.

Screenshot 2023-08-09 211446

Expected Behavior

USG Pro should adopt

Steps To Reproduce

  1. Install Unifi Controller in a Debian 10 using Portainer Stacks (Docker Compose)
  2. Use this configuration: Stack
  3. When container gets created, review all devices get adopted correctly.
  4. One of the devices, will get stuck on "Adopting" Screenshot 2023-08-09 211446

Environment

- OS: Debian 10
- How docker service was installed: Docker Compose using Portainer stacks.

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  unifi-controller:
    image: lscr.io/linuxserver/unifi-controller:latest
    container_name: unifi-controller
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=US/Mountain
    volumes:
      - /home/debian-user-here/docker-volumes/unifi:/config
    ports:
      - 8443:8443
      - 3478:3478/udp
      - 10001:10001/udp
      - 8080:8080

    restart: unless-stopped

Container logs

Container Logs:

      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/lib/unifi/lib/tomcat-embed-core-9.0.65.jar) to field java.io.ObjectStreamClass$Caches.localDescs
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[ls.io-init] done.

And these are the logs for unifi server.log file within container:

root@a6c8145acd0d:/usr/lib/unifi/logs# cat server.log 
[2023-08-09 15:27:49,327] <launcher> INFO  system - *** Running for the first time, creating identity ***
[2023-08-09 15:27:49,329] <launcher> INFO  system - UUID: c565bb30-5dcb-4abb-bca3-dd95d9de1614
[2023-08-09 15:27:49,335] <launcher> INFO  system - Reporter UUID: 7b1c3b8d-7467-4671-80f9-e131ff27a981
[2023-08-09 15:27:49,768] <launcher> INFO  tomcat - Adding basic REST API support during the startup
[2023-08-09 15:27:50,180] <launcher> INFO  system - Tomcat startup took 684ms
[2023-08-09 15:27:50,190] <launcher> INFO  tomcat - Adding basic REST API support during the startup
[2023-08-09 15:27:53,434] <launcher> INFO  db     - Starting database service initialization...
[2023-08-09 15:27:53,434] <launcher> INFO  db     - waiting for db connection...
[2023-08-09 15:27:53,434] <db-server> INFO  db     - Checking if database needs to be shut down
[2023-08-09 15:27:54,489] <db-server> INFO  db     - Database was not running
[2023-08-09 15:27:54,490] <db-server> INFO  db     - Database configuration, dir=/usr/lib/unifi/data/db, port=27117
[2023-08-09 15:27:54,533] <db-server> INFO  db     - Starting database process...
[2023-08-09 15:27:54,550] <db-server> INFO  db     - 2023-08-09T15:27:54.550-0600 I STORAGE  [main] Engine custom option: cache_size=256M
[2023-08-09 15:27:54,935] <launcher> INFO  db     - Connecting to mongodb://localhost:27117
[2023-08-09 15:27:54,947] <launcher> INFO  db     - db connection established...
[2023-08-09 15:27:56,005] <launcher> INFO  db     - db connected (v3.6.8@mongodb://localhost:27117)
[2023-08-09 15:28:13,754] <launcher> INFO  db     - Database service initialized...
[2023-08-09 15:28:13,777] <launcher> INFO  system - ======================================================================
[2023-08-09 15:28:13,777] <launcher> INFO  system - UniFi 7.4.162 (build atag_7.4.162_21057 - release/release) is started
[2023-08-09 15:28:13,777] <launcher> INFO  system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2023-08-09 15:28:13,778] <launcher> INFO  system - ======================================================================
[2023-08-09 15:28:13,778] <launcher> INFO  system - BASE dir:/usr/lib/unifi
[2023-08-09 15:28:13,779] <launcher> INFO  system - Current System IP: 172.28.0.2
[2023-08-09 15:28:13,779] <launcher> INFO  system - Hostname: cd1b850632c4
[2023-08-09 15:28:13,780] <launcher> INFO  system - ubic.env: prod
[2023-08-09 15:28:15,300] <launcher> WARN  CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
[2023-08-09 15:28:19,117] <launcher> WARN  CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
[2023-08-09 15:28:20,508] <launcher> WARN  system - Country Code is not configured for Site with ID=64d404edf9331639bbff0f7c
[2023-08-09 15:28:20,509] <launcher> WARN  system - Country Code is not configured for Site with ID=64d404edf9331639bbff0f7c
[2023-08-09 15:28:22,952] <ModelLifecycleManager-startStop> WARN  dev    - failed to read /usr/lib/unifi/data/model_lifecycles.json - /usr/lib/unifi/data/model_lifecycles.json (No such file or directory)
[2023-08-09 15:28:27,618] <launcher> INFO  productinfo - Using controller channel=RELEASE, firmware channel=RELEASE. Available controller channels=[RELEASE], available firmware channels=[RELEASE]. SSO is disabled.
[2023-08-09 15:28:27,630] <launcher> INFO  tomcat - systemd: Watchdog ping NOT enabled
[2023-08-09 15:28:27,630] <launcher> INFO  tomcat - systemd: Startup completed. Ready for watchdog keep-alive checking.
[2023-08-09 15:28:27,631] <launcher> INFO  B      - ubnt_sdnotify_jni is loaded from: /usr/lib/unifi/lib/native/Linux/x86_64/libubnt_sdnotify_jni.so
[2023-08-09 15:29:28,111] <autoupdate-check> INFO  productinfo - firmware[USC8] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[USAGGPRO] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[USL8MP] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[UAPL6] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[UXSDM] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[UFLHD] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[USXG] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[U7LT] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[UAL6] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[UXBSDM] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[US24PL2] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[U7PG2] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[US24P500] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[USF5P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[USL24P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[ULTEPEU] new version (6.2.55.14140) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[U7IWP] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[US24P250] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[UAP6MP] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,112] <autoupdate-check> INFO  productinfo - firmware[US48P750] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[US48P500] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[UAIW6] new version (6.2.49.14111) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U2Sv2] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U2HSR] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[S28150] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[US8P150] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U7LR] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U6EXT] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[UAE6] new version (6.2.49.14111) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[UALR6] new version (6.2.49.14111) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[USL8LP] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[US48] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U6IW] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[US48PRO] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U2IW] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U7HD] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[UCKP] new version (2.1.11.a7986ca) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[USC8P450] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[S216150] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[USL48PB] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[S248750] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U7MP] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[BZ2LR] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[U6ENT] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,113] <autoupdate-check> INFO  productinfo - firmware[USL48] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[ULTE] new version (6.2.55.14140) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[US48PL2] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[UCKG2] new version (2.1.11.a7986ca) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[UDM] new version (1.12.30.4325) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[ULTEPUS] new version (6.2.55.14140) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[US8P60] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[UHDIW] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[US24PRO2] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[UCXG] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[S224500] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[U7P] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[S224250] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[U5O] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[USXG24] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[USFXG] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[USL48P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[UDMPRO] new version (1.12.30.4325) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[UGWXG] new version (4.4.57.5578378) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[U6M] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[S248500] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[USL16LP] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[USPPDUP] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[U7SHD] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[US624P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,114] <autoupdate-check> INFO  productinfo - firmware[US8] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US24] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USL8A] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USPRPS] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US648P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USL8LPB] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US6XG150] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[UXGPRO] new version (1.13.8.4578) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[UAM6] new version (6.2.49.14111) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[UDMB] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[U7MSH] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[U7NHD] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[UGW3] new version (4.4.57.5578372) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US16P150] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[U2O] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USL24B] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USPRPSP] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[U2Lv2] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[UGW4] new version (4.4.57.5578372) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USL24] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[USMINI] new version (2.0.0.704) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US68P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US48PRO2] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[US24PRO] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[U7IW] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,115] <autoupdate-check> INFO  productinfo - firmware[UBB] new version (3.0.2.168) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[BZ2] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UALRPL6] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USL48B] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UALR6v2] new version (6.5.64.14808) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UXGPROV2] new version (3.1.8.12135) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USPPDUHD] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UP1] new version (2.2.3.519) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USL16LPB] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[U7EDU] new version (4.3.28.11361) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USL16P] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UCK] new version (1.1.19.f4a17b0) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USL16PB] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[U6ENTIW] new version (6.5.62.14788) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USL24PB] new version (6.5.59.14777) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[USMINI2] new version (2.0.0.686) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UBBXG] new version (1.1.0.68) is available
[2023-08-09 15:29:28,116] <autoupdate-check> INFO  productinfo - firmware[UP6] new version (2.2.3.519) is available
[2023-08-09 15:34:50,682] <webapi-3> INFO  setup  - Restoring backup on UDM device: false, backup contains UDM device: false
[2023-08-09 15:34:51,070] <shutdown-listener> WARN  system - cannot stop task crash-report (is running?)
[2023-08-09 15:34:51,070] <shutdown-listener> WARN  system - cannot stop task scan-cache-clean (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task ble_bridge_discovery (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task check-network-interfaces (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task autolink-registry-flush (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task trigger-throttling-cache-flush (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task dpi-tseries (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task disk-usage-check (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task ble_state_check (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task lte-device-license-check (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task live-performance-analytics (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task webrtc-connection (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task db-stat-prune (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task batching-tracer (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task dpi-clean-tseries (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task print-time-series-cache-stats (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task check-iot-certificate (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task settings-report (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task cache (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task downtime-clean-tseries (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task teleport-token-cleanup (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task device-connect-incidents (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task cache-prune (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task document-pruning-by-count (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task request-metric-queue-monitor (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task wss-connection (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task facebook-wifi-token-validation (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task cache-cleanup (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task sdn-connection (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task features-report (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task db-config-prune (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task stamgr (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task request-performance-report (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task autoupdate-check (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task ips-alert-caching (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task model-lifecycle-cache-refresh (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task remotelogger-clean (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task device-state-check (is running?)
[2023-08-09 15:34:51,071] <shutdown-listener> WARN  system - cannot stop task jvm-performance-report (is running?)
[2023-08-09 15:34:57,673] <launcher> INFO  tomcat - Adding basic REST API support during the startup
[2023-08-09 15:34:58,088] <launcher> INFO  system - Tomcat startup took 689ms
[2023-08-09 15:34:58,099] <launcher> INFO  tomcat - Adding basic REST API support during the startup
[2023-08-09 15:35:01,394] <launcher> INFO  db     - Starting database service initialization...
[2023-08-09 15:35:01,395] <launcher> INFO  db     - waiting for db connection...
[2023-08-09 15:35:01,395] <db-server> INFO  db     - Checking if database needs to be shut down
[2023-08-09 15:35:02,455] <db-server> INFO  db     - Database was not running
[2023-08-09 15:35:02,456] <db-server> INFO  db     - Database configuration, dir=/usr/lib/unifi/data/db, port=27117
[2023-08-09 15:35:02,499] <db-server> INFO  db     - Starting database process...
[2023-08-09 15:35:02,517] <db-server> INFO  db     - 2023-08-09T15:35:02.517-0600 I STORAGE  [main] Engine custom option: cache_size=256M
[2023-08-09 15:35:02,896] <launcher> INFO  db     - Connecting to mongodb://localhost:27117
[2023-08-09 15:35:02,898] <launcher> INFO  db     - db connection established...
[2023-08-09 15:35:03,946] <launcher> INFO  db     - db connected (v3.6.8@mongodb://localhost:27117)
[2023-08-09 15:35:21,100] <launcher> INFO  db     - Database service initialized...
[2023-08-09 15:35:21,107] <launcher> INFO  system - ======================================================================
[2023-08-09 15:35:21,107] <launcher> INFO  system - UniFi 7.4.162 (build atag_7.4.162_21057 - release/release) is started
[2023-08-09 15:35:21,107] <launcher> INFO  system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2023-08-09 15:35:21,107] <launcher> INFO  system - ======================================================================
[2023-08-09 15:35:21,107] <launcher> INFO  system - BASE dir:/usr/lib/unifi
[2023-08-09 15:35:21,107] <launcher> INFO  system - Current System IP: 172.28.0.2
[2023-08-09 15:35:21,107] <launcher> INFO  system - Hostname: cd1b850632c4
[2023-08-09 15:35:21,107] <launcher> INFO  system - ubic.env: prod
[2023-08-09 15:35:22,612] <launcher> WARN  CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
[2023-08-09 15:35:25,943] <launcher> WARN  CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
[2023-08-09 15:35:33,816] <launcher> INFO  productinfo - Using controller channel=RELEASE, firmware channel=RELEASE. Available controller channels=[RELEASE], available firmware channels=[RELEASE]. SSO is disabled.
[2023-08-09 15:35:33,849] <launcher> INFO  tomcat - systemd: Watchdog ping NOT enabled
[2023-08-09 15:35:33,849] <launcher> INFO  tomcat - systemd: Startup completed. Ready for watchdog keep-alive checking.
[2023-08-09 15:35:33,849] <launcher> INFO  B      - ubnt_sdnotify_jni is loaded from: /usr/lib/unifi/lib/native/Linux/x86_64/libubnt_sdnotify_jni.so
[2023-08-09 15:35:37,403] <inform-4> WARN  inform - inform ip changed (192.168.1.10 -> 192.168.1.11), re-provisioning scheduled
[2023-08-09 15:37:26,336] <inform-4> WARN  inform - inform ip changed (192.168.1.10 -> 192.168.1.11), re-provisioning scheduled
[2023-08-09 20:39:12,352] <launcher> INFO  tomcat - Adding basic REST API support during the startup
[2023-08-09 20:39:12,732] <launcher> INFO  system - Tomcat startup took 657ms
[2023-08-09 20:39:12,745] <launcher> INFO  tomcat - Adding basic REST API support during the startup
[2023-08-09 20:39:16,063] <launcher> INFO  db     - Starting database service initialization...
[2023-08-09 20:39:16,065] <launcher> INFO  db     - waiting for db connection...
[2023-08-09 20:39:16,065] <db-server> INFO  db     - Checking if database needs to be shut down
[2023-08-09 20:39:17,123] <db-server> INFO  db     - Database was not running
[2023-08-09 20:39:17,123] <db-server> INFO  db     - Database configuration, dir=/usr/lib/unifi/data/db, port=27117
[2023-08-09 20:39:17,170] <db-server> INFO  db     - Starting database process...
[2023-08-09 20:39:17,191] <db-server> INFO  db     - 2023-08-09T20:39:17.190-0600 I STORAGE  [main] Engine custom option: cache_size=256M
[2023-08-09 20:39:17,567] <launcher> INFO  db     - Connecting to mongodb://localhost:27117
[2023-08-09 20:39:17,569] <launcher> INFO  db     - db connection established...
[2023-08-09 20:39:18,627] <launcher> INFO  db     - db connected (v3.6.8@mongodb://localhost:27117)
[2023-08-09 20:39:18,688] <launcher> INFO  db     - Database service initialized...
[2023-08-09 20:39:18,693] <launcher> INFO  system - ======================================================================
[2023-08-09 20:39:18,693] <launcher> INFO  system - UniFi 7.4.162 (build atag_7.4.162_21057 - release/release) is started
[2023-08-09 20:39:18,693] <launcher> INFO  system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2023-08-09 20:39:18,693] <launcher> INFO  system - ======================================================================
[2023-08-09 20:39:18,693] <launcher> INFO  system - BASE dir:/usr/lib/unifi
[2023-08-09 20:39:18,693] <launcher> INFO  system - Current System IP: 172.21.0.2
[2023-08-09 20:39:18,693] <launcher> INFO  system - Hostname: a6c8145acd0d
[2023-08-09 20:39:18,694] <launcher> INFO  system - ubic.env: prod
[2023-08-09 20:39:20,184] <launcher> WARN  CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
[2023-08-09 20:39:21,253] <launcher> WARN  CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation
[2023-08-09 20:39:24,511] <launcher> INFO  productinfo - Using controller channel=RELEASE, firmware channel=RELEASE. Available controller channels=[RELEASE], available firmware channels=[RELEASE]. SSO is disabled.
[2023-08-09 20:39:24,528] <launcher> INFO  tomcat - systemd: Watchdog ping NOT enabled
[2023-08-09 20:39:24,529] <launcher> INFO  tomcat - systemd: Startup completed. Ready for watchdog keep-alive checking.
[2023-08-09 20:39:24,529] <launcher> INFO  B      - ubnt_sdnotify_jni is loaded from: /usr/lib/unifi/lib/native/Linux/x86_64/libubnt_sdnotify_jni.so
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

makako-dev commented 1 year ago

In addition, I tried updating USG firmware manually per this guide, but did not work.

aptalca commented 1 year ago

Did you follow the specific instructions in the readme? What exactly did you do?

makako-dev commented 1 year ago

I used the docker-compose way. However, I used it with Portainer.

makako-dev commented 1 year ago

OK, I fixed my issue by some of the comments in the readme. I just had to override and specify the hostname under the System Settings of the controller as such:

inform_host

@aptalca thanks for your comments! I really appreciate it!

jordangarside commented 11 months ago

Had the same issue, following the instructions in the README running in docker through docker-compose.

This host is running at 10.0.10.6, but the unifi controller is using the docker IP of 172.18.0.2. Is there a way to set the external IP through the env variables? Or some other way to do this?

Setting the IP manually in the UI also works fine, but feels a little weird.

j0nnymoe commented 11 months ago

No there isn't another way of doing this.