blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.08k stars 1.65k forks source link

[Config Support]: Docker install start and then exits #6393

Closed ripvega closed 1 year ago

ripvega commented 1 year ago

Describe the problem you are having

Not sure if this is the correct session to post.

I've followed this set up, using my version 11 config file.

I'm trying to upgrade to 12.

The container starts and then stops itself.

Using the same config file I have it all running fine in docker with V11.

Please could someone please take a look at the logs and point me in the right direction?

Version

12

Frigate config file

mqtt:
  host: 10.0.1.105
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: xxxxxx
  password: xxxxxxx
  stats_interval: 60

# ffmpeg:
#   hwaccel_args:
#     - -hwaccel
#     - vaapi
#     - -hwaccel_device
#     - /dev/dri/renderD128
#     - -hwaccel_output_format
#     - yuv420p

database:
  path: /media/frigate/clips/frigate.db

timestamp_style:
  position: "tl"
  format: "%m/%d/%Y %H:%M:%S"
  color:
    red: 255
    green: 255
    blue: 255
  thickness: 2
  effect: shadow

detectors:
  coral:
    type: edgetpu
    device: usb
  # coral:
  #   type: edgetpu
  #   device: usb
  # coral2:
  #   type: edgetpu
  #   device: usb:1
# resolution was 640x352 changed to 1920x1080
cameras:
  driveway: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.35:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.35:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record

#### Testing with file ####
      # inputs:
      #   - path: /media/frigate/driveway.mp4
      #     input_args: -re -stream_loop -1 -fflags +genpts
      #     roles:
      #       - detect
      #       - rtmp

    rtmp:
      enabled: false # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 704 # <---- update for your camera's resolution
      height: 576 # <---- update for your camera's resolution
      fps: 20
      # stationary:
      #   interval: 0
      #   threshold: 50
    objects:
      track:
        - car
      filters:
        # person:
        #   threshold: 0.5
        #   min_score: 0.8
        car:
          threshold: 0.6
          min_score: 0.6
          min_area: 800
    motion:
      mask:
        - 704,0,704,88,0,68,0,0
        - 0,576,704,576,704,209,0,174
      threshold: 30  

      # Optional: Minimum size in pixels in the resized motion image that counts as motion (default: 30)
      # Increasing this value will prevent smaller areas of motion from being detected. Decreasing will
      # make motion detection more sensitive to smaller moving objects.
      # As a rule of thumb:
      #  - 15 - high sensitivity
      #  - 30 - medium sensitivity
      #  - 50 - low sensitivity
      contour_area: 28

      # Optional: Alpha value passed to cv2.accumulateWeighted when averaging the motion delta across multiple frames (default: shown below)
      # Higher values mean the current frame impacts the delta a lot, and a single raindrop may register as motion.
      # Too low and a fast moving person wont be detected as motion.
      # Default is 0.2
      delta_alpha: 0.4

      # Optional: Alpha value passed to cv2.accumulateWeighted when averaging frames to determine the background (default: shown below)
      # Higher values mean the current frame impacts the average a lot, and a new object will be averaged into the background faster.
      # Low values will cause things like moving shadows to be detected as motion for longer.
      # https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
      # Default is 0.2
      frame_alpha: 0.22

      # Optional: Height of the resized motion frame  (default: 50)
      # This operates as an efficient blur alternative. Higher values will result in more granular motion detection at the expense
      # of higher CPU usage. Lower values result in less CPU, but small changes may not register as motion.
      # Default is 50
      frame_height: 55

    zones: 
      # left:
      #   coordinates: 0,92,0,136,132,139,120,94
      # # left:
      # #   coordinates: 50,93,50,134,241,142,236,112
      # middle:
      #   coordinates: 258,152,449,165,454,125,254,100
      # right:
      #   coordinates: 704,145,704,206,459,169,456,119zones:
      left:
        coordinates: 0,92,0,136,250,146,252,107
      middle:
        coordinates: 258,152,449,165,454,125,254,100
      right:
        coordinates: 672,143,671,205,459,169,456,119
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        required_zones:
          - right
          - middle
          - left
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  turning_circle: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.40:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.40:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record

#### Testing with file ####
      # inputs:
      #   - path: /media/frigate/turning_circle.mp4
      #     input_args: -re -stream_loop -1 -fflags +genpts
      #     roles:
      #       - detect
      #       - rtmp

    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 640 # <---- update for your camera's resolution
      height: 480 # <---- update for your camera's resolution
      fps: 5
      stationary:
        interval: 0
        threshold: 20
    objects:
      track:
        - person
        - car
        - dog
      filters:
        person:
          threshold: 0.5
          min_score: 0.7
        car:
          threshold: 0.6
          min_score: 0.7
          mask:
            - 355,267,423,256,428,215,356,216
          min_area: 1200
        dog:
          threshold: 0.5
          min_score: 0.7
    motion:
      mask:
        - 0,0,0,171,355,196,355,257,438,259,437,220,640,201,640,0
    zones:
      tc_east:
        coordinates: 0,480,187,480,186,269,185,189,0,187
      tc_middle:
        coordinates: 190,480,399,480,399,198,182,190
      tc_west:
        coordinates: 640,480,404,480,405,194,640,197

      # tc_east:
      #   coordinates: 0,480,273,480,278,192,0,187
      # tc_west:
      #   coordinates: 640,480,404,480,405,194,640,197
      # tc_middle:
      #   coordinates: 279,480,399,480,399,198,278,195
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        required_zones:
          - tc_east
          - tc_west
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  car_park:
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.42:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.42:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record

### Testing with file ####
      # inputs:
      #   - path: /media/frigate/carpark.mp4
      #     input_args: -re -stream_loop -1 -fflags +genpts
      #     roles:
      #       - detect
      #       - rtmp

    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 640 # <---- update for your camera's resolution
      height: 480 # <---- update for your camera's resolution
      fps: 5
      stationary:
        interval: 0
        threshold: 20
    objects:
      track:
        - person
        - car
        - dog
      filters:
        person:
          threshold: 0.6
          min_score: 0.7
        car:
          threshold: 0.6
          min_score: 0.75
          mask:
            - 280,160,348,209,403,125,408,99,301,90,279,103         
        dog:
          threshold: 0.5
          min_score: 0.6
    motion:
      mask:
        - 640,0,0,0,0,39,187,21,326,29,280,89,288,172,447,346,493,139
    zones:
      carpark_middle:
        coordinates: 302,139,279,100,180,94,131,138
      carpark_south:
        coordinates: 640,480,0,480,0,211,110,143,297,144
      top_of_drive:
        coordinates: 254,39,304,49,303,88,191,88
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        required_zones:
          - carpark_north
          - carpark_south
          - top_of_drive
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  south_terrace: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.52:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.52:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 640 # <---- update for your camera's resolution
      height: 480 # <---- update for your camera's resolution
      fps: 5
    objects:
      track:
        - person
        - dog
      filters:
        person:
          threshold: 0.5
          min_score: 0.6
          mask:
            - 640,101,640,197,130,217,0,255,0,107
            - 640,480,640,340,509,275,350,480,411,480
        dog:
          threshold: 0.5
          min_score: 0.55
    motion:
      mask:
        - 640,0,640,236,315,227,0,207,0,0
    zones:
      rear_lawn:
        coordinates: 640,266,640,480,335,480,195,264,191,235
      terrace:
        coordinates: 345,480,0,480,0,273,126,231,191,228
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
        required_zones:
          - terrace
          - rear_lawn
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  # garage_south_east: # <------ Name the camera
  #   ffmpeg:
  #     inputs:
  #       - path: rtsp://admin:xxxxxxx@10.0.1.57:554/cam/realmonitor?channel=1&subtype=1
  #         roles:
  #           - detect
  #       - path: rtsp://admin:xxxxxxx@10.0.1.57:554/cam/realmonitor?channel=1&subtype=0
  #         roles:
  #           - record
  #   rtmp:
  #     enabled: False # <-- RTMP should be disabled if your stream is not H264
  #   detect:
  #     width: 640 # <---- update for your camera's resolution
  #     height: 480 # <---- update for your camera's resolution
  #     fps: 5
  #   objects:
  #     track:
  #       - person
  #       - dog
  #     filters:
  #       person:
  #         threshold: 0.5
  #         min_score: 0.6
  #       dog:
  #         threshold: 0.5
  #         min_score: 0.5
  #   motion:
  #     mask:
  #       - 390,0,640,0,640,137,399,155,93,183,184,352,0,352,0,0  
  #   zones:
  #     rear_lawn:
  #       coordinates: 188,352,640,352,640,151,486,156,124,191        
  #   record:
  #     enabled: True
  #     retain:
  #       days: 2
  #       mode: all
  #     events:
  #       retain:
  #         default: 5
  #         mode: motion
  #       pre_capture: 3
  #       post_capture: 15
  #       required_zones:
  #         - rear_lawn
  #   snapshots:
  #     enabled: true
  #     timestamp: false
  #     bounding_box: false
  #     crop: true
  #     height: 500
  #     retain:
  #       default: 5
  #   mqtt:
  #     timestamp: False
  #     bounding_box: False
  #     crop: True
  #     height: 500
  #     quality: 100

  garage_south: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.22:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.22:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 640 # <---- update for your camera's resolution
      height: 480 # <---- update for your camera's resolution
      fps: 5
    objects:
      track:
        - person
        - dog
        - cat
      filters:
        person:
          threshold: 0.5
          min_score: 0.7
        dog:
          threshold: 0.5
          min_score: 0.6
        cat:
          threshold: 0.5
          min_score: 0.6
    motion:
      mask:
        - 0,74,610,68,640,183,640,0,0,0
    zones:
      south:
        coordinates: 203,79,258,87,327,78,640,107,640,352,0,352,0,119,126,92

    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
        required_zones:
          - south
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  east: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.56:554/12
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.56:554/11
          roles:
            - record
            # - rtmp
    rtmp:
      enabled: false # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 1920 # <---- update for your camera's resolution
      height: 1080 # <---- update for your camera's resolution
      fps: 5
    objects:
      track:
        - person
        - dog
      filters:
        person:
          threshold: 0.5
          min_score: 0.75
        dog:
          threshold: 0.5
          min_score: 0.7
    motion:
      mask:
        - 1920,210,1920,0,793,0,743,0,752,38,802,50,1083,130
      # threshold: 15
    # zones:
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  east_terrace: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.47:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.47:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 640 # <---- update for your camera's resolution
      height: 480 # <---- update for your camera's resolution
      fps: 5
    objects:
      track:
        - person
        - dog
        - cat
      filters:
        person:
          threshold: 0.5
          min_score: 0.6
          mask:
            - 165,344,370,353,640,414,640,480,162,480,0,480,0,453
            - 0,201,0,0,640,0,640,153,348,145,116,201
        dog:
          threshold: 0.5
          min_score: 0.6
          mask:
            - 165,344,370,353,640,414,640,480,162,480,0,480,0,453
            - 0,201,0,0,640,0,640,153,348,145,116,201
        cat:
          threshold: 0.5
          min_score: 0.6
    motion:
      mask:
        - 640,0,0,0,0,158,0,157,640,152
      # threshold: 15
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  courtyard: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.54:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.54:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - record
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 704 # <---- update for your camera's resolution
      height: 576 # <---- update for your camera's resolution
      fps: 5
    objects:
      track:
        - person
        # - car
        - cat
        - dog
      filters:
        person:
          threshold: 0.7
          min_score: 0.65
        # car:
        #   # threshold: 0.5
        #   min_score: 0.7
        #   mask:
        #     - 250,119,260,196,181,207,179,127
        cat:
          min_score: 0.5
        dog:
          min_score: 0.5
    motion:
      mask:
        - 442,118,561,283,348,263,333,102
        - 704,0,704,42,327,52,326,150,242,187,238,54,0,82,0,0
    zones:
      courtyd:
        coordinates: 468,70,634,256,704,273,704,576,310,576,315,69
      terrace:
        coordinates: 309,47,306,576,0,576,0,480,0,273,0,197,89,99
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  greenhouse: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.55:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.55:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 704 # <---- update for your camera's resolution
      height: 576 # <---- update for your camera's resolution
      fps: 5
    objects:
      track:
        - cat
        - dog
        - person
      filters:
        cat:
          threshold: 0.6
          min_score: 0.65
        dog:
          threshold: 0.5
          min_score: 0.7
        person:
          threshold: 0.6
          min_score: 0.75
          mask:
            - 94,314,64,323,67,273,88,269
    motion:
      mask:
        - 0,195,704,198,704,0,0,0,0,0
    record:
      enabled: True
      retain:
        days: 2
        mode: all
      events:
        retain:
          default: 5
          mode: motion
        pre_capture: 3
        post_capture: 15
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 5
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      height: 500
      quality: 100

  rear_garden: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://admin:xxxxxxx@10.0.1.229:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
        - path: rtsp://admin:xxxxxxx@10.0.1.229:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    rtmp:
      enabled: False # <-- RTMP should be disabled if your stream is not H264
    detect:
      width: 704 # <---- update for your camera's resolution
      height: 576 # <---- update for your camera's resolution
      fps: 5
    record:
      enabled: True
      retain:
        days: 2
        mode: all

Relevant log output

frigate-12
date,stream,content
2023-05-05 08:14:25,stdout,s6-rc: info: service s6rc-oneshot-runner successfully stopped

2023-05-05 08:14:25,stdout,s6-rc: info: service s6rc-oneshot-runner: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service fix-attrs successfully stopped

2023-05-05 08:14:25,stdout,s6-rc: info: service fix-attrs: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service legacy-cont-init successfully stopped

2023-05-05 08:14:25,stdout,s6-rc: info: service s6rc-fdholder successfully stopped

2023-05-05 08:14:25,stdout,s6-rc: info: service legacy-cont-init: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service log-prepare successfully stopped

2023-05-05 08:14:25,stdout,s6-rc: info: service s6rc-fdholder: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service log-prepare: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service go2rtc-log successfully stopped

2023-05-05 08:14:25,stdout,s6-rc: info: service go2rtc-log: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service go2rtc successfully stopped

2023-05-05 08:14:25,stdout,2023-05-05 08:14:25.668732463  [INFO] The go2rtc service exited with code 0 (by signal 0)

2023-05-05 08:14:25,stdout,s6-rc: info: service frigate-log successfully stopped

2023-05-05 08:14:25,stdout,2023-05-05 08:14:25.660285366  exit OK

2023-05-05 08:14:25,stdout,s6-rc: info: service frigate-log: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service go2rtc: stopping

2023-05-05 08:14:25,stdout,s6-rc: info: service frigate successfully stopped

2023-05-05 08:14:25,stdout,2023-05-05 08:14:25.649105823  [INFO] Service Frigate exited with code 0 (by signal 0)

2023-05-05 08:14:25,stdout,2023-05-05 08:14:25.637380763    warnings.warn('resource_tracker: There appear to be %d '

2023-05-05 08:14:25,stdout,2023-05-05 08:14:25.637372147  /usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 55 leaked shared_memory objects to clean up at shutdown

2023-05-05 08:14:20,stdout,2023-05-05 08:14:20.171605833  [2023-05-05 08:14:20] frigate.output                 INFO    : exiting output process...

2023-05-05 08:14:20,stdout,2023-05-05 08:14:20.161186124  [2023-05-05 08:14:20] frigate.video                  INFO    : rear_garden: exiting subprocess

2023-05-05 08:14:20,stdout,2023-05-05 08:14:20.135405679  [2023-05-05 08:14:20] frigate.video                  INFO    : garage_south: exiting subprocess

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.343300405  [2023-05-05 08:14:19] watchdog.east_terrace          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.339122992  [2023-05-05 08:14:19] watchdog.east_terrace          INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.329092234  [2023-05-05 08:14:19] frigate.video                  INFO    : east_terrace: exiting subprocess

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.326794044  [2023-05-05 08:14:19] watchdog.east                  INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.325835363  [2023-05-05 08:14:19] watchdog.east                  INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.316488863  [2023-05-05 08:14:19] watchdog.courtyard             INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.315865841  [2023-05-05 08:14:19] watchdog.courtyard             INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.310582513  [2023-05-05 08:14:19] frigate.video                  INFO    : south_terrace: exiting subprocess

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.285815064  [2023-05-05 08:14:19] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.285272464  [2023-05-05 08:14:19] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.281286473  [2023-05-05 08:14:19] watchdog.greenhouse            INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.281283761  [2023-05-05 08:14:19] watchdog.greenhouse            INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.281277492  [2023-05-05 08:14:19] watchdog.rear_garden           INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.280125954  [2023-05-05 08:14:19] watchdog.rear_garden           INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.275411794  [2023-05-05 08:14:19] watchdog.south_terrace         INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.275211537  [2023-05-05 08:14:19] watchdog.south_terrace         INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.273334140  [2023-05-05 08:14:19] frigate.video                  INFO    : greenhouse: exiting subprocess

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.247901771  [2023-05-05 08:14:19] watchdog.garage_south          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.247899402  [2023-05-05 08:14:19] watchdog.garage_south          INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.247896739  [2023-05-05 08:14:19] watchdog.turning_circle        INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.247888196  [2023-05-05 08:14:19] watchdog.turning_circle        INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.239891346  [2023-05-05 08:14:19] watchdog.car_park              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.237677606  [2023-05-05 08:14:19] watchdog.car_park              INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.233176821  [2023-05-05 08:14:19] frigate.video                  INFO    : car_park: exiting subprocess

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.231639276  [2023-05-05 08:14:19] frigate.video                  INFO    : turning_circle: exiting subprocess

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.229814205  [2023-05-05 08:14:19] watchdog.courtyard             INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.229811487  [2023-05-05 08:14:19] watchdog.courtyard             INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.229802126  [2023-05-05 08:14:19] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.223720062  [2023-05-05 08:14:19] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.223583166  [2023-05-05 08:14:19] watchdog.turning_circle        INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.223459286  [2023-05-05 08:14:19] watchdog.turning_circle        INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.223349581  [2023-05-05 08:14:19] watchdog.east_terrace          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.223220144  [2023-05-05 08:14:19] watchdog.garage_south          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.218480676  [2023-05-05 08:14:19] watchdog.garage_south          INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.218309218  [2023-05-05 08:14:19] watchdog.rear_garden           INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215667947  [2023-05-05 08:14:19] watchdog.rear_garden           INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215665620  [2023-05-05 08:14:19] watchdog.greenhouse            INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215663344  [2023-05-05 08:14:19] watchdog.east_terrace          INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215661039  [2023-05-05 08:14:19] watchdog.greenhouse            INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215658770  [2023-05-05 08:14:19] watchdog.car_park              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215656373  [2023-05-05 08:14:19] watchdog.car_park              INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.215649148  [2023-05-05 08:14:19] watchdog.south_terrace         INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.214452170  [2023-05-05 08:14:19] watchdog.south_terrace         INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.214444134  [2023-05-05 08:14:19] watchdog.east                  INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.212207547  [2023-05-05 08:14:19] watchdog.east                  INFO    : Terminating the existing ffmpeg process...

2023-05-05 08:14:19,stdout,"2023-05-05 08:14:19.200781053  [2023-05-05 08:14:19] peewee.sqliteq                 INFO    : writer received shutdown request, exiting.
"
2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.199548641  [2023-05-05 08:14:19] frigate.events                 INFO    : Exiting event processor...

2023-05-05 08:14:19,stdout,2023-05-05 08:14:19.091896932  [2023-05-05 08:14:19] frigate.comms.ws               INFO    : Exiting websocket client...

2023-05-05 08:14:18,stdout,s6-rc: info: service nginx-log successfully stopped

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.519328940  [2023-05-05 08:14:18] frigate.object_processing      INFO    : Exiting object processor...

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.517668438  [2023-05-05 08:14:18] frigate.watchdog               INFO    : Exiting watchdog...

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.517665936  [2023-05-05 08:14:18] frigate.events                 INFO    : Exiting event cleanup...

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.517657363  [2023-05-05 08:14:18] frigate.stats                  INFO    : Exiting stats emitter...

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.514223832  [2023-05-05 08:14:18] frigate.storage                INFO    : Exiting storage maintainer...

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.507778214  [2023-05-05 08:14:18] frigate.app                    INFO    : Stopping...

2023-05-05 08:14:18,stdout,s6-rc: info: service frigate: stopping

2023-05-05 08:14:18,stdout,s6-rc: info: service nginx-log: stopping

2023-05-05 08:14:18,stdout,s6-rc: info: service nginx successfully stopped

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.479259585  [INFO] Service NGINX exited with code 0 (by signal 0)

2023-05-05 08:14:18,stdout,s6-rc: info: service go2rtc-healthcheck successfully stopped

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.447859470  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)

2023-05-05 08:14:18,stdout,s6-rc: info: service go2rtc-healthcheck: stopping

2023-05-05 08:14:18,stdout,s6-rc: info: service nginx: stopping

2023-05-05 08:14:18,stdout,s6-rc: info: service legacy-services successfully stopped

2023-05-05 08:14:18,stdout,s6-rc: info: service legacy-services: stopping

2023-05-05 08:14:18,stdout,2023-05-05 08:14:18.131357582  [2023-05-05 08:14:18] frigate.watchdog               INFO    : Detection appears to have stopped. Exiting Frigate...

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502220339  

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502218910  ValueError: Failed to load delegate from libedgetpu.so.1.0

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502216865      raise ValueError('Failed to load delegate from {}\n{}'.format(

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502214871    File \"/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py\", line 162, in load_delegate
"
2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502212368      edge_tpu_delegate = load_delegate(\"libedgetpu.so.1.0\", device_config)
"
2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502209650    File \"/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py\", line 37, in __init__
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502198101      return api(detector_config)

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502195876    File \"/opt/frigate/frigate/detectors/__init__.py\", line 24, in create_detector
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502170065      self.detect_api = create_detector(detector_config)

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502168131    File \"/opt/frigate/frigate/object_detection.py\", line 52, in __init__
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502165985      object_detector = LocalObjectDetector(detector_config=detector_config)

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502163649    File \"/opt/frigate/frigate/object_detection.py\", line 98, in run_detector
"
2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502158871      self._target(*self._args, **self._kwargs)
"
2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502122003    File \"/usr/lib/python3.9/multiprocessing/process.py\", line 108, in run
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502119938      self.run()

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502118362    File \"/usr/lib/python3.9/multiprocessing/process.py\", line 315, in _bootstrap
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502116259  Traceback (most recent call last):

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502114601  

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.502113137  During handling of the above exception, another exception occurred:
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502111004  

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.502107695  ValueError

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.501416270      raise ValueError(capture.message)

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.501409867    File \"/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py\", line 119, in __init__
"
2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.501407552      delegate = Delegate(library, options)
"
2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.501404740    File \"/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py\", line 160, in load_delegate
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.501342848  Traceback (most recent call last):

2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.498855734  Process detector:coral:

2023-05-05 08:14:16,stdout,"2023-05-05 08:14:16.498850464  [2023-05-05 08:14:16] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
"
2023-05-05 08:14:16,stdout,2023-05-05 08:14:16.497455439  [2023-05-05 08:13:47] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb

2023-05-05 08:13:48,stdout,"2023-05-05 08:13:48.119022809  [2023-05-05 08:13:48] frigate.app                    WARNING : The current SHM size of 67.1MB is too small, recommend increasing it to at least 100.00000000000001MB.
"
2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.493125377  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for rear_garden: 369

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.424667825  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for greenhouse: 363

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.410790999  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for courtyard: 359

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.369181229  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for east_terrace: 351

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.355971394  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for east: 349

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.316511158  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for garage_south: 338

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.310261507  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for south_terrace: 335

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.286148132  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for car_park: 329

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.274912210  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for turning_circle: 326

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.274427584  [2023-05-05 08:13:47] frigate.app                    INFO    : Capture process started for driveway: 324

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.236265656  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for rear_garden: 323

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.223715540  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for greenhouse: 322

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.208848322  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for courtyard: 320

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.208359024  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for east_terrace: 319

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.181888760  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for east: 317

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.170217582  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for garage_south: 316

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.157043687  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for south_terrace: 314

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.144702058  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for car_park: 313

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.130243750  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for turning_circle: 311

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.125407860  [2023-05-05 08:13:47] frigate.app                    INFO    : Camera processor started for driveway: 310

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.090136625  [2023-05-05 08:13:47] detector.coral                 INFO    : Starting detection process: 301

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.086406774  [2023-05-05 08:13:47] frigate.app                    INFO    : Output process started: 302

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.041242649  [2023-05-05 08:13:47] frigate.record.record          INFO    : recording_manager: exiting subprocess

2023-05-05 08:13:47,stdout,2023-05-05 08:13:47.031820796  [2023-05-05 08:13:47] frigate.app                    INFO    : Recording process started: 291

2023-05-05 08:13:46,stdout,2023-05-05 08:13:46.430788924  [2023-05-05 08:13:46] peewee_migrate.logs            INFO    : There is nothing to migrate

2023-05-05 08:13:46,stdout,2023-05-05 08:13:46.420579507  [2023-05-05 08:13:46] peewee_migrate.logs            INFO    : Starting migrations

2023-05-05 08:13:45,stdout,2023-05-05 08:13:45.857018770  [2023-05-05 08:13:45] frigate.app                    INFO    : Starting Frigate (0.13.0-b38c9e8)

2023-05-05 08:13:42,stdout,2023-05-05 08:13:42.398534305  [INFO] Starting go2rtc healthcheck service...

2023-05-05 08:13:34,stdout,2023-05-05 08:13:34.345654440  08:13:34.345 INF [webrtc] listen addr=:8555

2023-05-05 08:13:34,stdout,2023-05-05 08:13:34.345145059  08:13:34.345 INF [srtp] listen addr=:8443

2023-05-05 08:13:34,stdout,2023-05-05 08:13:34.344748061  08:13:34.344 INF [rtsp] listen addr=:8554

2023-05-05 08:13:34,stdout,2023-05-05 08:13:34.344234152  08:13:34.344 INF [api] listen addr=:1984

2023-05-05 08:13:34,stdout,2023-05-05 08:13:34.343821976  08:13:34.343 INF go2rtc version 1.2.0 linux/amd64

2023-05-05 08:13:34,stdout,2023-05-05 08:13:34.180904867  [INFO] Starting go2rtc...

2023-05-05 08:13:32,stdout,2023-05-05 08:13:32.550911102  [INFO] Starting Frigate...

2023-05-05 08:13:32,stdout,2023-05-05 08:13:32.538380396  [INFO] Starting NGINX...

2023-05-05 08:13:32,stdout,2023-05-05 08:13:32.537988524  [INFO] Preparing Frigate...

2023-05-05 08:13:32,stdout,2023-05-05 08:13:32.537785430  [INFO] Preparing go2rtc config...

2023-05-05 08:13:32,stdout,s6-rc: info: service legacy-services successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service legacy-services: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service nginx successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service nginx: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service frigate successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service go2rtc-healthcheck successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service frigate: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service go2rtc-healthcheck: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service go2rtc successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service go2rtc: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service go2rtc-log successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service frigate-log successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service nginx-log successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service frigate-log: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service go2rtc-log: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service nginx-log: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service log-prepare successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service log-prepare: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service legacy-cont-init successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service legacy-cont-init: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service fix-attrs successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service fix-attrs: starting

2023-05-05 08:13:32,stdout,s6-rc: info: service s6rc-oneshot-runner successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service s6rc-fdholder successfully started

2023-05-05 08:13:32,stdout,s6-rc: info: service s6rc-oneshot-runner: starting

2023-05-05 08:13:31,stdout,s6-rc: info: service s6rc-fdholder: starting

Frigate stats

No response

Operating system

Other

Install method

Docker CLI

Coral version

USB

Any other information that may be helpful

No response

blakeblackshear commented 1 year ago

Your logs just show the shutdown and new startup without any errors.

Also, you are pulling a bleeding edge development build of 0.13, not 0.12. You should be using the 0.12.0 tag or the stable tag.

ripvega commented 1 year ago

Thank you for the help.

I'm not sure what most of that means.

This is what I used to make the container: $ sudo docker pull ghcr.io/blakeblackshear/frigate:dev-b38c9e8-tensorrt

I was just after the stable version.

Does that help?

blakeblackshear commented 1 year ago

That's not the stable image, it's an undocumented and unreleased version. I dont see any indication that you are using an nvidia gpu for detection, so you want sudo docker pull ghcr.io/blakeblackshear/frigate:stable.

ripvega commented 1 year ago

Thank you.

That's intalled now but same behaviour.

Here's the log:

frigate-12
date,stream,content
2023-05-05 11:55:00,stdout,s6-rc: info: service s6rc-oneshot-runner successfully stopped

2023-05-05 11:55:00,stdout,s6-rc: info: service s6rc-oneshot-runner: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service fix-attrs successfully stopped

2023-05-05 11:55:00,stdout,s6-rc: info: service fix-attrs: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service legacy-cont-init successfully stopped

2023-05-05 11:55:00,stdout,s6-rc: info: service s6rc-fdholder successfully stopped

2023-05-05 11:55:00,stdout,s6-rc: info: service legacy-cont-init: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service log-prepare successfully stopped

2023-05-05 11:55:00,stdout,s6-rc: info: service s6rc-fdholder: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service log-prepare: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service go2rtc-log successfully stopped

2023-05-05 11:55:00,stdout,s6-rc: info: service go2rtc-log: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service go2rtc successfully stopped

2023-05-05 11:55:00,stdout,2023-05-05 11:55:00.229395953  [INFO] The go2rtc service exited with code 0 (by signal 0)

2023-05-05 11:55:00,stdout,s6-rc: info: service frigate-log successfully stopped

2023-05-05 11:55:00,stdout,2023-05-05 11:55:00.222010061  exit OK

2023-05-05 11:55:00,stdout,s6-rc: info: service frigate-log: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service go2rtc: stopping

2023-05-05 11:55:00,stdout,s6-rc: info: service frigate successfully stopped

2023-05-05 11:55:00,stdout,2023-05-05 11:55:00.207107818  [INFO] Service Frigate exited with code 0 (by signal 0)

2023-05-05 11:54:57,stdout,2023-05-05 11:54:57.275968229  [2023-05-05 11:54:57] frigate.video                  INFO    : turning_circle: exiting subprocess

2023-05-05 11:54:57,stdout,2023-05-05 11:54:57.217866807  [2023-05-05 11:54:57] frigate.video                  INFO    : rear_garden: exiting subprocess

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.924392223  [2023-05-05 11:54:56] frigate.output                 INFO    : exiting output process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.411363211  [2023-05-05 11:54:56] watchdog.courtyard             INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.411197689  [2023-05-05 11:54:56] watchdog.courtyard             INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.396534220  [2023-05-05 11:54:56] watchdog.east_terrace          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.396410987  [2023-05-05 11:54:56] watchdog.east_terrace          INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.393672866  [2023-05-05 11:54:56] watchdog.east                  INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.392911417  [2023-05-05 11:54:56] watchdog.east                  INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.391472743  [2023-05-05 11:54:56] watchdog.rear_garden           INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.391327304  [2023-05-05 11:54:56] watchdog.rear_garden           INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.390732292  [2023-05-05 11:54:56] watchdog.turning_circle        INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.390626849  [2023-05-05 11:54:56] watchdog.turning_circle        INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.390374161  [2023-05-05 11:54:56] watchdog.south_terrace         INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.390245081  [2023-05-05 11:54:56] watchdog.south_terrace         INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.382354196  [2023-05-05 11:54:56] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.382183427  [2023-05-05 11:54:56] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.378170507  [2023-05-05 11:54:56] watchdog.car_park              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.378161333  [2023-05-05 11:54:56] watchdog.car_park              INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.372225599  [2023-05-05 11:54:56] frigate.video                  INFO    : driveway: exiting subprocess

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.355230402  [2023-05-05 11:54:56] watchdog.garage_south          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.355221387  [2023-05-05 11:54:56] watchdog.garage_south          INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.345392093  [2023-05-05 11:54:56] watchdog.greenhouse            INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.342084031  [2023-05-05 11:54:56] watchdog.greenhouse            INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.337038231  [2023-05-05 11:54:56] watchdog.greenhouse            INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.335441056  [2023-05-05 11:54:56] watchdog.east_terrace          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.335432300  [2023-05-05 11:54:56] watchdog.east_terrace          INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.331864880  [2023-05-05 11:54:56] watchdog.greenhouse            INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.327295194  [2023-05-05 11:54:56] watchdog.courtyard             INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.327111383  [2023-05-05 11:54:56] watchdog.courtyard             INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.326624158  [2023-05-05 11:54:56] watchdog.turning_circle        INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.326382218  [2023-05-05 11:54:56] watchdog.turning_circle        INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.326077044  [2023-05-05 11:54:56] watchdog.east                  INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.325735557  [2023-05-05 11:54:56] watchdog.east                  INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.325444807  [2023-05-05 11:54:56] watchdog.driveway              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.325104956  [2023-05-05 11:54:56] watchdog.driveway              INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.323997637  [2023-05-05 11:54:56] watchdog.garage_south          INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.323448713  [2023-05-05 11:54:56] watchdog.garage_south          INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.322708677  [2023-05-05 11:54:56] watchdog.rear_garden           INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.322549899  [2023-05-05 11:54:56] watchdog.rear_garden           INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.322382946  [2023-05-05 11:54:56] watchdog.car_park              INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.322218246  [2023-05-05 11:54:56] watchdog.car_park              INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.322042909  [2023-05-05 11:54:56] watchdog.south_terrace         INFO    : Waiting for ffmpeg to exit gracefully...

2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.321384516  [2023-05-05 11:54:56] watchdog.south_terrace         INFO    : Terminating the existing ffmpeg process...

2023-05-05 11:54:56,stdout,"2023-05-05 11:54:56.308105791  [2023-05-05 11:54:56] peewee.sqliteq                 INFO    : writer received shutdown request, exiting.
"
2023-05-05 11:54:56,stdout,2023-05-05 11:54:56.042468666  [2023-05-05 11:54:56] frigate.record                 INFO    : Exiting recording maintenance...

2023-05-05 11:54:55,stdout,2023-05-05 11:54:55.171669294  [2023-05-05 11:54:55] frigate.events                 INFO    : Exiting event processor...

2023-05-05 11:54:55,stdout,2023-05-05 11:54:55.000844186  [2023-05-05 11:54:54] frigate.comms.ws               INFO    : Exiting websocket client...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.674586987  [2023-05-05 11:54:54] frigate.object_processing      INFO    : Exiting object processor...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.674584455  [2023-05-05 11:54:54] frigate.storage                INFO    : Exiting storage maintainer...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.674576237  [2023-05-05 11:54:54] frigate.events                 INFO    : Exiting event cleanup...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.655887592  [2023-05-05 11:54:54] frigate.record                 INFO    : Exiting recording cleanup...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.654778929  [2023-05-05 11:54:54] frigate.stats                  INFO    : Exiting stats emitter...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.649264962  [2023-05-05 11:54:54] frigate.watchdog               INFO    : Exiting watchdog...

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.641806957  [2023-05-05 11:54:54] frigate.app                    INFO    : Stopping...

2023-05-05 11:54:54,stdout,s6-rc: info: service nginx-log successfully stopped

2023-05-05 11:54:54,stdout,s6-rc: info: service frigate: stopping

2023-05-05 11:54:54,stdout,s6-rc: info: service nginx-log: stopping

2023-05-05 11:54:54,stdout,s6-rc: info: service nginx successfully stopped

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.619848575  [INFO] Service NGINX exited with code 0 (by signal 0)

2023-05-05 11:54:54,stdout,s6-rc: info: service go2rtc-healthcheck successfully stopped

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.569462996  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)

2023-05-05 11:54:54,stdout,s6-rc: info: service go2rtc-healthcheck: stopping

2023-05-05 11:54:54,stdout,s6-rc: info: service nginx: stopping

2023-05-05 11:54:54,stdout,s6-rc: info: service legacy-services successfully stopped

2023-05-05 11:54:54,stdout,s6-rc: info: service legacy-services: stopping

2023-05-05 11:54:54,stdout,2023-05-05 11:54:54.514450036  [2023-05-05 11:54:54] frigate.watchdog               INFO    : Detection appears to have stopped. Exiting Frigate...

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131448954  

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131447349  ValueError: Failed to load delegate from libedgetpu.so.1.0

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131445368      raise ValueError('Failed to load delegate from {}\n{}'.format(

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131442829    File \"/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py\", line 162, in load_delegate
"
2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131430071      edge_tpu_delegate = load_delegate(\"libedgetpu.so.1.0\", device_config)
"
2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131428022    File \"/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py\", line 37, in __init__
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131425851      return api(detector_config)

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131423894    File \"/opt/frigate/frigate/detectors/__init__.py\", line 24, in create_detector
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131421080      self.detect_api = create_detector(detector_config)

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131408101    File \"/opt/frigate/frigate/object_detection.py\", line 52, in __init__
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131391386      object_detector = LocalObjectDetector(detector_config=detector_config)

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131388165    File \"/opt/frigate/frigate/object_detection.py\", line 98, in run_detector
"
2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131385517      self._target(*self._args, **self._kwargs)
"
2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131363131    File \"/usr/lib/python3.9/multiprocessing/process.py\", line 108, in run
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131361102      self.run()

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131359381    File \"/usr/lib/python3.9/multiprocessing/process.py\", line 315, in _bootstrap
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131357111  Traceback (most recent call last):

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131355406  

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131352816  During handling of the above exception, another exception occurred:
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131350630  

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131348722  ValueError

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131324022      raise ValueError(capture.message)

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131320329    File \"/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py\", line 119, in __init__
"
2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131318057      delegate = Delegate(library, options)
"
2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.131315870    File \"/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py\", line 160, in load_delegate
"
2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.131307419  Traceback (most recent call last):

2023-05-05 11:54:53,stdout,2023-05-05 11:54:53.054719995  Process detector:coral:

2023-05-05 11:54:53,stdout,"2023-05-05 11:54:53.053704149  [2023-05-05 11:54:53] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
"
2023-05-05 11:54:24,stdout,"2023-05-05 11:54:24.502642266  [2023-05-05 11:54:24] frigate.app                    WARNING : The current SHM size of 67.1MB is too small, recommend increasing it to at least 100.00000000000001MB.
"
2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.699680772  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for rear_garden: 349

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.679973985  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for greenhouse: 345

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.667258584  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for courtyard: 340

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.657088143  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for east_terrace: 334

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.643638158  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for east: 330

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.634302142  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for garage_south: 324

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.624146610  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for south_terrace: 320

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.615680767  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for car_park: 317

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.605932200  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for turning_circle: 314

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.598014411  [2023-05-05 11:54:23] frigate.app                    INFO    : Capture process started for driveway: 310

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.593649136  [2023-05-05 11:54:23] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.586223202  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for rear_garden: 307

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.586218725  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for greenhouse: 306

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.585671323  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for courtyard: 305

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.561718460  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for east_terrace: 304

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.553431043  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for east: 303

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.545591565  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for garage_south: 302

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.536234271  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for south_terrace: 301

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.527119636  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for car_park: 300

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.525028809  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for turning_circle: 299

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.510624643  [2023-05-05 11:54:23] frigate.app                    INFO    : Camera processor started for driveway: 297

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.498346892  [2023-05-05 11:54:23] frigate.app                    INFO    : Output process started: 294

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.495202446  [2023-05-05 11:54:23] detector.coral                 INFO    : Starting detection process: 292

2023-05-05 11:54:23,stdout,2023-05-05 11:54:23.081684012  [2023-05-05 11:54:23] peewee_migrate                 INFO    : There is nothing to migrate

2023-05-05 11:54:22,stdout,2023-05-05 11:54:22.704722442  [2023-05-05 11:54:22] peewee_migrate                 INFO    : Starting migrations

2023-05-05 11:54:22,stdout,2023-05-05 11:54:22.700567323  [2023-05-05 11:54:22] frigate.app                    INFO    : Creating directory: /tmp/cache

2023-05-05 11:54:22,stdout,2023-05-05 11:54:22.229196665  [2023-05-05 11:54:22] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)

2023-05-05 11:54:12,stdout,2023-05-05 11:54:12.626014956  [INFO] Starting go2rtc healthcheck service...

2023-05-05 11:54:10,stdout,2023-05-05 11:54:10.158353121  11:54:10.158 INF [webrtc] listen addr=:8555

2023-05-05 11:54:10,stdout,2023-05-05 11:54:10.157945352  11:54:10.157 INF [srtp] listen addr=:8443

2023-05-05 11:54:10,stdout,2023-05-05 11:54:10.157584711  11:54:10.157 INF [rtsp] listen addr=:8554

2023-05-05 11:54:10,stdout,2023-05-05 11:54:10.157030927  11:54:10.156 INF [api] listen addr=:1984

2023-05-05 11:54:10,stdout,2023-05-05 11:54:10.156699116  11:54:10.156 INF go2rtc version 1.2.0 linux/amd64

2023-05-05 11:54:09,stdout,2023-05-05 11:54:09.937560408  [INFO] Starting go2rtc...

2023-05-05 11:54:02,stdout,2023-05-05 11:54:02.689166860  [INFO] Preparing go2rtc config...

2023-05-05 11:54:02,stdout,2023-05-05 11:54:02.689360744  [INFO] Starting NGINX...

2023-05-05 11:54:02,stdout,2023-05-05 11:54:02.689208071  [INFO] Starting Frigate...

2023-05-05 11:54:02,stdout,s6-rc: info: service legacy-services successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service legacy-services: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service nginx successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service nginx: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service frigate successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service go2rtc-healthcheck successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service frigate: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service go2rtc-healthcheck: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service go2rtc successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service frigate-log successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service go2rtc: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service go2rtc-log successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service nginx-log successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service frigate-log: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service go2rtc-log: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service nginx-log: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service log-prepare successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service log-prepare: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service legacy-cont-init successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service s6rc-fdholder successfully started

2023-05-05 11:54:02,stdout,s6-rc: info: service legacy-cont-init: starting

2023-05-05 11:54:02,stdout,s6-rc: info: service fix-attrs successfully started

2023-05-05 11:54:01,stdout,s6-rc: info: service fix-attrs: starting

2023-05-05 11:54:01,stdout,s6-rc: info: service s6rc-oneshot-runner successfully started

2023-05-05 11:54:01,stdout,s6-rc: info: service s6rc-oneshot-runner: starting

2023-05-05 11:54:01,stdout,s6-rc: info: service s6rc-fdholder: starting
blakeblackshear commented 1 year ago

Frigate isn't able to connect to your Coral. This usually means that the Coral is already in use by another process, or the docker run command isn't correctly passing the device. You can see other docker containers with docker ps. If you still have the old Frigate running, you will need to run docker stop <frigate_container> before starting this one.

ripvega commented 1 year ago

The other Frigate (11), is stopped when I run 12.

Those are the only two containers I have.

Screenshot 2023-05-05 at 13 06 36

ashscott@dryderdale_surv:~$ sudo docker ps Password: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 195920cee1a5 ghcr.io/weltenwort/frigate-synology-dsm7:v0.11.1 "/init python3 -u -m…" 6 months ago Up 9 minutes 0.0.0.0:1935->1935/tcp, 0.0.0.0:8001->5000/tcp ashscott_frigate_1

ripvega commented 1 year ago

I shutdown 11 and restarted the NAS, then started 12, just in case the 11 was 'hanging on' to the TPU.

Same result.

It's just not seeing it for some reason. The 11 container finds it OK.

NickM-27 commented 1 year ago

what is your docker command for 12?

ripvega commented 1 year ago

I'm not sure what you mean. I just turn it on or off.

Here are some screenshots, if that helps.

Screenshot 2023-05-05 at 13 38 33 Screenshot 2023-05-05 at 13 39 08 Screenshot 2023-05-05 at 13 39 19 Screenshot 2023-05-05 at 13 39 27
ripvega commented 1 year ago

I'm still no further forward with this. The TPU fails to load with 12 but is fine with 11.

Anyone have any ideas what to do next?

Are the config files the same for 11 and 12? Should I be changing anything?

EDIT: I just tried an alternate Coral TPU, still the same.

EDIT 2: I removed the Coral TPU and plugged it into a test Rpi running home assistant, upgraded Frigate 11 to 12, copied over the same config file, running perfectly!

So, I conclude that the Coral is fine, my config file is fine. My 12 install on my NAS is just not finding the TPU.

I followed this and still get the TPU not found error.

Where to next?

ripvega commented 1 year ago

Please can anybody confirm that they have 12 running with USB Coral on Synology?

I'm at a loss as to how to resolve this.

mossychop commented 1 year ago

I have it working ok. Are you using a powered USB hub? I think the TPU uses a lot of power.

ripvega commented 1 year ago

No, plugged in directly and as it works with 11 I’ve no reason to think power is the issue.

b-col commented 1 year ago

Did you get to the bottom of this?

ripvega commented 1 year ago

Sadly not.

I gave up and am now running it on a separate home assistant machine.

On Wed, 28 Jun 2023 at 13:07, bcollins @.***> wrote:

Did you get to the bottom of this?

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/6393#issuecomment-1611283230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGVQW2A5IEAKF2IOOAIE5DXNQM6PANCNFSM6AAAAAAXW2CZOU . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.