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