Web does not start (:8080 does not respond)

OrangePi, Ubuntu 16.04.4 LTS

Installed openhab2 via repos:

sudo apt-get install openhab2 openhab2-addons oracle-java8-installer

All good, works, can connect to :8080 on a Pi and see the web interface. But then I picked not “standard” but “1.x” package. I could not find an easy way to revert but no big deal, I thought, let’s reinstall it. So:

sudo systemctl stop openhab2.service
sudo systemctl disable openhab2.service
sudo apt-get remove openhab2 openhab2-addons openhab* java-common
sudo apt-get autoremove
sudo rm -rf /var/log/openhab*
sudo rm -rf /var/lib/openhab*
sudo rm -rf /etc/openhab*
find /etc -iname '*openhab*' -exec sudo rm -rf {} \;

Then re-added openhab2.list (find+rm killed it :slight_smile: ), and:

sudo apt-get install openhab2 openhab2-addons oracle-java8-installer
sudo systemctl start openhab2.service

The status is alright:

aik@aikopi:~$ sudo systemctl status openhab2.service
* openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; disabled; vendor preset: enabled)
   Active: active (running) since Sat 2018-03-03 00:23:34 AEDT; 14min ago
     Docs: http://docs.openhab.org
           https://community.openhab.org
 Main PID: 15069 (java)
   CGroup: /system.slice/openhab2.service
           ---15069 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runti

Mar 03 00:23:34 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.

top’ shows dozens of threads from ‘/usr/bin/java -Dopenhab.home=/usr/share/openhab2 ...’.
ps ax | grep 8080’ shows ‘/usr/bin/java -Dopenhab.home=/usr/share/openhab2 ...’.
But netstat does not see any listener on 8080 and therefore the webinterface does not open.
The log is:

aik@aikopi:~$ cat /var/log/openhab2/openhab.log 
Mar 03, 2018 12:23:46 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Mar 03, 2018 12:23:49 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Mar 03, 2018 12:23:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /var/lib/openhab2/tmp/lock
Mar 03, 2018 12:23:49 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Mar 03, 2018 12:23:49 AM org.apache.karaf.main.Main$KarafLockCallback lockAquired
INFO: Lock acquired. Setting startlevel to 100

What went wrong here? How to fix this and get http back? Thanks.

In future, to get rid of everything openHAB 2 related (including configuration files), you’ll find it easier to use:

sudo apt-get purge openhab2*

Otherwise, the log looks a bit suspicious (not in the format I recognise and doesn’t talk about the interface at all. What is the output of the two commands:

openhab-cli showinfo
sudo journalctl -u openhab2.service -b

?

aik@aikopi:~$ netstat -an | grep 8080
aik@aikopi:~$ openhab-cli showinfo
Unrecognised command: showinfo
Usage:  openhab-cli command [options]

Possible commands:
  start [--debug]     -- Starts openHAB in the terminal.
  stop                -- Stops any running instance of openHAB.
  status              -- Checks to see if openHAB is running.
  console             -- Opens the openHAB console.
  backup [filename]   -- Stores the current configuration of openHAB.
  restore filename    -- Restores the openHAB configuration from a backup.
  showlogs            -- Displays the log messages of openHAB.
  info                -- Displays distribution information.

aik@aikopi:~$ openhab-cli status
A systemd service configuration exists...
Use 'sudo /bin/systemctl status openhab2.service' to find the status of an openHAB service
openHAB is running with PID: 15069 and has been running for    10:47:38
aik@aikopi:~$ openhab-cli info
awk: cannot open /etc/version.properties (No such file or directory)
awk: cannot open /etc/version.properties (No such file or directory)
Version:      ()

User:        openhab (Active Process 15069)
User Groups: openhab

Directories: Folder Name      | Path                        | User:Group
             -----------      | ----                        | ----------

URLs:        http://192.168.10.200:
             https://192.168.10.200:

aik@aikopi:~$ openhab-cli showlogs
/usr/bin/openhab-cli: 140: /usr/bin/openhab-cli: OPENHAB_LOGDIR: parameter not set or null
aik@aikopi:~$ sudo journalctl -u openhab2.service -b | cat
-- Logs begin at Fri 2018-03-02 21:37:44 AEDT, end at Sat 2018-03-03 11:12:04 AEDT. --
Mar 02 22:09:17 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:39:21 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:40:07 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:41:55 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:41:57 aikopi karaf[4336]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:41:57 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:41:58 aikopi karaf[4422]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:41:58 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:41:58 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:41:58 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:03 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:03 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:03 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:05 aikopi karaf[4511]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:05 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:06 aikopi karaf[4596]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:06 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:06 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:06 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:11 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:11 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:11 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:12 aikopi karaf[4705]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:13 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:15 aikopi karaf[4809]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:15 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:15 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:15 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:20 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:20 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:20 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:21 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:42:21 aikopi karaf[4911]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:21 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:22 aikopi karaf[4988]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:22 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:22 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:22 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:22 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:22 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:24 aikopi karaf[5084]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:24 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:25 aikopi karaf[5170]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:25 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:25 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:25 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:30 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:30 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:30 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:31 aikopi karaf[5259]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:31 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:32 aikopi karaf[5344]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:32 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:32 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:32 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:37 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:37 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:37 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:39 aikopi karaf[5437]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:39 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:40 aikopi karaf[5522]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:40 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:40 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:40 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:45 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:45 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:45 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:46 aikopi karaf[5609]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:46 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:47 aikopi karaf[5694]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:47 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:47 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:47 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:42:52 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:42:52 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:42:52 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:42:54 aikopi karaf[5780]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:54 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:42:55 aikopi karaf[5865]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:42:55 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:42:55 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:42:55 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:00 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:43:00 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:43:00 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:43:01 aikopi karaf[5953]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:01 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:43:02 aikopi karaf[6038]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:02 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:43:02 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:43:02 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:07 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:43:07 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:43:07 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:43:09 aikopi karaf[6128]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:09 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:43:10 aikopi karaf[6213]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:10 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:43:10 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:43:10 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:15 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 22:43:15 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:43:15 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:43:16 aikopi karaf[6310]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:16 aikopi systemd[1]: openhab2.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 22:43:18 aikopi karaf[6402]: KARAF_ETC is not valid: /var/lib/openhab2/etc
Mar 02 22:43:19 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 22:43:19 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 22:43:19 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 22:43:19 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:44:32 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:44:32 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:47:07 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:47:18 aikopi karaf[6611]: org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.11.3.v20170209-1843"; singleton:="true" [id=0] STOPPED [STOPPED]
Mar 02 22:47:19 aikopi karaf[6611]:         at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
Mar 02 22:47:19 aikopi karaf[6611]:         at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.asyncStop(EquinoxBundle.java:156)
Mar 02 22:47:19 aikopi karaf[6611]:         at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:262)
Mar 02 22:47:19 aikopi karaf[6611]:         at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:267)
Mar 02 22:47:19 aikopi karaf[6611]:         at org.eclipse.osgi.launch.Equinox.stop(Equinox.java:123)
Mar 02 22:47:19 aikopi karaf[6611]:         at org.apache.karaf.main.Main$2$1.run(Main.java:355)
Mar 02 22:47:19 aikopi karaf[6611]: Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
Mar 02 22:47:19 aikopi karaf[6611]:         at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
Mar 02 22:47:19 aikopi karaf[6611]:         ... 5 more
Mar 02 22:47:21 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:47:21 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:47:52 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:49:07 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:49:50 aikopi karaf[6996]: WARNING: EventAdmin: Event Task Processing Interrupted. Events may not be recieved in proper order.
Mar 02 22:49:50 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 22:49:51 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 22:57:48 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 22:58:31 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:03:18 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:05:34 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:05:34 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:16:39 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:17:22 aikopi karaf[8236]: WARNING: EventAdmin: Event Task Processing Interrupted. Events may not be recieved in proper order.
Mar 02 23:17:22 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:17:54 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:22:33 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:23:15 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:23:15 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:32:36 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:33:19 aikopi karaf[10071]: WARNING: EventAdmin: Event Task Processing Interrupted. Events may not be recieved in proper order.
Mar 02 23:33:19 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:38:33 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:48:40 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:50:42 aikopi karaf[11550]: Can't connect to the container. The container is not running.
Mar 02 23:50:42 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 23:50:42 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 23:50:42 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 23:50:48 aikopi systemd[1]: openhab2.service: Service hold-off time over, scheduling restart.
Mar 02 23:50:48 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:50:48 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
Mar 02 23:51:56 aikopi systemd[1]: Stopping openHAB 2 - empowering the smart home...
Mar 02 23:52:02 aikopi karaf[12224]: Can't connect to the container. The container is not running.
Mar 02 23:52:02 aikopi systemd[1]: openhab2.service: Control process exited, code=exited status=1
Mar 02 23:52:07 aikopi karaf[11684]: org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.11.3.v20170209-1843"; osgi.identity="org.eclipse.osgi"; singleton:="true" [id=0] STOPPED [STOPPED]
Mar 02 23:52:07 aikopi karaf[11684]:         at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
Mar 02 23:52:07 aikopi karaf[11684]:         at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.asyncStop(EquinoxBundle.java:156)
Mar 02 23:52:07 aikopi karaf[11684]:         at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:262)
Mar 02 23:52:07 aikopi karaf[11684]:         at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.stop(EquinoxBundle.java:267)
Mar 02 23:52:07 aikopi karaf[11684]:         at org.eclipse.osgi.launch.Equinox.stop(Equinox.java:123)
Mar 02 23:52:07 aikopi karaf[11684]:         at org.apache.karaf.main.Main$2$1.run(Main.java:355)
Mar 02 23:52:07 aikopi karaf[11684]: Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
Mar 02 23:52:07 aikopi karaf[11684]:         at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
Mar 02 23:52:07 aikopi karaf[11684]:         ... 5 more
Mar 02 23:52:49 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:52:49 aikopi systemd[1]: openhab2.service: Unit entered failed state.
Mar 02 23:52:49 aikopi systemd[1]: openhab2.service: Failed with result 'exit-code'.
Mar 02 23:52:58 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:57:21 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:57:29 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 02 23:57:58 aikopi systemd[1]: Stopped openHAB 2 - empowering the smart home.
Mar 03 00:23:34 aikopi systemd[1]: Started openHAB 2 - empowering the smart home.
aik@aikopi:~$

Okay, I see what’s happened.

When you manually deleted the files but didn’t use purge, DPKG thinks that this is as configuration you wanted for the userdata folder and it hasn’t loaded the files back in.

sudo apt-get -o Dpkg::Options::="--force-confask" -o Dpkg::Options::="--force-confmiss" --reinstall install openhab2

Reply ‘y’ to any prompts

2 Likes