[Bug]: Frigate fails to start, likely due to failing version check #21599
Replies: 2 comments
-
|
Based on the error logs, you're experiencing a startup failure caused by a JSON decoding error during Frigate's version check. The stack trace shows: This indicates that when Frigate attempted to check for the latest version at startup, it received an invalid or empty response that couldn't be parsed as JSON. This could happen if:
The fact that Frigate eventually started working after 11 hours suggests this was a temporary external issue rather than a configuration problem. Regarding the exception-within-an-exception: You're correct that there appears to be inadequate error handling. The version check failure causes Frigate to crash during startup rather than gracefully degrading or retrying. Workaround: If this happens again, instead of waiting or repeatedly rebooting, you could try restarting just the Docker container: docker restart frigateThis is less disruptive than a full host reboot and may resolve the issue if the external service becomes available again. Unfortunately, I don't have specific documentation about configuration options to disable the version check or make it non-blocking during startup. You may want to report this as a bug on the Frigate GitHub repository, as startup shouldn't fail completely due to an external version check. Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
This has been fixed in 0.17 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
Frigate fails to start properly, likely due to a failing version check.
The log suggests that Frigate failed while attempting to check the version number.
The log messages actually suggest two problems:
The JSON decoding error is not due to a corrupt .json file. I have no .json files within /opt/frigate/config. I don't use semantic search.
My Internet connection was up and working during the time that Frigate failed.
Steps to reproduce
At this point, I stopped fiddling with Frigate. After 11 hours, Frigate restarted for unknown reasons. After this restart, Frigate operated normally.
Version
0.16.2-4d58206
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
I can post it here, but I really don't think it's relevant to this case. This configuration normally works just fine, and has done so for months. The problem isn't correlated with a config file change.docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Home Assistant OS
Install method
Docker Compose
Network connection
Wired
Camera make and model
Many Amcrest
Screenshots of the Frigate UI's System metrics pages
Not available
Any other information that may be helpful
This Frigate installation normally works reliably. The problem occurred during a specific window of time, which makes me suspect that it's dependent on something external like version number checking.
Beta Was this translation helpful? Give feedback.
All reactions