Comments (31)
Hi @igorrobertifoc,
under what firmware your package runs?
This SPK Package is for DSM <= 5.2!
What a DS model you use?
Thank you for your involvement!
Chris
from openhab-syno-spk.
Hello,
Is it impossible to run 2.0Beta on DSM 6?
Thank you very much
from openhab-syno-spk.
It's a bug with the installer. 7zip has replaced unzip with a slightly different syntax. I've added a suggested fix to installer.sh.
from openhab-syno-spk.
Sorry, but the openhab:2.0-beta1 branch is only for DSM 4 or 5!
A new branch for openhab 2.0 and DSM 6 is still needed...
In the DSM-6.0-beta branch is 7zip already implemented:
https://github.com/openhab/openhab-syno-spk/blob/DSM-6.0-beta/scripts/installer.sh#L79
from openhab-syno-spk.
I have released a new OpenHab 2.0 DSM 6 release:
https://github.com/openhab/openhab-syno-spk/releases/tag/2.0.0-beta2-DSM6-RC
Try it, please!
from openhab-syno-spk.
I tried the beta and it installs fine, but it will not run. I can start it from by running start.sh in cli, but not from gui. It simply won't start with no error message. If I run start_runtime.sh from cli I get this:
find: `server': No such file or directory
Launching the openHAB runtime...
Error: Unable to access jarfile 5555
find -name "org.eclipse.equinox.launcher__.jar"
returns nothing, however
find -name "org.eclipse.equinox_.jar" returns
./runtime/karaf/system/de/maggu2810/p2redist/org.eclipse.equinox.registry/3.6.0.v20150318-1503/org.eclipse.equinox.registry-3.6.0.v20150318-1503.jar
./runtime/karaf/system/de/maggu2810/p2redist/org.eclipse.equinox.common/3.7.0.v20150402-1709/org.eclipse.equinox.common-3.7.0.v20150402-1709.jar
./runtime/karaf/system/de/maggu2810/p2redist/org.eclipse.equinox.supplement/1.6.0.v20141009-1504/org.eclipse.equinox.supplement-1.6.0.v20141009-1504.jar
Maybe we're missing something?
from openhab-syno-spk.
Hi @gittela,
another user had the same problem and could solve it by he had reinstalled Java.
Try it once, I hope it helps.
Chris
from openhab-syno-spk.
Unfortunately that did not help. Same error. It must be noted that I'm running this on a PPC-based Synology, the DS413 and from what I can tell the latest available jre8 is 1.8.0_06. Seems that it is not being updated anymore.
If I do this on my Ubuntumachine:
howard@openhab:/opt$ locate org.eclipse.equinox.launcher | sort | tail -n 1
I get this:
/usr/lib/jvm/java-8-oracle/lib/missioncontrol/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
This jar is not present in the OpenHAB/runtime/karaf/system/de/maggu2810/p2redist/ folder
Should it have been downloaded during install? I can always try to copy it and see...
from openhab-syno-spk.
Can you even look to see if the server directory actually exists?
from openhab-syno-spk.
Yes it does. It runs if I use start.sh, it's the start_runtime.sh script that fails.
from openhab-syno-spk.
If you manually start the start_runtime.sh script, what is to come exactly for errors?
from openhab-syno-spk.
Hi @cniweb
not sure if that helps, but the output of start_runtime.sh is:
find: `server': No such file or directory
Launching the openHAB runtime...
Error: Unable to access jarful 5555
I´m not sure, but
eclipsehome="server"
seems to expect a folder "server" inside the openhab folder which does´t exist.
from openhab-syno-spk.
Hi,
Launching the openHAB runtime...
Error: Unable to access jarful 5555
Have a look at /usr/local/etc/services.d/
There might be an old "OpenHAB.sc" that reserve 5555, 8081, 8443 ports, delete it and try to start openhab.
Regards
from openhab-syno-spk.
Can you look this:
netstat -an | grep 5555
Chris
from openhab-syno-spk.
Hello,
I have the same problem: Synology DS 214 play
DSM 6.0-7321 Update 2
Java version 1.8.0_60
ash-4.3# ./start_runtime.sh
find: `server': No such file or directory
Launching the openHAB runtime...
Error: Unable to access jarfile 5555
netstat -an | grep 5555
shows nothing, I'm sure that this port is not occupied.
/usr/local/etc/services.d/* files does not contain anything about this port. I have a fresh installation of openHAB
By doing:
ls runtime/karaf/system/de/maggu2810/p2redist/
I see no org.eclipse.equinox.launcher directory. Is this a part of OpenHab package or it should be in Java?
from openhab-syno-spk.
I also have the same issue.
Running DSM 6 update 2. Installed Java 8, OpenHAB2 2.0.0-beta2-DSM6-RC
[update]
Resolved by manually downloading equinox, copying it to the the OpenHAB folder, renaming equinox folder to server and changing start_runtime.sh to have:
eclipsehome="server/plugins";
however now I am stuck with the fact that web ui is not available, netstat shows no open ports
from openhab-syno-spk.
Hello dmihhailov,
can you explain? Where did you download equinox?
from openhab-syno-spk.
Ok,
if I use start.sh instead of start_runtime.sh then it work.
How to use this command from the UI of synology
from openhab-syno-spk.
seems that start_runtime.sh
has not been adapted to OpenHAB2. It should probably start runtime/karaf/bin/server
, but still tries to find equinox.
from openhab-syno-spk.
A while ago I changed start_runtime.sh as below and it stops/starts from the Synology UI. I fiddled with other stuff too and was't sure what else I changed to get it working.
DIRNAME=dirname "$0"
${DIRNAME}/runtime/karaf/bin/karaf "${@}" > logs/openhab.stdout &
i commented out the PROGRAM=java bit!
from openhab-syno-spk.
OK, I think, we must use start.sh
.
Can anyone try it, please?
Then I change the command in start-stop-status.sh script.
Thanks,
Chris
from openhab-syno-spk.
What @crystollic wrote looks good. I'll try during the next few days. Not sure if we can directly use start.sh
, because that starts the OpenHAB terminal. I'm new to OpenHAB, but assume that there is some 'headless' mode (i.e., without input options). Also, not sure how to stop OpenHAB when starting it with start.sh
.
from openhab-syno-spk.
If you close the ssh terminal you terminate openhab if started on command
line. I think if you link this command to synology all will work (hope so )
Bye and thanks
Il 03/Giu/2016 21:13, "Wolf Siberski" [email protected] ha scritto:
What crystolic wrote looks good. I'll try during the next few days. Not
sure if we can directly use start.sh, because that starts the OpenHAB
terminal. I'm new to OpenHAB, but assume that there is some 'headless' mode
(i.e., without input options). Also, not sure how to stop OpenHAB when
starting it with start.sh.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA972f8GGSV-d5DUPn1Xij0u-hjTfzTpks5qIHzPgaJpZM4H4-nF
.
from openhab-syno-spk.
OK, I changed it in the start-stop-status.sh script in the next release!
from openhab-syno-spk.
Can you try Release 2.0.0-beta3-DSM6, please?
And it´s OK, then I can close this Issue?
from openhab-syno-spk.
Hi @igorrobertifoc,
I released a new Package:
https://github.com/openhab/openhab-syno-spk/releases/tag/2.0.0-beta3-DSM6
Try please and give me feedback, then I can close this Issue.
Thanks
from openhab-syno-spk.
Hi, is changed only the port. But the system don't work very well
from openhab-syno-spk.
Hi @igorrobertifoc,
this project only support the installation of openHAB an a Synology Diskstation.
What works "very well" exactly?
Thanks for your feedback,
Chris
from openhab-syno-spk.
Hello,
i'm sorry for the last short reply and I tank you for your work.
the problem is it very slow on 216play and all servicies are not up. After 15 minutes of start, the start page doesn't show all options. I don t know what happen, If there is a log file I can send to you.
Thanks
from openhab-syno-spk.
Hi @igorrobertifoc,
I think you must de install the package complete and re install it.
A log file can you found in /volume1/@appstore/OpenHAB/logs/
Chris
from openhab-syno-spk.
Hi,
we fix the logfile path: #28
and update to 2.0-SNAPSHOT release of OpenHAB2.
Chris
from openhab-syno-spk.
Related Issues (20)
- Error when install package HOT 7
- Enable usage of multiple network interfaces
- Local Computer Systeminfo error
- Clear cache
- 2.5.2.000 installed but won't start after upgrade from 2.4.0.002 HOT 1
- DSM 7: Clean up packaging files and make it conform with Synology guidelines HOT 19
- Installation suceeds, package service can't be started - 3.0 Snapshot HOT 5
- SPK package for 3.00 HOT 14
- adding to https://synocommunity.com/packages
- openhab3 for older Synology NAS HOT 5
- Linked jdk is not arm32
- Bintray isn't available anymore HOT 5
- Move out the API URL into separate configuration file HOT 1
- What Java package on DSM7 for OpenHAB SPK?
- DSM 7 does not accept .spk
- Frustration about the openHAB installation on Synology NAS HOT 5
- 3.0 missing sdk HOT 2
- There was a problem downloading openhab-2.5.2.zip from the download link HOT 1
- There was a problem downloading openhab-.zip from the download link (3.0.0) HOT 4
- DepShield Deprecation Notice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-syno-spk.