I have 6 cameras running and only one of them does not save recordings, and I have no idea why. Apologies in advance for the amount of info. here, am just trying to describe the problem.
It’s a Frigate 0.21 install running 6 cameras sweetly on:
HomeAssistant Core 2024.1.3
Supervisor 2023.12.1
Operating System 11.4
Frontend 20240104.0
Using a USB-Coral on a mini-PC.
Everything is working perfectly, live view, object recognition, snapshots, recordings, etc. It’s an amazing system!
Except for a single camera which will save snapshots fine, but apparently refuses to save recordings. All the other cameras save both snapshots and recordings.
In the config I have roles: -detect
for the low res stream and roles: -record
for the high res stream. The default mode for all cameras is configured sepearately to be record: enabled: True
After some investigation, and from the commandline, the /share/$camera/ directory has multiple *.mp4 files in it. I am not able to see any of these from the GUI (for this camera only). The other /share/$camera_2/, /share/$camera_3/ directories all have multiple *.mp4 files and I can see all of these from the GUI.
It “feels” like a permissions issue, as it’s only a single place. I mean that saving and viewing snapshots are fine for all cameras, and saving and viewing recordings are fine for all cameras except this one. The permissions of the directories are all identical root.root 0755
In the GUI, from Frigate->$camera_name->Recordings I see No Recordings Found. Make sure you have enabled the record role in your configuration for the car-port camera.
In the GUI, from Media->Frigate->Recordings->$camera, also I see no items
, but again, for all the other cameras I see multiple date directories.
The Frigate logs show:
2024-01-19 21:05:54.998325037 172.30.32.1 - - [19/Jan/2024:22:05:54 +0100] "GET /api/stats HTTP/1.1" 200 3758 "-" "HomeAssistant/2024.1.3 aiohttp/3.9.1 Python/3.11" "-"
2024-01-19 21:06:01.576285282 [2024-01-19 22:06:01] watchdog.car-port ERROR : No new recording segments were created for car-port in the last 120s. restarting the ffmpeg record process...
2024-01-19 21:06:01.576290451 [2024-01-19 22:06:01] watchdog.car-port INFO : Terminating the existing ffmpeg process...
2024-01-19 21:06:01.576292020 [2024-01-19 22:06:01] watchdog.car-port INFO : Waiting for ffmpeg to exit gracefully...
2024-01-19 21:06:03.972210518 172.30.32.1 - - [19/Jan/2024:22:06:03 +0100] "GET /api/stats HTTP/1.1" 200 3791 "-" "HomeAssistant/2024.1.3 aiohttp/3.9.1 Python/3.11" "-"
2024-01-19 21:06:11.585989466 [2024-01-19 22:06:11] watchdog.car-port ERROR : No new recording segments were created for car-port in the last 120s. restarting the ffmpeg record process...
2024-01-19 21:06:11.586108612 [2024-01-19 22:06:11] watchdog.car-port INFO : Terminating the existing ffmpeg process...
2024-01-19 21:06:11.586275636 [2024-01-19 22:06:11] watchdog.car-port INFO : Waiting for ffmpeg to exit gracefully...
2024-01-19 21:06:12.963490656 172.30.32.1 - - [19/Jan/2024:22:06:12 +0100] "GET /api/stats HTTP/1.1" 200 3791 "-" "HomeAssistant/2024.1.3 aiohttp/3.9.1 Python/3.11" "-"
I see no journalctl
, nor any /var/log/messages
to tail.
Am running out of places to look for possible, meaningful errors.
I’ve restarted Frigate, HomeAssistant, the PC. I’ve reinstalled the camera.
Nada.
Any helpful suggestions very much appreciated.