Log viewer

Tags: #<Tag:0x00007f2fb1c10a88>

Hi,

I just did a re-install of 2.4 using openhabian. I want to get back to the milestone 2.5.0 M1 so I can use the latest zwave database.

Im at 2.4 now. Everything works except for the logviewer (frontail) I cant connect to it. How can I tell if it’s running? Browser says: Firefox can’t establish a connection to the server at 192.168.0.31:9001.

I’ve cleared the cache and re-installed it several times. It is in the dashboard.cfg OK.

Everything else is working fine. What am I missing?

Thanks.

Frontail is a complete separate program from openHAB. It’s a toll developed by some other project and all that openHABian does is install and configure it to tail the OH logs.

I don’t have a machine with frontail installed so I don’t know the exact commands, but I bet something like “sudo system to status frontail” will show you what’s going on with it.

Nothing you do to OH itself will have any impact on frontail.

You may want to backup your configuration first.

The latest testing build is 2.5M2. Run sudo openhabian-config
It usually tries to update itself but you can select option 01 | Update to be sure.
Go to 40 | openHAB related. Select openHAB testing.
Acknowledge the prompts and you will be on 2.5M2.

Spell checker got you, I think.:cry:
sudo systemctl status frontail will let you know if it is running.
It can be installed from sudo openhabian-config by selecting 60 | Manual / Fresh Setup then 67 | Log Viewer You need to hit space to select & then enter.

Hi Bruce,

Does anyone know if 2.5M2 is working well with Zwave?

:wave::wave::wave:
I am running it here.
I disabled the nightly heal because my cheap battery powered sensors sometimes lock up.

If upgrading you should delete & re-discover your zwave devices(I did not do the controller). Their Ids stay the same so your Items and rules will work as expected after rediscovering the Things.

Hi,

It looks like something is wrong with it:

frontail.service - Frontail openHAB instance, reachable at http://openHABianPi:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-08-24 10:32:13 CDT; 40min ago
Docs: https://github.com/mthenw/frontail
https://github.com/openhab/openhabian/issues/28
Process: 3054 ExecStart=/usr/local/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.json -t openhab -l 2000 -n 200 /var/log/openhab2/openhab.log /var/log/openhab2/events.log (code=exited, status=203/EXEC)
Main PID: 3054 (code=exited, status=203/EXEC)

Aug 24 10:32:13 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
Aug 24 10:32:13 openHABianPi systemd[1]: frontail.service: Failed with result ‘exit-code’.
Aug 24 10:32:13 openHABianPi systemd[1]: frontail.service: Service hold-off time over, scheduling restart.
Aug 24 10:32:13 openHABianPi systemd[1]: Stopped Frontail openHAB instance, reachable at http://openHABianPi:9001.
Aug 24 10:32:13 openHABianPi systemd[1]: frontail.service: Start request repeated too quickly.
Aug 24 10:32:13 openHABianPi systemd[1]: Failed to start Frontail openHAB instance, reachable at http://openHABianPi:9001.
Aug 24 10:32:13 openHABianPi systemd[1]: frontail.service: Unit entered failed state.
Aug 24 10:32:13 openHABianPi systemd[1]: frontail.service: Failed with result ‘exit-code’.

Thanks! Here I go.

1 Like

Without any issues.

1 Like

It clearly shows that it’s not running but it doesn’t show why it isn’t running. I don’t have a lot of experience with frontail so I don’t have any further suggestions.

Thanks!!!

I’ll look around.

frontail and the logger is working now. It was fine another openhab-config update.
Maybe somebody fixed something.