--
You received this message because you are subscribed to the Google Groups "moonfire-nvr-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moonfire-nvr-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moonfire-nvr-users/3651afbe-5241-4221-a030-754015bb1489n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "moonfire-nvr-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moonfire-nvr-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moonfire-nvr-users/19a806e3-ea80-4d14-a411-a1616213767en%40googlegroups.com.
Figured out the issue with the slow runtime, it was a result of bad blocks on the uSD, swapping it fixed the docker performance.
user@raspi4:~ $ time docker run scottlamb/moonfire-nvr --version
moonfire-nvr 0.6.3
real 0m1.789s
user 0m0.048s
sys 0m0.178s
I still however get the same issues. The commands I ran are as follows:
sudo curl -sSL https://get.docker.com/ | sh
sudo usermod -aG docker user
exit
docker run --rm -it scottlamb/moonfire-nvr:latest
sudo useradd --user-group --create-home --home /var/lib/moonfire-nvr moonfire-nvr
exit
nvim nvr
chmod a+x nvr
nvr init
thread panicked while processing panic. aborting.
nvr config
thread panicked while processing panic. aborting.
nvr run (results in the container repeatedly restarting)
--
You received this message because you are subscribed to the Google Groups "moonfire-nvr-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moonfire-nvr-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moonfire-nvr-users/33161936-32fe-4815-90b3-f40af7fee929n%40googlegroups.com.
> When I ran with those changes I suggested to /usr/local/bin/nvr, I saw more useful output, starting with the error below
Oops, I just realized I changed the script in my local dir while still calling the old script in /usr/local/bin/nvr. My bad.
> Please let me know if you hit other problems with the Docker setup.
One strange quirk is that if I try to run nvr start after a fresh install with nvr init, I get the error
user@raspi4:~ $ nvr start
Error response from daemon: No such container: moonfire-nvr
Error: failed to start containers: moonfire-nvr
Simply initializing the container fixed it
docker run scottlamb/moonfire-nvr --version
nvr start
Other than that, recording and viewing samples on the web interface worked great, but live view was still not working.
Firefox can’t establish a connection to the server at ws://192.168.1.64:8080/api/cameras/7b2c7111-09c8-42a0-bdcd-ac1439133371/sub/live.m4s. LiveCamera.tsx:85:14door: aborting due to ws close: 1006
Not sure if this is a docker issue though as I haven't tried getting it working with a manually compiled build. Will report back later today with my results.
Thanks again for all the help, hopefully I can contribute more to the project in the future.
--
You received this message because you are subscribed to the Google Groups "moonfire-nvr-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moonfire-nvr-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moonfire-nvr-users/d75a5f1d-dce8-4678-8514-9f9fd31c54edn%40googlegroups.com.