-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
2024.7.2 Cannot start due to Uncaught Exception. 2024.7.2 Requirements pointing to older version of Awesomeversion #121855
Comments
I have no clue what the actual issue is you are describing |
Home Assistant is not starting due to uncaught exception. The last error is the one included in the issue writeup regarding AwesomeVersion. |
Right, but I am still not getting what the problem is. A broken version check should not block HA from working so there probably is an uncaught error somewhere. |
Here is the entire error log:
|
What's in your |
That file does not exist |
I doubt that, looking at the code it would do something different |
Here you go: user@host:~/homeassistant/config/.storage$ ls -a
Please note, this was from migrating from 2024.6.4 |
Oh whoops, I'm sorry, it's in |
user@host: ~/homeassistant/config$ cat .HA_VERSION |
So that means its empty. It should not be empty. I am not sure why it didn't update or anything. Add the version you were running to that and it should work again |
Placed "2024.6.4" in this file, restarted container which is a 2024.7.2 image. It updated the file text to 2024.7.2, and it looks like HA is up. I'm getting some other errors in the log user@host:~/homeassistant/config$ tail -f -n 200 home-assistant.log
Anyway, I don't suspect any of those errors are related. If you have any thoughts as to why this file got wiped out, or why their is an uncaught exception for when no .HA_VERSION information is present, maybe there is cause for leaving this open. |
I haven't heard this before and I am not sure what happened exactly. I don't see any direct reason to how this can happen so I think we can close this issue for now. If there are more reports we can look back at this issue again. Can you create an issue for the
? |
Will close this one then |
Just wanted to add feedback that the exact same issue occured for me too when upgrading from 2024.7.3 to 2024.7.4. Adding the old version to the empty .HA_VERSION fixed the issue. |
The problem
homeassistant | awesomeversion.exceptions.AwesomeVersionCompareException: Can't compare <unknown > and <SimpleVer 0.50>
Awesomeversion as being built by the container is grabbing 24.2.0 due to the version associated with the tagged release of 2024.7.2 is 24.2.0 https://github.com/home-assistant/core/blob/2024.7.2/requirements.txt#L16
Awesomeversion 24.6.0 addresses this issue.
What version of Home Assistant Core has the issue?
2024.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
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
No response
The text was updated successfully, but these errors were encountered: