Bonjour, j’essaie d’installer frigate et à chaque fois j’ai un message d’erreur quand je je veux le demarrer
Je l’ai installé depuis les modules complementaires
j’ai créé le fichier config, comme il doit etre , enfin je pense !!
le voici :
mqtt:
enabled: False
camera:
Camera_extrieure:
ffmpeg:
inputs:
- path: rtsp://*username**:***mdp***@192.168.1.***:554/h264Preview_01_main
roles:
- detect
detect:
enabled: False
width: 1280
height: 720
l’adresse rstp est celle que j’avais sur jeedom pour quil m’affiche la camera et elle fonctionnait!
et dans les logs lors du lancement j’ai ca:
2024-06-06 08:17:42.286875806 [INFO] Starting Frigate...
2024-06-06 08:17:42.307488334 [INFO] Got IP address from supervisor: 192.168.1.99
2024-06-06 08:17:42.356971148 [INFO] Got WebRTC port from supervisor: 8555
2024-06-06 08:17:42.711722811 [INFO] Starting go2rtc...
2024-06-06 08:17:42.789069830 10:17:42.788 INF go2rtc version 1.8.4 linux/amd64
2024-06-06 08:17:42.789852789 10:17:42.789 INF [rtsp] listen addr=:8554
2024-06-06 08:17:42.789857609 10:17:42.789 INF [api] listen addr=:1984
2024-06-06 08:17:42.790015045 10:17:42.789 INF [webrtc] listen addr=:8555
2024-06-06 08:17:43.954429500 [2024-06-06 10:17:43] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-06-06 08:17:43.954679757 [2024-06-06 10:17:43] frigate.app INFO : Creating directory: /tmp/cache
2024-06-06 08:17:43.962469536 *************************************************************
2024-06-06 08:17:43.962473122 *************************************************************
2024-06-06 08:17:43.962477211 *** Your config file is not valid! ***
2024-06-06 08:17:43.962479678 *** Please check the docs at ***
2024-06-06 08:17:43.962481080 *** https://docs.frigate.video/configuration/index ***
2024-06-06 08:17:43.962508183 *************************************************************
2024-06-06 08:17:43.962509728 *************************************************************
2024-06-06 08:17:43.962511434 *** Config Validation Errors ***
2024-06-06 08:17:43.962512775 *************************************************************
2024-06-06 08:17:43.962584418 2 validation errors for FrigateConfig
2024-06-06 08:17:43.962586753 cameras
2024-06-06 08:17:43.962588609 field required (type=value_error.missing)
2024-06-06 08:17:43.962590041 camera
2024-06-06 08:17:43.962591880 extra fields not permitted (type=value_error.extra)
2024-06-06 08:17:43.964123268 Traceback (most recent call last):
2024-06-06 08:17:43.964125608 File "/opt/frigate/frigate/app.py", line 645, in start
2024-06-06 08:17:43.964126722 self.init_config()
2024-06-06 08:17:43.964127912 File "/opt/frigate/frigate/app.py", line 112, in init_config
2024-06-06 08:17:43.964129071 user_config = FrigateConfig.parse_file(config_file)
2024-06-06 08:17:43.964130282 File "/opt/frigate/frigate/config.py", line 1346, in parse_file
2024-06-06 08:17:43.964131356 return cls.parse_obj(config)
2024-06-06 08:17:43.964132574 File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj
2024-06-06 08:17:43.964133762 File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
2024-06-06 08:17:43.964135032 pydantic.error_wrappers.ValidationError: 2 validation errors for FrigateConfig
2024-06-06 08:17:43.964137085 cameras
2024-06-06 08:17:43.964138206 field required (type=value_error.missing)
2024-06-06 08:17:43.964139211 camera
2024-06-06 08:17:43.964173708 extra fields not permitted (type=value_error.extra)
2024-06-06 08:17:43.964175264
2024-06-06 08:17:43.964176733 *************************************************************
2024-06-06 08:17:43.964200913 *** End Config Validation Errors ***
2024-06-06 08:17:43.964202573 *************************************************************
2024-06-06 08:17:45.237340115 [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-06-06 08:17:45.250455315 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2024-06-06 08:17:45.271279224 [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
2024-06-06 08:17:45.275817447 exit with signal: terminated
s6-rc: info: service nginx-log successfully stopped
s6-rc: info: service frigate-log successfully stopped
2024-06-06 08:17:45.280929236 [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
Merci pour votre aide