question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Supervisor 2021.02.1 seams breaking the Addon

See original GitHub issue

Dear @blakeblackshear thanks a lot for this awesome addon and customcomponent. It was runing like a charm. Unfortunately I face an isse after upgrading my supervisor (supervised install method of Home assistant).

Now each time I want to save my config I geet this error (Chrome console):

chunk.97b95a62afbc18471344.js:3350 Uncaught (in promise) TypeError: Cannot read property 'find' of null
    at HTMLElement.value (chunk.97b95a62afbc18471344.js:3350)
    at HTMLElement.performUpdate (entrypoint.cf81f6d9.js:35547)
    at HTMLElement._enqueueUpdate (entrypoint.cf81f6d9.js:35547)
Could not load content for webpack://home-assistant-frontend/chunk.97b95a62afbc18471344.js (HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME)

image

image

{result: "ok", data: {}}
data: {}
result: "ok"

I dunno what’s going on here or how I can find the issue. If you might have a look in this. I guess this will impact other users with updated suervisor as well.

Please let me know if you need additional information.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:55 (21 by maintainers)

github_iconTop GitHub Comments

7reactions
blakeblackshearcommented, Feb 9, 2021

Just pushed a new version of the addon. Frigate’s config can no longer be managed in the Configuration tab of the addon (at least for now). The addon expects a frigate.yml file to exist in the root of your homeassistant config directory. You can edit it using whatever editor you use for homeassistant config.

That I would love. Dont understand all this “in app configuration” that can not be version handled.

If you are using HassOS the snapshots take backups of your addon config too, but this is exactly why frigate does not have the ability to modify it’s own config. Even when it does, it will always just be a UI for modifying the config file with a clear option for those who want to save it out into source control since this is how I do it. There will never be a .storage folder for frigate.

4reactions
hawkeye217commented, Feb 8, 2021

As a work-around, I’ve backed up a JSON formatted version of my configuration (used faq to convert from YAML to JSON) and installed a watch on the option.json file to replace it by the backup as soon as it is overwritten by supervisor:

root@hassio:~# while true ; do inotifywait /usr/share/hassio/addons/data/be8d440d_frigate-beta/options.json ; cp /usr/share/hassio/addons/data/be8d440d_frigate-beta/options.json{.bak,} 
; done

Managed to do something similar to get the addon started again. Thanks for the tip.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to update new version of customized addon
helllo guys, I've customized an addon and hosted on Docker hub. ... That breaks it because supervisor looks at this label a lot....
Read more >
Search Results - CVE
CVE-2022-24336, In JetBrains TeamCity before 2021.2.1, an unauthenticated attacker can cancel running builds via an XML-RPC request to the TeamCity server.
Read more >
FreshPorts -- The Place For Ports - Sanity Test Failures
Remove forced clang34 dependency. The port builds on 10.3 (which has the supposedly broken version) and 11.1 without this change. This removes the...
Read more >
Convert dav to mp4 ffmpeg
library in C++ bower 1.8.10 Package manager for the web bowtie2 ... to route various communication protocols freetds 1.2.21 Libraries to ...
Read more >
Casolin Evo 45 - WillemsenMachines
Accountant supermarket manager spironolactone (aldactone) davis pdf They include ... Once in space, those satlets would then break off and link up to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found