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

Unable to update plugin via HACS #31

Open
chansearrington opened this issue Jul 26, 2024 · 7 comments
Open

Unable to update plugin via HACS #31

chansearrington opened this issue Jul 26, 2024 · 7 comments

Comments

@chansearrington
Copy link

Hey @galletn,

Thanks for your work on this.

For some reason iaqualink is the only HACS plugin that I have that can't be updated through the Home Assistant UI.

I have to uninstall and then reinstall through HACS with each update.

I've attached the following screenshots with the final showing the error message that Home Assistant displays.

CleanShot 2024-07-26 at 14 48 00@2x

And here is the detail from the error generated in the log.

`Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:241
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 2:47:58 PM (2 occurrences)

Last logged: 2:52:00 PM

[140582331245632] Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/core.py", line 2731, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/core.py", line 2774, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/helpers/service.py", line 999, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/update/init.py", line 154, in async_install
await entity.async_install_with_progress(version, backup)
File "/usr/local/lib/python3.12/site-packages/homeassistant/components/update/init.py", line 458, in async_install_with_progress
await self.async_install(version, backup)
File "/config/custom_components/hacs/update.py", line 111, in async_install
await self._ensure_capabilities(version)
File "/config/custom_components/hacs/update.py", line 95, in _ensure_capabilities
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The version cfcedea for this integration can not be used with HACS.`

@galletn
Copy link
Owner

galletn commented Jul 26, 2024

hi @chansearrington, can you try updating from the HACS screen instead of the settings -> updates one?

test it out just now and worked like a charm.

image

@chansearrington
Copy link
Author

@galletn where is that option? I don't see an "update" option in HACS

CleanShot 2024-07-27 at 14 43 16@2x

@galletn
Copy link
Owner

galletn commented Jul 28, 2024

You ca do it from here:

image

or one further in the integrations screen:

image

@chansearrington
Copy link
Author

I don't have that in my HACS setup. I'm not sure why. I assume it's because I'm running Home Assistant in a docker container and not a OS/Supervisor?

Regardless, this is the only HACS integration I've seen that won't update via the normal process.

@ppastur
Copy link

ppastur commented Jul 29, 2024

I have HA on Docker and mine updates in the same way as shown above by @galletn

@galletn
Copy link
Owner

galletn commented Aug 1, 2024

@chansearrington can you make sure you have latest versions of HACS / HA / ... I did not see any others with issues so far so hard to reproduce / fix this one

@galletn
Copy link
Owner

galletn commented Aug 24, 2024

hi @chansearrington can you check again, made sure it works on HACS 2.0.0 too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants