Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPK package for 3.00 #183

Open
Dragoniacs16 opened this issue Mar 2, 2021 · 14 comments
Open

SPK package for 3.00 #183

Dragoniacs16 opened this issue Mar 2, 2021 · 14 comments

Comments

@Dragoniacs16
Copy link

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

@ypkdani00
Copy link

Yes please can you upload the SPK file? Thanks

@Gemikro1
Copy link

Gemikro1 commented Mar 6, 2021

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
Copy link
Author

Dragoniacs16 commented Mar 7, 2021

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
Copy link
Author

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

@Gemikro1
Copy link

Gemikro1 commented Mar 8, 2021

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
Copy link
Author

Dragoniacs16 commented Mar 9, 2021

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
Copy link

Gemikro1 commented Mar 9, 2021

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

@Dragoniacs16
Copy link
Author

Dragoniacs16 commented Mar 9, 2021

It is not working with 8443
I have the same message

@Gemikro1
Copy link

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
Copy link
Author

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
Copy link

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

@SeeDborg
Copy link

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

@nekodojo
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants