Using Lubuntu I ran into the same issue (“artful”)…
Try (with sudo)
apt install npm
npm i frontail -g
Then tested with
frontail /var/log/syslog
and it was working.
Nevertheless if you have a different host name than “openhabianpi”, it won´t work out of the box (known issue), as the device name in the startup screen is wrong.
Run
grep -i -w -R 'openhabiandevice' / 2>/dev/null
This will give you the file where the entry is wrong. For me it was
To revise my previous answer:
It seems that there is an issue with node7.x no longer supported, switching to node 8.x did the trick and resulted in frontail being installed from the openhabian-config directly.
Unrelated to this content but may help someone given the title. I was having a repeated install error when reaching the install of Frontail on my raspberry pi 3 with the config tool. Moved to a different SD card and the problem disappeared, I think it had to do with the size of the card? The 2GB card failed but a 4GB card work.
Reviving this topic as I had the issue that I couldn’t install frontail on a fresh Openhabian (OH3) installation.
Here’s what I did, maybe it helps somebody at some point.
UPDATE: ok, this issue has nothing todo with frontail, I also get this error for other actions in openhabian-config, so please ignore my note below, sorry
UPDATE2: ok, if anybody else runs into certification faults (also with apt-get upgrade), here the solution: clean reinstall after resetting the FritzBox (router) config for that client (the raspi). Not sure what the reason was, maybe me, not beeing patient during initial installation phase.
Hey, I am reopening this thread since I ran into the same (or comparable) issue in OH4.
My setup:
openHAB 4.0.0.M3
openhabian 1.8
Raspbian GNU/Linux 11 (bullseye)
Kernel = Linux 6.1.21-v8+
Platform = Raspberry Pi 4 Model B Rev 1.1
What I did:
Fresh install. All fine, no issues.
But no Log Viewer available from the beginning.
Tried to install as documented here Rules Blockly - Before Using | openHAB (sudo openhabian-config → option 20 → option 21 → error)
Error:
There was an error or interruption during the execution of: │
│ "20 | Optional Components" │
│ │
│ Please try again. If the error persists, please read │
│ /opt/openhabian/docs/openhabian-DEBUG.md or │
│ https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how │
│ to proceed. │
│ │
│