Comments (14)
I'm not familiar with QNAP enough to help, hopefully someone who uses QNAP will chime in, but have you posted on the QNAP community forums as well? (https://forum.qnap.com/)
from unifi-docker.
I have not, but thanks for pointing me in that direction. I will see what they say.
from unifi-docker.
just wanted to follow up did you manage to find a fix for this?
from unifi-docker.
No, never, I bought a $78 Unifi CloudKey unfortunately.
from unifi-docker.
i can confirm that the issue is still happening on a TS-453A with 8 GBs of ram and plenty of space. this was not happening before on your older images.
from unifi-docker.
@ahiguero I believe QNAP had issues in the past they had to push a firmware upgrade for, do other docker images work presently on your qnap system?
from unifi-docker.
i tried yours before and it was working i believe 5.2.9 the latest imaged definitely did something to nas that required me to reboot it. my nass is running the latest firmware and yes i do have other images running. i will give it another try
from unifi-docker.
Theres only two significant changes in that latest image, one was the switch to jdk-8 and the other was using dumb-init instead of launching java directly. but from his description it's locking up when extracting, so nothing from the image is running yet its just extracting data from it.
from unifi-docker.
thanks for the reply jacob. the issue that i have happens when i try to create and run the container the first time.
from unifi-docker.
TVS871/i7/16gb/QTS4.2.3/Container station 1.6.1709
I've never used any of this unifi stuff before and I have no idea what I'm supposed to be looking for, but @jacobalberty was looking for another qnap user to test this. Additionally I have effectively zero experience with docker or the container station. To test this, I did the following:
container station -> create container -> search jacobalberty
-> create
jacobalberty/unifi
-> Command
empty -> Entrypoint
empty -> CPU limit
50% -> Memory Limit
4096MB.
The container was created successfully, and ps auxww
has the following:
root@34898f1c1b55:/usr/lib/unifi/data# ps auxww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 192 4 ? Ss Feb02 0:00 /usr/bin/dumb-init -- /usr/local/bin/unifi.sh
root 6 0.0 0.0 4328 636 ? Ss+ Feb02 0:00 sh /usr/local/bin/unifi.sh
root 8 0.0 0.0 8488 664 ? S+ Feb02 0:00 unifi -nodetach -home /usr/lib/jvm/java-8-openjdk-amd64 -classpath /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.
jar -pidfile /var/run/unifi/unifi.pid -procname unifi -outfile /var/log/unifi/unifi.out.log -errfile /var/log/unifi/unifi.err.log -Dunifi.datadir=/var/lib/unifi -Dunifi.rundir=/var/run/unifi
-Dunifi.logdir=/var/log/unifi -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx1024M com.ubnt.ace.Launcher start
root 9 0.1 0.3 3884668 55968 ? Sl+ Feb02 0:00 unifi -nodetach -home /usr/lib/jvm/java-8-openjdk-amd64 -classpath /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.
jar -pidfile /var/run/unifi/unifi.pid -procname unifi -outfile /var/log/unifi/unifi.out.log -errfile /var/log/unifi/unifi.err.log -Dunifi.datadir=/var/lib/unifi -Dunifi.rundir=/var/run/unifi
-Dunifi.logdir=/var/log/unifi -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx1024M com.ubnt.ace.Launcher start
root 30 0.8 1.1 6768820 187800 ? Sl+ Feb02 0:06 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx1024M -XX:ErrorFile=/usr/lib/unifi/data/logs/hs_err_pid<pid>.log -Dapple.a
wt.UIElement=true -jar /usr/lib/unifi/lib/ace.jar start
root 57 0.3 0.3 1272144 49568 ? Sl+ Feb02 0:03 bin/mongod --dbpath /usr/lib/unifi/data/db --port 27117 --logappend --logpath logs/mongod.log --nohttpinterface --bind_ip 127
.0.0.1
root 112 0.0 0.0 20236 1980 ? Ss+ Feb02 0:00 /bin/bash
root 128 0.0 0.0 20236 1984 ? Ss 00:11 0:00 /bin/bash
root 134 0.0 0.0 17492 1136 ? R+ 00:12 0:00 ps auxww
or, as shown in the readme, the output of ps -e -o pid,ppid,cmd | more
:
root@34898f1c1b55:/usr/lib/unifi/data# ps -e -o pid,ppid,cmd | more
PID PPID CMD
1 0 /usr/bin/dumb-init -- /usr/local/bin/unifi.sh
6 1 sh /usr/local/bin/unifi.sh
8 6 unifi -nodetach -home /usr/lib/jvm/java-8-openjdk-amd64 -classpath /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pidfile /var/run/unifi/unifi.pid -procname unifi
-outfile /var/log/unifi/unifi.out.log -errfile /var/log/unifi/unifi.err.log -Dunifi.datadir=/var/lib/unifi -Dunifi.rundir=/var/run/unifi -Dunifi.logdir=/var/log/unifi -Djava.awt.headless=tr
ue -Dfile.encoding=UTF-8 -Xmx1024M com.ubnt.ace.Launcher start
9 8 unifi -nodetach -home /usr/lib/jvm/java-8-openjdk-amd64 -classpath /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pidfile /var/run/unifi/unifi.pid -procname unifi
-outfile /var/log/unifi/unifi.out.log -errfile /var/log/unifi/unifi.err.log -Dunifi.datadir=/var/lib/unifi -Dunifi.rundir=/var/run/unifi -Dunifi.logdir=/var/log/unifi -Djava.awt.headless=tr
ue -Dfile.encoding=UTF-8 -Xmx1024M com.ubnt.ace.Launcher start
30 9 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx1024M -XX:ErrorFile=/usr/lib/unifi/data/logs/hs_err_pid<pid>.log -Dapple.awt.UIElement=true -jar /usr/lib/unifi/lib/ace.jar sta
rt
57 30 bin/mongod --dbpath /usr/lib/unifi/data/db --port 27117 --logappend --logpath logs/mongod.log --nohttpinterface --bind_ip 127.0.0.1
112 0 /bin/bash
128 0 /bin/bash
144 0 /bin/bash
154 144 ps -e -o pid,ppid,cmd
155 144 more
Here is an image of the container station running:
I'm assuming I had exactly zero issues with this.
The network access, however, isn't perfect.
http://tombstone:32771/
, which maps to the container's port 8080, automatically redirects to port 8443/manage/wizard/ for HTTPS. This is not mapped in the container, and since the host has no server running on it, the connection is rejected.http://tombstone:32768/
, which maps to the container's port 3478[UDP] yields an Apache Tomcat error 400 (The request sent by the client was syntactically incorrect.).
The port forwarding
section was automatically configured as follows:
Using this, I tried accessing https://tombstone:32770/manage/wizard/
, and successfully saw a UniFi Setup Wizard
landing page.
from unifi-docker.
raidan with this setup can you then discover your devices? for me i set it up using bridge mode and it worked fine.
from unifi-docker.
I don't have any ubiquiti gear, I just came here to test whether the image would lock up during installation
from unifi-docker.
5.4.9 got pulled by ubnt, seems there were issues, im curious if 5.3.11 works, the :latest and :5.3.11 tags are both 5.3.11 but they use different base images at the moment, im curious if one or both work for y'all.
from unifi-docker.
Running a QNAP TS-563. Just test :latest and :5.3.11. Both work for me as normal. I've not had any lockups as a result of the last 10 or so tags. At least not for my machine.
from unifi-docker.
Related Issues (20)
- Docker compose and documentation update HOT 8
- Latest versions are not available in Docker Hub for arch. linux/arm/v7 HOT 6
- Backup is still fetching. HOT 4
- No new Device Update in Controller HOT 3
- PSA: Security Bulletin for apps <8.1.113 HOT 3
- Fonts Not Loading HOT 6
- Support for Early Access HOT 3
- Feature Request: Image without MongoDB HOT 2
- Unable to open sed temporary files using virtiofs mount HOT 1
- UniFi Network Application 8.1.127 HOT 5
- Old version referenced in text on hub.docker.com HOT 3
- Mongo UnixDomainSocket now placed on /unifi HOT 1
- docker on QNAP NAS won't start if volume is bound externally HOT 2
- Update to 8.2.93 HOT 23
- Custom Certificate import fails on certificates that aren't issued through letsencrypt, and a chain file isn't supplied. HOT 1
- Dockerhub images don't support RaspberryPi anymore HOT 2
- Run fails with "no matching manifest for linux/arm/v8" on Raspberry Pi 4 HOT 2
- Enable AP log collection for this docker container HOT 1
- Document how to limit Mongo memory HOT 2
- No devices found HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unifi-docker.