Frontail connection refused

  • Platform information:
    Raspberry pi 4
    • openHAB version: 3.3.0
  • Issue of the topic: frontail connection refused after update to 3.3.0
  • Please post configurations (if applicable):
    Yesterday I switched from Pi3 to Pi4 and updated openhab inside of openhabian-config.
    This morning i tried to open the log viewer but it says connection refused.

There are several topics regarding this and I also had to solve this issue before, but this time I cant make it run again.

Installation is failing when I start it from openhabian-config:
Installing Frontail prerequsites (NodeJS)… FAILED
NodeJs version is 14.21.1-deb-1nodesource1

When i check the status of frontail its showing the following:

openhabian@openHABianDevice:~ $ systemctl status frontail.service
● frontail.service - Frontail openHAB instance, reachable at http://openHABianDevice:9001
   Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2022-11-11 08:49:25 CET; 1s ago
     Docs: https://github.com/mthenw/frontail
 Main PID: 7340 (node)
    Tasks: 7 (limit: 3839)
   CGroup: /system.slice/frontail.service
           └─7340 node /usr/lib/node_modules/frontail/bin/frontail --disable-usage-stats --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/

Nov 11 08:49:25 openHABianDevice systemd[1]: Started Frontail openHAB instance, reachable at http://openHABianDevice:9001.

Dont know why it tells me its reachable under http://openHABianDevice:9001 even if the network name is “openhab”.

Also the journal shows its continously starting and stopping

openhabian@openHABianDevice:~ $ sudo journalctl -u frontail
-- Logs begin at Fri 2022-11-11 07:55:09 CET, end at Fri 2022-11-11 08:50:59 CET. --
Nov 11 07:55:33 openHABianDevice systemd[1]: Started Frontail openHAB instance, reachable at http://openHABianDevice:9001.
Nov 11 07:55:42 openHABianDevice systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 07:55:42 openHABianDevice systemd[1]: frontail.service: Failed with result 'exit-code'.
Nov 11 07:55:42 openHABianDevice systemd[1]: frontail.service: Service RestartSec=100ms expired, scheduling restart.
Nov 11 07:55:42 openHABianDevice systemd[1]: frontail.service: Scheduled restart job, restart counter is at 1.
Nov 11 07:55:42 openHABianDevice systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianDevice:9001.
Nov 11 07:55:42 openHABianDevice systemd[1]: Started Frontail openHAB instance, reachable at http://openHABianDevice:9001.
Nov 11 07:55:45 openHABianDevice systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 07:55:45 openHABianDevice systemd[1]: frontail.service: Failed with result 'exit-code'.
Nov 11 07:55:45 openHABianDevice systemd[1]: frontail.service: Service RestartSec=100ms expired, scheduling restart.
Nov 11 07:55:45 openHABianDevice systemd[1]: frontail.service: Scheduled restart job, restart counter is at 2.
Nov 11 07:55:45 openHABianDevice systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianDevice:9001.
Nov 11 07:55:45 openHABianDevice systemd[1]: Started Frontail openHAB instance, reachable at http://openHABianDevice:9001.
Nov 11 07:55:48 openHABianDevice systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 07:55:48 openHABianDevice systemd[1]: frontail.service: Failed with result 'exit-code'.

Any ideas?

This morning there was 1 update in the console. This was nodejs 14.21 > 16.18.

After this I was able to install frontail without errors from the openhabian config tool :slight_smile:

Now I can go on with debugging!