-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
HASS Add-on broken on HASSOS 9.0 #1942
Comments
@agners @pvizeli Is there something that automatically rings your bells when you read through this? As cgroupv2 support has been added to HomeAssistantOS 9.0, it seems users are coming up complaining about the "RaspberryMatic CCU" not working anymore... Something the addon has to do different now compared to v8? |
One thing I forgot to add: the situation prevents |
I hit accidential the upgrade button - never install a x.0 version on a productive system :-( Here the update prevents the hmip from starting:
|
...same for me but with RPI-RF-MOD:
|
Obviously (as the error messages states) the cgroup settings/permissions cannot be setup correctly with HomeAssistantOS 9.0 at the moment. Thus, anyone using the RaspberryMatic CCU" Add-on in production should stay with "HomeAssistantOS v8 for the time being. |
Downgrade to OS 8.5 solved the bug. |
Hm, this seems to be the relevant error:
This is definitely caused by the move to CGroupsV2 (home-assistant/operating-system#1329). It seems that device permissions set via runc has a problem with that particular device:
Is that the HM-CFG-USB-2? I do have such a stick somewhere, but can't find it right now 😢
Ideally, run a staging system and install beta/rc's there... Then .0 are painless 😉 |
Which info do you need from these Homematic USB devices to be used by RaspberryMatic? And please note, it seems that even users with a |
I can confirm this. After the downgrade to 8.5 everything is fine again. |
Hm, are those using UART I guess? So enabling access to UART fails in this case? I am not 100% sure what I need, I need to understand why my test case (deCONZ and a couple of USB sticks) works while this one does not. It seems that |
Well, I'm using a
Oh yes - it wasn't my intention to debug on the production system ... |
How do you guys have your |
Via GPIO (CM4 via mainboard) |
Well, this could easily be two independent issues here. One with using a USB connected RF Module like |
I'm using the RPI-RF-MOD via GPIO |
Do you see any similar permission or cgroupv2 related issues in the HomeAssistant logfiles? Because you only showed logs of the RaspberryMatic Addon startup, but not showing if HomeAssistantOS was logging some issues as well. |
Seems the logs are gone afert downgrade and restore, sorry. |
...I will do the upgrade again... |
same effect on Raspberry 4 running HA OS 9 and Raspberrymatic add on. I have the RPI-RF-MOD directly on GPIO. with OS 9 it does not work |
home-assistant.log only shows:
Is there any special debug setting or another log that will help? |
...Interesting: I had the problem after upgrading to 9.0 and found this issue when neither restarting the add-on nor rebooting the raspbi helped. Then downgraded again to 8.5 using To reproduce the error I just did Again I am on 9.0 and guess what: RaspberryMatic is running after rebooting... |
Does a restart of the add-on fix the issue? (Just for debugging) |
@sephiroth1395 do you happen to have access to the OS shell? If so, can you get the logs of |
The issue is that the driver seems not to work correctly and gets somehow closed after it gets created. I guess they have to be fixed in a upcoming release |
same problem here. Downgrade to OS 8.5 helped |
I am using the HmIP-RFUSB USB stick on my Synology NAS (OVA). Had the same issue when upgrading to 9.0 and downgraded to 8.5 and then it worked again. But I can't seem to upgrade again to 9.0 now? No update available? |
Since I have this problem, I searched hard how to go back to version 8.5, but could not find a suitable method. |
@JoMass |
Great, worked perfectly; Thank you @H3xF2x |
Please note that with the next nightly snapshot this issues should be hopefully solved/fixed by having introduced an additional |
Hello all, hello Jens, is there a date planned to publish the new version with the fix? |
I'm sorry to report, the latest release still does not works with HS-OS9.0 Logfile |
Whats the bade hardware on which you have installed HomeAssistantOS? |
Odroid N2+ 4GB 64GB-SSD |
Ok, already guessed that you have a ODROID. Then please look here: #1969 |
Thank you Jens for the quick resposne. I'll wait for the next HomeAsistantOS 9.x release |
Does it work with HomeAssistant OS v9.2? |
@andreas-bulling yes, for me it was working, even I have the information still in my notifications after the reboot. I guess, with the new release of the Addon (recently) there is a delay in the startup sequence, and this is causing the log message. |
Hello, in my system (Odroid with HmIP-RFUSB) the error no longer occurs under HomeAssistant OS v9.2. |
I can confirm that it also works for me with HomeAssistant OS 9.2 |
Ok, I think that we have definitely enough evidence that the issue raised here is solved. So no reason to misuse this ticket system as a discussion or messaging platform. |
Describe the issue you are experiencing
Since the upgrade to HASSOS 9.0, the add-on cannot start. I suspect this is due to the docker migration to cgroups2.
Error message from the Supervisor:
Describe the behavior you expected
The add-on successfully starts.
Steps to reproduce the issue
What is the version this bug report is based on?
3.65.8.20220831
Which base platform are you running?
ha-addon (HomeAssistant Add-on)
Which HomeMatic/homematicIP radio module are you using?
HmIP-RFUSB
Anything in the logs that might be useful for us?
Additional information
I'm using the ELV USB stick.
The text was updated successfully, but these errors were encountered: