Comments (24)
similar error after starting docker on my jetson-nano
enough space, but similar errors.
any hint or solution how to overcame this?
from unifi-protect-arm64.
Which version of the Docker container are you running?
from unifi-protect-arm64.
I used 1.15.0
from unifi-protect-arm64.
Docker version 20.10.7, build 20.10.7-0ubuntu5~18.04.3
edit: image was latest:
docker run --name unifi-protect-arm64 --privileged --tmpfs /run --tmpfs /run/lock --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /mnt/nfsunifi/srv:/srv -v /mnt/nfsunifi/data:/data --network host markdegroot/unifi-protect-arm64:latest
from unifi-protect-arm64.
must this be fixed?
from unifi-protect-arm64.
exchanged the jetson-storage (was an nfs-mount for 100 GB free) with a usb-ssd on ext4.
no luck.
also not used the :latest docker-image
no luck.
is this meant to be run without error on the docker-command from the readme.md?
i think so (like others) but now a littel clueless how to get it running..
maybe some mdadm/ub-storage defaults or mappings are missing
to assemble the /md3 raid from the inital setup?
from unifi-protect-arm64.
maybe its the firmware 2.2.7 itself? update to 2.2.12 ?
root@UNVR:/# cat /usr/lib/version
UNVR4.al324.v2.2.7.2aa2917.210824.1401
root@UNVR:/# cat /proc/md
from unifi-protect-arm64.
Try pulling the latest version of the docker container (1.20.1):
docker pull markdegroot/unifi-protect-arm64:latest
or specify the version of the container in your run command.
from unifi-protect-arm64.
i cleared existing images and pulled the latest.
to make shure its version 1.20.1 i specified this for the docker-run, but it pulled (anohter?) again..
will report later the result...
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker pull markdegroot/unifi-protect-arm64:latest
from unifi-protect-arm64.
did not help
any other things to check ?
-- inside the container running the asisstant?
must there be (mapped) raid-disk inside? which?
can i stay with this? raid10 also thows the same error..
from unifi-protect-arm64.
You just select the "One Disk" option.
Could you check the logs inside the container in /data/unifi-core
from unifi-protect-arm64.
i went through some of the logs... but did not catch a hint...
the ub-storage service complaints about missing /dev/md3
i assume that the assistant does not assemble the raid .
maybe because of faulty docker-mappings for disk-path into the containter?
or something specific to look for?
WEIRD cleaning of images as i wanted to see if that also happening with image tagged 1.19.0...
will report in a minute...
from unifi-protect-arm64.
ver 1.19.0 also not running on the jetson-nano arm...
some specific differences to the raspberry? naming of the disc?
from unifi-protect-arm64.
You just select the "One Disk" option.
Could you check the logs inside the container in
/data/unifi-core
dont know whats relevant, but in system.log
(need to fix this?)
2021-12-23T14:02:09.787Z - error: error retrieving setup device id Error: EACCES: permission denied, mkdir '/persistent/unifi-core'
2021-12-23T14:02:21.187Z - error: error retrieving setup device id Error: EACCES: permission denied, mkdir '/persistent/unifi-core'
2021-12-23T14:02:31.333Z - error: error retrieving setup device id Error: EACCES: permission denied, mkdir '/persistent/unifi-core'
2021-12-23T14:02:31.551Z - error: error retrieving setup device id Error: EACCES: permission denied, mkdir '/persistent/unifi-core'
2021-12-23T14:02:33.768Z - error: error retrieving setup device id Error: EACCES: permission denied, mkdir '/persistent/unifi-core
from unifi-protect-arm64.
The assistand never finishes, and i see port-errors in the log,
but thats the status netstat -tulpn
without the assistant getting finish:
from unifi-protect-arm64.
any idea what to check for the building of the raid from assistant??
found some info for that, but no clue how to assemble it by hand into the docker containter...
https://community.ui.com/questions/Trouble-adding-NVR-to-full-Unifi-network-UniFi-Protect-NVR-Setup-Error/51d9f514-4da3-42cd-ba8a-835699eb2fc4#answer/a4ca0c1f-2fb7-4327-98b7-4356f839fce5
from unifi-protect-arm64.
i made some empty files, mounted them as loop-devices and mapped them into the container as disks
dd if=/dev/zero of=raid-2 bs=1M count=500
dd if=/dev/zero of=raid-3 bs=1M count=500
losetup /dev/loop2 raid-2
losetup /dev/loop3 raid-3
docker run --name unifi-protect-arm64 \
--privileged \
--tmpfs /run \
--tmpfs /run/lock \
--tmpfs /tmp \
--shm-size=64m \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v /media/olaf/ff3594e6-3f3f-4133-98c3-1ad49278c650/srv:/srv \
-v /media/olaf/ff3594e6-3f3f-4133-98c3-1ad49278c650/data:/data \
-v /dev/loop2:/dev/sda2 \
-v /dev/loop3:/dev/sda3 \
--network host \
-m 2048m \
markdegroot/unifi-protect-arm64:latest
still error at the end of the assistant...
any clues?
from unifi-protect-arm64.
fail, fail, fail...
could that work inside docker for the NVR?
https://serverfault.com/questions/1001912/is-it-possible-to-use-software-raid-inside-a-docker-container
from unifi-protect-arm64.
from unifi-protect-arm64.
fail with docker image v1.19.0 & 1.18.0
succes with docker v 1.17.3
from unifi-protect-arm64.
it runs unstable,
but all i wanted was to activat my g3 instant.
that somehow was succes with the android app on your docker-image v1.17.3....
thanks a lot.
(the whole thing seems to be unusable for production. somehow only for lab-experiments..)
from unifi-protect-arm64.
the app adopted the cam, made an error.
cannot see how to switch the cam now to stand-alone mode (like the g3) or if its possible at all..
from unifi-protect-arm64.
Having the same problem here..
Lots of these in errors.log in unifi-core: stderr: /bin/sh: 1: ustorage: not found
Also: mdadm: cannot open /dev/md3: No such file or directory
trace.log
2022-01-03T09:20:00.890Z - warn: Error during metric send
2022-01-03T09:20:00.891Z - warn: FetchError: request to https://trace.svc.ui.com/traces failed, reason: unable to get local issuer certificate
at ClientRequest.<anonymous> (/usr/share/unifi-core/app/webpack:/node_modules/node-fetch/lib/index.js:1483:11)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Also loads of "sudo password needed" in the logs.
from unifi-protect-arm64.
The errors are fine. That's just due to running on own hardware.
Please update the docker image to the latest version 1.20.3
from unifi-protect-arm64.
Related Issues (20)
- Ports? HOT 2
- Container starts, Protect doesn't HOT 17
- changing required disk size HOT 2
- docker container started but protect not started no log output HOT 20
- using qemu to run this on x86? HOT 7
- Connecting to UI just hangs, unifi-core restarts every 2 minutes HOT 25
- unifi-protect-arm64 no webinterface HOT 1
- cgroups: memory cgroup not supported on this system (on RPi 3 + latest 64-bit Raspbian) HOT 1
- Protect only sees a 67.1MB disk HOT 4
- How are you building this image? HOT 2
- Anyone made it to adopt ubnt g4 instant camera (unv-g4-ins) to unifi-protect-arm64? HOT 3
- Error while building docker HOT 2
- Protect app keeps restarting HOT 2
- Can't get the webui to work
- UI not showing the Storage. HOT 1
- UNVR does not work when using ipvlan driver HOT 1
- Working latest version
- Failed to Create /init.scope control group HOT 5
- Update? HOT 2
- Storage space requirements - guide HOT 1
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-protect-arm64.