blakeblackshear / frigate

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

[Support]: Errno -2 on initial startup #3003

Closed ourhouse7400 closed 2 years ago

ourhouse7400 commented 2 years ago

Describe the problem you are having

Thanks for all the work you put into this! I'm admittedly a coding novice, but I've fought through a few invalid config errors to get to an error I can't fix. I'm using the MQTT broker add on to Home Assistant and believe I have that set up correctly. When I execute "sudo docker-compose up", I get Errno -2. I haven't been able to get Web UI up yet, so may not be able to answer all questions. The address I used for camera is the same one I got working in Motioneye.

Version

unsure

Frigate config file

mqtt:
  host: 192.168.0.151:8883
  user: HA created username
  password: HA created password

cameras:
  # Required: name of the camera
  driveway_camera:
    # Required: ffmpeg settings for the camera
    ffmpeg:
      # Required: A list of input streams for the camera. See documentation for more information.
      inputs:
        # Required: the path to the stream
        # NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}
        - path: rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01
          # Required: list of roles for this stream. valid values are: detect,record,clips,rtmp
          # NOTICE: In addition to assigning the record, clips, and rtmp roles,
          # they must also be enabled in the camera config.
          roles:
            - record
            - rtmp
        - path: rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0
          roles:
            - detect
    detect:
      width: 704
      height: 480

Relevant log output

frigate    | [Errno -2] Name or service not known
frigate    | [cmd] python3 exited 1
frigate    | [cont-finish.d] executing container finish scripts...
frigate    | [cont-finish.d] done.
frigate    | [s6-finish] waiting for services.
frigate    | [s6-finish] sending all processes the TERM signal.
frigate    | [s6-finish] sending all processes the KILL signal and exiting.
frigate    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate    | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate    | [fix-attrs.d] applying ownership & permissions fixes...
frigate    | [fix-attrs.d] done.
frigate    | [cont-init.d] executing container initialization scripts...
frigate    | [cont-init.d] done.
frigate    | [services.d] starting services
frigate    | [services.d] done.
frigate    | [2022-03-22 22:32:05] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
frigate    | Starting migrations
frigate    | [2022-03-22 22:32:05] peewee_migrate                 INFO    : Starting migrations
frigate    | There is nothing to migrate
frigate    | [2022-03-22 22:32:05] peewee_migrate                 INFO    : There is nothing to migrate
frigate    | [Errno -2] Name or service not known
frigate    | [cmd] python3 exited 1
frigate    | [cont-finish.d] executing container finish scripts...
frigate    | [cont-finish.d] done.
frigate    | [s6-finish] waiting for services.
frigate    | [s6-finish] sending all processes the TERM signal.
frigate    | [s6-finish] sending all processes the KILL signal and exiting.

FFprobe output from your camera

configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[rtsp @ 0x561be39faf00] method DESCRIBE failed: 404 Not Found
rtsp://<username>:<password>@192.168.30.10:554/cam/realmonitor?channel=1: Server returned 404 Not Found

Frigate stats

No response

Operating system

Other Linux

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

Amcrest IP5M-T1179EW

Any other information that may be helpful

No response

NickM-27 commented 2 years ago

Can you please provide your docker compose file?

NickM-27 commented 2 years ago

Also are you sure you have the mqtt correct? The default port is 1883

blakeblackshear commented 2 years ago

You shouldn't be specifying the port in the host for mqtt. It has it's own property. image

ourhouse7400 commented 2 years ago

Thanks for the quick replies. I removed the port from the mqtt host and it got stuck here:

rigate | [s6-init] making user provided files available at /var/run/s6/etc...exited 0. frigate | [s6-init] ensuring user provided files have correct perms...exited 0. frigate | [fix-attrs.d] applying ownership & permissions fixes... frigate | [fix-attrs.d] done. frigate | [cont-init.d] executing container initialization scripts... frigate | [cont-init.d] done. frigate | [services.d] starting services frigate | [services.d] done. frigate | [2022-03-23 07:15:14] frigate.app INFO : Starting Frigate (0.10.1-83481af) frigate | Starting migrations frigate | [2022-03-23 07:15:14] peewee_migrate INFO : Starting migrations frigate | There is nothing to migrate frigate | [2022-03-23 07:15:14] peewee_migrate INFO : There is nothing to migrate frigate | [2022-03-23 07:15:14] detector.cpu INFO : Starting detection process: 225 frigate | [2022-03-23 07:15:14] frigate.app INFO : Output process started: 227 frigate | [2022-03-23 07:15:14] frigate.edgetpu WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes. frigate | [2022-03-23 07:15:14] ws4py INFO : Using epoll frigate | [2022-03-23 07:15:14] frigate.app INFO : Camera processor started for driveway_camera: 231 frigate | [2022-03-23 07:15:14] frigate.app INFO : Capture process started for driveway_camera: 233 frigate | [2022-03-23 07:15:14] ws4py INFO : Using epoll frigate | [2022-03-23 07:15:14] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:15:14] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:15:14] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:15:15] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:15:17] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:15:21] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:15:29] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:15:34] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:15:34] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:15:34] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x55e012ca9780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:15:34] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:15:34] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x55c7416e9740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:15:34] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:15:34] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:15:34] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:15:34] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:15:34] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:15:44] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:15:44] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:15:44] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x557a314a4780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:15:44] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:15:44] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x55860e854740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:15:44] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:15:44] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:15:44] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:15:44] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:15:44] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:15:45] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:15:54] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:15:54] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:15:54] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x55e162dc1780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:15:54] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:15:54] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x5627641d4740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:15:54] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:15:54] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:15:54] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:15:54] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:15:54] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:16:04] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:16:04] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:16:04] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x5632bf83c780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:04] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:16:04] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x5648423af740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:04] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:16:04] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:16:04] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:16:04] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:16:04] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:16:14] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:16:14] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:16:14] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x55e25b11e780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:14] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:16:14] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x5626717dd740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:14] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:16:14] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:16:14] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:16:14] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:16:14] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:16:17] frigate.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized frigate | [2022-03-23 07:16:24] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:16:24] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:16:24] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x55f99fdc7780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:24] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:16:24] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x55d040ebc740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:24] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:16:24] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:16:24] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:16:24] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:16:24] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:16:34] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:16:34] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:16:34] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x55859ab44780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:34] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:16:34] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x56526e9c8740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:34] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:16:34] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:16:34] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:16:34] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:16:34] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:16:44] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:16:44] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:16:44] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x55fbe654d780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:44] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:16:44] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x558b88f66740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:44] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:16:44] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:16:44] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:16:44] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:16:44] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread... frigate | [2022-03-23 07:16:54] watchdog.driveway_camera ERROR : Ffmpeg process crashed unexpectedly for driveway_camera. frigate | [2022-03-23 07:16:54] watchdog.driveway_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. frigate | [2022-03-23 07:16:54] ffmpeg.driveway_camera.detect ERROR : [rtsp @ 0x558384546780] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:54] ffmpeg.driveway_camera.detect ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_0: Server returned 404 Not Found frigate | [2022-03-23 07:16:54] ffmpeg.driveway_camera.record_rtmp ERROR : [rtsp @ 0x5613c6052740] method OPTIONS failed: 404 Not Found frigate | [2022-03-23 07:16:54] ffmpeg.driveway_camera.record_rtmp ERROR : rtsp://admin:admin12345$%@192.168.30.10:554/h264Preview_1_01: Server returned 404 Not Found frigate | [2022-03-23 07:16:54] watchdog.driveway_camera INFO : Terminating the existing ffmpeg process... frigate | [2022-03-23 07:16:54] watchdog.driveway_camera INFO : Waiting for ffmpeg to exit gracefully... frigate | [2022-03-23 07:16:54] frigate.video ERROR : driveway_camera: Unable to read frames from ffmpeg process. frigate | [2022-03-23 07:16:54] frigate.video ERROR : driveway_camera: ffmpeg process is not running. exiting capture thread...

ourhouse7400 commented 2 years ago

I then realized I had used DVR camera URL instead of the IP Cam URL. I corrected that in my config and got stuck here:

Starting frigate ... done
Attaching to frigate
frigate    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate    | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate    | [fix-attrs.d] applying ownership & permissions fixes...
frigate    | [fix-attrs.d] done.
frigate    | [cont-init.d] executing container initialization scripts...
frigate    | [cont-init.d] done.
frigate    | [services.d] starting services
frigate    | [services.d] done.
frigate    | [2022-03-23 07:19:48] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
frigate    | Starting migrations
frigate    | [2022-03-23 07:19:48] peewee_migrate                 INFO    : Starting migrations
frigate    | There is nothing to migrate
frigate    | [2022-03-23 07:19:48] peewee_migrate                 INFO    : There is nothing to migrate
frigate    | [2022-03-23 07:19:48] detector.cpu                   INFO    : Starting detection process: 225
frigate    | [2022-03-23 07:19:48] frigate.app                    INFO    : Output process started: 227
frigate    | [2022-03-23 07:19:48] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
frigate    | [2022-03-23 07:19:48] ws4py                          INFO    : Using epoll
frigate    | [2022-03-23 07:19:48] frigate.app                    INFO    : Camera processor started for driveway_camera: 231
frigate    | [2022-03-23 07:19:48] frigate.app                    INFO    : Capture process started for driveway_camera: 233
frigate    | [2022-03-23 07:19:48] ws4py                          INFO    : Using epoll
docker-compose is:
   version: "3.9"
   services:
     frigate:
       container_name: frigate
       privileged: true # this may not be necessary for all setups
       restart: unless-stopped
       image: blakeblackshear/frigate:stable-amd64
       shm_size: "64mb" # 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/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
       volumes:
        - /etc/localtime:/etc/localtime:ro
        - /home/matt/docker-compose/frigate/instruct/frigate.yml:/config/config.yml:ro
        - /media/cameradrive:/media/frigate
        - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
          target: /tmp/cache
          tmpfs:
            size: 1000000000
       ports:
         - 5000:5000
         - 1935:1935
       environment:
         FRIGATE_RTSP_PASSWORD: "password"
blakeblackshear commented 2 years ago

I don't see any error messages. What do you mean by "stuck"?

ourhouse7400 commented 2 years ago

When I ran "docker-compose up" after removing the port from the MQTT host, it just stopped right below the line I sent. The command line "att@Brain:~/docker-compose/frigate$" didn't come back up.

I did just try to web UI and it works though, so I guess I'm good?

ourhouse7400 commented 2 years ago

I am getting a warning that there is still a process running when I try to close the terminal, so something is a little off.

blakeblackshear commented 2 years ago

You need to tell docker-compose to start the containers as a daemon process. docker-compose up -d

ourhouse7400 commented 2 years ago

Thank you much!