Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Support]: Not starting after update to v.13 #9529

Closed
anTastico opened this issue Jan 31, 2024 · 3 comments
Closed

[Support]: Not starting after update to v.13 #9529

anTastico opened this issue Jan 31, 2024 · 3 comments

Comments

@anTastico
Copy link

Describe the problem you are having

I am still new to frigate and the whole home lab scene so please go easy on me if you see silly config mistakes and such (but feel free to point them out!).

I've already removed all the 'intervals' and I hashed out the database location to make sure it wasn't causing the issue (also removed from the docker compile)

Everything was working before the update, I did the following to update:
docker compose down
docker compose pull
docker compose up -d

Now getting the following error:

2024-01-31 15:15:33.349110842 [2024-01-31 15:15:33] frigate.app INFO : Starting Frigate (0.13.0-01e2d20) 2024-01-31 15:15:33.350112309 [Errno 30] Read-only file system: '/config/model_cache' 2024-01-31 15:15:33.350115786 [2024-01-31 15:15:33] frigate.app INFO : Creating directory: /config/model_cache 2024-01-31 15:15:34.487644095 [INFO] Service Frigate exited with code 1 (by signal 0)

I have checked and cannot find '/config/model_cache'

Version

0.13.0-01e2d20 - according to the log in portainer.

Frigate config file

mqtt:
  host: 192.168.68.11
  user: user
  password: pass

#database:
# path: /opt/frigate/config/frigate.db

ffmpeg:
  hwaccel_args: preset-vaapi

#go2rtc:
#  streams:
#    Back_Garden:
#      - "ffmpeg:http://192.168.68.69/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass#input=http-reolink#video=copy#audio=copy#audio=opus"

detectors:
  coral:
    type: edgetpu
    device: pci:0

cameras:
  Front:
    ffmpeg:
      inputs:
        - path: rtsp://admin:pass@192.168.68.62:554/h265Preview_01_main
          roles:
            - detect
    detect:
      width: 1280
      height: 480
      fps: 10
      stationary:
        threshold: 50
    objects:
      track:
        - person
        - car
      filters:
        car:
          min_area: 10000
          max_area: 60000
          threshold: 0.8
        person:
          min_area: 500
          max_area: 15000
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      required_zones:
        - front_garden_drive
      retain:
        default: 1
    zones:
      front_garden_drive:
        coordinates: 397,480,734,480,1025,322,856,203,269,284,205,422
        objects:
          - person
          - car
    motion:
      mask:
        - 0,0,1280,0,1280,271,1126,372,1013,314,846,154,759,173,561,188,492,209,249,267,153,412,0,385
        - 236,459,229,480,0,480,0,457

  Back_Garden:
    ffmpeg:
      inputs:
        - path: rtsp://admin:pass@192.168.68.69:554/h265Preview_01_main
          roles:
            - detect
    detect:
      width: 1280
      height: 720
      fps: 10
      stationary:
        threshold: 50
    objects:
      track:
        - person
      filters:
        cat:
          min_area: 100
        person:
          min_area: 500
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      required_zones:
        - back_garden
      retain:
        default: 1
    zones:
      back_garden:
        coordinates: 259,720,504,113,0,138,0,0,895,0,849,720
        objects:
          - person
    motion:
      mask:
        - 886,461,897,0,1280,0,1280,720,856,720

  Garage:
    ffmpeg:
      inputs:
        - path: rtsp://admin:pass@192.168.68.59:554/h265Preview_01_main
          roles:
            - detect
    detect:
      width: 1280
      height: 720
      fps: 10
      stationary:
        threshold: 50
    objects:
      track:
        - person
      filters:
        cat:
          min_area: 100
        person:
          min_area: 500
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      required_zones:
        - garage
      retain:
        default: 1
    zones:
      garage:
        coordinates: 178,720,189,0,629,0,1091,720
        objects:
          - person
    motion:
      mask:
        - 1119,720,1280,720,1280,0,617,0

  Front_Door:
    ffmpeg:
      inputs:
        - path: rtsp://admin:pass@192.168.68.55:554/h265Preview_01_main
          roles:
            - detect
    detect:
      width: 1024
      height: 720
      fps: 10
      stationary:
        threshold: 50
    objects:
      track:
        - person
      filters:
        person:
          threshold: 0.7
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      required_zones:
        - front_door
      retain:
        default: 1
    zones:
      front_door:
        coordinates: 0,720,0,511,664,418,654,61,1024,0,1024,720
        objects:
          - person
    motion:
      mask:
        - 0,32,306,30,308,0,0,0
        - 0,0,275,0,170,365,239,720,0,720

Relevant log output

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 go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service frigate-log successfully started
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
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2024-01-31 15:15:32.174611163  [INFO] Preparing Frigate...
2024-01-31 15:15:32.176654725  [INFO] Preparing new go2rtc config...
s6-rc: info: service nginx successfully started
2024-01-31 15:15:32.180376522  [INFO] Starting NGINX...
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2024-01-31 15:15:32.242334033  [INFO] Starting Frigate...
2024-01-31 15:15:32.516367001  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-31 15:15:32.516371567  [INFO] Starting go2rtc...
2024-01-31 15:15:32.596277869  15:15:32.596 INF go2rtc version 1.8.5 linux/amd64
2024-01-31 15:15:32.596962567  15:15:32.596 INF [rtsp] listen addr=:8554
2024-01-31 15:15:32.597325234  15:15:32.597 INF [webrtc] listen addr=:8555
2024-01-31 15:15:32.598144278  15:15:32.598 INF [api] listen addr=:1984
2024-01-31 15:15:33.349110842  [2024-01-31 15:15:33] frigate.app                    INFO    : Starting Frigate (0.13.0-01e2d20)
2024-01-31 15:15:33.350112309  [Errno 30] Read-only file system: '/config/model_cache'
2024-01-31 15:15:33.350115786  [2024-01-31 15:15:33] frigate.app                    INFO    : Creating directory: /config/model_cache
2024-01-31 15:15:34.487644095  [INFO] Service Frigate exited with code 1 (by signal 0)
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
2024-01-31 15:15:34.497234241  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2024-01-31 15:15:34.575877041  [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
s6-rc: info: service nginx-log successfully stopped
2024-01-31 15:15:34.578888317  exit with signal: terminated
s6-rc: info: service frigate-log successfully stopped
2024-01-31 15:15:34.582423390  [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

FFprobe output from your camera

na

Frigate stats

na

Operating system

Proxmox

Install method

Docker Compose

Coral version

M.2

Network connection

Wired

Camera make and model

Reolink Doorbell, Duo2, 822A

Any other information that may be helpful

Original installed following https://youtu.be/DmbFq5dMsFo?si=MOOkDFLmEoBJrFiY
So Proxmox LXC > Docker/Portainer.

@NickM-27
Copy link
Sponsor Collaborator

looks like /config is read only when it should not be

@anTastico
Copy link
Author

Would that be due to the docker compose?
/opt/frigate/config:/config:ro

Removed the :ro, now seems to be working fine.

Thanks :)

@NickM-27
Copy link
Sponsor Collaborator

yep, feel free to create a new issue if something else comes up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants