Hi,
Please find here information to update Domoticz to last version (beta or stable)
BEFORE trying to update1) with
10717 an extra library is require (provide in full Linux distribution BUT not in Asustor, nor in my own added libraries)
==== THIS CAN BE APPLY ON ANY VERSION (just not used for previous one)GET the file hereafter and put it in your
Public share FOR ARM :
FOR X86_64 :
Open a terminal :
ssh with
root / your_passwordcd /usr/local/AppCentral/domoticz/lib/
tar xf libcurl-gnutls_armhf.tar OR tar xf libcurl-gnutls_x86_64.tar
rm -f /share/Public/libcurl-gnutls*.tarIt's all for this first part.
2) scripts provide by Domoticz are build for default Linux distribution and ca-certificate (SSL) this is not compatible with Asustor delivery
download script :
...
wget is use but with an unknown (Asustor) certificate so we have to add option to don't check it
...
test of checksum failed due to the Asustor Busybox version of sha256sum that ADD A SPACE in result (between hash and file name)
... in old version some update use an alternate name for the archive
AT END
update script
...
try to restart domoticz as Linux service ...
false in Asustor NAS THIS IMPLY to use AppCentral (or apkg command) to disable domoticz then wait 15 sec. (recommanded to really finish domoticz) then enable again the APKG.
NEW DON'T use previous modified script THIS ONE incorporate all potentials problems Modified download_script to (try to) solve all problem (available for any installed version)
GET the file hereafter and put it in your
Public sharecd /usr/local/AppCentral/domoticz/scripts
mv download_update.sh download_update.sh.ori
tar xf /share/Public/download_update.sh.tarDON'T REMOVE the tar, because AFTER UPDATE the script is overwrite by the update , so for the next (if no new problems) you will have to reuse it
NOW you can update domoticz using it's own internal update mechanismDON'T forget at end to :Disable APKG, wait for 15 sec., Enable APKG in "App Central"
Philippe.
NB in case of problem start manually the script to see errors