after updating from OH41.2 to 4.3.2, the log files are missing. Neither Frontail (I want it back) nor the new “UI log viewer” display data. The file structure under the path /var/log/ only contains a readme file. The log files are missing and the saved files cannot be copied in. Further attempts to install via openhab-config (option 21) were unsuccessful.
Openhabian (bullseye) on Raspi 4
Please take a look at two files:
openhabian@oh4:/var/lib/openhab/etc$ cat $OPENHAB_USERDATA/etc/org.ops4j.pax.logging.cfg
org.ops4j.pax.logging.log4j2.config.file=${karaf.etc}/log4j2.xml
This is the link to the second file.
openhabian@oh4:/var/lib/openhab/etc$ cat $OPENHAB_USERDATA/etc/log4j2.xml
Maybe this file is empty or missing at all. If that’s the case, you can simply download the file from github:
Both files are there, as you described.
Sounds like you might have bad access permissions and the openhab
user cannot create files.
Check them and try the permissions correction option in openhabian-config
Frontail isn’t coming back. You can manually install it yourself, but it’s no longer supported as part of openHABian.
Corrected the permissions in the OH-Config with option 14.
Then I was able to copy the log files to the old location.
And… success: the files are updated to the current state!
Danke an Markus und Udo für die schnelle Hilfe !