Giter VIP home page Giter VIP logo

Comments (17)

auconsil avatar auconsil commented on May 27, 2024

I have exactly the same problem on a DS 414. Same Java version, I tried to install 2.1.0.001-SNAPSHOT-DSM6 and 2.0.0.001-SNAPSHOT-DSM6. When trying to start manually (./start.sh) I get:

Launching the openHAB runtime...
Unable to update instance pid: /volume1/@appstore/openHAB2/runtime/instances/instance.properties (Permission denied)
/volume1/@appstore/openHAB2/userdata/logs/openhab.log (Permission denied)
Unable to update instance pid: /volume1/@appstore/openHAB2/runtime/instances/instance.properties (Permission denied)

When I try sudo ./start.sh I get

Launching the openHAB runtime...
0

Nevertheless the OH2 does not start (same error as mentioned by @fivetide). Ports 5555, 8080, 8443 are not in use.

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

I see Permission denied...
OK, I'm building a new package

from openhab-syno-spk.

fivetide avatar fivetide commented on May 27, 2024

Since this does not seem to be exclusive to the synology-package, or even openHAB, i posted an issue to apache's issues tracker (KARAF-4977). Should i maybe post this to the openHAB main project too?

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

I now have openHAB-2.0.0.001-DSM6-syno-noarch-0.001 running on my DS414 which has the same armadaxp chip set as the DS214 used by fivetide. I too got the karaf error until I switched Java to a hard float version. As of DSM6, Synology switched the required Java version from soft float for armadaxp & armada370. Once I changed to hard float, the karaf errors ceased.

N.B. No other version of openHAB for Synology would work for me. Your results may vary.

from openhab-syno-spk.

agsochi avatar agsochi commented on May 27, 2024

@dfrap can you please point me how to switch Java to hard float version?

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

See my description at: https://community.openhab.org/t/synology-diskstation/1446/211?u=dfrap

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

Update to jdk-8u121-linux-arm32:
https://pcloadletter.co.uk/2011/08/23/java-package-for-synology/

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

Unfortunately I find the pcloadletter application will only load the soft float version ejdk-8u121-linux-arm-sflt.tar.gz on Synology that required hard float to work. I have given the author feedback and hope he will be able to confirm my report and update his application. Until it is updated, my previous link provides 2 different ways to install hard float on armadaxp and armada370 that require hard float.

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

Is it still relevant?
The issue will be closed?

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

This issue is still relevant. Those with Synology Armada chip sets at DSM 6 will install a version of Java that will not work if they follow the install directions. So if it is proper for a github issue to reference misleading install documentation rather than errors in the code, the issue is not fixed.

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

OK. How should we solve the problem in your opinion?

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

My opinion is that the install directions should be updated. Here is my proposed text:

The easiest way to install Java is to install the Synology Java8 package from Package Center. After installation, OpenJDK will be used by default and must be upgraded. To upload Oracle JDK to Java8, click the Install Java / Upgrade Java button and then follow the onscreen instructions. The filename and format of the uploaded file will be checked before installation.

Armada 370/XP systems running DSM 6 require hard float ABI rather than the soft float used on DSM 5. If there is not a Java8 package in the Package Center, your machine may not be supported by the Synology package. https://www.synology.com/en-us/dsm/packages/Java8

The best option for older unsupported Synology models such as PowerPC and ARMv5 is to include the PC-Loadletter Repo. Download Java8 SE (Java Cryptography Extension if required) and put them in the public folder of your NAS. Then start the installation of Java8 SE. Note that it may be necessary to rename the downloaded file to match the name the Loadletter utility expects which may be an older version than what is currently available.

[optional]
The Java8 PowerPC versions are available from http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/javaseembedded8u6-2406243.html

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

@dfrap A new PR that contains your suggestion I have created!

from openhab-syno-spk.

SchoppAx avatar SchoppAx commented on May 27, 2024

I'm using openHAB2 with my DS214+ (Armada XP) by only installing the syno JAVA8 package 8.0.121-003.

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

@dfrap The openHAB Doc is now up to date 👍 :
http://docs.openhab.org/installation/synology.html
Can we now close this issue?

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

Very well edited and helpful addition. But there are now 2 paragraphs that claim to be the easiest! Please remove the redundant paragraph about PC-Loadletter that is above the added text:
"The easiest way to install Java is to include the PC-Loadletter Repo. Download Java8 SE (latest ARMv6) (Java Cryptography Extension if required) and put them in the public folder of your NAS. Then start the installation of Java8 SE."

from openhab-syno-spk.

dfrap avatar dfrap commented on May 27, 2024

I don't understand what ARJava SEM means. I also suggest changing ARJava SEM to ARMv5.

PC-Loadletter Repo should be a hyperlink to http://packages.pcloadletter.co.uk/ as it is in the original paragraph.

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.