But the files are located here on my RPi3: /usr/share/openhab
I installed OH by “apt-get install openhab-runtime”
pi@raspberrypi:/etc/systemd/system $ sudo systemctl status openhab.service
● openhab.service - A vendor and technology agnostic open source automation software for your smart home.
Loaded: loaded (/etc/systemd/system/openhab.service; enabled)
Active: failed (Result: exit-code) since Fr 2016-06-10 23:06:36 CEST; 5s ago
Process: 5337 ExecStart=/usr/share/openhab/bin (code=exited, status=203/EXEC)
Main PID: 4467 (code=exited, status=143)
Jun 10 23:06:36 raspberrypi systemd[1]: openhab.service: control process exi…3
Jun 10 23:06:36 raspberrypi systemd[1]: Failed to start A vendor and technol…
Jun 10 23:06:36 raspberrypi systemd[1]: Unit openhab.service entered failed …
Hint: Some lines were ellipsized, use -l to show in full.
Sorry, I’m really afraid
pi@raspberrypi:/etc/systemd/system $ sudo systemctl status openhab.service -l
● openhab.service - A vendor and technology agnostic open source automation software for your smart home.
Loaded: loaded (/etc/systemd/system/openhab.service; enabled)
Active: active (running) since Fr 2016-06-10 23:56:25 CEST; 7min ago
Main PID: 921 (java)
CGroup: /system.slice/openhab.service
└─921 java -Dosgi.clean=true -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Djetty.port=8080 -Djetty.port.ssl=8443 -Djetty.home=. -Dlogback.configurationFile=configurations/logback.xml -Dfelix.fileinstall.dir=addons -Djava.library.path=lib -Djava.security.auth.login.config=./etc/login.conf -Dorg.quartz.properties=./etc/quartz.properties -Dequinox.ds.block_timeout=240000 -Dequinox.scr.waitTimeOnBlock=60000 -Djava.awt.headless=true -jar ./server/plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar -console
Jun 11 00:03:24 raspberrypi openhab[578]: 00:03:24.090 [FolderObserver] DEBUG o.e.x.l.impl.AbstractCleaningLinker - afterModelLinked took: 0ms
Jun 11 00:03:24 raspberrypi openhab[578]: 00:03:24.093 [FolderObserver] ERROR o.o.m.c.i.folder.FolderObserver - An unexpected exception has occured
Jun 11 00:03:24 raspberrypi openhab[578]: java.lang.NullPointerException: null
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.core.persistence.internal.PersistenceManager.removeTimers(PersistenceManager.java:444) ~[na:na]
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.core.persistence.internal.PersistenceManager.stopEventHandling(PersistenceManager.java:202) ~[na:na]
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.core.persistence.internal.PersistenceManager.modelChanged(PersistenceManager.java:162) ~[na:na]
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) ~[na:na]
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) ~[na:na]
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) ~[na:na]
Jun 11 00:03:24 raspberrypi openhab[578]: at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) ~[na:na]
First: Please use 3 backticks (`) around code to prevent the forum software to malformat text (see previous post)
Second: The code is incomplete (the last line does not end with $, this is the symbol, that the line was truncated for displaying)
Third: If you did set up openHAB with apt-get, you shouldn’t have had anything to do except
sudo systemctl enable openhab.service
because apt-get should have had installed all needed stuff in the right place (at least it did for me the last time I did set up openHAB 1.8.3)
So imho the best advice is, to save your configuration, uninstall openHAB completely with
sudo apt-get remove openhab-runtime
(don’t forget to uninstall all addons first), delete manually generated openHAB-related stuff and reinstall openHAB clean.
Please, don’t mix up manuals, if you don’t exactly know what you are doing