Closed Egglestron closed 1 year ago
I would think that the version of pyuptimekuma should not be coming from github, but rather from pypi which has the 0.0.6 version: https://pypi.org/project/pyuptimekuma/
@meichthys Can you clarify? I have the same issue and don't know what to do to fix it.
Maybe this provides a bit more info:
2023-02-23 10:44:59.041 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package pyuptimekuma==0.0.6: ERROR: Cannot install pyuptimekuma==0.0.6 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip
2023-02-23 10:45:02.346 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package pyuptimekuma==0.0.6: ERROR: Cannot install pyuptimekuma==0.0.6 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip
2023-02-23 10:45:05.413 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package pyuptimekuma==0.0.6: ERROR: Cannot install pyuptimekuma==0.0.6 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip
2023-02-23 10:45:05.413 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6'].
2023-02-23 10:45:08.209 ERROR (MainThread) [aiohttp.server] Error handling request
@alexruffell and @Egglestron It mayhave something to do with never versions of pip which resolve dependencies differently than in the past.
The issue here seems to be that we use pyuptimekuma which relies on a newer version of prometheus-client
than what homeassistant requires (we require anything greater than v0.14.1 while HA requires exactly version 0.7.1)
Since we likely won't get Homeassistant to update their dependency too easily, we may be able to relax our requirement. @jayakornk Do you know if v0.7.1 would work for pyuptimekuma?
I did not have this issue until updating to 2023.3 public today. I got this same error for other packages as well. I wonder if this broke things. @Egglestron has been, but @alexruffell have you been running beta HA?
UPDATE: Links to other integrations I'm having the same issue with:
@Intecpsp Yes, I was on 2023.3 betas, now stable.
I can confirm this issue happens wirh 2023.03.0 release, thus breaking the integration. Let me know if you need any more details.
same problem for me after hassio update 2023.3
Logger: homeassistant.setup Source: setup.py:205 First occurred: 01:12:45 (1 occurrences) Last logged: 01:12:45
Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6'].
Same issue here as well
Logger: homeassistant.setup
Source: setup.py:205
First occurred: 11:33:43 PM (1 occurrences)
Last logged: 11:33:43 PM
Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6'].
Adding yet another instance to the list of affected ones.
Integration v2.0.3 via HACS HAOS 9.5, Supervisor 2023.01.1 Works on Core 2023.2.5, fails on 2023.3.0 with the above requirements error.
Same issue here, after upgrading to 2023.3.0:
HAOS 9.5 Installed via HACS, version 0.5.2 Works on Core 2023.2.5, but does not load on 2023.3.0, with the requirements error below:
_Logger: homeassistant.setup Source: setup.py:205 First occurred: 12:54:56 AM (1 occurrences) Last logged: 12:54:56 AM
Setup failed for custom integration uptime_kuma: Requirements for uptimekuma not found: ['pyuptimekuma==0.0.6'].
Same problem here on HA 2023.3.0:
Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6'].
2023-03-02 09:06:20.150 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package pyuptimekuma==0.0.6: ERROR: Cannot install pyuptimekuma==0.0.6 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip
Same issue for me since updating to HA 2023.3.0. Had one other integration refuse to load after updating (AsusRouter) but they have put an update out that has fixed it. Any idea on how to fix the uptime kuma integration or do we need to wait until an update is published?
2023-03-02 11:00:41.406 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration uptime_kuma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-03-02 11:01:21.116 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration uptime_kuma: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6']. homeassistant.requirements.RequirementsNotFound: Requirements for uptime_kuma not found: ['pyuptimekuma==0.0.6']. File "/config/custom_components/uptime_kuma/__init__.py", line 4, in <module>
Uptime Kuma integration requires dependency pyuptimekuma version 0.0.6, but latest version is 0.0.4 on GitHub. Please find attached the logs of my Home Assistant instance, version 2023.3.0 b0.
Although the release version says 0.0.4 the init.py file says it is 0.0.6.
+1 for upgrading to HA 2023.3.0 and googling this error.
The version shouldn't be an issue since the correct version is listed in pypi. There is however a package discrepancy with prometheus-client which already exists in homeassistant core (version 0.7.1) while our main dependency pyuptimekuma requires a newer version.
Ideally the prometheus integration of homeassistant core would be updated to a newer version but I don't see that happening too soon so I have submitted a proposed fix to our upstream dependency here https://github.com/jayakornk/pyuptimekuma/pull/3 once that is merged, we should be able to push out an update to fix this.
In the mean time we may be able to monkey patch our manifest.json to update our requirements but I haven't been able to try it yet.
The version shouldn't be an issue since the correct version is listed in pypi. There is however a package discrepancy with prometheus-client which already exists in homeassistant core (version 0.7.1) while our main dependency pyuptimekuma requires a newer version.
Ideally the prometheus integration of homeassistant core would be updated to a newer version but I don't see that happening too soon so I have submitted a proposed fix to our upstream dependency here jayakornk/pyuptimekuma#3 once that is merged, we should be able to push out an update to fix this.
In the mean time we may be able to monkey patch our manifest.json to update our requirements but I haven't been able to try it yet.
I hope this fix the issue, I'll disable the integration in the meantime
Yup also here. For now I've disabled Kuma. Hope to see it solved soon
I've found that doing a
pip3 install pyuptimekuma==0.0.6
Inside the container fixes it in the interim.
I've found that doing a
pip3 install pyuptimekuma==0.0.6
Inside the container fixes it in the interim.
That certainly helped me for the time being, let's hope this issue is fixed soon :D
@danielsmith89 could you give some more details around that please, is that in the docker container, what was the command you ran ? as I tried pip3 install pyuptimekuma==0.0.6 didn't do anything....
thanks
@danielsmith89 could you give some more details around that please, is that in the docker container, what was the command you ran ? as I tried pip3 install pyuptimekuma==0.0.6 didn't do anything....
thanks
Yes, go inside the Home Assistant docker container (if that's what you are running HA in) and the issue that comand
@danielsmith89 could you give some more details around that please, is that in the docker container, what was the command you ran ? as I tried pip3 install pyuptimekuma==0.0.6 didn't do anything.... thanks
Yes, go inside the Home Assistant docker container (if that's what you are running HA in) and the issue that comand
Thank you that worked.
Any temporary solution available if I run HASS from raspberry OS?
@danielsmith89 could you give some more details around that please, is that in the docker container, what was the command you ran ? as I tried pip3 install pyuptimekuma==0.0.6 didn't do anything.... thanks
Yes, go inside the Home Assistant docker container (if that's what you are running HA in) and the issue that comand
@danielsmith89 - thanks but no running supported supervisor on Debian.
@danielsmith89 could you give some more details around that please, is that in the docker container, what was the command you ran ? as I tried pip3 install pyuptimekuma==0.0.6 didn't do anything.... thanks
Yes, go inside the Home Assistant docker container (if that's what you are running HA in) and the issue that comand
Thank you that worked.
@danielsmith89 I plonked that into the HA terminal (Ha OS via VMM) but it didn't work. It updated, but it didn't work.
@danielsmith89 could you give some more details around that please, is that in the docker container, what was the command you ran ? as I tried pip3 install pyuptimekuma==0.0.6 didn't do anything.... thanks
Yes, go inside the Home Assistant docker container (if that's what you are running HA in) and the issue that comand
Thank you that worked.
@danielsmith89 I plonked that into the HA terminal (Ha OS via VMM) but it didn't work. It updated, but it didn't work.
The SSH terminal is an addon that runs inside its own container, you have to attach to homassistant docker (if you run "docker ps -a" you should see it running) and then you run the command to install pyuptimekuma... I installed portainer-agent on hassos in a docker so it is much easier to access and manage the dockers environment from outside the addon SSH terminal.
Im running HAOS as a VM and Uptime Kuma on a Raspberry Pi3 with docker-compose. I jumped inside the container but no go.
Collecting pyuptimekuma==0.0.6
Could not find a version that satisfies the requirement pyuptimekuma==0.0.6 (from versions: )
No matching distribution found for pyuptimekuma==0.0.6
Any advice is much appreciated.
edit: clarification around my setup
Im running HAOS as a VM and Uptime Kuma on a Raspberry Pi3 with docker-compose. I jumped inside the container but no go.
Collecting pyuptimekuma==0.0.6 Could not find a version that satisfies the requirement pyuptimekuma==0.0.6 (from versions: ) No matching distribution found for pyuptimekuma==0.0.6
Any advice is much appreciated.
edit: clarification around my setup
Open portainer --> open homeassistant container --> open console --> typ: pip install --upgrade pip --> restart home assistant OS
Im running HAOS as a VM and Uptime Kuma on a Raspberry Pi3 with docker-compose. I jumped inside the container but no go.
Collecting pyuptimekuma==0.0.6 Could not find a version that satisfies the requirement pyuptimekuma==0.0.6 (from versions: ) No matching distribution found for pyuptimekuma==0.0.6
Any advice is much appreciated. edit: clarification around my setup
Open portainer --> open homeassistant container --> open console --> typ: pip install --upgrade pip --> restart home assistant OS
Will your solution help with my error from the logs?
Logger: homeassistant.util.package Source: util/package.py:107 First occurred: 18:08:39 (3 occurrences) Last logged: 18:08:56
Unable to install package pyuptimekuma==0.0.6: ERROR: Cannot install pyuptimekuma==0.0.6 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip
Im running HAOS as a VM and Uptime Kuma on a Raspberry Pi3 with docker-compose. I jumped inside the container but no go.
Collecting pyuptimekuma==0.0.6 Could not find a version that satisfies the requirement pyuptimekuma==0.0.6 (from versions: ) No matching distribution found for pyuptimekuma==0.0.6
Any advice is much appreciated. edit: clarification around my setup
Open portainer --> open homeassistant container --> open console --> typ: pip install --upgrade pip --> restart home assistant OS
Will your solution help with my error from the logs?
Logger: homeassistant.util.package Source: util/package.py:107 First occurred: 18:08:39 (3 occurrences) Last logged: 18:08:56
Unable to install package pyuptimekuma==0.0.6: ERROR: Cannot install pyuptimekuma==0.0.6 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip
Yes, i had the same error. This fixed it for me...
I'm the only one trying to integrate Uptime Kuma into HA....
I'm the only one trying to integrate Uptime Kuma into HA....
No, i use it as well and a lot of people do...
Is there any other way to install this fix in HA because I can't find Portainer?
Is there any other way to install this fix in HA because I can't find Portainer?
Go to settings --> add-on --> 3 dots in right corner --> add repo --> https://github.com/MaxWinterstein/homeassistant-addons/ paste this link --> clear browser cache. Now it's in the addon store
So where is the possibility to run the update now?
So where is the possibility to run the update now?
Yes, go to containers --> homeassistant --> console --> typ: pip install --upgrade pip --> restart container
But I don't have anything here
But I don't have anything here
Are you using home assistant os?
yes ha (rpi4)
yes ha (rpi4)
And you're running the addon in home assistant on that raspberry pi?
Did you disable security modus?
Yes, if I turn it on, the add-on doesn't start for me.
Strange things happen, please take a look at this link. Maybe that helps:
https://community.home-assistant.io/t/cant-find-home-assistant-container-in-docker/183944
Maybe the problem is that I don't have Docker installed?
Maybe the problem is that I don't have Docker installed?
Should be if you installed home assistant container and after that supervised. Please check the info on the page in that link.
You can check if you go to terminal in home assistant (also an addon) typ:
docker ps
This should give you also a list of docker containers, or an error that docker isn't installed
I installed HA from the image following these instructions
I installed HA from the image following these instructions
Also the second part for supervised?
I don't understand the question
Workaround fixed it. Integration is working again. If you dont see the container in Portainer check Portainer settings, if there are hidden containers, if so remove them from the list.
Hi,
Uptime Kuma integration requires dependency pyuptimekuma version 0.0.6, but latest version is 0.0.4 on GitHub. Please find attached the logs of my Home Assistant instance, version 2023.3.0 b0.