I just got my T12-500 and startet to migrate the files and my containers from an old Synology DS1813+.
Portainer, SABNzbd, Jellyfin (with transcoding) are working fine (and much faster than on the Synology).
I took over the existing yaml for the UniFi Network Controller container. Changed the mongodb version, the P/GIDs and also the paths. The container images are downloaded, and the containers do start. No error message in Portainer, but the website for the unifi conroller doesn't show up. The two containers run and the unifi container does spike up CPU usage heavy every 10 seconds.
I can download the server.log in the unfi docker path. Looks like it can't login to the mongo db:
Code: Select all
[2025-03-10T14:37:41,017+01:00] <launcher> INFO startup - Initiating startup
[2025-03-10T14:37:41,427+01:00] <launcher> INFO system - *** Running for the first time, creating identity ***
[2025-03-10T14:37:41,428+01:00] <launcher> INFO system - UUID: 836ecfbf-eaf7-4f29-8922-2273282952de
[2025-03-10T14:37:41,430+01:00] <launcher> INFO system - Reporter UUID: fb8f1302-8e27-4172-adae-563fbdfbfafc
[2025-03-10T14:37:41,431+01:00] <launcher> INFO system - ======================================================================
[2025-03-10T14:37:41,431+01:00] <launcher> INFO system - UniFi 9.0.114 (build atag_9.0.114_28033 - release/release) is started
[2025-03-10T14:37:41,431+01:00] <launcher> INFO system - Environment: UniFi-OS[false], UniFi-Cloud[false], UniFi-MongoService[false]
[2025-03-10T14:37:41,431+01:00] <launcher> INFO system - ======================================================================
[2025-03-10T14:37:41,431+01:00] <launcher> INFO system - BASE dir:/usr/lib/unifi
[2025-03-10T14:37:41,434+01:00] <launcher> INFO system - Current System IP: 172.18.0.3
[2025-03-10T14:37:41,435+01:00] <launcher> INFO system - Hostname: b38b9a9117ec
[2025-03-10T14:37:41,435+01:00] <launcher> INFO system - ubic.env: prod
[2025-03-10T14:37:41,435+01:00] <launcher> INFO system - System loaded
[2025-03-10T14:37:41,536+01:00] <launcher> ERROR mongo - Could not determine Mongo journaling state
com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='unifi', source='unifi-db', password=<hidden>, mechanismProperties=<hidden>}
at com.mongodb.internal.connection.SaslAuthenticator.wrapException(SaslAuthenticator.java:270)Code: Select all
services:
unifi-db:
image: docker.io/mongo:8.0.4
container_name: unifi-db
volumes:
- /Volume1/public/docker/unifi-db/data/db:/data/db
- /Volume1/public/docker/unifi-db/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
restart: unless-stopped
unifi-network-application:
image: lscr.io/linuxserver/unifi-network-application:latest
container_name: unifi-network-application
environment:
- PUID=1004
- PGID=1004
- TZ=Europe/Zurich
- MONGO_USER=unifi
- MONGO_PASS=M-bWAu-x5mS+bWa
- MONGO_HOST=unifi-db
- MONGO_PORT=27017
- MONGO_DBNAME=unifi-db
- MEM_LIMIT=1024 #optional
- MEM_STARTUP=1024 #optional
- MONGO_TLS= #optional
- MONGO_AUTHSOURCE= #optional
volumes:
- /Volume1/public/docker/unifi:/config
ports:
- 8443:8443
- 3478:3478/udp
- 10001:10001/udp
- 8080:8080
- 1900:1900/udp #optional
- 8843:8843 #optional
- 8880:8880 #optional
- 6789:6789 #optional
- 5514:5514/udp #optional
restart: unless-stopped
Code: Select all
db.getSiblingDB("unifi-db").createUser({user: "unifi", pwd: "M-bWAu-x5mS+bWa", roles: [{role: "dbOwner", db: "unifi-db"}]});
db.getSiblingDB("unifi-db_stat").createUser({user: "unifi", pwd: "M-bWAu-x5mS+bWa", roles: [{role: "dbOwner", db: "unifi-db_stat"}]});
Anybody got this working or does have a clue, what I do wrong?
Thanks in advance!
