openhab / openhab-qnap-qpkg

openHAB Packages for QNAP NAS systems
Eclipse Public License 2.0
77 stars 21 forks source link

2.0.0-3 after reinstal didn't work #32

Open piotrrydygier opened 6 years ago

piotrrydygier commented 6 years ago

Hi, after power failure I remove openhab and install again a 2.0.0-3 version and installation looks good, but qnap didn't response on 8890 port. I try to start_debug.sh and this is output:

Launching the openHAB runtime... /share/CACHEDEV1_DATA/.qpkg/openHAB/distribution/runtime/bin/setenv: line 165: type: java: not found /share/CACHEDEV1_DATA/.qpkg/openHAB/distribution/runtime/bin/setenv: line 168: die: command not found /share/CACHEDEV1_DATA/.qpkg/openHAB/distribution/runtime/bin/setenv: line 181: [: : integer expression expected karaf: KARAF_BASE is not valid: /share/CACHEDEV1_DATA/.qpkg/openHAB/distribution/userdata

Please help

piotrrydygier commented 6 years ago

my distribution folder looks strange:

[/share/CACHEDEV1_DATA/.qpkg/openHAB/distribution] # ls LICENSE.TXT conf@ start.bat start_debug.bat userdata@ addons@ runtime/ start.sh start_debug.sh

is this ok?

piotrrydygier commented 6 years ago

Model:TS-251A Current firmware version:4.3.3.0262

thopiekar commented 6 years ago

You only forgot to install Java 8. The contents of the directory are ok.