openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

Forced reinstall OpenHAB after update DSM from 6.1.3-15152 Update 5 to DSM 6.1.3-15152 Update 6 #102

Open loovanloon opened 6 years ago

loovanloon commented 6 years ago

I had to reinstall openHAB-2.2.0.007-SNAPSHOT after updating DSM from 6.1.3-15152 Update 5 to DSM 6.1.3-15152 Update 6 because the installed openHAB package couldn't be started in the packages manage.

I removed openHAB-2.2.0.007-SNAPSHOT and reinstalled it.

image

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/50154736-forced-reinstall-openhab-after-update-dsm-from-6-1-3-15152-update-5-to-dsm-6-1-3-15152-update-6?utm_campaign=plugin&utm_content=tracker%2F19715072&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19715072&utm_medium=issues&utm_source=github).
cniweb commented 6 years ago

I have no DSM 6.1.x and can not test it. I am dependent on your help. Would be good if someone could look at that, thanks!

SchoppAx commented 6 years ago

Yeah, there is a bug if the system has to restart the openhab installation.

So for example if you running openhab and restart your system, openhab is still be running (in my case), but you can't manage (start/stop) it anymore. This occurs because the PID file isn't updated.

We need a better mechanism for that case.

loovanloon commented 6 years ago

I can confirm the OH2 package was running when updating the DSM and that update included a reboot.

cniweb commented 6 years ago

@kaikreuzer Same problem as here https://github.com/openhab/openhab-docker/issues/108 ??? Pid file Handling?

SchoppAx commented 6 years ago

I will look for a another implementation.

cniweb commented 6 years ago

We are in the process of adjusting PID file handling.