diff --git a/docker/main/install_deps.sh b/docker/main/install_deps.sh index f8bb5a51a..330caff9f 100755 --- a/docker/main/install_deps.sh +++ b/docker/main/install_deps.sh @@ -145,6 +145,6 @@ rm -rf /var/lib/apt/lists/* # Install yq, for frigate-prepare and go2rtc echo source curl -fsSL \ - "https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_$(dpkg --print-architecture)" \ + "https://github.com/mikefarah/yq/releases/download/v4.48.2/yq_linux_$(dpkg --print-architecture)" \ --output /usr/local/bin/yq chmod +x /usr/local/bin/yq diff --git a/docs/docs/configuration/advanced.md b/docs/docs/configuration/advanced.md index cf821ddda..17eb2053d 100644 --- a/docs/docs/configuration/advanced.md +++ b/docs/docs/configuration/advanced.md @@ -258,7 +258,7 @@ curl -X POST http://frigate_host:5000/api/config/save -d @config.json if you'd like you can use your yaml config directly by using [`yq`](https://github.com/mikefarah/yq) to convert it to json: ```bash -yq r -j config.yml | curl -X POST http://frigate_host:5000/api/config/save -d @- +yq -o=json '.' config.yaml | curl -X POST 'http://frigate_host:5000/api/config/save?save_option=saveonly' --data-binary @- ``` ### Via Command Line