-
-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Whenever i try to access the unifi network controller from site manager oir using the ios/ipados app jave crashes
Expected Behavior
I should be able to connect from site manager or the ios app.
atleast java should not crash and start the controller to restart
Steps To Reproduce
Install the docker compose file below.
Try to connect from site manager or using the IOS app
This is the error seen.
`
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: 9.0.114-ls81
Build-date: 2025-02-25T17:35:24+00:00
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[ls.io-init] done.
:118 TCP candidates not supported yet
:118 TCP candidates not supported yet
:681 Permanent error code on allocate request: 420 - . This was after receiving a valid nonce
:2249 TURN instance failed: TURN id: 3; fd: 221 0.0.0.0:56749 -> 141.101.90.1:3478 (all_interfaces) DTLS id:
A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x0000ffff16f95760, pid=158, tid=259
JRE version: OpenJDK Runtime Environment (17.0.14+7) (build 17.0.14+7-Ubuntu-124.04)
Java VM: OpenJDK 64-Bit Server VM (17.0.14+7-Ubuntu-124.04, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
Problematic frame:
C [libubnt_webrtc_jni.so+0x2f5760]
Core dump will be written. Default location: /config/core
An error report file with more information is saved as:
/config/hs_err_pid158.log
If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-17
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
`
Environment
- OS: Parallels Debian 12 vm on mac mini m4 pro
- How docker service was installed:
Using this docker compose file:
services: # Define the services to run
unifi-db:
image: mongo:6.0.11
container_name: unifi-db
volumes:
- /home/ivar/docker/unifi-network-application/db/data:/data/db # MongoDB data persistence
- /home/ivar/docker/unifi-network-application/db/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
ports:
- 27017:27017 # MongoDB default port
restart: unless-stopped # Restart policy
networks:
- frontend
unifi: # Name of the service
image: lscr.io/linuxserver/unifi-network-application:latest # Docker image to use
container_name: unifi # Name for the created container
environment: # Environmental variables for the container
- PUID=1000 # User ID
- PGID=1000 # Group ID
- TZ=Australia/Sydney # Timezone
- MONGO_HOST=unifi-db # MongoDB host
- MONGO_USER=unifi # MongoDB username
- MONGO_PASS=**redacted** # MongoDB password
- MONGO_PORT=27017 # MongoDB port
- MONGO_DBNAME=unifi # MongoDB database name
- MEM_LIMIT=1024 #optional # Memory limit for the container
- MEM_STARTUP=1024 #optional # Memory to allocate on container startup
- MONGO_TLS= #optional # MongoDB TLS setting
- MONGO_AUTHSOURCE= #optional # MongoDB authentication source
volumes: # Volumes to mount in the container
- /home/ivar/docker/unifi-network-application/config:/config # Map host directory to container directory
ports: # Ports to expose and forward
- 8443:8443 # HTTPS portal
- 3478:3478/udp # STUN service
- 10001:10001/udp # UniFi AP discovery
- 8080:8080 # HTTP portal
- 1900:1900/udp #optional # For DLNA
- 8843:8843 #optional # HTTPS guest portal
- 8880:8880 #optional # HTTP guest portal
- 6789:6789 #optional # Mobile speed test port
- 5514:5514/udp #optional # Remote syslog port
restart: unless-stopped # Restart policy for the container
labels:
- traefik.enable=true
- traefik.http.routers.unifi.rule=Host(`redacted`)
- traefik.http.routers.unifi.entrypoints=websecure
- traefik.http.routers.unifi.tls=true
- traefik.http.routers.unifi.service=unifi
- traefik.http.routers.unifi.tls.certresolver=rfc2136
- traefik.http.services.unifi.loadbalancer.server.scheme=https
- traefik.http.services.unifi.loadbalancer.server.port=8443
networks:
- frontend
depends_on:
- unifi-db
networks:
frontend:
external: true
CPU architecture
arm64
Docker creation
services: # Define the services to run
unifi-db:
image: mongo:6.0.11
container_name: unifi-db
volumes:
- /home/ivar/docker/unifi-network-application/db/data:/data/db # MongoDB data persistence
- /home/ivar/docker/unifi-network-application/db/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
ports:
- 27017:27017 # MongoDB default port
restart: unless-stopped # Restart policy
networks:
- frontend
unifi: # Name of the service
image: lscr.io/linuxserver/unifi-network-application:latest # Docker image to use
container_name: unifi # Name for the created container
environment: # Environmental variables for the container
- PUID=1000 # User ID
- PGID=1000 # Group ID
- TZ=Australia/Sydney # Timezone
- MONGO_HOST=unifi-db # MongoDB host
- MONGO_USER=unifi # MongoDB username
- MONGO_PASS=**redacted** # MongoDB password
- MONGO_PORT=27017 # MongoDB port
- MONGO_DBNAME=unifi # MongoDB database name
- MEM_LIMIT=1024 #optional # Memory limit for the container
- MEM_STARTUP=1024 #optional # Memory to allocate on container startup
- MONGO_TLS= #optional # MongoDB TLS setting
- MONGO_AUTHSOURCE= #optional # MongoDB authentication source
volumes: # Volumes to mount in the container
- /home/ivar/docker/unifi-network-application/config:/config # Map host directory to container directory
ports: # Ports to expose and forward
- 8443:8443 # HTTPS portal
- 3478:3478/udp # STUN service
- 10001:10001/udp # UniFi AP discovery
- 8080:8080 # HTTP portal
- 1900:1900/udp #optional # For DLNA
- 8843:8843 #optional # HTTPS guest portal
- 8880:8880 #optional # HTTP guest portal
- 6789:6789 #optional # Mobile speed test port
- 5514:5514/udp #optional # Remote syslog port
restart: unless-stopped # Restart policy for the container
labels:
- traefik.enable=true
- traefik.http.routers.unifi.rule=Host(`redacted`)
- traefik.http.routers.unifi.entrypoints=websecure
- traefik.http.routers.unifi.tls=true
- traefik.http.routers.unifi.service=unifi
- traefik.http.routers.unifi.tls.certresolver=rfc2136
- traefik.http.services.unifi.loadbalancer.server.scheme=https
- traefik.http.services.unifi.loadbalancer.server.port=8443
networks:
- frontend
depends_on:
- unifi-db
networks:
frontend:
external: true
Container logs
ivar@docker-host:~/docker$ docker logs inifi
Error: No such container: inifi
ivar@docker-host:~/docker$ docker logs unifi
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: 9.0.114-ls81
Build-date: 2025-02-25T17:35:24+00:00
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[ls.io-init] done.
:118 TCP candidates not supported yet
:118 TCP candidates not supported yet
:681 Permanent error code on allocate request: 420 - . This was after receiving a valid nonce
:2249 TURN instance failed: TURN id: 3; fd: 221 0.0.0.0:56749 -> 141.101.90.1:3478 (all_interfaces) DTLS id:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x0000ffff16f95760, pid=158, tid=259
#
# JRE version: OpenJDK Runtime Environment (17.0.14+7) (build 17.0.14+7-Ubuntu-124.04)
# Java VM: OpenJDK 64-Bit Server VM (17.0.14+7-Ubuntu-124.04, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-aarch64)
# Problematic frame:
# C [libubnt_webrtc_jni.so+0x2f5760]
#
# Core dump will be written. Default location: /config/core
#
# An error report file with more information is saved as:
# /config/hs_err_pid158.log
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-17
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Metadata
Metadata
Assignees
Labels
Type
Projects
Status