Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Missing repository for an install add-on" after upgrade to 2024.6.0 #118917

Closed
denverpilot opened this issue Jun 5, 2024 · 30 comments · Fixed by #119011
Closed

Error: "Missing repository for an install add-on" after upgrade to 2024.6.0 #118917

denverpilot opened this issue Jun 5, 2024 · 30 comments · Fixed by #119011

Comments

@denverpilot
Copy link

The problem

After upgrade the following error is given as a UI warning on my instance:


Missing repository for an installed add-on
Translation Error: The intl string context variable "addon_url" was not provided to the string "Repository for add-on {addon} is missing. This means it will not get updates, and backups may not be restored correctly as the supervisor may not be able to build/download the resources required.

Please check the add-on's documentation for installation instructions and add the repository to the store."

Warning - 6/5/2024

It looks like a bug in parsing the add-on name judging by seeing "{addon}" exposed in user output.

What version of Home Assistant Core has the issue?

core-2024.6.0

What was the last working version of Home Assistant Core?

core-2024.5.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Current Add-On List (if needed):
Advanced SSH & Web Terminal
ESPHome
File editor
Home Assistant Google Drive Backup
Mosquitto broker
Studio Code Server
Tailscale
TasmoAdmin
TasmoBackup

@denverpilot
Copy link
Author

A little more digging. The link to the "addon's documentation" points to :
https://github.com/danmed/TasmoBackupV1/

It's the TasmoBackup Add-on that needs an update, looks like.

@denverpilot
Copy link
Author

Did not intend to close. Unsure how to reassociate to the add-on, however.

@KJThaDon
Copy link

KJThaDon commented Jun 6, 2024

Anyone figure out how to fix this?

@denverpilot denverpilot reopened this Jun 6, 2024
@denverpilot
Copy link
Author

See if this reopens it.

I believe the Add-on needs an update and I think @frenck owns the add-on… ??? Shrug. Dunno.

@denverpilot
Copy link
Author

Dang it GitHub. The default UI on mobile keeps trying to force you to close the report. Trying again to reopen…

@denverpilot denverpilot reopened this Jun 6, 2024
@tommasisimone
Copy link

I have the same warning message but I don't have TasmoBackup installed.

This is what I see in the logs:
Failed to format translation for key 'component.hassio.issues.issue_addon_detached_addon_missing.description' in language 'it'. Error: The intl string context variable "addon_url" was not provided to the string "Repository for add-on {addon} is missing. This means it will not get updates, and backups may not be restored correctly as the supervisor may not be able to build/download the resources required. Please check the add-on's documentation for installation instructions and add the repository to the store."

@RJ-Make
Copy link

RJ-Make commented Jun 6, 2024

I also have the same warning message but I don't have TasmoBackup installed.

@ChristophCaina
Copy link
Contributor

The problem is probably, that the Addon in question is not providing the required information to generate a meaningfull repair message.

These are probably addons, installed through custom repositories - the "TasmoBackup" addon seems to be owned by danmed...

the other addon warning from @tommasisimone:
With the available information, it is unclear what addon is causing this.
Can you maybe report what addons you have added (not from the default addon store, but through custom repositories?)

@DarcyDetlor
Copy link

DarcyDetlor commented Jun 6, 2024

Same problem. I was trying to figure out what happened, and one time this message appeared, but it was listing Google Backup. I checked, and the Google Drive Backup repository was gone. After I replaced GDB repository, the original message with "Repository for add-on {addon} is missing. This means it will not get updates, and backups may not be restored correctly as the supervisor may not be able to build/download the resources required." reappeared.

I do not have TasmoBackup installed.

@stajodude
Copy link

stajodude commented Jun 6, 2024

Same problem here. Error message is "{"message":"Handler does not support user"}". I can no longer reach Developer Tools nor Settings->System. Nor can I restart from Settings.

@stoffies00711
Copy link

Google Drive Backup, Sunsynk/Deye and Modbus/TCP repos were missing from addons. Added them again and their errors disappeared.
Now stuck with that "Missing repository for an installed add-on" error. It does not specify the addon. My Home Assistant still works perfectly apart from that error message. I don't think it's being caused by one specific addon.

@mdegat01
Copy link
Contributor

mdegat01 commented Jun 6, 2024

Hm it seems like there's an issue getting the URL of these detached addons from config. I had thought translation placeholders were optional and it would just use empty string but it seems they are required. Just put in a PR to instead always link to the addon page within HA for all addons so addon_url is always provided regardless of what is or isn't in the addon's config, that should fix this up.

@Martynhsmith
Copy link

Mine was saying "Missing repository for an install add-on Tasmta backup" so I uninstalled tasmota backup
It then reported the same thing but no name
I have reinstalled tasmota backup and have the same no name error

@jello1974
Copy link

jello1974 commented Jun 6, 2024

Same here
Translation Error: The intl string context variable "addon_url" was not provided to the string "Repository for add-on {addon} is missing. I think the new AI is messing with my setup.....:)

@silversegarra
Copy link

Same problem here... waiting for a solution :)

@jeraisel
Copy link

jeraisel commented Jun 7, 2024

added:
http://github.com/danmed/TasmoBackupV1
to the repositories ad it says on the https://github.com/danmed/TasmoBackupV1/
went back to the addon and there was an update ready.
after restarting home assistant, the message was still there
Missing repository for an installed add-on

@24zeven
Copy link

24zeven commented Jun 9, 2024

This error is closed 2 days ago, but it looks like that it's still not fixed.
I updated from 2024.5.5 to 2024.6.1 and this found this error today.
"Repository for add-on Home Assistant Google Drive Backup is missing."

Does anyone know how it is solved and what can I do to solve it?
Or is this going to be solved with a fix in 2024.6.2 ??

@DarcyDetlor
Copy link

I also upgraded to 2024.6.1 and my error still exists.

@eldeldani
Copy link

Same issue here. In my case "Repository for add-on Zigbee2mqtt is missing." If I click on the provided link for the add-on documentation and then click on the changelog for zigbee2mqtt addon I get "Addon 7ad98f9c_zigbee2mqtt with version latest does not exist in the store".

I have tried readding the repository to the add-on store but message persists.

@ChristophCaina
Copy link
Contributor

the repair message itself is no HomeAssistant issue.
If you have installed addons from Custom Repostories - and you receive a repair (including relevant information about the addon, etc.) then you should raise an issue with the addon-developers.

It is expected that a repair will be shown, if the Repository URL has changed, for example.
The Repair should let you know that there is an issue and you wont be able to receive updates for your addon any more.

@denverpilot
Copy link
Author

the repair message itself is no HomeAssistant issue. If you have installed addons from Custom Repostories - and you receive a repair (including relevant information about the addon, etc.) then you should raise an issue with the addon-developers.

It is expected that a repair will be shown, if the Repository URL has changed, for example. The Repair should let you know that there is an issue and you wont be able to receive updates for your addon any more.

First, GitHub obfuscates whether you’re someone speaking for the HA team or just a rando commenting. Can you elaborate?

Second, are you saying all the add ons in the “store” created by HA devs are fixed and this only now affects add-ons outside the ecosystem? I do not believe that to be the case but will test.

Were add-on devs notified this change was coming? This seems like an introduced bug more than an announced change. I’m unaware of anything that stated these items were mandatory prior to simply changing the parsing.

Seems like net negative to the users also when clearly updates worked fine prior to the change.

I’m used to seeing this sort of breakage reverted until proper developer notification can be done. It’s not the users fault it wasn’t properly communicated. Why the reluctance to allow the add-ons to update?

More importantly, if an add-on dev does release a patch for the uncommunicative change process, the upgrade (I assume) is blocked? Yet another reason to allow a transition period.

@ChristophCaina
Copy link
Contributor

First, GitHub obfuscates whether you’re someone speaking for the HA team or just a rando commenting. Can you elaborate?

Since HA is an OpenSource project, "anyone" can contribute - and also provide support.
You don't have to be a member of the "HA-Team" - you can just submit your Code Changes as a PR...

The repair itself is part of a change, introduced in the supervisor (PR for implementing UI feedback into the core #118064; PR for the Supervisor "Create issue for detached addons" home-assistant/supervisor#5084)

The Dialog is using information, the Addon should provide.
And as usually, installing Community addons, is - just the same as for Custom Components (HACS integrations) ALWAYS at your own risk.

Just because HA is showing a repair for an addon - and in fact it is showing you the required information - can not be considered as a bug - in my humble opinion.
It's something different, when the Repair Dialog does not show anything (just as it was during the beta) - or then, just as you mentioned in your ticket (when you opened it) - placeholders.

But when people here starting to report issues for each of their community addons that will now be reported as a repair, because the Repository URL might has changed - I doubt, that this will help to improve the situation.

I agree, that the devs should provide a documentation of what information is missing in their developer blog or where ever (don't know, if that already happened)... but it is either the responsibility of the one who installed the community addon (on their own risk) - or of the devs of the addon to asure that it will work properly...

The repair message itself is still a benefit, because it is indicating that something might be wrong with the addon... maybe, it won't be further developed anymore, or supervisor is not able to detect if there's a newer version available.

@denverpilot
Copy link
Author

denverpilot commented Jun 10, 2024 via email

@ChristophCaina
Copy link
Contributor

Which broke official add-ons (still is) and not just third party ones. Are you paying attention?

does it?
which one of the addons below (from your list) is an official addon?

  • Current Add-On List (if needed):
  • Advanced SSH & Web Terminal
  • ESPHome
  • File editor
  • Home Assistant Google Drive Backup
  • Mosquitto broker
  • Studio Code Server
  • Tailscale
  • TasmoAdmin
  • TasmoBackup

I can tell you:

  • File editor
  • Mosquitto broker
  • ESPHome (can be considered as an official addon)

These are "official" Community addons - and also listed under "community addons"

I guess, it is the "V1" - and there are already issues open in the Repository of this Addon, related to the repair:
danmed/TasmoBackupV1#93
-- but going through the issue list there, it also seems, that this repository is depricated and no longer maintained.

last update was two years ago, unanswered issues and PRs open...
Or, you maybe have used another forked repository?
https://github.com/danmed/TasmoBackupV1/forks

In addition:
The Addon can't update because of the repair message - Nor because of the supervisor, detecting that there seems to be an issue with the repository URL... ;)

@denverpilot
Copy link
Author

It isn’t TasmoBackup that’s throwing the error.

Try again fake unofficial support guy. Lol.

(But it is in your list. And is owned by Frenck. So I doubt there was any miscommunication on it needing a Repo. Grin…)

@1nutty1
Copy link

1nutty1 commented Jun 12, 2024

Any fix for this as yet, I see the latest update to Core did not resolve the issue...

@ChristophCaina
Copy link
Contributor

ChristophCaina commented Jun 12, 2024

It isn’t TasmoBackup that’s throwing the error.

Try again fake unofficial support guy. Lol.

(But it is in your list. And is owned by Frenck. So I doubt there was any miscommunication on it needing a Repo. Grin…)

lol... blame others for your messed up system ;)
grafik
grafik

@denverpilot
Copy link
Author

Ah yes. Blame the user for selecting things from the official add-on “store” when someone breaks them upgrading. That’s some high quality work right there! lol.

If my system is broken, I didn’t break it. lol. The dev who arbitrarily started checking for an unnecessary field did. Grin.

How about… if nobody’s actually maintaining it to made up fictional “standards” that weren’t published, just announce it’ll be removed?

Still haven’t given a proper story for why a parsing error introduced by a GUi dev is suddenly important — when the add-ons worked just fine (including upgrades) without the arbitrary repo field before… hmmm.

It’s a BUG. Introduced without proper thought as to the consequences of checking for a non-mandatory unneeded piece of information in an add-on.

Maybe @frenck will fix his add-on packages, maybe he’ll deprecate them, maybe they just sit here in Warning forever... Shrug. Not my call.

But they’re still erroring/throwing unnecessary warnings at the users. Wasn’t fully fixed.

(Not claiming TasmoAdmin or the others missing the info are great packages but if they’re going to be in the UI as add-ons, if the rules for add-ons changed, they should be maintained or removed/deprecated with proper notice beforehand…)

I can run em outside of HA juuuuust fine if I need em. But they shouldn’t be throwing warnings if installed thru the UI… that’s not a good user experience. Just yank em if nobody has time to work on em to make them meet new arbitrary rules.

User experience today: Install add-on, it immediately throws a warning something is wrong with it.

That wasn’t before. And doesn’t need to be a warning at all if the thing is static and unchanging.

The argument that it hasn’t been updated in years really doesn’t hold water — it is what it is and it didn’t change. The warning rule did.

Without notice. The broken add-ons are not listed in Breaking Changes… but a big old warning sitting there on the main screen for no real reason, is kinda silly to defend.

Claiming I broke it — hilarious. Nope. Just installed things HA offered. And still offers. Most users have no idea about repos and such — they just see an interesting looking add-on in the “store”.

(I keep putting “store” in quotes because I have no idea why it’s called that. It’s not like users buy anything from it. Grin… trying to evoke a sense of app stores from mobile walled garden terminology, I guess? Again, shrug… a UI topic for another day, but kinda fun.)

Oh well. Not my project, not my warning bubbles. Hahaha. Pretty easy to just uninstall the breakage of their own add-ons for some of this stuff. Thought a bug report would be … shall we say, useful if they didn’t know they broke their own add-ons. If it’s going to be ignored, waste of time.

HA is going to do whatever HA is going to do. Like always. Grin.

Even weirder to have a fake support guy blame the user for installing their add-ons and claiming the user broke it. lol. Classic. I kinda enjoyed this open source weirdness. Cheers. Add-ons uninstalled. Bye bye.

@lauris-nl
Copy link

Hi guys,

I have this warning in my "Repairs" list.
I think "Spook 👻 Your homie" put it there?

Missing repository for an installed add-on
Repository for add-on TasmoBackup is missing. This means it will not get updates, and backups may not be restored correctly as the supervisor may not be able to build/download the resources required.

Please check the add-on's documentation for installation instructions and add the repository to the store.

Warning - 7/22/2024

@lauris-nl
Copy link

lauris-nl commented Jul 23, 2024

Update: solved

I had 2 versions of TasmoBackup installed
version: 1.04.26
version: 1.05.00

Version: 1.04.26 is missing its repository.

Manual transfer the settings. Run Backup all. And uninstall version: 1.04.26.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.