GithubHelp home page GithubHelp logo

Comments (24)

ozett avatar ozett commented on September 27, 2024

similar error after starting docker on my jetson-nano
enough space, but similar errors.
any hint or solution how to overcame this?

image

from unifi-protect-arm64.

markdegrootnl avatar markdegrootnl commented on September 27, 2024

Which version of the Docker container are you running?

from unifi-protect-arm64.

MastaP avatar MastaP commented on September 27, 2024

I used 1.15.0

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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

fresh jetson nano-os:
image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

must this be fixed?

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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?

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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.

markdegrootnl avatar markdegrootnl commented on September 27, 2024

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.

ozett avatar ozett commented on September 27, 2024

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

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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..

image

from unifi-protect-arm64.

markdegrootnl avatar markdegrootnl commented on September 27, 2024

You just select the "One Disk" option.

Could you check the logs inside the container in /data/unifi-core

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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...

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

ver 1.19.0 also not running on the jetson-nano arm...
some specific differences to the raspberry? naming of the disc?

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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.

ozett avatar ozett commented on September 27, 2024

The assistand never finishes, and i see port-errors in the log,
but thats the status netstat -tulpn without the assistant getting finish:

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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.

ozett avatar ozett commented on September 27, 2024

this also did not help:
image

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.

ozett avatar ozett commented on September 27, 2024

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

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

are there files missing?
image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

fail with docker image v1.19.0 & 1.18.0
succes with docker v 1.17.3

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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..)

image

from unifi-protect-arm64.

ozett avatar ozett commented on September 27, 2024

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..
image

from unifi-protect-arm64.

Thijxx avatar Thijxx commented on September 27, 2024

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.

markdegrootnl avatar markdegrootnl commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.