frigate: [Support]: Frigate is not overwriting old footage and just erroring saying their isn't enough space left

Describe the problem you are having

Running Frigate on Unraid

My Share has the following relevant settings:

  • Allocation method: High-water

Frigate eventually runs out of space and instead of deleting footage it just errors and I can even view my streams and gives me a bunch of errors like unable to convert recording etc all errors related to not having enough space.

Version

0.12.1

Frigate config file

mqtt:
  enabled: true
  host: ****
  port: 1883
  user: ****
  password: ****

database:
  path: /db/frigate.db

detectors:
  coral:
    type: edgetpu
    device: usb

birdseye:
  enabled: True
  width: 1280 
  height: 720
  quality: 1
  mode: continuous

ffmpeg:
  hwaccel_args: preset-vaapi
  output_args:
    record: preset-record-generic-audio-copy

detect:
  width: 1280
  height: 720
  fps: 5
  enabled: True
  stationary:
    interval: 0
    threshold: 50

objects:
  track:
    - person
    - bicycle
    - motorcycle
    - airplane
    - bus
    - train
    - boat
    - bird
    - cat
    - dog
    - horse
    - sheep
    - cow
    - elephant
    - bear
    - zebra
    - giraffe
    - frisbee
    - sports ball
    - knife

record: 
  enabled: True
  retain:
    days: 30
    mode: all
  events:
    pre_capture: 10
    post_capture: 30
    retain:
      default: 90
      mode: motion

snapshots:
  enabled: True
  timestamp: True

go2rtc:
  streams:
    doorbell: 
      - "ffmpeg:http://****/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=****&password=****#video=copy#audio=copy#audio=opus"
    doorbell_sub: 
      - "ffmpeg:http://****/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=****&password=****#video=copy#audio=copy#audio=opus"
    driveway: 
      - rtsp://****:554/h265Preview_01_main
      - "ffmpeg:driveway#video=h264#audio=opus"
    driveway_sub: 
      - rtsp://****:554/h265Preview_01_sub
      - "ffmpeg:driveway#video=h264#audio=opus"
    front:
      - rtsp://****:554/Streaming/Channels/101/
    front_sub:
      - rtsp://****6:554/Streaming/Channels/102/
    backyard:
      - rtsp://****:554/cam/realmonitor?channel=1&subtype=0
    backyard_sub:
      - rtsp://****:554/cam/realmonitor?channel=1&subtype=1
    side:
      - rtsp://****:554/cam/realmonitor?channel=1&subtype=0
    side_sub:
      - rtsp://****:554/cam/realmonitor?channel=1&subtype=1

timestamp_style:
  position: "tl"
  format: "%d/%m/%Y %H:%M:%S"

cameras:
  Doorbell:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/doorbell?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/doorbell_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    live:
      stream_name: doorbell

  Driveway:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/driveway_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    motion:
      mask:
        - 1196,0,1196,54,1072,52,910,48,696,54,452,92,70,202,58,156,0,178,0,0,546,0
    live:
      stream_name: driveway

  Front_Porch:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/front?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/front_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    motion:
      mask:
        - 0,0,0,189,196,81,466,63,740,59,1280,149,1280,0,236,0
    live:
      stream_name: front

  Backyard:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/backyard?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/backyard_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    live:
      stream_name: backyard

  Side:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/side?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/side_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    live:
      stream_name: side

Relevant log output

Run out of space

FFprobe output from your camera

n/a

Frigate stats

No response

Operating system

UNRAID

Install method

Docker Compose

Coral version

USB

Network connection

Wired

Camera make and model

Many

Any other information that may be helpful

No response

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 31

Most upvoted comments

logs are logged to docker like any other docker container