Closed nthulke closed 7 months ago
I will also add that during the minute its running the camera feeds all show up.
corals are not detected, what is your docker compose
Here is my docker compose file
version: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: always
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "200mb" # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/apex_0:/dev/apex_0 # passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
- /dev/apex_1:/dev/apex_1 # passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/awd/frigate/config/:/config
- /home/awd/frigate/config/config.yml:/config/config.yml
- /home/awd/frigate/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: "REMOVED"
FRIGATE_MQTT_PASSWORD: "REMOVED"
FRIGATE_BACKDOORCAM_PATH: "http://REMOVED:REMOVED=@10.0.0.23:8080/stream/getvideo"
FRIGATE_3DPRINTER_PATH: "rtsp://REMOVED:REMOVED@10.0.0.128/live"
Here is the full log running attached
[+] Running 2/2
✔ Network frigate_default Created 0.1s
✔ Container frigate Created 0.1s
Attaching to frigate
frigate | s6-rc: info: service s6rc-fdholder: starting
frigate | s6-rc: info: service s6rc-oneshot-runner: starting
frigate | s6-rc: info: service s6rc-oneshot-runner successfully started
frigate | s6-rc: info: service fix-attrs: starting
frigate | s6-rc: info: service s6rc-fdholder successfully started
frigate | s6-rc: info: service fix-attrs successfully started
frigate | s6-rc: info: service legacy-cont-init: starting
frigate | s6-rc: info: service legacy-cont-init successfully started
frigate | s6-rc: info: service log-prepare: starting
frigate | s6-rc: info: service log-prepare successfully started
frigate | s6-rc: info: service nginx-log: starting
frigate | s6-rc: info: service go2rtc-log: starting
frigate | s6-rc: info: service frigate-log: starting
frigate | s6-rc: info: service frigate-log successfully started
frigate | s6-rc: info: service nginx-log successfully started
frigate | s6-rc: info: service go2rtc-log successfully started
frigate | s6-rc: info: service go2rtc: starting
frigate | s6-rc: info: service go2rtc successfully started
frigate | s6-rc: info: service go2rtc-healthcheck: starting
frigate | s6-rc: info: service frigate: starting
frigate | s6-rc: info: service go2rtc-healthcheck successfully started
frigate | s6-rc: info: service frigate successfully started
frigate | s6-rc: info: service nginx: starting
frigate | s6-rc: info: service nginx successfully started
frigate | s6-rc: info: service legacy-services: starting
frigate | 2024-02-07 22:25:32.149527019 [INFO] Preparing Frigate...
frigate | 2024-02-07 22:25:32.151379102 [INFO] Preparing new go2rtc config...
frigate | 2024-02-07 22:25:32.152832731 [INFO] Starting NGINX...
frigate | s6-rc: info: service legacy-services successfully started
frigate | 2024-02-07 22:25:32.162891245 [INFO] Starting Frigate...
frigate | 2024-02-07 22:25:32.408962539 [INFO] Starting go2rtc...
frigate | 2024-02-07 22:25:32.529108426 22:25:32.529 INF go2rtc version 1.8.4 linux/amd64
frigate | 2024-02-07 22:25:32.529630995 22:25:32.529 INF [rtsp] listen addr=:8554
frigate | 2024-02-07 22:25:32.529790834 22:25:32.529 INF [api] listen addr=:1984
frigate | 2024-02-07 22:25:32.529974712 22:25:32.529 INF [webrtc] listen addr=:8555
frigate | 2024-02-07 22:25:33.570451443 [2024-02-07 22:25:33] frigate.app INFO : Starting Frigate (0.13.1-34fb1c2)
frigate | 2024-02-07 22:25:37.119096798 2024/02/07 22:25:37 [error] 145#145: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:25:42.150805339 [INFO] Starting go2rtc healthcheck service...
frigate | 2024-02-07 22:25:42.210873311 2024/02/07 22:25:42 [error] 148#148: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:25:47.270310120 2024/02/07 22:25:47 [error] 146#146: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:25:52.359143970 2024/02/07 22:25:52 [error] 147#147: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:25:55.821891167 192.168.1.194 - - [07/Feb/2024:22:25:55 +1100] "GET / HTTP/1.1" 200 6637 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:25:55.935320672 2024/02/07 22:25:55 [error] 145#145: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.194, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "192.168.1.189:5000", referrer: "http://192.168.1.189:5000/"
frigate | 2024-02-07 22:25:55.935383956 192.168.1.194 - - [07/Feb/2024:22:25:55 +1100] "GET /api/config HTTP/1.1" 502 559 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:25:57.451350667 2024/02/07 22:25:57 [error] 145#145: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:26:00.954668743 2024/02/07 22:26:00 [error] 145#145: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.194, server: , request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:5001/config", host: "192.168.1.189:5000", referrer: "http://192.168.1.189:5000/"
frigate | 2024-02-07 22:26:00.954734121 192.168.1.194 - - [07/Feb/2024:22:26:00 +1100] "GET /api/config HTTP/1.1" 502 559 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:02.534737932 2024/02/07 22:26:02 [error] 145#145: *15 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:26:07.619122916 2024/02/07 22:26:07 [error] 145#145: *17 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", upstream: "http://127.0.0.1:5001version", host: "127.0.0.1:5000"
frigate | 2024-02-07 22:26:08.179031481 [2024-02-07 22:26:08] peewee_migrate.logs INFO : Starting migrations
frigate | 2024-02-07 22:26:08.183280194 [2024-02-07 22:26:08] peewee_migrate.logs INFO : There is nothing to migrate
frigate | 2024-02-07 22:26:08.189437445 [2024-02-07 22:26:08] frigate.app INFO : Recording process started: 381
frigate | 2024-02-07 22:26:08.192243664 [2024-02-07 22:26:08] frigate.app INFO : go2rtc process pid: 89
frigate | 2024-02-07 22:26:08.223080831 [2024-02-07 22:26:08] detector.coral1 INFO : Starting detection process: 390
frigate | 2024-02-07 22:26:08.226186234 [2024-02-07 22:26:08] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
frigate | 2024-02-07 22:26:08.226605554 [2024-02-07 22:26:08] frigate.detectors.plugins.edgetpu_tfl ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | 2024-02-07 22:26:08.228063660 Process detector:coral1:
frigate | 2024-02-07 22:26:08.228067749 Traceback (most recent call last):
frigate | 2024-02-07 22:26:08.228069633 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | 2024-02-07 22:26:08.228073564 delegate = Delegate(library, options)
frigate | 2024-02-07 22:26:08.228075726 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
frigate | 2024-02-07 22:26:08.228094205 raise ValueError(capture.message)
frigate | 2024-02-07 22:26:08.228095603 ValueError
frigate | 2024-02-07 22:26:08.228096795
frigate | 2024-02-07 22:26:08.228098737 During handling of the above exception, another exception occurred:
frigate | 2024-02-07 22:26:08.228099980
frigate | 2024-02-07 22:26:08.228101292 Traceback (most recent call last):
frigate | 2024-02-07 22:26:08.228102801 File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | 2024-02-07 22:26:08.228129190 self.run()
frigate | 2024-02-07 22:26:08.228130787 File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | 2024-02-07 22:26:08.228132257 self._target(*self._args, **self._kwargs)
frigate | 2024-02-07 22:26:08.228133736 File "/opt/frigate/frigate/object_detection.py", line 102, in run_detector
frigate | 2024-02-07 22:26:08.228150629 object_detector = LocalObjectDetector(detector_config=detector_config)
frigate | 2024-02-07 22:26:08.228152109 File "/opt/frigate/frigate/object_detection.py", line 53, in __init__
frigate | 2024-02-07 22:26:08.228153585 self.detect_api = create_detector(detector_config)
frigate | 2024-02-07 22:26:08.228154979 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
frigate | 2024-02-07 22:26:08.228156205 return api(detector_config)
frigate | 2024-02-07 22:26:08.228157683 File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 41, in __init__
frigate | 2024-02-07 22:26:08.228159099 edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | 2024-02-07 22:26:08.228178445 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | 2024-02-07 22:26:08.228179942 raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | 2024-02-07 22:26:08.228181321 ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate | 2024-02-07 22:26:08.228182482
frigate | 2024-02-07 22:26:08.233640080 [2024-02-07 22:26:08] frigate.app INFO : Output process started: 397
frigate | 2024-02-07 22:26:08.235057721 [2024-02-07 22:26:08] detector.coral2 INFO : Starting detection process: 393
frigate | 2024-02-07 22:26:08.235061924 [2024-02-07 22:26:08] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:1
frigate | 2024-02-07 22:26:08.235064260 [2024-02-07 22:26:08] frigate.detectors.plugins.edgetpu_tfl ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
frigate | 2024-02-07 22:26:08.235279813 Process detector:coral2:
frigate | 2024-02-07 22:26:08.241426837 Traceback (most recent call last):
frigate | 2024-02-07 22:26:08.241431280 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
frigate | 2024-02-07 22:26:08.241432944 delegate = Delegate(library, options)
frigate | 2024-02-07 22:26:08.241434639 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
frigate | 2024-02-07 22:26:08.241436047 raise ValueError(capture.message)
frigate | 2024-02-07 22:26:08.241437243 ValueError
frigate | 2024-02-07 22:26:08.241438482
frigate | 2024-02-07 22:26:08.241439992 During handling of the above exception, another exception occurred:
frigate | 2024-02-07 22:26:08.241441147
frigate | 2024-02-07 22:26:08.241442428 Traceback (most recent call last):
frigate | 2024-02-07 22:26:08.241443857 File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
frigate | 2024-02-07 22:26:08.241445022 self.run()
frigate | 2024-02-07 22:26:08.241446446 File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
frigate | 2024-02-07 22:26:08.241447762 self._target(*self._args, **self._kwargs)
frigate | 2024-02-07 22:26:08.241449108 File "/opt/frigate/frigate/object_detection.py", line 102, in run_detector
frigate | 2024-02-07 22:26:08.241450535 object_detector = LocalObjectDetector(detector_config=detector_config)
frigate | 2024-02-07 22:26:08.241451923 File "/opt/frigate/frigate/object_detection.py", line 53, in __init__
frigate | 2024-02-07 22:26:08.241453196 self.detect_api = create_detector(detector_config)
frigate | 2024-02-07 22:26:08.241454589 File "/opt/frigate/frigate/detectors/__init__.py", line 18, in create_detector
frigate | 2024-02-07 22:26:08.241455739 return api(detector_config)
frigate | 2024-02-07 22:26:08.241457168 File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 41, in __init__
frigate | 2024-02-07 22:26:08.241458546 edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
frigate | 2024-02-07 22:26:08.241460073 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
frigate | 2024-02-07 22:26:08.241461476 raise ValueError('Failed to load delegate from {}\n{}'.format(
frigate | 2024-02-07 22:26:08.241462828 ValueError: Failed to load delegate from libedgetpu.so.1.0
frigate | 2024-02-07 22:26:08.241463920
frigate | 2024-02-07 22:26:08.261443268 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for 3dprinter: 405
frigate | 2024-02-07 22:26:08.291828717 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for woodshed: 407
frigate | 2024-02-07 22:26:08.291833074 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for driveway: 410
frigate | 2024-02-07 22:26:08.291835024 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for frontyard: 411
frigate | 2024-02-07 22:26:08.301300196 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for backyard: 416
frigate | 2024-02-07 22:26:08.308306931 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for garage: 418
frigate | 2024-02-07 22:26:08.315136819 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for driveway2: 420
frigate | 2024-02-07 22:26:08.322153930 [2024-02-07 22:26:08] frigate.app INFO : Camera processor started for backdoor: 423
frigate | 2024-02-07 22:26:08.329285336 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for 3dprinter: 425
frigate | 2024-02-07 22:26:08.337226564 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for woodshed: 429
frigate | 2024-02-07 22:26:08.344397461 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for driveway: 433
frigate | 2024-02-07 22:26:08.352005482 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for frontyard: 437
frigate | 2024-02-07 22:26:08.364148091 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for backyard: 443
frigate | 2024-02-07 22:26:08.375088311 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for garage: 451
frigate | 2024-02-07 22:26:08.384553464 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for driveway2: 456
frigate | 2024-02-07 22:26:08.392509556 [2024-02-07 22:26:08] frigate.app INFO : Capture process started for backdoor: 465
frigate | 2024-02-07 22:26:20.971281741 192.168.1.194 - - [07/Feb/2024:22:26:20 +1100] "GET /api/config HTTP/1.1" 200 37080 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.013320308 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/backdoor/latest.jpg?h=100 HTTP/1.1" 200 4866 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.018518363 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/driveway2/latest.jpg?h=100 HTTP/1.1" 200 3866 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.022143777 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/3dprinter/latest.jpg?h=100 HTTP/1.1" 499 0 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.022816010 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/backyard/latest.jpg?h=100 HTTP/1.1" 499 0 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.023163880 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/driveway/latest.jpg?h=100 HTTP/1.1" 499 0 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.023503869 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/frontyard/latest.jpg?h=100 HTTP/1.1" 499 0 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.023665525 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/garage/latest.jpg?h=100 HTTP/1.1" 499 0 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.023811445 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/woodshed/latest.jpg?h=100 HTTP/1.1" 499 0 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.078737084 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/driveway/latest.jpg?h=323 HTTP/1.1" 200 9498 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.078748450 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/driveway2/latest.jpg?h=323 HTTP/1.1" 200 26075 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.078883411 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/backdoor/latest.jpg?h=323 HTTP/1.1" 200 31797 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.080191481 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/frontyard/latest.jpg?h=323 HTTP/1.1" 200 21753 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.084962207 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/backyard/latest.jpg?h=323 HTTP/1.1" 200 19149 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.091599117 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/3dprinter/latest.jpg?h=323 HTTP/1.1" 200 27902 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.099020743 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/woodshed/latest.jpg?h=323 HTTP/1.1" 200 12309 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:21.110686166 192.168.1.194 - - [07/Feb/2024:22:26:21 +1100] "GET /api/garage/latest.jpg?h=323 HTTP/1.1" 200 26793 "http://192.168.1.189:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-"
frigate | 2024-02-07 22:26:28.515852436 [2024-02-07 22:26:28] frigate.watchdog INFO : Detection appears to have stopped. Exiting Frigate...
frigate | 2024-02-07 22:26:28.516864475 [2024-02-07 22:26:28] frigate.watchdog INFO : Detection appears to have stopped. Exiting Frigate...
frigate | s6-rc: info: service legacy-services: stopping
frigate | s6-rc: info: service legacy-services successfully stopped
frigate | s6-rc: info: service nginx: stopping
frigate | s6-rc: info: service go2rtc-healthcheck: stopping
frigate | 2024-02-07 22:26:28.528173359 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
frigate | s6-rc: info: service go2rtc-healthcheck successfully stopped
frigate | 2024-02-07 22:26:28.574677021 [INFO] Service NGINX exited with code 0 (by signal 0)
frigate | s6-rc: info: service nginx successfully stopped
frigate | s6-rc: info: service nginx-log: stopping
frigate | s6-rc: info: service frigate: stopping
frigate | 2024-02-07 22:26:28.577129089 [2024-02-07 22:26:28] frigate.app INFO : Stopping...
frigate | s6-rc: info: service nginx-log successfully stopped
frigate | 2024-02-07 22:26:28.577993306 [2024-02-07 22:26:28] frigate.record.cleanup INFO : Exiting recording cleanup...
frigate | 2024-02-07 22:26:28.579313770 [2024-02-07 22:26:28] frigate.watchdog INFO : Exiting watchdog...
frigate | 2024-02-07 22:26:28.580153166 [2024-02-07 22:26:28] frigate.stats INFO : Exiting stats emitter...
frigate | 2024-02-07 22:26:28.580156788 [2024-02-07 22:26:28] frigate.events.cleanup INFO : Exiting event cleanup...
frigate | 2024-02-07 22:26:28.580158709 [2024-02-07 22:26:28] frigate.ptz.autotrack INFO : Exiting autotracker...
frigate | 2024-02-07 22:26:28.580160502 [2024-02-07 22:26:28] frigate.storage INFO : Exiting storage maintainer...
frigate | 2024-02-07 22:26:28.580162175 [2024-02-07 22:26:28] frigate.object_processing INFO : Exiting object processor...
frigate | 2024-02-07 22:26:28.994312856 [2024-02-07 22:26:28] frigate.comms.ws INFO : Exiting websocket client...
frigate | 2024-02-07 22:26:29.527446142 [2024-02-07 22:26:29] frigate.events.maintainer INFO : Exiting event processor...
frigate | 2024-02-07 22:26:29.528315724 [2024-02-07 22:26:29] peewee.sqliteq INFO : writer received shutdown request, exiting.
frigate | 2024-02-07 22:26:29.531320782 [2024-02-07 22:26:29] watchdog.3dprinter INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.531324827 [2024-02-07 22:26:29] watchdog.3dprinter INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.532774698 [2024-02-07 22:26:29] watchdog.frontyard INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.532779643 [2024-02-07 22:26:29] watchdog.frontyard INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.532781587 [2024-02-07 22:26:29] watchdog.woodshed INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.532783284 [2024-02-07 22:26:29] watchdog.woodshed INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.532784973 [2024-02-07 22:26:29] watchdog.backyard INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.532786494 [2024-02-07 22:26:29] watchdog.backyard INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.532788030 [2024-02-07 22:26:29] watchdog.driveway INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.532789534 [2024-02-07 22:26:29] watchdog.driveway INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.532791149 [2024-02-07 22:26:29] watchdog.garage INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.532792681 [2024-02-07 22:26:29] watchdog.garage INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.532794305 [2024-02-07 22:26:29] watchdog.backdoor INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.533281547 [2024-02-07 22:26:29] watchdog.backdoor INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.533799181 [2024-02-07 22:26:29] watchdog.driveway2 INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.534051980 [2024-02-07 22:26:29] watchdog.driveway2 INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.578781421 [2024-02-07 22:26:29] watchdog.driveway2 INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.579166848 [2024-02-07 22:26:29] watchdog.driveway2 INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:29.617782125 [2024-02-07 22:26:29] watchdog.backdoor INFO : Terminating the existing ffmpeg process...
frigate | 2024-02-07 22:26:29.618218772 [2024-02-07 22:26:29] watchdog.backdoor INFO : Waiting for ffmpeg to exit gracefully...
frigate | 2024-02-07 22:26:30.445815143 [2024-02-07 22:26:30] frigate.video INFO : frontyard: exiting subprocess
frigate | 2024-02-07 22:26:30.897868970 [2024-02-07 22:26:30] frigate.output INFO : exiting output process...
frigate | 2024-02-07 22:26:33.862444820 /usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 54 leaked shared_memory objects to clean up at shutdown
frigate | 2024-02-07 22:26:33.862448412 warnings.warn('resource_tracker: There appear to be %d '
frigate | 2024-02-07 22:26:33.865748391 [INFO] Service Frigate exited with code 0 (by signal 0)
frigate | s6-rc: info: service frigate successfully stopped
frigate | s6-rc: info: service go2rtc: stopping
frigate | s6-rc: info: service frigate-log: stopping
frigate | 2024-02-07 22:26:33.867981965 exit with signal: terminated
frigate | s6-rc: info: service frigate-log successfully stopped
frigate | 2024-02-07 22:26:33.873597931 [INFO] The go2rtc service exited with code 0 (by signal 0)
frigate | s6-rc: info: service go2rtc successfully stopped
frigate | s6-rc: info: service go2rtc-log: stopping
frigate | s6-rc: info: service go2rtc-log successfully stopped
frigate | s6-rc: info: service log-prepare: stopping
frigate | s6-rc: info: service s6rc-fdholder: stopping
frigate | s6-rc: info: service log-prepare successfully stopped
frigate | s6-rc: info: service legacy-cont-init: stopping
frigate | s6-rc: info: service s6rc-fdholder successfully stopped
frigate | s6-rc: info: service legacy-cont-init successfully stopped
frigate | s6-rc: info: service fix-attrs: stopping
frigate | s6-rc: info: service fix-attrs successfully stopped
frigate | s6-rc: info: service s6rc-oneshot-runner: stopping
frigate | s6-rc: info: service s6rc-oneshot-runner successfully stopped
frigate exited with code 0
Weird, looks like it is just erroring out trying to connect to the corals. Have you tried a full system reboot?
Also have the issues since updating to 0.13.1-34FB1C2 from 0.12. M2 Coral isn't detected at system level though (running the example scripts gives the same error), so might be a coral issue rather than Frigate?
> --model test_data/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
> --labels test_data/inat_bird_labels.txt \
> --input test_data/parrot.jpg
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
delegate = Delegate(library, options)
File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
raise ValueError(capture.message)
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "examples/classify_image.py", line 121, in <module>
main()
File "examples/classify_image.py", line 71, in main
interpreter = make_interpreter(*args.model.split('@'))
File "/usr/lib/python3/dist-packages/pycoral/utils/edgetpu.py", line 87, in make_interpreter
delegates = [load_edgetpu_delegate({'device': device} if device else {})]
File "/usr/lib/python3/dist-packages/pycoral/utils/edgetpu.py", line 52, in load_edgetpu_delegate
return tflite.load_delegate(_EDGETPU_SHARED_LIB, options or {})
File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 163, in load_delegate
library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1
I have found some information since this happened and it appears to be an issue with the OS kernel updating to 6.5. There are a lot of people with the same issue, just by chance it happened when I updated to 0.13 google have not updated their drivers to handle it. There are some 3rd party drivers someone has created but I couldn't get them to work, I think in my tinkering to fix it I broke it further. I might need to rebuild my OS and lock it in to kernel 6.0. Once I'm off my phone I'll provide some links for more information.
This is the fix apparently - https://github.com/google/gasket-driver/ Found it here: https://github.com/google-coral/edgetpu/issues/808 There are many other pages relating to it too.
I followed the instructions here https://coral.ai/docs/m2/get-started/#troubleshooting-on-linux which was to disable apex and gasket, reinstall/update and then reinstate apex/gasket\ That initially worked for me. I will try your link next, @nthulke
Edit: After a couple of reboots and some heavy googling on how to build debian stuff, seems to be working now. Thanks 👍
Linking https://github.com/blakeblackshear/frigate/issues/9810 I thinks it's the same issue. I will test workaround and report here and there.
I can confirm that building gasket
driver DKMS from source gets the issue resolved on my system.
I still cannot understand why this worked flawlessly until 2 days ago. I'm on Debian stable (kernel 5.10), I didn't update anything recently except security updates, and the stacktrace appeared suddently.
ANyway, it's working again. Thanks for the pointers.
Describe the problem you are having
Every time it starts, it lasts about 1 min then restarts the docker image and just loops
Version
0.13.1-34FB1C2
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
Coral version
M.2
Network connection
Wired
Camera make and model
RTSP mixed
Any other information that may be helpful
There is one section in the logs showing that no TPU detected but I can see in the system page it sees both TPUs