Ubuntu cannot install/start Frontail - openhabian

  • Platform information:
    • Hardware: Intel® Core™ i5-3337U CPU @ 1.80GHz
    • OS: Ubuntu 18.04.3 LTS
    • Java Runtime Environment: openjdk version “1.8.0_222”
    • openHAB version: openHAB 2.4.0 Release Build

I have installed OpenHab using Openhabian on a laptop running ubuntu but I am struggling to get the log viewer to work. I have fresh installed 3 times but the same thing each time

openhab@openhabubuntu:/$ systemctl status frontail.service

● frontail.service - Frontail openHAB instance, reachable at http://openhabubuntu:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-11-08 20:44:32 UTC; 12min ago
Docs: https://github.com/mthenw/frontail
https://github.com/openhab/openhabian/issues/28
Process: 14271 ExecStart=/usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.json -t openha
Main PID: 14271 (code=exited, status=1/FAILURE)

Nov 08 20:44:32 openhabubuntu systemd[1]: frontail.service: Service hold-off time over, scheduling restart.
Nov 08 20:44:32 openhabubuntu systemd[1]: frontail.service: Scheduled restart job, restart counter is at 5.
Nov 08 20:44:32 openhabubuntu systemd[1]: Stopped Frontail openHAB instance, reachable at http://openhabubuntu:9001.
Nov 08 20:44:32 openhabubuntu systemd[1]: frontail.service: Start request repeated too quickly.
Nov 08 20:44:32 openhabubuntu systemd[1]: frontail.service: Failed with result ‘exit-code’.
Nov 08 20:44:32 openhabubuntu systemd[1]: Failed to start Frontail openHAB instance, reachable at http://openhabubuntu:9001.

1 Like

One cannot tell from your output what’s wrong but you could try this patch.