OpenHABian v1.4 Issues

I’ve installed a brand new system on a Raspberry Pi 3 with a new SD card … Right out of the box frontail doesn’t work… Seems the systemd service fails to start with an error related to not being able to find the file openhab.json

Jan 03 22:39:13 WGB01AP1002 systemd[1]: Started Frontail openHAB instance, reachable at http://WGB01AP1002:9001.
Jan 03 22:39:14 WGB01AP1002 frontail[19409]: /usr/lib/node_modules/frontail/index.js:106
Jan 03 22:39:14 WGB01AP1002 frontail[19409]:       throw new Error(`Preset file ${presetPath} doesn't exists`);
Jan 03 22:39:14 WGB01AP1002 frontail[19409]:       ^
Jan 03 22:39:14 WGB01AP1002 frontail[19409]: Error: Preset file /usr/bin/preset/openhab.json doesn't exists
Jan 03 22:39:14 WGB01AP1002 frontail[19409]:     at Object.<anonymous> (/usr/lib/node_modules/frontail/index.js:106:13)
Jan 03 22:39:14 WGB01AP1002 systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
Jan 03 22:39:14 WGB01AP1002 systemd[1]: frontail.service: Unit entered failed state.
Jan 03 22:39:14 WGB01AP1002 systemd[1]: frontail.service: Failed with result 'exit-code'.

This is a brand new install, no bindings yet installed or any things/items created.

Any clues on how to fix?

Hi, I run into this problem yesterday as well.

The problem is introduced with some recent changes in frontail which require changes in the OpenHABian setup function for frontail. I already reported the issue on GH: https://github.com/openhab/openhabian/issues/304

I’m guessing you don’t yet have a fix? I looked at the issue you’ve logged and done the same manual install but the frontail systemd service still doesn’t start.

Having the same Problem. Fresh install after a system crash with no backup (no backup no mercy - I know). Tried manual install of frontail, as well as taking the 1.3 Image for installation. No success with that.
I didn’t went to all new features of 1.4 / OH2.2 yet, so do you now if there is a other/new logviewer?

EDIT: the command

openhab-cli showlogs

is showing you the logs in your console.

I created pull request to fix the frontail issue: https://github.com/openhab/openhabian/pull/306