After some more investigations, I am now pretty sure that your issue is related to running out of threads for your rules under several circumstances. It is reported to better merge rules, which are croned at the same time to lower the amount of threads. You may google for “openhab rules cron threads” and you’ll find the relevant hits.
I guess if you increase the thread pool for the Rules, your docker setup should work fine like mine. In order to optimise your openhab in general - as I said - it is recommended to reduce the amount of cron rules(merge whatever is possible in the same rule).
I appreciate the help but these are things long since worked through for me. I have many more threads running and have reduced Thread::sleep(s) to a minimum (maybe 3-4? not many). All links/folders are fixed when moving between installation types.
I’ve worked myself up a script recently to handle the syno-based version upgrade so I’m not too worried about it.
The only other possibility is I make my own docker image by adding nano and a couple other packages (like ssh) so that openhab can do a few execs via ssh. Perhaps that is influencing the crashes - i don’t know. not too worried about it.
While I would love to solve it, it doesn’t happen with any particular regularity and I really need it not to be happening (SWMBO) so I’m sticking with what works.
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!
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.