It is currently Mon Aug 26, 2019 12:28 am
All times are UTC + 8 hours

[Domoticz] update to Beta 10717 (new scripts for update)

home automation

[Domoticz] update to Beta 10717 (new scripts for update)

Postby father.mande » Mon Jul 01, 2019 6:41 pm

Hi,

NOW solution is provide in next message

Philippe.
Last edited by father.mande on Tue Jul 02, 2019 5:58 pm, edited 3 times in total.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

Re: [Domoticz] update to Beta 10717 (new scrippts for update)

Postby father.mande » Tue Jul 02, 2019 5:56 pm

Hi,

Please find here information to update Domoticz to last version (beta or stable)
BEFORE trying to update

1) 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 :
libcurl-gnutls_armhf.tar
lib
(250 KiB) Downloaded 13 times

FOR X86_64 :
libcurl-gnutls_x84_64.tar
lib x86_64
(400 KiB) Downloaded 19 times

Open a terminal : ssh with root / your_password
cd /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*.tar


It'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 share
download_update.sh.tar
updated download script
(10 KiB) Downloaded 12 times

cd /usr/local/AppCentral/domoticz/scripts
mv download_update.sh download_update.sh.ori
tar xf /share/Public/download_update.sh.tar

DON'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 mechanism
DON'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
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

Return to Domoticz

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest