blakeblackshear / frigate

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

[Support]: Crashing with 0.12 RC1 #5861

Closed ivanhgg closed 1 year ago

ivanhgg commented 1 year ago

Describe the problem you are having

Hi, since update to 0.12.0 RC1 from 0.12.0 Beta 10 crashes after some minutes.

With Beta 10 was working fine.

Frigate HomeAssistant integration updated to v4.0.0-rc1

Versión core-2023.3.6
Tipo de instalación Home Assistant OS
Desarrollo false
Supervisor true
Docker true
Usuario root
Entorno virtual false
Versión de Python 3.10.10
Familia de Sistema Operativo Linux
Versión del Sistema Operativo 5.15.90
Arquitectura de CPU x86_64
Zona horaria Europe/Madrid
Directorio de configuración /config

Versión core-2023.3.6 Tipo de instalación Home Assistant OS Desarrollo false Supervisor true Docker true Usuario root Entorno virtual false Versión de Python 3.10.10 Familia de Sistema Operativo Linux Versión del Sistema Operativo 5.15.90 Arquitectura de CPU x86_64 Zona horaria Europe/Madrid Directorio de configuración /config Home Assistant Community Store

ADMINISTRAR GitHub API ok GitHub Content ok GitHub Web ok GitHub API Calls Remaining 5000 Installed Version 1.31.0 Stage running Available Repositories 1250 Downloaded Repositories 12 Home Assistant Cloud

ADMINISTRAR Sesión iniciada true Caducidad de la suscripción 5 de enero de 2024, 01:00 Relayer conectado true Remoto habilitado true Remoto conectado true Alexa habilitada false Google habilitado false Servidor remoto eu-central-1-1.ui.nabu.casa Se llega al Servidor de Certificados ok Se llega al Servidor de Autenticación ok Se llega a Home Assistant Cloud ok Home Assistant Supervisor

Sistema Operativo del Host Home Assistant OS 9.5 Canal de actualización stable Versión del Supervisor supervisor-2023.03.2 Versión del agente 1.4.1 Versión de Docker 20.10.22 Disco total 30.8 GB Disco usado 8.5 GB Saludable true Soportado true Placa ova API del Supervisor ok Versión de la API ok Complementos instalados Samba share (10.0.0), Terminal & SSH (9.6.1), File editor (5.5.0), Mosquitto broker (6.2.0), Home Assistant Google Drive Backup (0.110.3), Frigate Beta (0.12.0) (0.12.0-rc1) Dashboards

ADMINISTRAR Paneles de control 2 Recursos 4 Vistas 11 Modo storage Recorder

Hora de inicio de ejecución más antigua 24 de marzo de 2023, 03:12 Hora de inicio de la ejecución actual 28 de marzo de 2023, 13:11 Tamaño estimado de la base de datos (MiB) 608.24 MiB Motor de la base de datos sqlite Versión de la base de datos 3.38.5 Sonoff

Version 3.4.0 (5406fa7) Cloud devices online 20 / 27 Local devices online 17 / 19

Version

0.12 RC1

Frigate config file

mqtt:
  host: 192.168.x.x
  user: xxxxxxx
  password: xxxxxxxxx

detectors:
  coral:
    type: edgetpu
    device: usb

cameras:
  camara1:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxx:xxxxxxxxxx@192.168.x.x:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif
          roles:
            - detect
            - record
    detect:
      width: 640
      height: 380
    objects: 
      track:
        - person
        - car
        - motorcycle
      mask: 640,0,640,140,410,100,296,87,193,50,196,0
      filters:
        car:
          mask: 640,0,0,0,177,159,417,133,640,254

    motion:
      improve_contrast: True
      mask:
        - 640,0,640,140,410,100,296,87,193,50,196,0
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      retain:
        default: 5
    record:
      enabled: true
      events:
        retain:
          default: 5
# Siguiente camara
  colegio:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxx:xxxxxxxxxx@192.168.x.x:554/cam/realmonitor?channel=10&subtype=1&unicast=true&proto=Onvif
          roles:
            - detect
            - record

      output_args: 
        rtmp: -c:v libx264 -an -f flv
    detect:
      width: 640
      height: 380
    objects: 
      track:
        - person
    motion:
      mask:
        - 640,0,418,0,489,46,640,104
        - 0,380,0,0,250,0,251,380
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      retain:
        default: 5
    record:
      enabled: true
      events:
        retain:
          default: 5
#Siguiente cámara
  detrashuerto:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxx:xxxxxxxxxx@192.168.x.x:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif
          roles:
            - detect
            - record
    detect:
      width: 640
      height: 380
    objects: 
      track:
        - person
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      retain:
        default: 5
    record:
      enabled: true
      events:
        retain:
          default: 5
#Siguiente cámara
  detrasparking:
    ffmpeg:
      inputs:
        - path: xxxxxx:xxxxxxxxxx@192.168.x.x:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif
          roles:
            - detect
            - record
    detect:
      width: 640
      height: 380
    objects: 
      track:
        - person
      filters:
        person:
          mask: 0,380,0,185,151,112,235,125,211,380
    motion:
      mask:
        - 0,380,0,185,151,112,235,125,211,380
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      retain:
        default: 5
    record:
      enabled: true
      events:
        retain:
          default: 5
#Siguiente cámara
  vecino:
    ffmpeg:
      inputs:
        - path: rtsp://xxxxxx:xxxxxxxxxx@192.168.x.x:554/cam/realmonitor?channel=11&subtype=1&unicast=true&proto=Onvif
          roles:
            - detect
            - record
    detect:
      width: 640
      height: 380
    objects: 
      track:
        - person
        - car
        - motorcycle
    motion:
      mask:
        - 0,0,0,185,141,160,136,0
        - 640,380,640,0,354,0,339,380
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      retain:
        default: 5
    record:
      enabled: true
      events:
        retain:
          default: 5

# Optional: birdseye configuration
birdseye:
  # Optional: Enable birdseye view (default: shown below)
  enabled: True
  # Optional: Width of the output resolution (default: shown below)
  width: 1280
  # Optional: Height of the output resolution (default: shown below)
  height: 720
  # Optional: Encoding quality of the mpeg1 feed (default: shown below)
  # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
  quality: 8
  # Optional: Mode of the view. Available options are: objects, motion, and continuous
  #   objects - cameras are included if they have had a tracked object within the last 30 seconds
  #   motion - cameras are included if motion was detected in the last 30 seconds
  #   continuous - all cameras are included always
  mode: continuous

Relevant log output

ERROR LOG: 

Frigate Beta (0.12.0)
2023-03-28 11:29:06.838498962    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.838544465    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.838556887  
2023-03-28 11:29:06.838558465  Thread 0x00007f7675ab66c0 (most recent call first):
2023-03-28 11:29:06.838605514    File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
2023-03-28 11:29:06.838663175    File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
2023-03-28 11:29:06.838702622    File "/opt/frigate/frigate/storage.py", line 181 in run
2023-03-28 11:29:06.838788142    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.838914413    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.838917255  
2023-03-28 11:29:06.838919750  Thread 0x00007f76762b76c0 (most recent call first):
2023-03-28 11:29:06.838962436    File "/usr/lib/python3.9/selectors.py", line 416 in select
2023-03-28 11:29:06.838995756    File "/usr/lib/python3.9/multiprocessing/connection.py", line 936 in wait
2023-03-28 11:29:06.839181292    File "/usr/lib/python3.9/multiprocessing/connection.py", line 429 in _poll
2023-03-28 11:29:06.839184226    File "/usr/lib/python3.9/multiprocessing/connection.py", line 262 in poll
2023-03-28 11:29:06.839186315    File "/usr/lib/python3.9/multiprocessing/queues.py", line 113 in get
2023-03-28 11:29:06.839412573    File "/opt/frigate/frigate/object_processing.py", line 904 in run
2023-03-28 11:29:06.839414991    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.839416556    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.839417624  
2023-03-28 11:29:06.839419062  Thread 0x00007f7676c4f6c0 (most recent call first):
2023-03-28 11:29:06.839420532    File "/usr/lib/python3.9/selectors.py", line 416 in select
2023-03-28 11:29:06.839996281    File "/usr/lib/python3.9/socketserver.py", line 232 in serve_forever
2023-03-28 11:29:06.840059657    File "/usr/lib/python3.9/threading.py", line 892 in run
2023-03-28 11:29:06.840087140    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.840124366    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.840141215  
2023-03-28 11:29:06.840142884  Thread 0x00007f7698fff6c0 (most recent call first):
2023-03-28 11:29:06.840232371    File "/usr/local/lib/python3.9/dist-packages/ws4py/manager.py", line 141 in poll
2023-03-28 11:29:06.840332597    File "/usr/local/lib/python3.9/dist-packages/ws4py/manager.py", line 312 in run
2023-03-28 11:29:06.840387786    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.840419903    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.840421196  
2023-03-28 11:29:06.840422614  Thread 0x00007f769027f6c0 (most recent call first):
2023-03-28 11:29:06.840492478    File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1150 in _loop
2023-03-28 11:29:06.840646158    File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1756 in loop_forever
2023-03-28 11:29:06.840878875    File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 3591 in _thread_main
2023-03-28 11:29:06.840880801    File "/usr/lib/python3.9/threading.py", line 892 in run
2023-03-28 11:29:06.840931531    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.840949631    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.840950756  
2023-03-28 11:29:06.840952165  Thread 0x00007f7697ffd6c0 (most recent call first):
2023-03-28 11:29:06.841069996    File "/usr/lib/python3.9/threading.py", line 312 in wait
2023-03-28 11:29:06.841071908    File "/usr/lib/python3.9/queue.py", line 171 in get
2023-03-28 11:29:06.841185305    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 159 in loop
2023-03-28 11:29:06.841324193    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 136 in run
2023-03-28 11:29:06.841435344    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 266 in run
2023-03-28 11:29:06.841511719    File "/usr/lib/python3.9/threading.py", line 892 in run
2023-03-28 11:29:06.841559358    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.841636760    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.841638178  
2023-03-28 11:29:06.841639623  Thread 0x00007f76987fe6c0 (most recent call first):
2023-03-28 11:29:06.841757381    File "/usr/lib/python3.9/threading.py", line 312 in wait
2023-03-28 11:29:06.841798929    File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
2023-03-28 11:29:06.841907295    File "/usr/lib/python3.9/threading.py", line 892 in run
2023-03-28 11:29:06.841954381    File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2023-03-28 11:29:06.841956181    File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2023-03-28 11:29:06.841957276  
2023-03-28 11:29:06.841974387  Thread 0x00007f769d459740 (most recent call first):
2023-03-28 11:29:06.842073646    File "/usr/lib/python3.9/selectors.py", line 416 in select
2023-03-28 11:29:06.842138616    File "/usr/lib/python3.9/socketserver.py", line 232 in serve_forever
2023-03-28 11:29:06.842333719    File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 766 in serve_forever
2023-03-28 11:29:06.842389986    File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 1069 in run_simple
2023-03-28 11:29:06.842408205    File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1191 in run
2023-03-28 11:29:06.842503334    File "/opt/frigate/frigate/app.py", line 403 in start
2023-03-28 11:29:06.842549492    File "/opt/frigate/frigate/__main__.py", line 16 in <module>
2023-03-28 11:29:06.842680291    File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
2023-03-28 11:29:06.842848676    File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
2023-03-28 11:29:07.042808549  172.30.32.2 - - [28/Mar/2023:13:29:07 +0200] "GET /ws HTTP/1.1" 101 22845 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1"
2023-03-28 11:29:07.136485964  [INFO] Service Frigate exited with code 256 (by signal 6)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service go2rtc-healthcheck: stopping
2023-03-28 11:29:07.152525234  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2023-03-28 11:29:07.173086876  [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
s6-rc: info: service frigate-log: stopping
2023-03-28 11:29:07.178349561  exit OK
s6-rc: info: service nginx-log successfully stopped
s6-rc: info: service frigate-log successfully stopped
2023-03-28 11:29:07.184698115  [INFO] The go2rtc service exited with code 0 (by signal 0)
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service go2rtc-log successfully stopped
s6-rc: info: service log-prepare: stopping
s6-rc: info: service s6rc-fdholder: stopping
s6-rc: info: service log-prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service s6rc-fdholder successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

BOOTING LOG: 

s6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service frigate-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
2023-03-28 16:23:16.348244409  [INFO] Preparing go2rtc config...
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
2023-03-28 16:23:16.357512780  [INFO] Starting Frigate...
2023-03-28 16:23:16.359910734  [INFO] Starting NGINX...
s6-rc: info: service legacy-services successfully started
2023-03-28 16:23:16.406724005  [INFO] Got IP address from supervisor: 192.168.0.2
2023-03-28 16:23:16.465305272  [INFO] Got WebRTC port from supervisor: 8555
2023-03-28 16:23:16.814403658  [INFO] Starting go2rtc...
2023-03-28 16:23:16.963188070  18:23:16.963 INF go2rtc version 1.2.0 linux/amd64
2023-03-28 16:23:16.963497669  18:23:16.963 INF [api] listen addr=:1984
2023-03-28 16:23:16.963643321  18:23:16.963 INF [rtsp] listen addr=:8554
2023-03-28 16:23:16.963992503  18:23:16.963 INF [srtp] listen addr=:8443
2023-03-28 16:23:16.964320722  18:23:16.964 INF [webrtc] listen addr=:8555
2023-03-28 16:23:18.231468377  [2023-03-28 18:23:18] frigate.app                    INFO    : Starting Frigate (0.12.0-7d589bd)
2023-03-28 16:23:18.329115253  [2023-03-28 18:23:18] frigate.app                    INFO    : Creating directory: /tmp/cache
2023-03-28 16:23:18.332246787  [2023-03-28 18:23:18] peewee_migrate                 INFO    : Starting migrations
2023-03-28 16:23:18.381575646  [2023-03-28 18:23:18] peewee_migrate                 INFO    : There is nothing to migrate
2023-03-28 16:23:18.417213799  [2023-03-28 18:23:18] frigate.app                    INFO    : Output process started: 300
2023-03-28 16:23:18.432876993  [2023-03-28 18:23:18] frigate.app                    INFO    : Camera processor started for camara1: 304
2023-03-28 16:23:18.445920055  [2023-03-28 18:23:18] frigate.app                    INFO    : Camera processor started for colegio: 305
2023-03-28 16:23:18.446121940  [2023-03-28 18:23:18] frigate.app                    INFO    : Camera processor started for detrashuerto: 308
2023-03-28 16:23:18.448562104  [2023-03-28 18:23:18] frigate.app                    INFO    : Camera processor started for detrasparking: 310
2023-03-28 16:23:18.463118911  [2023-03-28 18:23:18] frigate.app                    INFO    : Camera processor started for vecino: 313
2023-03-28 16:23:18.473055041  [2023-03-28 18:23:18] frigate.app                    INFO    : Capture process started for camara1: 315
2023-03-28 16:23:18.473209190  [2023-03-28 18:23:18] frigate.app                    INFO    : Capture process started for colegio: 317
2023-03-28 16:23:18.484037520  [2023-03-28 18:23:18] frigate.app                    INFO    : Capture process started for detrashuerto: 320
2023-03-28 16:23:18.502677682  [2023-03-28 18:23:18] frigate.app                    INFO    : Capture process started for detrasparking: 327
2023-03-28 16:23:18.503035085  [2023-03-28 18:23:18] frigate.app                    INFO    : Capture process started for vecino: 330
2023-03-28 16:23:21.325064410  [2023-03-28 18:23:18] detector.coral                 INFO    : Starting detection process: 299
2023-03-28 16:23:21.325525608  [2023-03-28 18:23:18] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2023-03-28 16:23:21.329880676  [2023-03-28 18:23:21] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2023-03-28 16:23:26.355649858  [INFO] Starting go2rtc healthcheck service...

FFprobe output from your camera

CAM 1:
Stream 0:
Return Code: 0

Video:

Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 640x360
FPS: 20/1

CAM 2:

Stream 0:
Return Code: 0

Video:

Codec: H.265 / HEVC (High Efficiency Video Coding)
Resolution: 640x480
FPS: Unknown

CAM 3:

Stream 0:
Return Code: 0

Video:

Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 640x360
FPS: 10/1

CAM 4:
Stream 0:
Return Code: 0

Video:

Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 640x360
FPS: 10/1

CAM 5:
Stream 0:
Return Code: 0

Video:

Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 640x360
FPS: 10/1

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

hikvision

Any other information that may be helpful

When I click to the go2rtc dashboard link into System Menu y get:

404: Not Found

This behavior was same with previous version Beta10.

Go2RTC Log:

2023-03-28 16:23:16.348244409 [INFO] Preparing go2rtc config... 2023-03-28 16:23:16.406724005 [INFO] Got IP address from supervisor: 192.168.0.2 2023-03-28 16:23:16.465305272 [INFO] Got WebRTC port from supervisor: 8555 2023-03-28 16:23:16.814403658 [INFO] Starting go2rtc... 2023-03-28 16:23:16.963188070 18:23:16.963 INF go2rtc version 1.2.0 linux/amd64 2023-03-28 16:23:16.963497669 18:23:16.963 INF [api] listen addr=:1984 2023-03-28 16:23:16.963643321 18:23:16.963 INF [rtsp] listen addr=:8554 2023-03-28 16:23:16.963992503 18:23:16.963 INF [srtp] listen addr=:8443 2023-03-28 16:23:16.964320722 18:23:16.964 INF [webrtc] listen addr=:8555 2023-03-28 16:23:26.355649858 [INFO] Starting go2rtc healthcheck service... 2023-03-28 16:25:33.276332890 18:25:33.276 INF [streams] create new stream url=rtsp://xxx:xxxx@192.168.x.x:554/cam/realmonitor?channel=6&subtype=1&unicast=true&proto=Onvif 2023-03-28 16:25:33.332560917 18:25:33.332 INF [streams] create new stream url=rtsp://xxx:xxxx@192.168.x.x:554/cam/realmonitor?channel=8&subtype=1&unicast=true&proto=Onvif 2023-03-28 16:25:33.336002824 18:25:33.335 INF [streams] create new stream url=rtsp://xxx:xxxx@192.168.x.x:554/cam/realmonitor?channel=11&subtype=1&unicast=true&proto=Onvif 2023-03-28 16:25:33.336007689 18:25:33.335 INF [streams] create new stream url=rtsp://xxx:xxxx@192.168.x.x:554/cam/realmonitor?channel=11&subtype=1&unicast=true&proto=Onvif 2023-03-28 16:25:33.363874375 18:25:33.363 INF [streams] create new stream url=rtsp://xxx:xxxx@192.168.x.x:554/cam/realmonitor?channel=9&subtype=1&unicast=true&proto=Onvif 2023-03-28 16:25:33.365118647 18:25:33.365 INF [streams] create new stream url=rtsp://xxx:xxxx@192.168.x.x:554/cam/realmonitor?channel=7&subtype=1&unicast=true&proto=Onvif

NGINX LOG:

2023-03-28 16:23:16.359910734 [INFO] Starting NGINX... 2023-03-28 16:25:30.919509606 172.30.32.2 - - [28/Mar/2023:18:25:30 +0200] "GET // HTTP/1.1" 200 6699 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:31.035322393 172.30.32.2 - - [28/Mar/2023:18:25:31 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:31.282812258 172.30.32.2 - - [28/Mar/2023:18:25:31 +0200] "GET //api/camara1/latest.jpg?h=298 HTTP/1.1" 200 16907 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:31.288901635 172.30.32.2 - - [28/Mar/2023:18:25:31 +0200] "GET //api/vecino/latest.jpg?h=298 HTTP/1.1" 200 16978 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:31.296250788 172.30.32.2 - - [28/Mar/2023:18:25:31 +0200] "GET //api/colegio/latest.jpg?h=298 HTTP/1.1" 200 25163 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:31.299553046 172.30.32.2 - - [28/Mar/2023:18:25:31 +0200] "GET //api/detrasparking/latest.jpg?h=298 HTTP/1.1" 200 18994 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:31.300645198 172.30.32.2 - - [28/Mar/2023:18:25:31 +0200] "GET //api/detrashuerto/latest.jpg?h=298 HTTP/1.1" 200 22205 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:25:33.113973073 172.30.32.2 - - [28/Mar/2023:18:25:33 +0200] "GET /ws HTTP/1.1" 101 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.650651274 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET // HTTP/1.1" 200 6699 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.686955416 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET //api/camara1/latest.jpg?h=298 HTTP/1.1" 200 16710 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.694463234 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET //api/colegio/latest.jpg?h=298 HTTP/1.1" 200 25025 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.697803204 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET //api/detrashuerto/latest.jpg?h=298 HTTP/1.1" 200 22122 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.708080402 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET //api/vecino/latest.jpg?h=298 HTTP/1.1" 200 16983 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.708843833 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:17.710984896 172.30.32.2 - - [28/Mar/2023:18:27:17 +0200] "GET //api/detrasparking/latest.jpg?h=298 HTTP/1.1" 200 19017 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:21.528123995 172.30.32.2 - - [28/Mar/2023:18:27:21 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0//" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:21.853079495 172.30.32.2 - - [28/Mar/2023:18:27:21 +0200] "GET /api/config/raw HTTP/1.1" 200 988 "http://192.168.0.2:8123/config" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:22.113588061 172.30.32.2 - - [28/Mar/2023:18:27:22 +0200] "GET //api/config/schema.json HTTP/1.1" 200 25632 "http://192.168.0.2:8123/api/hassio_ingress/ZBSbwz0k9Jnk6iKgUmTksrJ8GC58dXjg1thPzCmCvr0/assets/yaml.worker.bundle.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:26.937592798 172.30.32.2 - - [28/Mar/2023:18:27:26 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:30.129233528 172.30.32.2 - - [28/Mar/2023:18:27:30 +0200] "GET /api/stats HTTP/1.1" 200 3185 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:36.132950248 172.30.32.2 - - [28/Mar/2023:18:27:36 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:39.383554391 172.30.32.2 - - [28/Mar/2023:18:27:39 +0200] "GET /api/stats HTTP/1.1" 200 3216 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:41.713002371 172.30.32.2 - - [28/Mar/2023:18:27:41 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:27:44.908347150 172.30.32.2 - - [28/Mar/2023:18:27:44 +0200] "GET /api/stats HTTP/1.1" 200 3184 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:16.883944004 172.30.32.2 - - [28/Mar/2023:18:28:16 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:20.105108948 172.30.32.2 - - [28/Mar/2023:18:28:20 +0200] "GET /api/stats HTTP/1.1" 200 3183 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:31.900322845 172.30.32.2 - - [28/Mar/2023:18:28:31 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:35.107297399 172.30.32.2 - - [28/Mar/2023:18:28:35 +0200] "GET /api/stats HTTP/1.1" 200 3184 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:49.492940712 172.30.32.2 - - [28/Mar/2023:18:28:49 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:52.713900421 172.30.32.2 - - [28/Mar/2023:18:28:52 +0200] "GET /api/stats HTTP/1.1" 200 3185 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:28:56.856287894 172.30.32.2 - - [28/Mar/2023:18:28:56 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:00.095884762 172.30.32.2 - - [28/Mar/2023:18:29:00 +0200] "GET /api/stats HTTP/1.1" 200 3186 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:43.657432061 172.30.32.2 - - [28/Mar/2023:18:29:43 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:45.010990171 172.30.32.2 - - [28/Mar/2023:18:29:45 +0200] "GET /ws HTTP/1.1" 101 9010 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:46.858584934 172.30.32.2 - - [28/Mar/2023:18:29:46 +0200] "GET /api/stats HTTP/1.1" 200 3248 "http://192.168.0.2:8123/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:48.441351736 172.30.32.2 - - [28/Mar/2023:18:29:48 +0200] "GET /api/logs/go2rtc HTTP/1.1" 200 505 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:48.441363890 172.30.32.2 - - [28/Mar/2023:18:29:48 +0200] "GET /api/logs/frigate HTTP/1.1" 200 549 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:29:48.458430110 172.30.32.2 - - [28/Mar/2023:18:29:48 +0200] "GET /api/logs/nginx HTTP/1.1" 200 1094 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:30:47.718658791 172.30.32.2 - - [28/Mar/2023:18:30:47 +0200] "GET /api/logs/frigate HTTP/1.1" 200 549 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:30:47.719663907 172.30.32.2 - - [28/Mar/2023:18:30:47 +0200] "GET /api/logs/go2rtc HTTP/1.1" 200 505 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:30:47.721510909 172.30.32.2 - - [28/Mar/2023:18:30:47 +0200] "GET /api/config HTTP/1.1" 200 15429 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1" 2023-03-28 16:30:47.723217886 172.30.32.2 - - [28/Mar/2023:18:30:47 +0200] "GET /api/logs/nginx HTTP/1.1" 200 1112 "http://192.168.0.2:8123/logs" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15" "192.168.0.128, 172.30.32.1"

NickM-27 commented 1 year ago

beta 10 and rc1 are identical. In any case, this looks like python bus error https://deploy-preview-4055--frigate-docs.netlify.app/troubleshooting/faqs#fatal-python-error-bus-error

ivanhgg commented 1 year ago

beta 10 and rc1 are identical. In any case, this looks like python bus error https://deploy-preview-4055--frigate-docs.netlify.app/troubleshooting/faqs#fatal-python-error-bus-error

Hi Nick, I don't see any way to change shm-size in HASSIO, but I read:

"Home Assistant Supervisor allocates /dev/shm with half the size of your total memory"

My HASSIO is running into VirtualBox with 8 Gb. RAM.

If you know any way to config shm-size in HASSIO will be very wellcome.

Thank you.

NickM-27 commented 1 year ago

your booting log does not show any errors, we need to see an error log from when frigate booted until it crashes.

ivanhgg commented 1 year ago

How can I get that log? I changed the log level to debug but in the log of frigate component only see the same I post yesterday, I look into the config folder and no log file, help please !!!.

NickM-27 commented 1 year ago

Home assistant should have the log for the entire time the system was running. Or you can get it from the frigate webUI if the frigate UI is still accessible. Please do not change the log level to debug, it will add too much clutter making things harder not easier to see.

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.