Problem installing OpenHab 2.1 Release on DSM 6.1

Where can I find the older Snapshots to install the openhab 2 on my Synology DS214? Just find the zip for the 2.2.0 version.
If I want to install the 2.1.0.4 version, it says that the zip can’t be downloaded automatically, and I should upload it to the public folder…but don’t know where I could get the older version zips.

Mfg
Matze

I’m not sure if it’s really a problem of DSM because older versions of Openhab are working well. If I get time I will try to manually set up the specific openhab2 user and look how it works.

there’s all the releases here:-

I’m still using 2.0.0.001-DSM6, and that version will definitely install and work OK.

Hi, in the pre-requisites it says that the Oracle version of Java is needed, and they recomend a repository for that. That repository only has the ARM version. Also with previous versions, the java distributed with the intel nas was working.
java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (IcedTea 3.3.0) (linux-gnu build 1.8.0_121-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

Could it be that the package now only works in ARM nas due to this problem?

Hi Christian,

I don’t think DSM6 is the issue. Pkg 2.0.0.001-DSM6 installs, starts and is functioning.

I’m not an expert, nor a technician, but I had a “dummy” look at differences in the installations scripts (installer.sh), and I noticed that the (working!) script for pkg 2.0.0.001-DSM6 is quite different from the other (newer) scripts.

Main differences:

  • download location for the OH2 package
  • the way the OH2-deamon user is handled
  • adding not only the ./conf folder, but also the ./addons folder

Are you able ( I know I can’t) to use the working script and adapt it to the newer version? Or is there a valid reason why the installation script is (so) different?

On 2 different Syno’s:

I tried 4 installations, and the results are the same on the two syno’s:
- 2.2.0.002-SNAPSHOT (does not install)
- 2.1.0.008 (does not install)
- 2.1.0.004-SNAPSHOT(does not install)
- 2.0.0.001-DSM6 (Starts and is functioning)

Ha Manuel @manu

I installed OpenHAB2 version 2.0.0.001-DSM6 on a ARM Syno as well as a INTEL syno . This version version 2.0.0.001-DSM6 installs and runs on both Syno’s.

For the installation of JAVA SE I used these the instructions of this post, which recommends to use the default syno way to install java:

and then upgrade this standard JAVA according to these instructions: http://minimserver.com/install-synology.html

Be aware to choose the right java SE version that suits your Syno.

The OpenHAB2 version 2.0.0.001-DSM6 is with no public folders.
I can build a version for 2.1 with no public folders, too.
Should I try this?

I would prefer a version with the public folders offcourse.
But for now you can try a version without the public folders, and see if that works. I’m very willing to test it. Let me know.

OK, I released a new version:

I tried an install of 2.1.0.005-DSM6. No joy. Nothing in the log and no web server activity even after 30 minutes. So I uninstalled and reinstalled 2.0.0.001-DSM6 which always works.

The Synology software assures the Oracle Java update is correct for your CPU architecture. The key is that the user must update Java to get an Oracle version.

openHAB-2.1.0.010-syno-noarch-0.001.spk does not work :frowning:

Update: Sorry openHAB-2.1.0.010-syno-noarch-0.001.spk is only for Synology DiskStation Package for DSM <= 5.2 and i run DSM 6=<

It seems to work :slight_smile: with openHAB-2.1.0.006-DSM6-syno-noarch-0.001.spk it makes the openhab2 user but i can’t see any files in “/volume1/Public/openHAB2/conf” or “/volume1/Public/openHAB2/addons”.
https://github.com/SchoppAx/openhab-syno-spk/releases/tag/2.1.0.006-DSM6

OK, I released a new version:

1 Like

It works. :slight_smile:
I’m running a DS412+ on DSM 6.1.3-15152 and I can also see the folders and files in my Public conf Folder.

I’ll test tomorrow if I can add items and things manually via the public folder.

I have te sam e problems: 2.1.0.005, 2.1.0.008, 2.2.0.002 and 2.2.0.003 don´t read the conf - folder. BasicUI answers:


no need to say, that in the conf - folder the file demo.sitemap exists!

@cniweb Hi Christian,

Thank you, both:

  • openHAB-2.2.0.003-SNAPSHOT-syno-noarch-0.001.spk (DSM6)
  • openHAB-2.1.0.008-DSM6-syno-noarch-0.001.spk
    install well on my DS214 (ARM) and DSM716+II (INTEL)
1 Like

does openhab BasicUI read your conf - Folder? I tried it at the /volume1/public/openHAB2/conf and at the original folder, but basicUI says: sitemap not found! My Synology is a DS2013+ with DSM 6.1.3-15152 update1. The 2.0 Version worked fine.

Walter, I haven’t done much testing but:

The following files that I put in my ./conf & ./addons folders are being read:

  • *.item files ( ./conf/items )
  • demo.sitemap (./conf/sitemaps/. )
    -*.jar files of a experimental binding, not in official repository yet ( ./addons/. )

I haven’t seriously used the Basic UI, just the paper UI, but the demo.sitemap is being read as well, when I copy the demo.sitemap into the folder ./conf/sitemaps/. A fresh install does not install this demo.sitemap file (afaik). I copied it into the folder from a backup to test it for you. Good luck.

I’m wondering is there might be an issue with Public and public, as I’ve noticed both being used in some of the posts above?