question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Config Support]: tls_ca_certs - No such file or directory

See original GitHub issue

Describe the problem you are having

When adding the MQTT tls_ca_certs location - I get the following error : [Errno 2] No such file or directory

Version

0.10.1-83481af

Frigate config file

mqtt:
  host: mymqttserver.net
  port: 8883
  client_id: elitedeskpc
  user: theusername
  password: thepassword
  topic_prefix: devices/elitedeskpc/messages/events/
  tls_ca_certs: /home/francois/docker-compose/frigate/config/digicert.cer
logger:
  # Optional: default log level (default: shown below)
  default: info
  # Optional: module by module log level configuration
  logs:
    frigate.mqtt: debug
detectors:
  coral:
    type: edgetpu
    device: usb
objects:
  track:
    - person
cameras:
  12EdwardOffice:
    ffmpeg:
      inputs:
        - path: rtsp://theusername:thepassword@192.168.88.208/cam/realmonitor?channel=1&subtype=0
          roles:
            - rtmp
            - record
        - path: rtsp://theusername:thepassword@192.168.88.208/cam/realmonitor?channel=1&subtype=2
          roles:
            - detect
    detect:
      width: 1280
      height: 720
    record:
      enabled: True
      retain:
        days: 2
        mode: all
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      retain:
        default: 2
  12EdwardField:
    ffmpeg:
      inputs:
        - path: rtsp://theusername:thepassword@192.168.88.207/cam/realmonitor?channel=1&subtype=0
          roles:
            - rtmp
            - record
        - path: rtsp://theusername:thepassword@192.168.88.207/cam/realmonitor?channel=1&subtype=2
          roles:
            - detect
    detect:
      width: 1280
      height: 720
    record:
      enabled: True
      retain:
        days: 2
        mode: all
    snapshots:
      enabled: True
      timestamp: False
      bounding_box: True
      retain:
        default: 2

Relevant log output

frigate exited with code 1
frigate  | 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-10-04 14:32:12] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
frigate  | Starting migrations
frigate  | [2022-10-04 14:32:12] peewee_migrate                 INFO    : Starting migrations
frigate  | There is nothing to migrate
frigate  | [2022-10-04 14:32:12] peewee_migrate                 INFO    : There is nothing to migrate
frigate  | [Errno 2] No such file or directory
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 stats

No response

Operating system

Debian

Install method

Docker Compose

Coral version

USB

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
NickM-27commented, Oct 4, 2022

Glad that worked, will close this issue. Feel free to create a new issue if something else comes up.

0reactions
francoisdutoitcommented, Oct 4, 2022

Perfect - Thanks again! frigate | [2022-10-04 16:20:29] frigate.mqtt DEBUG : MQTT connected

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hyperledger Fabric: can't find config for root certificate
I have no idea where this orderer.tls.rootcert.file setting comes from. I looked at everywhere I could think of that sets a TLS root...
Read more >
Starting Orderer: Failed validating bootstrap block: initializing ...
If there would be anyone that could look in to the setup. ... [stat /var/hyperledger/orderer/msp/crls: no such file or directory]
Read more >
default channel list error · Issue #53 · yeasy/docker-compose ...
Hello, I am running Virtual Box with Centos 7.x with Docker and Docker-compose. First, thank you very much for having a detailed and ......
Read more >
Using the Fabric test network - Hyperledger Fabric Docs
It is based on a limited configuration that should not be used as a ... dial unix /host/var/run/docker.sock: connect: no such file or...
Read more >
fabric-client: How to use a common connection profile
The application code can either point to a yaml or json file that contains the configuration information or it may pass a Javascript...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found