Synology DiskStation

I @TomiGonzo, I know that there’s no Docker for 214play. I ran OH2 nativley on my DS918+ but with OH3 I also switched to Docker because of the Java 11 issue and the delays of releases.
And I can tell you it’s a dream with Docker!
I can highly recommend you to buy a newer/higher Synology model with Docker support!

And also GreenEyedExplorer didn’t update his YouTube Video here for OH3.

In a nutshell: the update to OH3 without Docker is a pain! :unamused:

Thank you Tom,
i moved to a newer Syno, with Docker capability :wink:

is this method (like in the attached video) working working with the OH3?

Good question. Honestly, I don’t know because I didn’t find a Java 11 Update for Synology and therefore skipped this tutorial for OH3. I only used the tutorial several times for OH2.

ok, thanks,

i going to install OH by Docker,

Just install / unzip java11 in a directory of your choice and change the start.sh

#!/bin/sh

echo Launching the openHAB runtime...

export JAVA_HOME=/volume1/@appstore/openhab-java11/jdk-11.0.8/
export PATH=$JAVA_HOME/bin:$PATH

DIRNAME=`dirname "$0"`
exec "${DIRNAME}/runtime/bin/karaf" "${@}"

Works fine for me.

Br,
Stefan

1 Like

How to upgrade from 2.x to OH3? Looks like some of you have succeeded.

What is the right way? Can I upgrade with the Snapshot-spk and setup the final release version manually?

I use the OH - synology package (I currently use the 2.5.2.000 version) only to have the start/stop mechanism from the package manager. I manually download and unpack newer versions of OH and make a link openHAB to the current version.

lrwxrwxrwx 1 root root 28 Feb 13 21:22 openHAB -> openhab-3.1.0-SNAPSHOT-2206/
drwxr-xr-x 7 openhab users 4096 Aug 19 11:01 openhab-2.5.5
drwxr-xr-x 7 openhab users 4096 Oct 15 21:05 openhab-2.5.7
drwxr-xr-x 7 openhab users 4096 Dec 19 18:32 openhab-2.5.9
drwxr-xr-x 6 openhab users 4096 Dec 23 21:47 openhab-3.0.0
drwxr-xr-x 7 openhab users 4096 Dec 22 21:17 openhab-3.0.0.RC1
drwxr-xr-x 6 openhab users 4096 Jan 15 20:20 openhab-3.1.0-SNAPSHOT-2144
drwxr-xr-x 6 openhab users 4096 Feb 3 19:41 openhab-3.1.0-SNAPSHOT-2177
drwxr-xr-x 6 openhab users 4096 Feb 13 21:20 openhab-3.1.0-SNAPSHOT-2206

Of course there are some additional things to do because the original SPK version have some directory linked to the home directory of the user openhab. That needs to be done manually.
In addition you must copy the ui directory from the original installation from the spk (openHAB/ui) to your new openhab directory, otherwise the package manager does not detect a running OH. I have never tried to figure out why.

And of course the above mentioned manual install of java11 and adoption of start.sh is needed.

Br,
Stefan

Thanks, got it. Good to know that it can work. I’ll give it a try.

Nice. working as you said. Thank you.