Failed to upgrade due to frontail

Upgraded to RC2 from RC1. Notice this error:

Preparing to unpack …/openhab_3.0.0~RC2-1_all.deb …
Warning: openHAB’s home directory is incorrect (/var/lib/openhab2)
but can’t be changed because another process (358
493) is using it.

Frontail is the culprit:
openhab 358 0.0 1.1 138080 45048 ? Ssl Dec17 0:01 node /usr/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

The only config file I found with frontail in is /etc/openhab/service/dashboard.cfg

1 Like

your post is unrelated to OH and off topic so I moved it, mind the rules please.

You have an oldish openhabian setup. Try reinstalling frontail from the menu.

Sorry. It wasn’t clear to me that this was not part of OH. It seemed relevant in that it was a failure brought to light during the upgrade.

1 Like

If frontail is running it probably just needs to be stopped. Try this and then update again:

sudo service frontail stop

Also two things to note:

All paths that have openhab2 in them will need to be edited so it is just openhab. Need to work out where they are located to edit them.

Second I believe that there is no dashboard anymore so that config file does nothing and it can be deleted.