fl4p / batmon-ha

Add-on for Home Assistant to connect JK, JBD, Daly, ANT, SOK and Supervolt BMS via Bluetooth
MIT License
246 stars 53 forks source link

Update is not working 0.071 #147

Closed legolas3107 closed 8 months ago

legolas3107 commented 9 months ago

I've been trying since it came out but I can't get this error out... can you help me ?

Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:226 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 14:42:47 (1 occurrences) Last logged: 14:42:47

[2607201512] Error updating Batmon: The command '/bin/ash -o pipefail -c pip3 install -r requirements.txt' returned a non-zero code: 1 Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 167, in async_install await async_update_addon(self.hass, slug=self._addon_slug, backup=backup) File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 53, in _wrapper raise HassioAPIError(data["message"]) homeassistant.components.hassio.handler.HassioAPIError: The command '/bin/ash -o pipefail -c pip3 install -r requirements.txt' returned a non-zero code: 1

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 226, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service return await service.entity_service_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call response_data = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 157, in async_install await entity.async_install_with_progress(version, backup) File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 432, in async_install_with_progress await self.async_install(version, backup) File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 169, in async_install raise HomeAssistantError(f"Error updating {self.title}: {err}") from err homeassistant.exceptions.HomeAssistantError: Error updating Batmon: The command '/bin/ash -o pipefail -c pip3 install -r requirements.txt' returned a non-zero code: 1

wifingalas commented 9 months ago

get same error in my ha

fl4p commented 8 months ago

This appears to be the new 'influxdb' requirement. What hardware and OS is it? Inside HA?

legolas3107 commented 8 months ago

Yes inside HA

Karatzie commented 8 months ago

I use the RP3 and Home Assistant OS 10.5 64 bit.

legolas3107 commented 8 months ago

Now is OK … thanks