openHAB 4.2 Milestone discussion

Can you check this comment also? [shelly] Fix Gen1 initialization when thing is defined in .things by markus7017 · Pull Request #17009 · openhab/openhab-addons · GitHub

It would be nice with this last iteration to fully close this issue/topic.

This is exactly the fix I verified. However, witz a private build, not RC2

Yes, but @Lolodomo refered to a specific comment raising a specific question about that fix which AFAICT still is unanswered.

RC2 is now available, see Release openHAB 4.2.0 RC2 · openhab/openhab-distro · GitHub

1 Like

Thanks, I can confirm this works as expected with RC2 on my system:

2024-07-07 14:47:31.089 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/.git: AccessDeniedException

Just updated to 4.2-0-RC2. Just a few things which I saw at restart:

  1. I “archived” old rules in a subfolder under /etc/openhab/rules:
insgesamt 72
drwxrwxr-x 15 openhab openhab  4096 10. Jun 12:30 00_archiv
drwxrwxr-x  2 openhab openhab  4096 28. Dez 2020  01_Migration_OH3
drwxrwxr-x  2 openhab openhab  4096 22. Jul 2023  02_Migration_OH400_20230722
drwxrwxr-x  2 openhab openhab  4096 24. Jul 2023  03_OH400_20230724
drwxr-xr-x  2 openhab openhab  4096 18. Dez 2023  04_vor_OH410_20231213
drw-rw-r--  2 openhab openhab  4096  6. Jul 12:25 05_vor_OH420_20240705
-rw-rw-r--  1 openhab openhab   223 21. Dez 2020  readme.txt
-rw-rw-r--  1 openhab openhab 41707  5. Jul 06:51 Testrule.rules

With RC2 the system tries to parse files in folder “05_vor_OH420_20240705”. Before RC-2 .rules files haven’t been parsed in the subfolders.
Here’s the log output:

2024-07-07 15:23:11.070 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'PV_Warth.items'
2024-07-07 15:23:11.707 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/System.rules: AccessDeniedException
2024-07-07 15:23:11.710 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Heizung.rules: AccessDeniedException
2024-07-07 15:23:11.712 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Drucker.rules: AccessDeniedException
2024-07-07 15:23:11.714 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/PV_Strom_Warth.rules: AccessDeniedException
2024-07-07 15:23:11.717 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/zisterne.rules: AccessDeniedException
2024-07-07 15:23:11.719 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Garagen.rules: AccessDeniedException
2024-07-07 15:23:11.721 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Aussenbeleuchtung.rules: AccessDeniedException
2024-07-07 15:23:11.724 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Software_Firmware_Versionen.rules: AccessDeniedException
2024-07-07 15:23:11.726 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/infodisplay.rules: AccessDeniedException
2024-07-07 15:23:11.728 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/zisternetest.rules: AccessDeniedException
2024-07-07 15:23:11.731 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tagesstatus.rules: AccessDeniedException
2024-07-07 15:23:11.733 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/webcam.rules: AccessDeniedException
2024-07-07 15:23:11.736 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/DWDwarnungen.rules: AccessDeniedException
2024-07-07 15:23:11.738 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/pool.rules: AccessDeniedException
2024-07-07 15:23:11.740 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Dino_KFZ_Starthilfe_laden.rules: AccessDeniedException
2024-07-07 15:23:11.743 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Testrule.rules: AccessDeniedException
2024-07-07 15:23:11.745 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/aussenwerte.rules: AccessDeniedException
2024-07-07 15:23:11.747 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/smartmeter_warth.rules: AccessDeniedException
2024-07-07 15:23:11.750 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Webcam_Motion.rules: AccessDeniedException
2024-07-07 15:23:11.752 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/LampenWohnzimmerAusWochenende.rules: AccessDeniedException
2024-07-07 15:23:11.754 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/AlleLampenWohnzimmerEin.rules: AccessDeniedException
2024-07-07 15:23:11.757 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tasmota_433_MHz.rules: AccessDeniedException
2024-07-07 15:23:11.759 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/ladegeraete_Hauswirtschaftsraum.rules: AccessDeniedException
2024-07-07 15:23:11.761 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tasmota_Sensoren.rules: AccessDeniedException
2024-07-07 15:23:11.764 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Terassentueren_und_Fenster.rules: AccessDeniedException
2024-07-07 15:23:11.766 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/EinbrechlichtAus.rules: AccessDeniedException
2024-07-07 15:23:11.768 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Lampen_ein_aus_bei_Fenster_zu_auf.rules: AccessDeniedException
2024-07-07 15:23:11.771 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/dwdstrassenzustand.rules: AccessDeniedException
2024-07-07 15:23:11.773 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/heizoel.rules: AccessDeniedException
2024-07-07 15:23:11.775 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tasmota_Sonoff_B1.rules: AccessDeniedException
2024-07-07 15:23:11.777 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/PV_Anlage.rules: AccessDeniedException
2024-07-07 15:23:11.779 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/internet.rules: AccessDeniedException
2024-07-07 15:23:11.780 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Aroma_Diffusor.rules: AccessDeniedException
2024-07-07 15:23:11.781 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/LampenWohnzimmerAusWerktags.rules: AccessDeniedException
2024-07-07 15:23:11.783 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/HeizstrahlerBad.rules: AccessDeniedException
2024-07-07 15:23:11.784 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/kodiNotifyTelegram.rules: AccessDeniedException
2024-07-07 15:23:11.785 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tasmota_IR_Codes_senden.rules: AccessDeniedException
2024-07-07 15:23:11.787 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/vuplus1Notify.rules: AccessDeniedException
2024-07-07 15:23:11.788 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/vcontrol.rules: AccessDeniedException
2024-07-07 15:23:11.789 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/AlleLampenWohnzimmerAus.rules: AccessDeniedException
2024-07-07 15:23:11.791 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Datumsetzen.rules: AccessDeniedException
2024-07-07 15:23:11.792 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Hauswasserwerk.rules: AccessDeniedException
2024-07-07 15:23:11.793 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/LampenEsszimmerKuecheAus.rules: AccessDeniedException
2024-07-07 15:23:11.795 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Alexa.rules: AccessDeniedException
2024-07-07 15:23:11.796 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Arcadeautomat.rules: AccessDeniedException
2024-07-07 15:23:11.797 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/LampenDunkelEin.rules: AccessDeniedException
2024-07-07 15:23:11.799 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Praesenz.rules: AccessDeniedException
2024-07-07 15:23:11.800 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/abfall.rules: AccessDeniedException
2024-07-07 15:23:11.801 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Christbaum.rules: AccessDeniedException
2024-07-07 15:23:11.803 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Entkalkungsanlage.rules: AccessDeniedException
2024-07-07 15:23:11.804 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tasmota_mit_WS2812.rules: AccessDeniedException
2024-07-07 15:23:11.805 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/kodiNotify.rules: AccessDeniedException
2024-07-07 15:23:11.807 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Entfeuchter.rules: AccessDeniedException
2024-07-07 15:23:11.808 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/3ddrucker.rules: AccessDeniedException
2024-07-07 15:23:11.810 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Wh_in_KWh_umrechnen.rules: AccessDeniedException
2024-07-07 15:23:11.812 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/brandmelder_mqtt.rules: AccessDeniedException
2024-07-07 15:23:11.813 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Inventory.rules: AccessDeniedException
2024-07-07 15:23:11.814 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/awtrix.rules: AccessDeniedException
2024-07-07 15:23:11.816 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/watermeter.rules: AccessDeniedException
2024-07-07 15:23:11.817 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/wol.rules: AccessDeniedException
2024-07-07 15:23:11.819 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Bewegungsmelder.rules: AccessDeniedException
2024-07-07 15:23:11.820 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Postkasten.rules: AccessDeniedException
2024-07-07 15:23:11.821 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/smartmeter.rules: AccessDeniedException
2024-07-07 15:23:11.823 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/vuplusSendungSender.rules: AccessDeniedException
2024-07-07 15:23:11.824 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Telegram.rules: AccessDeniedException
2024-07-07 15:23:11.826 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/corona.rules: AccessDeniedException
2024-07-07 15:23:11.827 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/ElektrogeraeteWaschraumfertig.rules: AccessDeniedException
2024-07-07 15:23:11.828 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/FritzboxCallmonitor.rules: AccessDeniedException
2024-07-07 15:23:11.830 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/readme.txt: AccessDeniedException
2024-07-07 15:23:11.831 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/fussball.rules: AccessDeniedException
2024-07-07 15:23:11.833 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/odl.rules: AccessDeniedException
2024-07-07 15:23:11.834 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/Tasmota_Displays.rules: AccessDeniedException
2024-07-07 15:23:11.835 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/rollos.rules: AccessDeniedException
2024-07-07 15:23:11.837 [WARN ] [aml.internal.YamlModelRepositoryImpl] - Failed to process /etc/openhab/rules/05_vor_OH420_20240705/EinbrecherlichtEin.rules: AccessDeniedException

So it looks like .rules files (in some subfolders) in RC-2 are now parsed…
UPDATE:
Looks like permissions were messed up:

-????????? ? ? ? ?             ? Praesenz.rules
-????????? ? ? ? ?             ? PV_Anlage.rules
-????????? ? ? ? ?             ? PV_Strom_Warth.rules
-????????? ? ? ? ?             ? readme.txt
-????????? ? ? ? ?             ? rollos.rules
-????????? ? ? ? ?             ? smartmeter.rules
-????????? ? ? ? ?             ? smartmeter_warth.rules
-????????? ? ? ? ?             ? Software_Firmware_Versionen.rules
-????????? ? ? ? ?             ? System.rules
-????????? ? ? ? ?             ? Tagesstatus.rules
-????????? ? ? ? ?             ? Tasmota_433_MHz.rules
-????????? ? ? ? ?             ? Tasmota_Displays.rules
-????????? ? ? ? ?             ? Tasmota_IR_Codes_senden.rules
-????????? ? ? ? ?             ? Tasmota_mit_WS2812.rules
-????????? ? ? ? ?             ? Tasmota_Sensoren.rules
-????????? ? ? ? ?             ? Tasmota_Sonoff_B1.rules
-????????? ? ? ? ?             ? Telegram.rules
-????????? ? ? ? ?             ? Terassentueren_und_Fenster.rules
-????????? ? ? ? ?             ? Testrule.rules
-????????? ? ? ? ?             ? vcontrol.rules
-????????? ? ? ? ?             ? vuplus1Notify.rules
-????????? ? ? ? ?             ? vuplusSendungSender.rules
-????????? ? ? ? ?             ? watermeter.rules
-????????? ? ? ? ?             ? Webcam_Motion.rules
-????????? ? ? ? ?             ? webcam.rules
-????????? ? ? ? ?             ? Wh_in_KWh_umrechnen.rules
-????????? ? ? ? ?             ? wol.rules
-????????? ? ? ? ?             ? zisterne.rules
-????????? ? ? ? ?             ? zisternetest.rules

UPDATE2:
Removed the files and copied newly. Seems to fix it, but strange anyhow

When archiving any type of file based config, I usually add .txt to the file name so the file does never get picked up by openHAB.

1 Like

I can see the cogwheel and it works in Chrome, but in Edge it only works on the page that is shown if you didn’t specify the sitemap (http://:8080/basicui/app?sitemap). On all sitemaps the settings are not considered (always light mode, always 3 columns)
The settings menu is not shown when you click the cogwhell on those pages (nothing happens).

@stefano73 : please clear your browser cache. Ctrl+F5

1 Like

Oops, that was too simple but worked :wink:
Thank you @Lolodomo

1 Like

I completed the update from 4.1 to 4.2 without any major problem. I only have the dbquery bridge in state “unknown”. I tried to restart and trace the binding but I don’t have any error.
Anyone has the same problem?

Can an admin please close and lock this topic ?