Home assistant yellow and docker compose frigate

logs from frigate proxy

tried it on the config file but that don’t want to load up? is it meant too?

am I supposed to use this somewhere?

database:
path: /db/frigate.db

what’s this meant to mean?

When running Home Assistant with the Supervised install method, you can get the benefit of running the Addon along with the ability to customize the storage used by Frigate.

In order to customize the storage location for Frigate, simply use fstab to mount the drive you want at /usr/share/hassio/media. Here is an example fstab entry:

UUID=1a65fec6-c25f-404a-b3d2-1f2fcf6095c8 /media/data ext4 defaults 0 0

/media/data/homeassistant/media /usr/share/hassio/media none bind 0 0

by the looks of this I no longer need a frigate.yml in home assistant?

  1. Navigate to Supervisor > Add-on Store > Repositories
  2. Add GitHub - blakeblackshear/frigate-hass-addons: Frigate hass.io addons
  3. Install your desired Frigate NVR Addon and navigate to it’s page
  4. Setup your network configuration in the Configuration tab
  5. (not for proxy addon) Create the file frigate.yml in your config directory with your detailed Frigate configuration
  6. Start the addon container
  7. (not for proxy addon) If you are using hardware acceleration for ffmpeg, you may need to disable “Protection mode”

as from last experiences the home assistant crowd would rather put someone down for lack of knowledge rather then point them in the right direction.
I have just copied and pasted my code and yaml likes it so I don’t what wrong with it for you?

I found this guide that takes time to get things done thank you for you help

Please … don’t share images of text

If you can’t work out how to use code markup then use a code share site like https://dpaste.org/ instead.

One last time… use code markup

The problem is that you’re not paying any attention to what we ask, making it impossible to help you.

YAML is all about how things are indented, when you just drop it into the text here we can’t tell that
this:
yaml: here
is actually

this:
  yaml: here

For posting code in the forum @Tinkerer pointed to the right direction in his first post in this thread. I’ll point to it again. How to help us help you - or How to ask a good question

Now responding to this, Home assistant yellow and docker compose frigate - #21 by Richfa, it looks like frigate.local is not resolving. Try the pi’s ip addess in the config of the frigate proxy addon.

Thank you, going to start a fresh build tonight, I still have much more to learn then I originally thought.
Even now I will have to put information into this from several different sources to try and get this working
I will start by getting docker and docker compose running fresh, then take it step by step using

https://hub.docker.com/_/eclipse-mosquitto
and use this to get the broker working as it seems to work better at the start

Still struggling with getting frigate in docker to work by itself, I am going to try a workaround as I know I can get it working as a add on in HA
My workaround is to try installing the full version of HA in docker with the config file for frigate either the mqtt in config in docker HA pointing to my main instance of Ha
Do you think this will work in may be easier and more what I am used to hopefully

Not sure if you already solved this by yourself, but otherwise the following YT video maybe helps you:

Or the following blog post:

1 Like

thank you i managed to figure it out in the end

how? what’d you do differently

sorry for delay, i had it working on my pi by making directory’s on it by using the mkdir command example mkdir frigate, cd frigate, mkdir media, cd media, mkdir storage, exit
then start again making the next volume cd frigate, mkdir config, touch config.yml, nano config.yml
then add the config in there save and close. exit
cd frigate, nano docker-compose.yml, then add your compose file with the 2 above volumes created, save and exit docker-compose up -d
this worked for my pi4 but I have upgraded to a intel nuc as my pi never had enough CPU power now this method doesn’t seem to work unless its due to breaking changes in the frigate install I am not sure. i read that later versions can be used but I haven’t found any links to these files yet to try

my current logs our as follows

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
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-05-27 07:59:23.329803801 [INFO] Preparing go2rtc config…
2023-05-27 07:59:23.331389119 [INFO] Starting Frigate…
2023-05-27 07:59:23.332644780 [INFO] Starting NGINX…
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
File “/usr/local/go2rtc/create_config.py”, line 23, in
with open(config_file) as f:
IsADirectoryError: [Errno 21] Is a directory: ‘/config/config.yml’
2023-05-27 07:59:23.542985525 [INFO] The go2rtc service exited with code 1 (by signal 0)
2023-05-27 07:59:24.089180434 *************************************************************
2023-05-27 07:59:24.089183816 *************************************************************
2023-05-27 07:59:24.089185423 *** Your config file is not valid! ***
2023-05-27 07:59:24.089186881 *** Please check the docs at ***
2023-05-27 07:59:24.089187998 *** Configuration File | Frigate ***
2023-05-27 07:59:24.089189369 *************************************************************
2023-05-27 07:59:24.089190349 *************************************************************
2023-05-27 07:59:24.089208200 *** Config Validation Errors ***
2023-05-27 07:59:24.089209196 *************************************************************
2023-05-27 07:59:24.089210020 [Errno 21] Is a directory: ‘/config/config.yml’
2023-05-27 07:59:24.089820617 Traceback (most recent call last):
2023-05-27 07:59:24.089822382 File “/opt/frigate/frigate/app.py”, line 351, in start
2023-05-27 07:59:24.089823302 self.init_config()
2023-05-27 07:59:24.089824292 File “/opt/frigate/frigate/app.py”, line 80, in init_config
2023-05-27 07:59:24.089825198 user_config = FrigateConfig.parse_file(config_file)
2023-05-27 07:59:24.089826130 File “/opt/frigate/frigate/config.py”, line 1064, in parse_file
2023-05-27 07:59:24.089826930 with open(config_file) as f:
2023-05-27 07:59:24.089827787 IsADirectoryError: [Errno 21] Is a directory: ‘/config/config.yml’
2023-05-27 07:59:24.089828487
2023-05-27 07:59:24.089829392 *************************************************************
2023-05-27 07:59:24.089830538 *** End Config Validation Errors ***
2023-05-27 07:59:24.089831418 *************************************************************
2023-05-27 07:59:24.090041378 [2023-05-27 07:59:24] frigate.app INFO : Starting Frigate (0.12.0-da3e197)
2023-05-27 07:59:24.551877388 [INFO] Preparing go2rtc config…
Traceback (most recent call last):
File “/usr/local/go2rtc/create_config.py”, line 23, in
with open(config_file) as f:
IsADirectoryError: [Errno 21] Is a directory: ‘/config/config.yml’
2023-05-27 07:59:24.719912546 [INFO] The go2rtc service exited with code 1 (by signal 0)
2023-05-27 07:59:25.211206622 [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
2023-05-27 07:59:25.219222600 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2023-05-27 07:59:25.344639749 [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
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service frigate-log successfully stopped
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