openhab-syno-spk: install problem with 2.1.0.008-DSM6

this may also be related to DSM 6.1.3-15152 Update 3, but I am not sure.

I tried to install 2.2.0.006-SNAPSHOT-WIP, but got errors like

2017-08-17 22:03:22.305 [WARN ] [org.jline] - Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
2017-08-17 22:03:22.502 [WARN ] [org.jline] - Unable to retrieve infocmp for type vt102
java.io.IOException: Cannot run program "infocmp": error=2, No such file or directory
(snip)
Caused by: java.io.IOException: error=2, No such file or directory
(snip)

Then I tried to go back to 2.1.0.008-DSM6 (prior version was .0004). Now it does not recognize my conf and addons file on /volume1/public/openHAB2 anymore:

My @appstore directory looks good after installation of the spk:

admin@DiskStation:/volume1/@appstore/openHAB2$ ls -al
total 56
drwxr-xr-x  4 openhab2 root   4096 Aug 20 12:44 .
drwxrwxrwx 22 root     root   4096 Aug 20 12:43 ..
lrwxrwxrwx  1 openhab2 root     31 Aug 20 12:44 addons -> /volume1/public/openHAB2/addons
lrwxrwxrwx  1 openhab2 root     29 Aug 20 12:44 conf -> /volume1/public/openHAB2/conf
-rwxrwxrwx  1 openhab2 users 11232 Jun 27 23:14 LICENSE.TXT
drwxrwxrwx  6 openhab2 users  4096 Aug 20 12:44 runtime
-rwxrwxrwx  1 openhab2 users   121 Jan 20  2017 start.bat
-rwxrwxrwx  1 openhab2 users    72 Jan 20  2017 start_debug.bat
-rwxr-xr-x  1 openhab2 root   1132 Nov 17  2013 start_debug_runtime.sh
-rwxrwxrwx  1 openhab2 users    73 Jan 20  2017 start_debug.sh
-rwxr-xr-x  1 openhab2 root    930 Nov 17  2013 start_runtime.sh
-rwxrwxrwx  1 openhab2 users   116 Jan 20  2017 start.sh
-rwxr-xr-x  1 openhab2 root     65 Nov 17  2013 stop_runtime.sh
drwxrwxrwx  5 openhab2 users  4096 Aug 20 12:44 userdata

but the conf and addons folders are not recognized:

admin@DiskStation:/volume1/@appstore/openHAB2/userdata/logs$ cat openhab.log
2017-08-20 12:46:18.308 [WARN ] [org.apache.felix.fileinstall        ] - /volume1/@appstore/openHAB2/addons does not exist, please create it.
2017-08-20 12:46:18.356 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: /volume1/@appstore/openHAB2/addons
2017-08-20 12:46:53.966 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.178.79:8080
2017-08-20 12:46:53.972 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.178.79:8443
2017-08-20 12:47:02.670 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'things' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-08-20 12:47:02.674 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'scripts' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-08-20 12:47:02.678 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'items' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-08-20 12:47:02.681 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'persistence' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-08-20 12:47:02.684 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'sitemaps' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-08-20 12:47:02.686 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'rules' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-08-20 12:47:07.440 [WARN ] [thome.ui.internal.chart.ChartServlet] - Illegal argument in chart: No Persistence service found.

As a workaround, I mount --bind my directories. This works well

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 35

Most upvoted comments

Mhh, ok.

  1. Please backup your conf files if they are located at the home dir.
  2. Uninstall all openHAB components.
  3. Be sure, that the @tmp folder has no openHAB files (/yourvolume/@tmp)
  4. Check if you have installed the Java8 package from the package center
  5. Download the 2.2.0.007-SNAPSHOT
  6. Install openHAB
  7. Check the install dir (/yourvolume/@appstore/openHAB2) 7.1 does the file start.sh exists 7.2 does the folder userdata and ui exists 7.3 does the folder runtime/bin exists 7.3.1 does the files karaf and stop exists
  8. Check if openHAB is running (can take up to 10 minutes)
  9. Restore your conf files