I am facing as it seems the same problem as described in post 1. The only difference is that I’m using a a fresh OpenHAB 3 install via openhabian on ubuntu.
Interestingly the path listed in the log viewer uses openhab2 despite a fresh install.
Reinstalling the log viewer results in an error. As described in post 3
Do I understand you correct, that you did an OH3 install from scratch but openhab2 path is seen in e.g. the frontail setup ?
Please check if you are on the latest version of openhabian-config - there are regular updates that can be applied during startup of openhabian-config.
Besides that please make sure that you have an entry to select the OH3 branch in your openhabian-config configuration file in /etc folder. Not doing that even in case you installed OH3 you might get OH2 related paths in setups for additional software.
/etc/openhabian.conf needs to contain the row
clonebranch=openHAB3
in case you want to be on openHAB3 branch for openhabian-config and related tools.
Thanks! I literally checked at least 10 times for a typo and didn’t find it
Sadly it doesn’t fix the problem.
Correct.
No updates offered. As far as I can tell it is the most recent version → v1.6.2-1047(8ee3a8b)
That might be it. I have “stable” selected. I am surprised though that this results in OH2 related paths, as OH3 was the latest stable version, when I installed.
Can I simply change that now so that the paths are corrected or do I have to reinstall?
thanks for sharing this. I faced exaclty the same issue and fixed it with this thread. I have openhabianpi and upgraded to OH3
But I had still the text:
openHAB 2 Log Viewer (frontail)
You can change it in:
sudo nano /usr/lib/node_modules/frontail/web/assets/styles/openhab.css
sure that you are on the right branch ? I am on OH3 branch and do not see that two in the file.
After upgrading to OH3 and after switching to the right branch you may have to reinstall frontail - in that way you also can get rid off the two.
I am on the right branch. But like others here in the thread the installation of frontnail in openhabian-config failed. So we needed to to adaptat the OH2 frontnail installation by and by hand. Just tried it again:
2021-01-24_08:10:31_CET [openHABian] Switching to branch openHAB3... OK
2021-01-24_08:10:46_CET [openHABian] Updating Linux package information... OK
2021-01-24_08:10:46_CET [openHABian] Installing Frontail prerequsites (NodeJS)... OK
2021-01-24_08:11:20_CET [openHABian] Updating openHAB Log Viewer (frontail)... FAILED
2021-01-24_08:12:11_CET [openHABian] Checking for default openHABian username:password combination... OK
2021-01-24_08:12:11_CET [openHABian] We hope you got what you came for! See you again soon ;)
npm info it worked if it ends with ok
npm verb cli [
npm verb cli '/usr/bin/node',
npm verb cli '/usr/bin/npm',
npm verb cli '--verbose',
npm verb cli 'update',
npm verb cli '--force',
npm verb cli 'g',
npm verb cli 'frontail'
npm verb cli ]
npm info using npm@6.14.10
npm info using node@v12.20.1
npm WARN using --force I sure hope you know what you are doing.
npm verb npm-session 10c4301a7f186e0d
npm verb update computing outdated modules to update
npm verb exit [ 0, true ]
npm timing npm Completed in 797ms
npm info ok
I hope this helps…
Buy the way: For sure a previous version is there from OH2.
I’ve build a new OH3 and restore my backup, but it’s now not showing tail logs. I’ve checked and tail is working on web 9001 port, but not showing any results. I’ve also checked and there is no folder /var/log/openhab do you know how to solve it? On karaf console I can see logs
May I ask how you installed OH3 ? Is it an openhabian image installation, apt package download or … ?
The packages ( I checked the debian package ) contain the /var/log/openhab folder and a Readme.txt file that is stored in that folder.
Do you use zram ?
I’ve been using the 1.6.5 openhabian image and it’s usinz zram by default. This issues happening after I’ve installed via openhabian-config moquitto + grafana/influxdb, not sure why?! Afterwards also mosquitto stopped to work. I did some reserachs and correct permissions solve this logview issue
In OH2 I could increase the no. of lines from 200 to 2000, but as can be seen, in OH3 the no. of lines are already at 2000 (I guess), but only 200 lines can be displayed.
Any suggestions on how to increase the displayable lines to 2000?