I upgraded (installing a new boot on raspbian 2.5.5 and restoring the configuration from backup of the 2.3), and having problem with the log application UI, everytime I reboot, frontail service is not started (I tried to reinstall from openhabian-config and tried to update-rc.d frontail enable)
Someone has the same issue?
Can you start the service manually?
If so something like this might work
sudo systemctl enable
Yes I can start manually and executing the command you suggested I have:
Failed to enable unit: Unit file openhab2.frontail.service does not exist
I installed the frontail with optional component of openhabian-config
openhab2.frontail was italic because it was a placeholder.
How do you start the service manually?
sudo service frontail start
sudo systemctl enable frontail
reboot and see if it helped
frontail is a third party application & not part of openHAB.
OpenHABian gives you the choice of installing it though.
Ok but in the previous versions was installed by default…the problem is that when I install (from a virgin img openhabian image) if I reboot I have to start it manually, why?
What is the current error message that you get ?
Is there any entry in the system log ?
There is no error…the service not starting automatic even if is enabled, and I have to start it manually
January 15, 2021, 12:49pm
Hello all, I’m experiencing the same problem here.
If I install frontail using openhabian-config option ‘21 Log Viewer dark’ the webpage and logs are displayed at port: 9001.
However, on reboot, this service is not presented and I cannot view the logs.
I’ve tried enabling the service with
sudo systemctl enable frontail.service as well as
sudo systemctl enable frontail
journalctl -k | grep frontail however nothing is presented as an error.
permissions for frontail at:
-rwxr-xr-x 1 root root 43 Oct 26 1985 frontail
What else can I try?
Your help, as always, is appreciated
January 15, 2021, 7:16pm
There are regularly updates for openhabian-config that can be downloaded / applied on the fly when you startup openhabian-config. Do you apply the updates. Which version of openhabian-config is being shown ?
You wrote that you enabled the service. Of course it should start at boot automatically what do you get when you run
sudo systemctl start frontail
is it running then ?
January 16, 2021, 1:21pm
@Wolfgang_S , thanks for replying,
Yes apply all updates when available.
Welcome to the openHABian Configuration Tool [openHAB3]patchday-20210104-1134(c166ac8)
And yes, after running
sudo systemctl start frontail the service is available at 9001.
Perplexing for me - maybe something simple to someone else?
January 16, 2021, 1:59pm
Could you post the content of /etc/systemd/system/frontail.service please ?
Just to check if that file contains what is expected to be in the file.
That file is responsible for starting the service in dependency of other services.
January 16, 2021, 2:18pm
Description=Frontail openHAB instance, reachable at http://%H:9001
ExecStart=/usr/lib/node_modules/frontail/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab$
January 16, 2021, 2:36pm
The service file is ok as well.
Instead of running
could you please check
journalctl -b | grep frontail
While the first command only checks for kernel messages the second one checks for all entries since the last boot and filters for frontail related messages only.
January 16, 2021, 4:34pm
Sure as below - seems it did start? Or started and then exited?
Jan 15 11:27:07 vanOpenhab systemd: frontail.service: Main process exited, code=killed, status=15/TERM
Jan 15 11:27:07 vanOpenhab systemd: frontail.service: Succeeded.
Jan 16 02:00:01 vanOpenhab mirror_SD: /etc/systemd/system/frontail.service
Jan 16 02:01:51 vanOpenhab mirror_SD: /usr/lib/node_modules/frontail/preset/
Jan 16 02:01:51 vanOpenhab mirror_SD: /usr/lib/node_modules/frontail/preset/openhab.json
Jan 16 02:01:51 vanOpenhab mirror_SD: /usr/lib/node_modules/frontail/preset/openhab_dark.json
Jan 16 02:01:51 vanOpenhab mirror_SD: /usr/lib/node_modules/frontail/web/assets/styles/
Jan 16 02:01:51 vanOpenhab mirror_SD: /usr/lib/node_modules/frontail/web/assets/styles/openhab.css
Jan 16 02:01:51 vanOpenhab mirror_SD: /usr/lib/node_modules/frontail/web/assets/styles/openhab_dark.css
Jan 16 02:01:54 vanOpenhab mirror_SD: /usr/local/bin/frontail -> /usr/bin/frontail
Jan 16 13:20:07 vanOpenhab sudo: openhabian : TTY=pts/0 ; PWD=/home/openhabian ; USER=root ; COMMAND=/usr/bin/systemctl start frontail
Jan 16 14:18:01 vanOpenhab sudo: openhabian : TTY=pts/0 ; PWD=/var/lib/openhab/persistence/rrd4j ; USER=root ; COMMAND=/usr/bin/nano /etc/systemd/system/frontail.service
Jan 16 14:18:27 vanOpenhab sudo: openhabian : TTY=pts/0 ; PWD=/var/lib/openhab/persistence/rrd4j ; USER=root ; COMMAND=/usr/bin/nano /etc/systemd/system/frontail.service
January 19, 2021, 10:03pm
What do we think? Seems to me it does start but instantly stops? How do I ensure it stays up?