openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

SPK package for 3.00 #183

Open Dragoniacs16 opened 3 years ago

Dragoniacs16 commented 3 years ago

Could you please make version 3.00 available in an SPK shape ? Thanks

ypkdani00 commented 3 years ago

Yes please can you upload the SPK file? Thanks

Gemikro1 commented 3 years ago

You can convert it on your own, spk ist just a renamed tar.gzip Within the openhab-syno-spk-3.0.0.00.tar.gz there is a openhab-syno-spk-3.0.0.000 folder with the conf, scripts, WIZARD_UIFILES subfolders etc. needed by the Package Center in it. Exctract this folder with e.g. 7zip to some temporary folder, select the content and make a tar.gz out of the it (again with 7zip). Then just rename it to *.spk, Package Center will recognize this as a valid package.

Dragoniacs16 commented 3 years ago

Perfect ! It's working. But now I hav new issue : I can't access to the interface @ 192.168.1.XXX:8080 Any idea ? openhab.log

Dragoniacs16 commented 3 years ago

Oh no, even version 2.5 is not working anymore :(

Gemikro1 commented 3 years ago

Could be that 8080 is already used by some other app. I change the port to 8180 if necessary but mainly use the 8443 port for https access. Did you start openHAB manually or via the DSM ?

Dragoniacs16 commented 3 years ago

What I have done : 1° I already had version 2.5 installed on my Synology, with access thanks to port 8080 2° In order not to loose my configuration, I did not uninstall previous version, but only install the 3.0 version with .SPK file 3° Package was sucessufully installed, it starts automatically 4° I tried to access to OpenHab with IP address and port 8080 (I kept the same), but I faced an error : "connection not allowed"

After, I tried to retard package, to uninstall it, to reinstall version 2.5 (same connection issue) I tried also to delete folders, but still the same connection issue....

Gemikro1 commented 3 years ago

Did you try 8443 which is the default port for SSL access ?

Dragoniacs16 commented 3 years ago

It is not working with 8443 I have the same message

Gemikro1 commented 3 years ago

Did you reset the certificate in the browser ? After reinstallation, openhab creates a new certificate for the https access over port 8443. If you have accepted the old, self signed certificate it will not match the new one and the browser will not access openhab

Dragoniacs16 commented 3 years ago

I think I need java11 by I don't konw how to install it. Can anyone help me ?

Here is the error message in the log file : 2021-03-30 14:32:05.252 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-runtime-base; type=karaf.feature; version="[3.0.1,3.0.1]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.0.1)(version<=3.0.1))" [caused by: Unable to resolve openhab-runtime-base/3.0.1: missing requirement [openhab-runtime-base/3.0.1] osgi.identity; osgi.identity=openhab-core-model-item; type=karaf.feature [caused by: Unable to resolve openhab-core-model-item/3.0.1: missing requirement [openhab-core-model-item/3.0.1] osgi.identity; osgi.identity=org.openhab.core.model.item; type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.item/3.0.1: missing requirement [org.openhab.core.model.item/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.common.registry)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]]

westerbur2020 commented 3 years ago

I hope there will come up a solution, I've got exactly the same problem !

SeeDborg commented 3 years ago

Same problem here too : no SPK and I can't install because port 8080 is already in use... Please just change it :(

nekodojo commented 2 years ago

You can convert it on your own, spk ist just a renamed tar.gzip Within the openhab-syno-spk-3.0.0.00.tar.gz there is a openhab-syno-spk-3.0.0.000 folder with the conf, scripts, WIZARD_UIFILES subfolders etc. needed by the Package Center in it. Exctract this folder with e.g. 7zip to some temporary folder, select the content and make a tar.gz out of the it (again with 7zip). Then just rename it to *.spk, Package Center will recognize this as a valid package.

I don't understand why there is no .spk file in Releases for 3.0.0, if it is trivial to make one, can some one please just make one available on the Releases page?

Instructions here are confusing, do I need to download the .tar.gz and then take some inner folder and make another tar.gz, or do I just download .tar.gz from Releases page and rename it to .spk?

Has this really been open since March and nobody bothered to just create the SPK file and put it on the Releases page? Do you need volunteers for this task

pergolafabio commented 2 years ago

i have the same issue, so created the spk manually as nstructions above, but i get error below but i dont have anything tunning on my synology on port 8080 or 8443

whats wrong?

image