Camera model
RasPi v2
What is the problem?
When I reboot my system and it comes back online the new camera stack is not functional. Even waiting 10+ minutes it's still not working. You can go to /webcam/ and view the output and the /webcam/option and /webcam/status work but going to /webcam/snapshot, /stream, and /video result in a black screen with Server Error on it. The /WebRTC shows the little player but just spins forever.
Looking at the systemctl status of the camera-streamer-libcamera.service shows activity happening
Jun 02 09:06:47 OctoPrint sh[601]: util/http/http.c: HTTP8080/2: Request 'GET' '/snapshot' ''
Jun 02 09:06:47 OctoPrint sh[601]: device/links.c: CAMERA:capture: Stale detected. Restarting streaming...
Jun 02 09:06:47 OctoPrint sh[601]: device/buffer_list.c: CAMERA:capture: Streaming stopped... Was 2 of 2 enqueud
Jun 02 09:06:47 OctoPrint sh[601]: device/buffer_list.c: CAMERA:capture: Streaming started... Was 2 of 2 enqueud
Jun 02 09:06:49 OctoPrint sh[601]: util/http/http.c: HTTP8080/2: Client disconnected 127.0.0.1.
What did you already try to solve it?
Sometimes restarting the OctoPrint services makes it functional again, sometimes it doesn't. Restarting the camera-streamer-libcamera.service fixes the issue each time for sure though.
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
System Bundle attached
octoprint-systeminfo-20230602084536.zip (39.5 KB)
Additional information about your setup (OctoPrint version, OctoPi version, ...)
OctoPrint 1.9.0
OctoPi 1.0.0 fresh Up to date image with post apt update/upgrade run
RasPi 4B 2gb