-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start openHAB after shutdown or stop #31
Comments
I got similar issue after a Power Outage with the latest version running 2.0.0-3. When I checked the console output I get the following message. `[/etc/init.d] # ./openHAB.sh console
Any idea. |
Got it running :-) Can't this file be removed by the script if the process was terminated incorrectly due to power outage fir example? |
I'm leaving a comment here as a reminder for myself as well as future visitors. I have a QNAP TS-453A (QTS 4.3.3.0238) running OpenHAB 2.0.0-0 and JRE 8.131.1. If my QNAP has unexpectedly shut down/rebooted, usually due to a power outage, these are the steps that work for me.
I do not have issues with OpenHAB if I manually reboot my QNAP, such as performing a system update. Manually stopping/starting OpenHAB also has no issues. |
Hi, thanks for any help |
The directory name can be different on your NAS. |
Thanks, unfortunately I have nothing even remotely like that:
[/share] # cd /share
[/share] # ls
Download@ HDF_DATA/ HDL_DATA/ HDR_DATA/ HDX_DATA/ Web@
HDA_DATA/ HDG_DATA/ HDM_DATA/ HDS_DATA/ HDY_DATA/ backup@
HDB_DATA/ HDH_DATA/ HDN_DATA/ HDT_DATA/ HDZ_DATA/ external/
HDC_DATA/ HDI_DATA/ HDO_DATA/ HDU_DATA/ Multimedia@ homes@
HDD_DATA/ HDJ_DATA/ HDP_DATA/ HDV_DATA/ Public@ openHAB@
HDE_DATA/ HDK_DATA/ HDQ_DATA/ HDW_DATA/ Recordings@
These are all the directories.
I actually never managed to make it properly work, now I decided to delete it and start from scratch..
There seems to be some trouble with the java on my QNAP I reinstalled it, now I have version 1.8.0.65. there are only this and 8.144 available, but with the 144 it does not seem to work at all.
I will let you know how it goes.
|
Lets try this Goto directory /etc/init.d You should see the path to your openHab directory.
|
I restarted the whole process, installed openHAB again from scratch. Added zwave binding, tried to figure out what USB port the AEON stick is connected and it died again, could not access the web interface. HTTP ERROR: 404 if i try to run openHAB, this is the response:
I checked the log, there is nothing new in that since it crashed. |
I added the following in the file ${QPKG_ROOT}/openHAB.sh at the end of the stop part after the thing waiting for 60 seconds :
I am testing if it works in all the cases at the moment but it should work. |
Personally, I dislike this method. |
@Stefan136 I tried your method and change into the openHAB directory. [/] # cd /etc/init.d However, I can't find the instances directory. Any idea why? |
I had installed openHAB in a 'share', the command which works was : |
I have this Problem with Version 2.3.0, and thats from the first start on! |
How does this correlate to QNAP and openHAB? |
Why was the issue closed ? The issue is still there on my side. Thx |
I haven't used OpenHab in 1-2 years now - I've been using and developing plugins for Homebridge. I will reopen the issue for those who are still dealing with it. |
I have to delete the distribution/runtime/instances/instance.properties file in order to be able to start openHAB correctly after a NAS shutdown or Stopping openHAB. I am using qpkg 2.0.0-3.
The text was updated successfully, but these errors were encountered: