I am having problems getting Frontail working on OH 3.1 New install on a x86 machine. I have looked and cannot find a solution to the preset error below.
Any thoughts on what to try next?
Jul 10 08:53:01 openhabian systemd[1]: Started Frontail openHAB instance, reachable at http://openhabian:9001.
openhabian@openhabian:~ $ sudo systemctl status frontail.service
● frontail.service - Frontail openHAB instance, reachable at http://openhabian:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-07-10 08:55:52 CDT; 1s ago
Docs: https://github.com/mthenw/frontail
Main PID: 5635 (node)
Tasks: 7 (limit: 2301)
Memory: 12.1M
CGroup: /system.slice/frontail.service
└─5635 node /usr/lib/node_modules/frontail/bin/frontail --disable-usage-stats --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab_AEM.json --theme op
Jul 10 08:55:52 openhabian systemd[1]: Started Frontail openHAB instance, reachable at http://openhabian:9001.
openhabian@openhabian:~ $ sudo journalctl -xu frontail
-- Logs begin at Sat 2021-07-10 08:41:42 CDT, end at Sat 2021-07-10 09:03:13 CDT. --
Jul 10 08:41:44 openhabian systemd[1]: Started Frontail openHAB instance, reachable at http://openhabian:9001.
-- Subject: A start job for unit frontail.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit frontail.service has finished successfully.
--
-- The job identifier is 91.
Jul 10 08:41:50 openhabian frontail[493]: /usr/lib/node_modules/frontail/index.js:121
Jul 10 08:41:50 openhabian frontail[493]: throw new Error(`Preset file ${presetPath} doesn't exists`);
Jul 10 08:41:50 openhabian frontail[493]: ^
Jul 10 08:41:50 openhabian frontail[493]: Error: Preset file /usr/lib/node_modules/frontail/preset/openhab_AEM.json doesn't exists
Jul 10 08:41:50 openhabian frontail[493]: at Object.<anonymous> (/usr/lib/node_modules/frontail/index.js:121:13)
Jul 10 08:41:50 openhabian frontail[493]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Jul 10 08:41:50 openhabian frontail[493]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
Jul 10 08:41:50 openhabian frontail[493]: at Module.load (internal/modules/cjs/loader.js:653:32)
Jul 10 08:41:50 openhabian frontail[493]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Jul 10 08:41:50 openhabian frontail[493]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Jul 10 08:41:50 openhabian frontail[493]: at Module.require (internal/modules/cjs/loader.js:692:17)
Jul 10 08:41:50 openhabian frontail[493]: at require (internal/modules/cjs/helpers.js:25:18)
Jul 10 08:41:50 openhabian frontail[493]: at Object.<anonymous> (/usr/lib/node_modules/frontail/bin/frontail:2:1)
Jul 10 08:41:50 openhabian frontail[493]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Jul 10 08:41:50 openhabian systemd[1]: frontail.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit frontail.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jul 10 08:41:50 openhabian systemd[1]: frontail.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit frontail.service has entered the 'failed' state with result 'exit-code'.
Jul 10 08:41:51 openhabian systemd[1]: frontail.service: Service RestartSec=100ms expired, scheduling restart.
Jul 10 08:41:51 openhabian systemd[1]: frontail.service: Scheduled restart job, restart counter is at 1.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Automatic restarting of the unit frontail.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jul 10 08:41:51 openhabian systemd[1]: Stopped Frontail openHAB instance, reachable at http://openhabian:9001.
type or paste code here