Comments (17)
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.
I see Permission denied
...
OK, I'm building a new package
from openhab-syno-spk.
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.
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.
@dfrap can you please point me how to switch Java to hard float version?
from openhab-syno-spk.
See my description at: https://community.openhab.org/t/synology-diskstation/1446/211?u=dfrap
from openhab-syno-spk.
Update to jdk-8u121-linux-arm32:
https://pcloadletter.co.uk/2011/08/23/java-package-for-synology/
from openhab-syno-spk.
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.
Is it still relevant?
The issue will be closed?
from openhab-syno-spk.
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.
OK. How should we solve the problem in your opinion?
from openhab-syno-spk.
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.
@dfrap A new PR that contains your suggestion I have created!
from openhab-syno-spk.
I'm using openHAB2 with my DS214+ (Armada XP) by only installing the syno JAVA8 package 8.0.121-003.
from openhab-syno-spk.
@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.
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.
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)
- 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.