Closed dashart-ke closed 1 year ago
This looks like some kernel modules are now missing on your host system (possibly due to a kernel or general ubuntu update process). This is quite a common problem if people tend to update their systems in general and are missing to take care of the necessary kernel modules that are required for the Homematic RF modules. Thus, have you tried to re-install the following packages:
sudo apt reinstall pivccu-modules-dkms
And if you are using a raspberrypi as your base platform also make sure to do:
sudo apt reinstall pivccu-modules-raspberrypi raspberrypi-kernel raspberrypi-kernel-headers raspberrypi-bootloader
If you use a different platform it can be that you have to install other packages for the kernel headers so that the necessary kernel modules can be compiled in during reinstall of the pivccu-modules-dkms
package.
And then do the following and check that no error is returned.
sudo service pivccu-dkms restart
sudo modprobe eq3_char_loop
Hello.
I have the same issue with a docker container 3.69.7.20230626 on debian 10. The HMIP-RFUSB/eQ-3 is found. Also reinstalling the kernel driver does not help. root@vccu:~# systemctl status pivccu-dkms.service ● pivccu-dkms.service - piVCCU DKMS Modules Loaded: loaded (/lib/systemd/system/pivccu-dkms.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2023-06-29 11:53:59 CEST; 29min ago Process: 14236 ExecStart=/var/lib/piVCCU/dkms/ensure_modules.sh (code=exited, status=0/SUCCESS) Main PID: 14236 (code=exited, status=0/SUCCESS)
Jun 29 11:53:59 vccu systemd[1]: Starting piVCCU DKMS Modules... Jun 29 11:53:59 vccu systemd[1]: pivccu-dkms.service: Succeeded. Jun 29 11:53:59 vccu systemd[1]: Started piVCCU DKMS Modules.
I have device /dev/eq3loop but no /dev/mmd_bidcos and /dev/mmd_hmip. Guess that will let multimacd failing. How to deeper trouble shoot that issue? Thx.
Sorry, but please use the new install-docker.sh
installation script (cf. https://github.com/jens-maus/RaspberryMatic/wiki/Installation-Docker-OCI#installation-procedure) to ensure you have done everything correctly and also make sure to try the "uninstall" option of that script.
Hello.
I have used it before but tried uninstall and install again: same issue. The /dev/eq3loop device is there but no /dev/mmd_bidcos and /dev/mmd_hmip Any idea how to debug it? i guess this is more a piVCCU issue right? So the serial port is called by the kernel driver and ended in the loop modul? How is then the multimacd coming into the game? Calling those mmd devices? Who is creating them the loop device? How to debug then this guy? Thx.
The /dev/eq3loop device is there but no /dev/mmd_bidcos and /dev/mmd_hmip Any idea how to debug it?
The /dev/mmd_bidcos
and /dev/mmd_hmip
are generated when multimacd
are started (because it creates them). So try to start it manually and see if there might be some permission errors, thought. In the end this is, however, not easy to debug and docker/OCI installation of RaspberryMatic are known to be prone to local installation differences and also critical in terms of what your actualy docker host system is (since RaspberryMatic requires kernel modules, etc.).
i guess this is more a piVCCU issue right? So the serial port is called by the kernel driver and ended in the loop modul? How is then the multimacd coming into the game? Calling those mmd devices? Who is creating them the loop device? How to debug then this guy? Thx.
Sorry, but this is no discussion/support fora here but a bug/issue tracker. If you need help or would like to discuss your problem move over to the discussion part since this is definitly no general issue here simply because a plain/fresh docker/OCI installation works perfectly here in all of my test systems and other ppl also have to perfectly running. Thus, I suspect a local issue on your end which needs debugging/analyses - however, this is not something that should be done here in the bug/issue tracker!
i found the reason for the fail in this RaspberryMatic docker setup: it does not support debian 10 and also ubuntu 18 anymore. reason is piVCCU brings an error regarding the old kernel/libc. you will figure out while trying to install debmatic. my other test setup was debian 12. i updated now to debian 11 and all is working fine.
That's exactly what I meant: The docker/OCI setup routine is too much prone and dependent on the actual underlying operating system used. That's why every other month someone is coming up here with issues and then we have to tell him that it is caused by their environment. That's why I always suggest to either use non-dockerized RaspberryMatic installation or use HomeAssistant and use RaspberryMatic as a HA addon or even better use ProxmoxVE as a virtualization platform and run RaspberryMatic as a plain VM. All these direct docker/OCI installation pathes are way to prone on the actual underlying OS and hardware platform used....
@gdav, the issue ticket you created does not seem to report a general issue/problem/bug in RaspberryMatic itself, but rather seems to point at a local usage issue that rather requires some support using a discussion fora. It will therefore be moved to the discussion area where you can continue for identifying solutions to your issue.
Describe the issue you are experiencing
After pulling 3.69.6.20230407 the system start fails with Starting multimacd: ..........ERROR. System was working with bild <= 3.67.10.20230225 fine.
If i try to open the webGUI, starting screen will be displayed (Bitte warten. Sie werden automatisch auf die Startseite weitergeleitet.), no redirect to login screen.
docker compose logs output:
docker-compose.yaml
Describe the behavior you expected
System starts as with 3.67.10.20230225 before.
Steps to reproduce the issue
docker compose up
What is the version this bug report is based on?
3.69.6.20230407
Which base platform are you running?
oci (Open Container Infrastructure)
Which HomeMatic/homematicIP radio module are you using?
HmIP-RFUSB
Anything in the logs that might be useful for us?
Additional information
Issue has been introduces with snapshot 3.69.4.20230322-af1a3fc