- Platform information:
- Hardware: Raspberry pi 4 B/4GB
- OS: Ubuntu Server
- openHAB version: 3.2.0-1
Hello,
I’ve just installed Frontail, but i can’t manange to start the services, it returns this error:
frontail.service - Frontail openHAB instance, reachable at http://ubuntu:9001
Loaded: loaded (/lib/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-02-02 07:34:49 UTC; 3s ago
Docs: https://github.com/mthenw/frontail
https://github.com/openhab/openhabian/issues/28
Process: 724 ExecStart=/usr/local/bin/frontail --ui-highlight -t dark /var/log/openhab/openhab.log /var/log/openhab/events.log (code=exited, status=203/EXEC)
Main PID: 724 (code=exited, status=203/EXEC)
CPU: 13ms
I’ve done the steps like in this issues: Frontail installation issues · Issue #431 · openhab/openhabian · GitHub
but nothing…
I manage to see that the path for the frontail it’s not the same as in the link:
Link path: ExecStart=/usr/bin/frontail
My path: ExecStart=/usr/local/bin/frontail
I’ve search for frontail using: find / -name “frontail”, with result:
/usr/local/bin/frontail
/usr/local/lib/node_modules/frontail
/usr/local/lib/node_modules/frontail/bin/frontail
and set up the /etc/systemd/system/frontail.service with the following data:
[Unit]
Description=Frontail openHAB instance, reachable at http://%H:9001
Documentation=https://github.com/mthenw/frontail
Documentation=https://github.com/openhab/openhabian/issues/28
After=openhab.service
[Service]
ExecStart=/usr/local/bin/frontail --ui-highlight -t dark /var/log/openhab/openhab.log /var/log/openhab/events.log
Restart=always
User=ubuntu
Group=ubuntu
Environment=PATH=/usr/local/bin/
Environment=NODE_ENV=production
WorkingDirectory=/usr/local/lib/node_modules/frontail/bin/frontail
[Install]
WantedBy=multi-user.target
Alias=frontail.service
I don’t understand why it gives the error: 724 (code=exited, status=203/EXEC)