Giter VIP home page Giter VIP logo

Comments (31)

cniweb avatar cniweb commented on May 27, 2024

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.

igorrobertifoc avatar igorrobertifoc commented on May 27, 2024

Hello,
Is it impossible to run 2.0Beta on DSM 6?

Thank you very much

from openhab-syno-spk.

gittela avatar gittela commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

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.

gittela avatar gittela commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

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.

gittela avatar gittela commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

Can you even look to see if the server directory actually exists?

from openhab-syno-spk.

gittela avatar gittela commented on May 27, 2024

Yes it does. It runs if I use start.sh, it's the start_runtime.sh script that fails.

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

If you manually start the start_runtime.sh script, what is to come exactly for errors?

from openhab-syno-spk.

mro10 avatar mro10 commented on May 27, 2024

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.

Veance avatar Veance commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

Can you look this:
netstat -an | grep 5555

Chris

from openhab-syno-spk.

nikolay-nikonov avatar nikolay-nikonov commented on May 27, 2024

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.

dmihhailov avatar dmihhailov commented on May 27, 2024

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.

igorrobertifoc avatar igorrobertifoc commented on May 27, 2024

Hello dmihhailov,
can you explain? Where did you download equinox?

from openhab-syno-spk.

igorrobertifoc avatar igorrobertifoc commented on May 27, 2024

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.

siberski avatar siberski commented on May 27, 2024

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.

crystollic avatar crystollic commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

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.

siberski avatar siberski commented on May 27, 2024

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.

igorrobertifoc avatar igorrobertifoc commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

OK, I changed it in the start-stop-status.sh script in the next release!

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

Can you try Release 2.0.0-beta3-DSM6, please?
And it´s OK, then I can close this Issue?

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

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.

igorrobertifoc avatar igorrobertifoc commented on May 27, 2024

Hi, is changed only the port. But the system don't work very well

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

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.

igorrobertifoc avatar igorrobertifoc commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

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.

cniweb avatar cniweb commented on May 27, 2024

Hi,

we fix the logfile path: #28
and update to 2.0-SNAPSHOT release of OpenHAB2.

Chris

from openhab-syno-spk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.