-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 4 issues #54
Comments
I just tested the controller on a pi 4 and it came up. Can you supply more information? |
Just seen I booted Raspbian with the ARMv8 64bit Kernel (still 32bit userland). It must have something to do with this since it's the only difference to the way my Raspberrry Pi 3 is configured. I'll try switching back to the old 32bit Kernel. Would be too bad if just doesn't run with the new Kernel, then I wouldn't be able to make use of the 4 GB memory of the Raspberry Pi 4. |
Interesting, it works just fine as soon as I switched back to the old ARMv7 32bit Kernel. |
@alexruf That is strange as I'm building for |
It makes me wonder if docker's manifest check is wrong when the kernel and userspace are mismatched. |
Same on rpi 3b+ with raspbian buster!
as you can see, the docker container is running since 6 days, but still no webinterface. Using ryansch/unifi-rpi:5.12.19-arm64v8 is impossible. docker run command exits with return code 159. While testing with 64bit, I mentioned using the "latest" tag is impossible at the moment. So i had to select a specific version tag. This nodered issue node-red/node-red-docker#150 shows the same problem for rpi0w. When switching back to 32bit by uncommenting
|
Looks like a moby bug: moby/moby#37647 |
gawd that's ancient - moby/moby#34875 (comment) Phil suggests re-ordering the manifest for the multi-arch image is the only current solution :( (current - 2017!) |
@SvenDowideit I can give that a whirl. |
I finally circled around to this. I don't think this is the same issue as I'm not shipping support for multiple arm variants. $ manifest-tool inspect ryansch/unifi-rpi:latest
Name: ryansch/unifi-rpi:latest (Type: application/vnd.docker.distribution.manifest.list.v2+json)
Digest: sha256:576bd58cf5215f07171953414eaca39019a50928b218dc65426bdbb0670ea726
* Contains 3 manifest references:
1 Mfst Type: application/vnd.docker.distribution.manifest.v2+json
1 Digest: sha256:df7a4a2d6eecef2f220d584ca9c9bf52506fd19e94a66592f21fb5ef8ad35a91
1 Mfst Length: 2208
1 Platform:
1 - OS: linux
1 - OS Vers:
1 - OS Feat: []
1 - Arch: amd64
1 - Variant:
1 - Feature:
1 # Layers: 9
layer 1: digest = sha256:fc7181108d403205fda45b28dbddfa1cf07e772fa41244e44f53a341b8b1893d
layer 2: digest = sha256:73f08ce352c86de44048828a8c20f22011f46efd4d03cab7269354f97b131688
layer 3: digest = sha256:eac271a34b404ba767f634cb690410caaec27aa4e5f1b1bc1c8b73ef11f343c0
layer 4: digest = sha256:7742200666120407ea150031f8deddbdc36132de2762a5ae072bf14fd256c803
layer 5: digest = sha256:804cc32287eb0983b61812f6a3f0166a82c6c824a1c7fe421dd304165b45f5f8
layer 6: digest = sha256:fd7f0a7f0aaf3d6b4c775aca6e627a8516d53917ebaf37cbed43db3a1da8b6c4
layer 7: digest = sha256:411a88da1f5434e6b678f80971e10de6a0c561782023684048697efb181fc6b4
layer 8: digest = sha256:2c178fd77bea5ff50244c5942e5fbae6881d74a84f69ad4fd1af0923f44679ea
layer 9: digest = sha256:9441db386efd1db2cb14b114a3027b0744d5362c4c62b67c80b4f5358c1aadca
2 Mfst Type: application/vnd.docker.distribution.manifest.v2+json
2 Digest: sha256:9f1c012db46c0315642cf4a95b1114531f86bc6340bf6d01f3baf414523397b0
2 Mfst Length: 2624
2 Platform:
2 - OS: linux
2 - OS Vers:
2 - OS Feat: []
2 - Arch: arm
2 - Variant: v7
2 - Feature:
2 # Layers: 11
layer 1: digest = sha256:b0727b1ec48ef8920082aec023c050c83b563ae08080d9951d68fba55934bbd6
layer 2: digest = sha256:c1e4b3bd395a6982a3d52e8e2c57651fb045081876d3ca9e21f248e1d6bc74cb
layer 3: digest = sha256:c3a541a7bc5211dd1a923061f4978b3cf7a6b4b3144dbdb679863fe09240886a
layer 4: digest = sha256:9581944edf718a07e1853240b2d7caec780beaf162aec89a02314401ec2b62c6
layer 5: digest = sha256:b3983e778085318897d7ea5368a2cedd24a2ce2fd0c33f66ac5628125acc5b13
layer 6: digest = sha256:a3eed903012bb5bead8a4c5d0a6b9ec2282c720778f6c8ef2df2c0cf2e9a1ebb
layer 7: digest = sha256:a4094100fdffb0796d86a66e827aee526bbcdd8a224555d3a76ee647120872ab
layer 8: digest = sha256:050068d4a02bc3670683ce5710e46dfb234ade3291a3ed16528dca819c7a61bc
layer 9: digest = sha256:7f89d94502192c120571af037f1ec5eade4a56914cb4c716cda848df9c8aebcd
layer 10: digest = sha256:35305925e858d2f15266798904f6c27bace3c981565935de974dc47c574c1e40
layer 11: digest = sha256:9441db386efd1db2cb14b114a3027b0744d5362c4c62b67c80b4f5358c1aadca
3 Mfst Type: application/vnd.docker.distribution.manifest.v2+json
3 Digest: sha256:d46b59714a2ce4b959b368a3d226588210813c72a7a0c95d7c3bfa366dd61a6e
3 Mfst Length: 2624
3 Platform:
3 - OS: linux
3 - OS Vers:
3 - OS Feat: []
3 - Arch: arm64
3 - Variant: v8
3 - Feature:
3 # Layers: 11
layer 1: digest = sha256:29b80961214d7f0c89081fe8134e6e8e14ccfa1afe001357539f59930ff9e3ef
layer 2: digest = sha256:392e0924564e298648b4a7b2ebc774103f98526dd2afd1c948697b4c6686300f
layer 3: digest = sha256:d15c6e01e710610402034472504e3628bdd00c2b0907f3ec4364f8e71a38d8c0
layer 4: digest = sha256:acba4335cd44174a82b7a5d29d7b9dacc9e0b19f066b622c972c573edeb4dddd
layer 5: digest = sha256:b1f6a0f413ede3cb63ee3cc7b5fa3c65a3ef3c039ac50bb2399b194940c6fd2e
layer 6: digest = sha256:3f724991c026fdfad29444b78aaaa27fa0489399eff887105d0b0dbb3c646d15
layer 7: digest = sha256:1830b0590d6e909e75c25419af06f227cd60e069f037db09d4650d2723a283b0
layer 8: digest = sha256:76b95d00172ce74ee06acdfc4d27d908ad3747616fb9724b3ffbb2132e9dc1e7
layer 9: digest = sha256:0affba9a939f4e0215942833f1586bc5e68fde2c3c9db629892b5ddfb4974a26
layer 10: digest = sha256:d669f8c7ce87e71d68b760ee29d62a22c55b02cf28e0da212dcd0edde228fd45
layer 11: digest = sha256:9441db386efd1db2cb14b114a3027b0744d5362c4c62b67c80b4f5358c1aadca As you can see I'm only doing |
I know this is old, but has there been any change? I can't get this container to work on my Raspberry Pi 4 running Ubuntu Server 20.04 64bit. |
@edwardreed81 Try using |
Tried that earlier today (I know because I didn't have to pull that image just now) but I just tried it again and got almost no feedback:
If I do a I got the linuxserver.io image (https://github.com/linuxserver/docker-unifi-controller) working, so maybe they're doing something different? |
ryansch - Thanks for your work! Also trying to install on rp4/Ubuntu 20.04 server: Not able to connect to controller web interface 8443. Seems to build container ok, but here's the server.log upon startup: Also tried linuxserver.io image (https://github.com/linuxserver/docker-unifi-controller), but couldn't get that to work either. |
From that output it almost seems like mongo isn't starting... I have a pi 4 here now, I'll get ubuntu 20.04 on it and see what I can do. |
Ack that...I've attached the mongod.log file - seems like it's having a problem opening a port? Thanks! |
I have my rasp pi 4 with the latest ubuntu server (aarch64) and I've been able to reproduce this failure! I'll post updates here as I have time to work through this. |
Great - thanks, Ryan! Although I'm kind of a newbie, I'd be happy to help in any way. |
I also tried ryansch/unifi-rpi:5.12.72-arm64v8 and it did not came up (the webinterface) also on Description: Ubuntu 20.04 LTS |
I used a newer 5.14.9 and this is in the server.log:
when I typ
I used |
Interesting update...
|
Can you (@cklann1) share the yml file? what image did you use? |
Used ryansch's docker-compose.yml - using the :latest tag.
Also, had sudo apt update && apt dist-upgraded the rpi4 host Ubuntu OS a
couple days ago...wonder if the driver updates did something to help?
...
update - I was mistaken...I did modify ryansch's docker-compose.yml file to uncomment-out the java declaratives...
version: '2'
services:
unifi:
image: ryansch/unifi-rpi:latest
container_name: unifi
restart: always
network_mode: host
# Uncomment the following to set java options
environment:
JAVA_OPTS: -Xmx512M
volumes:
# Unifi v5.0.7 creates all of these directories (some remain empty)
- config:/var/lib/unifi
- log:/usr/lib/unifi/logs
- log2:/var/log/unifi
- run:/usr/lib/unifi/run
- run2:/run/unifi
- work:/usr/lib/unifi/work
volumes:
config:
driver: local
log:
driver: local
log2:
driver: local
run:
driver: local
run2:
driver: local
work:
driver: local
…On Fri, Jul 3, 2020, 12:59 PM JP Hellemons ***@***.***> wrote:
Interesting update...
I tried rebuilding container using docker-compose method, using your
"stock" docker-compose.yml file,
Can you share the yml file? what image did you use?
ryansch/unifi-rpi:5.14.9-arm64v8 ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fryansch%2Fdocker-unifi-rpi%2Fissues%2F54%23issuecomment-653637174&data=02%7C01%7C%7C9cebb45e176845a58a9608d81f7ad1e2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293959645329520&sdata=7DFv693%2BeFXGLkJXvYEsfZnVTv1F19sxtrf91KPKB%2Fc%3D&reserved=0>,
or unsubscribe
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAXH7JTQJEPM2SIQMOGMMM3RZYL7XANCNFSM4JFPAIEQ&data=02%7C01%7C%7C9cebb45e176845a58a9608d81f7ad1e2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637293959645339516&sdata=RW4PdFqPRXu8o2Q%2FLn%2BBHRzMupZ9M%2FuayEneMiF8QfI%3D&reserved=0>
.
|
Thank you @cklann1 But I got
when trying to access port 8443 (or 8843) It does not forward http to https. So if someone has the same message: use https and port 8443 |
I'm trying this image on Manjaro for rpi4 and can't get the web interface to load either. Any help would be much appreciated! |
I took a run at this last weekend and tried upgrading us to newer mongo and debian buster. It's a bit of a mess because the controller wants mongo <= 3.6 (and that's just for 5.13.10 and newer) and java 8. Those are both old enough that it's becoming hard to get packages/container images for them. I may have to break down and package both of those dependencies so we have more control. |
Note: I'm trying to get us on mongo 3.6 and debian buster for the new 6.x controller release. |
I uncommented the java part. this is my docker-compose now:
it is available at I thought that I would have the 6.0 version because I have latest in the docker compose file and I did this: UI 5.13.32.0 |
I accidentally kicked the power brick loose for my test pi for this issue. I started from scratch and installed ubuntu 20.04.1 arm64, docker, docker-compose, and unifi controller 5.13.32. It booted right up without any of the weirdness I ran into last time I tried this. I did nothing and now it's fixed! 🎉 |
@jphellemons 6.x is still in RC. I won't mark it as stable until upstream does. |
Note that we're still on debian stretch for now. |
Awesome that you are preparing for 6.0. |
Pi 4 8GB running 64-bit PiOS (Rasbian) I had to map /work to the config volume in order for the container to start up. Until I did so, the container to stop after complaining about unable to find the /work/system.properties file (which is technically in the /var/lib/unifi folder which is mapped to the config volume). Hope this helps anyone else that might be having the same issue. For the record, I am running with just TWO volumes (but three mapped paths). config:/var/lib/unifi Now if only I can figure out how not to run the container as the root (uid 0)..... |
I tried to run the container on a Raspberry Pi 4. First it seemed like it would work, but the application is not coming up. I couldn't see anything helpful in the logs.
Does anyone know why it's not working on the new Raspberry Pi 4 and how this issues can be fixed?
The text was updated successfully, but these errors were encountered: