Cameras
Frigate not saving recordings, or the disk fills up
Why Frigate shows live video but no recordings: retention left at zero, camera audio MP4 cannot hold, a broken record stream, the wrong mount, or a disk Frigate keeps emptying.
Start here: See whether segments reach disk
Turn on `frigate.record.maintainer: debug` and watch the log.
Problem summary
If Frigate shows live video but History is empty, the cause is almost always one of three things: retention settings that keep nothing, a camera stream Frigate cannot write (often G.711 audio), or storage that is wrong, full, or too slow. Turn on debug logging for the recording maintainer first: it shows whether any segment reaches the disk at all.
Turn on debug logging for `frigate.record.maintainer` and watch the log for a minute.
logger: logs: frigate.record.maintainer: debug
Lines like 'Copied /media/frigate/recordings/… in 0.2 seconds'.
Do not delete recordings by hand as cleanup. Lower the retention and run Media Sync.
Layer path
Step-by-step runbook
Start here. Do each check in order, compare it to the expected result, and stop when the evidence explains the failure or the safe stop point applies.
See whether segments reach disk
Check: Turn on `frigate.record.maintainer: debug` and watch the log.
Expected result: 'Copied' lines appear for each camera.
If not: If none appear, go on to the next steps in order.
Fix retention
Check: Set at least one retention period above zero.
Expected result: Footage appears in History within a few minutes.
If not: If alerts are expected but missing, confirm detection is on for that camera.
Fix the camera stream
Check: Set the AAC or no-audio record preset, and turn off Smart Codec or H.264+ on the camera.
Expected result: No 120-second 'no new segments' errors.
If not: Play the record stream on the go2rtc page and fix its URL or stream name.
Fix storage
Check: Compare `df -h` with the Storage page and check `df -i`.
Expected result: Frigate sees the right disk with free inodes.
If not: Fix the bind mount; protect the mount point with `chattr +i`.
Safe stop: Do not delete recordings by hand as cleanup. Lower the retention and run Media Sync.
Size retention to the disk
Check: Watch for emergency cleanup over a few days.
Expected result: Normal retention cleanup keeps up and emergency cleanup is rare.
If not: Lower the retention days, or work out the disk you need with the NVR storage calculator.
Did this solve your problem?
Your answer helps us improve this page.
No account or personal details. We store the page, answer, optional reason and day with a 90-day retention period. A random reference in this browser prevents repeat votes. Feedback privacy
Decision tree
If: Live view works, History is empty, and the config has only `record: enabled: True`.
Then: No retention rule keeps the segments.
Action: Set continuous, motion, alerts or detections retention. Alerts and detections also need detection on and a supported object.
If: Live view works but one brand of camera never saves.
Then: Camera audio MP4 cannot hold (G.711).
Action: Set `output_args: record: preset-record-generic-audio-aac` on that camera.
If: The log shows 'Unable to keep up with recording segments'.
Then: Storage is too slow for the incoming streams.
Action: Check the 'Copied … in N seconds' times. Consistently over about 1 second points at the disk or network share.
If: The log shows 'Too many unprocessed recording segments'.
Then: Often a camera 'Smart Codec' or H.264+ mode that breaks timestamps and splits segments too often.
Action: Turn off Smart Codec, H.264+ and H.265+ on the camera. Read the log before this warning first for the real cause.
If: Recordings vanish before the retention period ends.
Then: Emergency cleanup: less than about one hour of recording space was left.
Action: Lower the retention days or add disk space, and move other files off the recordings disk.
Evidence table
| Symptom | Evidence to collect | Likely layer | Next action |
|---|---|---|---|
| '[Errno 28] No space left on device' but the disk has space. | `df -i` for inodes, the size of `/tmp/cache`, and the real mount behind `/media/frigate`. | Inodes, cache tmpfs, or wrong mount | Free inodes, enlarge the tmpfs, or fix the bind mount. |
| Storage use is over 100% or does not drop after deleting files. | Whether files were deleted by hand or left over from an upgrade. | Database out of step with the disk | Run Media Sync from the Maintenance pane or `POST /api/media/sync`. |
| Recordings stop after a reboot, then Frigate fills the boot drive. | Whether the network or encrypted mount was up before Frigate started; `dmesg` for disk errors. | Mount failed at boot | Make the empty mount point immutable with `chattr +i` so Frigate errors out instead of writing to the boot drive. |
| Unraid stops writes before Frigate cleans up. | The share's fill-up threshold and free space. | Host blocks writes first | Leave more free space or lower retention. |
Commands and settings paths
Turn on recording debug logs
logger:
logs:
frigate.record.maintainer: debugWhere: In the Frigate config, then restart.
Expected: 'Copied … in 0.2 seconds' style lines for each camera.
Failure means: No lines means segments never reach disk.
Safe next step: Check retention, audio codec, the record stream and the mount, in that order.
Check the real disk and inodes
df -h /path/to/frigate/storage && df -i /path/to/frigate/storageWhere: On the host, using the host path from the Docker volume.
Expected: The disk size matches the Storage page and inodes are not at 100%.
Failure means: A size mismatch means a wrong mount. Inodes at 100% means the disk is 'full' with space left.
Safe next step: Fix the volume mapping or free inodes, then restart Frigate.
Resync media after manual deletes
curl -X POST http://<frigate-host>:5000/api/media/syncWhere: From a machine on the LAN, or use Settings, Maintenance in the UI.
Expected: A job ID is returned and storage numbers update when it finishes.
Failure means: An error usually means the API port or login is different on your install.
Safe next step: Run it from the Maintenance pane in the UI instead.
Hardware and platform boundary
Change only when
- Add or replace the recordings disk when emergency cleanup runs often even after you lowered retention to what you need.
Evidence that matters
- A dedicated disk for `/media/frigate` that can write all your streams at once; CMR surveillance drives suit continuous recording.
Evidence that does not matter
- A faster CPU or detector will not fix recordings that never reach disk; that is retention, stream or storage.
Avoid
- Sharing the recordings disk with other data (it triggers early cleanup), small tmpfs caches, and network shares that may not mount at boot.
Related tool/calculator
Use the linked calculator or tool to turn this runbook into numbers for your exact setup.
NVR storage calculatorRelated problems
Last reviewed
2026-12-03 · Reviewed by HomeTechOps. Built 2026-12-03 from the Frigate 'Recordings errors' troubleshooting page and the Frigate recording docs. Covers retention defaults, G.711 audio, the 120-second record-stream error, wrong mounts, Errno 28, emergency cleanup and Media Sync. Recheck config keys at the next major Frigate release.
Sources/assumptions
- Written against the Frigate 'Recordings errors' troubleshooting page and the Frigate recording docs, read 2026-12-03.
- Assumes Frigate 0.17 or later in Docker or as a Home Assistant app. Config keys change between versions; check them against the reference config for your version.
- Storage sizes and retention days depend on your cameras' bitrates. Use your own numbers, not these examples.
Source-backed checks
HomeTechOps turns official docs and conservative safety rules into a shorter runbook. These links are the source trail for the page direction.
Planning a purchase?
We keep a source-backed, price-free comparison so you can buy once and right. No star ratings, every spec cited.
Local Cameras: ONVIF vs UniFi vs Cloud →Get the deal & firmware alerts
Home Stack Field Notes: NAS deals, firmware changes worth acting on, restore-test reminders, and new decision guides — plus the capacity & backup sizing cheatsheets from our calculators. Unsubscribe anytime.
Subscribe on beehiiv