brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
922 stars 141 forks source link

runsvdir issue at boot #51

Closed AndreaCCIE closed 2 years ago

AndreaCCIE commented 5 years ago

When I boot any of the cameras (regardless it's a zero or 3), I get this error and the steaming doesn't work:

pi@zerocam:~ ps aux | grep hkcam root 1516 0.0 0.2 1864 972 ? Ss 17:03 0:00 runsvdir -P /etc/service log: unable to lock supervise/lock: temporary failure runsv hkcam: fatal: unable to lock supervise/lock: temporary failure runsv hkcam: fatal: unable to lock supervise/lock: temporary failure runsv hkcam: fatal: unable to lock supervise/lock: temporary failure runsv hkcam: fatal: unable to lock supervise/lock: temporary failure runsv hkcam: fatal: unable to lock supervise/lock: temporary failure

If I kill the process, it starts again and everything gets fixed.

I'm using 0.0.9

brutella commented 5 years ago

Does this happen after every reboot?

AndreaCCIE commented 5 years ago

Yes, it does (I'm running Buster)

AndreaCCIE commented 4 years ago

Anyone else is having this issue? I have to kill the processes every each reboot (or possibly power outage)

brutella commented 4 years ago

There might be an issue with runit on Buster.

AndreaCCIE commented 4 years ago

It could be. Since buster is now the golden release, is there anything I can do to help you in troubleshooting this?

brutella commented 2 years ago

With the release of 0.1.0, I've updated the installation instructions in the readme to work with Raspberry Pi OS. The ansible script now also works for Raspberry Pi OS.

northben commented 1 year ago

I'm having the same issue today, I've tried both Raspberry Pi OS legacy (buster) and the current bullseye release. I'm using the ansible deployment.