Howto: Track previous versions.
Posted: Saturday 27 February 2021 16:12
Because of recent problems caused by update to beta 13017, the question has been raised (on Github):
In this case an answer has been given:
It is explained below.
Most users will run Domoticz as a daemon, so that it starts automatically, if rebooted or if there has been a version upgrade.
Log in with ssh into a terminal and issue the following command:
As an example, the result will be:
As you can see, the exact time that a particular version of Domoricz has been started, is shown.
This can be useful information in case of problems, which have to be tackled.
Regards
This question might be important in order to trace the version where a possible bug could have been introduced.What build did you use before updating to build 13017?
In this case an answer has been given:
In fact, it is quite easy to find the previous installed versions.I don't know what build I had before. One of the beta from yesterday.
It is explained below.
Most users will run Domoticz as a daemon, so that it starts automatically, if rebooted or if there has been a version upgrade.
Log in with ssh into a terminal and issue the following command:
Code: Select all
cat /var/log/daemon.log|grep domoticz.shCode: Select all
Feb 23 22:06:17 RPi1 domoticz.sh[20111]: 2021-02-23 22:06:17.907 Status: Domoticz V2020.2 (build 12983) (c)2012-2021 GizMoCuz
Feb 23 22:06:17 RPi1 domoticz.sh[20111]: 2021-02-23 22:06:17.913 Status: Build Hash: 20e62fd9b-modified, Date: 2021-02-23 12:29:37
Feb 23 22:06:17 RPi1 domoticz.sh[20111]: 2021-02-23 22:06:17.914 Status: Startup Path: /home/pi/domoticz/
Feb 23 22:06:17 RPi1 domoticz.sh[20111]: domoticz: Domoticz is starting up....
Feb 24 14:12:01 RPi1 domoticz.sh[16518]: 2021-02-24 14:12:01.654 Status: Domoticz V2020.2 (build 13002) (c)2012-2021 GizMoCuz
Feb 24 14:12:01 RPi1 domoticz.sh[16518]: 2021-02-24 14:12:01.660 Status: Build Hash: f33e035bf-modified, Date: 2021-02-24 08:40:49
Feb 24 14:12:01 RPi1 domoticz.sh[16518]: 2021-02-24 14:12:01.660 Status: Startup Path: /home/pi/domoticz/
Feb 24 14:12:01 RPi1 domoticz.sh[16518]: domoticz: Domoticz is starting up....
Feb 26 15:35:04 RPi1 domoticz.sh[10046]: 2021-02-26 15:35:04.280 Status: Domoticz V2020.2 (build 13017) (c)2012-2021 GizMoCuz
Feb 26 15:35:04 RPi1 domoticz.sh[10046]: 2021-02-26 15:35:04.286 Status: Build Hash: 06f5f78dd-modified, Date: 2021-02-26 10:36:14
Feb 26 15:35:04 RPi1 domoticz.sh[10046]: 2021-02-26 15:35:04.286 Status: Startup Path: /home/pi/domoticz/
Feb 26 15:35:04 RPi1 domoticz.sh[10046]: domoticz: Domoticz is starting up....
Feb 26 22:20:34 RPi1 domoticz.sh[3225]: 2021-02-26 22:20:34.762 Status: Domoticz V2020.2 (build 13016) (c)2012-2021 GizMoCuz
Feb 26 22:20:34 RPi1 domoticz.sh[3225]: 2021-02-26 22:20:34.768 Status: Build Hash: 3a983b434-modified, Date: 2021-02-26 20:56:22
Feb 26 22:20:34 RPi1 domoticz.sh[3225]: 2021-02-26 22:20:34.769 Status: Startup Path: /home/pi/domoticz/
Feb 26 22:20:34 RPi1 domoticz.sh[3225]: domoticz: Domoticz is starting up....
This can be useful information in case of problems, which have to be tackled.
Regards