[Solved] Reboot or Shutdown Raspberry safely closes Domoticz?
Posted: Wednesday 12 June 2019 15:58
We are confused by different posts about how to safely shutdown the Domotics database.
This post says:
https://www.domoticz.com/forum/viewtopic.php?t=21895
https://www.domoticz.com/forum/viewtopi ... 11&t=13736
Is it always so that a reboot or shutdown into the Raspberry not safely closes the Domotics database?
Thanks in advance for the explanation.
This post says:
https://www.domoticz.com/forum/viewtopic.php?t=21895
But in another post stays;Siewert308SW wrote: Saturday 27 January 2018 13:57 First of all a reboot like you do/want aint good.
"sudo reboot" doesn't take care of Domoticz which needs a proper shutdown.
Meaning, you will hit a time that your database gets corrupt.
It will happen for sure that a read/write to the database is interrupted.
There are many ways like for example a simple bash called from cron.
And then stop domoticz service and afterwards then conduct a reboot.
https://www.domoticz.com/forum/viewtopi ... 11&t=13736
So, what's the difference between a sudo reboot (or shutdown) or by example a reboot with an ssh session (or reboot in the GUI of the Raspberry) for Domotics?Egregius wrote: Monday 17 October 2016 16:11should do it as that is the url that the www gui calls.Code: Select all
http://192.168.2.10:8084/json.htm?type=command¶m=system_shutdown
Is it always so that a reboot or shutdown into the Raspberry not safely closes the Domotics database?
Thanks in advance for the explanation.