question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: Reporting for the 3rd time, this is NOT auto-deleting recordings. I lost evidence for entire day since yesterday.

See original GitHub issue

Describe the problem you are having

I am using this product to record evidence of violations for the city, as we’re having a lot of crime in my street. First, when it works it’s great, and I want to thank all contributors involved for making this available, your time and effort is really appreciated.

With that honest gratefulness expressed, for the 3rd time this application has let me down by failing to auto-erase older recordings. It doesn’t notify me or do anything proactive to let me know there’s a problem.

I understand this is someone’s free time and labor but please take this report seriously because I am 100% confident that no developer would like to build bad rep with users. I am writing this in a heightened state of frustration, and unfortunately I am somewhat angry that data loss continues to be an issue.

An NVR that loses footage is broken. @blakeblackshear can you please work with me to understand what’s causing this so you and other contributors can fix with code? I do not know programming so I can contribute with testing.

A security application is consistently failing to do file-keeping duties and making its users lose evidence, that is not cool. Most of us don’t have redundant hardware or the money to keep spending on double the storage to keep two systems running. We need it to be reliable. We are trusting it.

There’s two ways this can be interpreted: take it personal and ignore it, leaving whatever bug is causing this in place and ruining the reputation of this project, OR be willing to take the criticism about the bug as a way to make this better rather than taking it personal. One way or another, please have the courtesy to tell me if this is gonna be looked into urgently, if not I will move to something else.

Version

0.10.0-62C1A61

Frigate config file

{
  "birdseye": {
    "enabled": true,
    "height": 760,
    "mode": "continuous",
    "quality": 5,
    "width": 1024
  },
  "cameras": {
    "frigate_backyard": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": false,
        "fps": 10,
        "height": 1520,
        "max_disappeared": 50,
        "stationary_interval": 0,
        "stationary_threshold": 10,
        "width": 2048
      },
      "ffmpeg": {
        "global_args": "-hide_banner -loglevel warning",
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://xxxx:8554/cam4_ch1",
            "roles": [
              "record",
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": "-f rawvideo -pix_fmt yuv420p",
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an",
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:8554/cam4_ch1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/frigate_backyard-%Y%m%d%H%M%S.mp4 -r 10 -s 2048x1520 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "record",
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 972,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "mask": "",
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "frigate_backyard",
      "objects": {
        "filters": {
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 10,
            "mode": "motion",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 7,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": false
      },
      "snapshots": {
        "bounding_box": false,
        "clean_copy": true,
        "crop": false,
        "enabled": false,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 7,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": true
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": "shadow",
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    },
    "frigate_street_front": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": false,
        "fps": 10,
        "height": 1520,
        "max_disappeared": 50,
        "stationary_interval": 0,
        "stationary_threshold": 10,
        "width": 2048
      },
      "ffmpeg": {
        "global_args": "-hide_banner -loglevel warning",
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://xxxx:8554/cam2_ch1",
            "roles": [
              "record",
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": "-f rawvideo -pix_fmt yuv420p",
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an",
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:8554/cam2_ch1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/frigate_street_front-%Y%m%d%H%M%S.mp4 -r 10 -s 2048x1520 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "record",
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 972,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "mask": "",
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "frigate_street_front",
      "objects": {
        "filters": {
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 10,
            "mode": "motion",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 7,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": false
      },
      "snapshots": {
        "bounding_box": false,
        "clean_copy": true,
        "crop": false,
        "enabled": false,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 7,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": true
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": "shadow",
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    },
    "frigate_street_nw": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": false,
        "fps": 10,
        "height": 1520,
        "max_disappeared": 50,
        "stationary_interval": 0,
        "stationary_threshold": 10,
        "width": 2048
      },
      "ffmpeg": {
        "global_args": "-hide_banner -loglevel warning",
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://xxxx:8554/cam3_ch1",
            "roles": [
              "record",
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": "-f rawvideo -pix_fmt yuv420p",
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an",
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:8554/cam3_ch1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/frigate_street_nw-%Y%m%d%H%M%S.mp4 -r 10 -s 2048x1520 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "record",
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 972,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "mask": "",
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "frigate_street_nw",
      "objects": {
        "filters": {
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 10,
            "mode": "motion",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 7,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": false
      },
      "snapshots": {
        "bounding_box": false,
        "clean_copy": true,
        "crop": false,
        "enabled": false,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 7,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": true
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": "shadow",
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    },
    "frigate_street_se": {
      "best_image_timeout": 60,
      "detect": {
        "enabled": false,
        "fps": 10,
        "height": 1520,
        "max_disappeared": 50,
        "stationary_interval": 0,
        "stationary_threshold": 10,
        "width": 2048
      },
      "ffmpeg": {
        "global_args": "-hide_banner -loglevel warning",
        "hwaccel_args": [
          "-hwaccel",
          "vaapi",
          "-hwaccel_device",
          "/dev/dri/renderD128",
          "-hwaccel_output_format",
          "yuv420p"
        ],
        "input_args": "-avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1",
        "inputs": [
          {
            "global_args": [],
            "hwaccel_args": [],
            "input_args": [],
            "path": "rtsp://xxxx:8554/cam1_ch1",
            "roles": [
              "record",
              "rtmp",
              "detect"
            ]
          }
        ],
        "output_args": {
          "detect": "-f rawvideo -pix_fmt yuv420p",
          "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an",
          "rtmp": [
            "-c",
            "copy",
            "-f",
            "flv"
          ]
        }
      },
      "ffmpeg_cmds": [
        {
          "cmd": "ffmpeg -hide_banner -loglevel warning -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:8554/cam1_ch1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/frigate_street_se-%Y%m%d%H%M%S.mp4 -r 10 -s 2048x1520 -f rawvideo -pix_fmt yuv420p pipe:",
          "roles": [
            "record",
            "rtmp",
            "detect"
          ]
        }
      ],
      "live": {
        "height": 972,
        "quality": 8
      },
      "motion": {
        "contour_area": 30,
        "delta_alpha": 0.2,
        "frame_alpha": 0.2,
        "frame_height": 50,
        "mask": "",
        "threshold": 25
      },
      "mqtt": {
        "bounding_box": true,
        "crop": true,
        "enabled": true,
        "height": 270,
        "quality": 70,
        "required_zones": [],
        "timestamp": true
      },
      "name": "frigate_street_se",
      "objects": {
        "filters": {
          "person": {
            "mask": null,
            "max_area": 24000000,
            "min_area": 0,
            "min_score": 0.5,
            "threshold": 0.7
          }
        },
        "mask": "",
        "track": [
          "person"
        ]
      },
      "record": {
        "enabled": true,
        "events": {
          "max_seconds": 300,
          "objects": null,
          "post_capture": 5,
          "pre_capture": 5,
          "required_zones": [],
          "retain": {
            "default": 10,
            "mode": "motion",
            "objects": {}
          }
        },
        "expire_interval": 60,
        "retain": {
          "days": 7,
          "mode": "all"
        },
        "retain_days": null
      },
      "rtmp": {
        "enabled": false
      },
      "snapshots": {
        "bounding_box": false,
        "clean_copy": true,
        "crop": false,
        "enabled": false,
        "height": null,
        "quality": 70,
        "required_zones": [],
        "retain": {
          "default": 7,
          "mode": "motion",
          "objects": {}
        },
        "timestamp": true
      },
      "timestamp_style": {
        "color": {
          "blue": 255,
          "green": 255,
          "red": 255
        },
        "effect": "shadow",
        "format": "%m/%d/%Y %H:%M:%S",
        "position": "tl",
        "thickness": 2
      },
      "zones": {}
    }
  },
  "database": {
    "path": "/db/frigate.db"
  },
  "detect": {
    "enabled": false,
    "fps": 10,
    "height": 1520,
    "max_disappeared": 50,
    "stationary_interval": 0,
    "stationary_threshold": 10,
    "width": 2048
  },
  "detectors": {
    "cpu": {
      "device": "usb",
      "num_threads": 3,
      "type": "cpu"
    }
  },
  "environment_vars": {},
  "ffmpeg": {
    "global_args": "-hide_banner -loglevel warning",
    "hwaccel_args": [
      "-hwaccel",
      "vaapi",
      "-hwaccel_device",
      "/dev/dri/renderD128",
      "-hwaccel_output_format",
      "yuv420p"
    ],
    "input_args": "-avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1",
    "output_args": {
      "detect": "-f rawvideo -pix_fmt yuv420p",
      "record": "-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an",
      "rtmp": [
        "-c",
        "copy",
        "-f",
        "flv"
      ]
    }
  },
  "live": {
    "height": 972,
    "quality": 8
  },
  "logger": {
    "default": "info",
    "logs": {
      "frigate.event": "debug"
    }
  },
  "model": {
    "height": 320,
    "labelmap": {},
    "labelmap_path": null,
    "path": null,
    "width": 320
  },
  "motion": null,
  "mqtt": {
    "client_id": "frigate",
    "host": "xxxx",
    "password": null,
    "port": 1883,
    "stats_interval": 60,
    "tls_ca_certs": null,
    "tls_client_cert": null,
    "tls_client_key": null,
    "tls_insecure": null,
    "topic_prefix": "frigate",
    "user": null
  },
  "objects": {
    "filters": null,
    "mask": "",
    "track": [
      "person"
    ]
  },
  "record": {
    "enabled": true,
    "events": {
      "max_seconds": 300,
      "objects": null,
      "post_capture": 5,
      "pre_capture": 5,
      "required_zones": [],
      "retain": {
        "default": 10,
        "mode": "motion",
        "objects": {}
      }
    },
    "expire_interval": 60,
    "retain": {
      "days": 7,
      "mode": "all"
    },
    "retain_days": null
  },
  "rtmp": {
    "enabled": false
  },
  "snapshots": {
    "bounding_box": false,
    "clean_copy": true,
    "crop": false,
    "enabled": false,
    "height": null,
    "quality": 70,
    "required_zones": [],
    "retain": {
      "default": 7,
      "mode": "motion",
      "objects": {}
    },
    "timestamp": true
  },
  "timestamp_style": {
    "color": {
      "blue": 255,
      "green": 255,
      "red": 255
    },
    "effect": "shadow",
    "format": "%m/%d/%Y %H:%M:%S",
    "position": "tl",
    "thickness": 2
  }
}

Relevant log output

[2022-02-10 20:41:09] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:09] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:14] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:14] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:19] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:19] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:24] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:24] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:29] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:29] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:34] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:34] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:39] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:39] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:44] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:44] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:49] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:49] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:54] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:54] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:41:59] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:41:59] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:04] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:04] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:09] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:09] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:14] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:14] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:19] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:19] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:24] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:24] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:29] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:29] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:34] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:34] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:39] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:39] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:44] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:44] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:49] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:49] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:54] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:54] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:42:59] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:42:59] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:04] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:04] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:09] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:09] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:14] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:14] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:19] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:19] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:24] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:24] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:29] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:29] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:34] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:34] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:39] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:39] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:44] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:44] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:49] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:49] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:54] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:54] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:43:59] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:43:59] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:04] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:04] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:09] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:09] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:14] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:14] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:19] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:19] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:24] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:24] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:29] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:29] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:34] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:34] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:39] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:39] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:44] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:44] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:49] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:49] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:54] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:54] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:44:59] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:44:59] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:45:04] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:45:04] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:45:09] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:45:09] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'
[2022-02-10 20:45:14] frigate.record                 ERROR   : Error occurred when attempting to maintain recording cache
[2022-02-10 20:45:14] frigate.record                 ERROR   : [Errno 28] No space left on device: '/media/frigate/recordings/2022-02/10'

FFprobe output from your camera

ffprobe version 4.3.3-0+deb11u1 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[rtsp @ 0x55c0a645b640] method SETUP failed: 461 Unsupported Transport
Input #0, rtsp, from 'rtsp://xxxx:8554/cam1_ch1':
  Metadata:
    title           : Stream
  Duration: N/A, start: -0.527433, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 2592x1944, 10 fps, 10 tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: pcm_mulaw, 16000 Hz, 1 channels, s16, 128 kb/s

Frigate stats

{"detection_fps":0.0,"detectors":{"cpu":{"detection_start":0.0,"inference_speed":10.0,"pid":225}},"frigate_backyard":{"camera_fps":10.1,"capture_pid":245,"detection_fps":0.0,"pid":234,"process_fps":10.1,"skipped_fps":0.0},"frigate_street_front":{"camera_fps":10.0,"capture_pid":235,"detection_fps":0.0,"pid":231,"process_fps":10.0,"skipped_fps":0.0},"frigate_street_nw":{"camera_fps":10.1,"capture_pid":236,"detection_fps":0.0,"pid":232,"process_fps":10.1,"skipped_fps":0.0},"frigate_street_se":{"camera_fps":10.0,"capture_pid":240,"detection_fps":0.0,"pid":233,"process_fps":10.0,"skipped_fps":0.0},"service":{"storage":{"/dev/shm":{"free":1054.4,"mount_type":"tmpfs","total":1073.7,"used":19.3},"/media/frigate/clips":{"free":0.0,"mount_type":"ext4","total":1967902.2,"used":1967885.4},"/media/frigate/recordings":{"free":0.0,"mount_type":"ext4","total":1967902.2,"used":1967885.4},"/tmp/cache":{"free":764.1,"mount_type":"tmpfs","total":1000.0,"used":235.9}},"temperatures":{},"uptime":16443,"version":"0.10.0-62c1a61"}}

Operating system

Debian

Install method

Docker CLI

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

Anpviz 5MP 4x Zoom

Any other information that may be helpful

Please stop developing new features and work on stability. Make the basics work well first.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

11reactions
blakeblackshearcommented, Feb 11, 2022

As @NickM-27 stated, this is a known feature request that has not been implemented. In the interim, I have added some information to documentation that makes this more clear.

image

image

This feature will probably be slated for the 0.12.0 release. I am happy to help you calculate the appropriate number of days to configure to ensure you do not exceed available disk space again. I would need to to know the approximate size of each of the 10s video segments for your cameras in the recordings folder.

I realize this feature is important to you and likely several other users. Every user believes their request is the most important, and I am doing my best to triage requests and work on them as they come up. I have been running Frigate at several locations for many years and never once lost any footage with an appropriate setting for retention days. It’s not automatic or ideal, but video segment sizes are very predictable and you can determine how much space each day will consume. This has been sufficient for the overwhelming majority of users. If Frigate’s current feature set does not meet your needs, perhaps it is not the right solution for you.

5reactions
ViktorSchlaffercommented, Feb 13, 2022

I think this might screw up the database. The application would expect those files to be there so it would start throwing log errors. I saw this when I manually deleted, lots of log errors

Instead of deleting the files, you could also truncate them, and let frigate do the actual cleanup. Something like this: (example) find /media/frigate/recordings/ -type f -ctime +6 -exec truncate -s0 {} ;

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: Each of my events is deleted after 3 hours
Hi Support,. I've purchased 3 Google nest camera (battery) and 1 new Google doorbell. Now I can't see any events. Not today. Not...
Read more >
Edit or delete a recording in Voice Memos on iPhone
Tap Edit above the list of recordings, select one or more recordings, then tap Delete. Deleted recordings move to the Recently Deleted folder,...
Read more >
‎DVR deleting recordings | Xfinity Community Forum
I recorded these over the last few years and I've watched them numerous times and all of a sudden I go to them...
Read more >
VOOM HD Holdings LLC v. Echostar Satellite L.L.C., 2010 N.Y. Slip ...
EchoStar cross-moves for an order precluding consideration of certain extrinsic evidence submitted by VOOM HD in support of its motion. In motion sequence ......
Read more >
Hyperion Workspace Developer's Guide - Oracle Help Center
This process authorizes the account and provides access to all. Reporting and Analysis services. 3. Invoke Reporting and Analysis services from a Java...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found