Page 1 sur 1

MAJ domoticz

Publié : 14 juin 2018, 13:40
par jme
Bonjour,

J'essaye de mettre a jour Domoticz, depuis l'interface web il me dit qu'il n'y a pas de mises a jour mais je suis actuelelment en V3.8072, je vois que la version 3.8.153 est dispo sur le site.

J'ai essayé le scrit ./updaterelease mais j'obtiens les erreur ci dessous:

Code : Tout sélectionner

 sudo ./updaterelease
Updating to latest release version...
Please Standby...
--2018-06-14 13:38:57--  http://www.domoticz.com/download.php?channel=stable&type=release&system=linux&machine=i686
Resolving www.domoticz.com (www.domoticz.com)... 185.27.142.198
Connecting to www.domoticz.com (www.domoticz.com)|185.27.142.198|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://releases.domoticz.com/releases/release/domoticz_linux_i686.tgz [following]
--2018-06-14 13:38:59--  https://releases.domoticz.com/releases/release/domoticz_linux_i686.tgz
Resolving releases.domoticz.com (releases.domoticz.com)... 146.185.159.228
Connecting to releases.domoticz.com (releases.domoticz.com)|146.185.159.228|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-14 13:38:59 ERROR 404: Not Found.


gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Restarting Domoticz... (please standby...)
administrator@ubuntuserver:~/domoticz$
Une idée comment faire l'update ?

Je souhaite upgrader car les timer des switch ne semblent pas fonctionner.

Re: MAJ domoticz

Publié : 14 juin 2018, 14:29
par vil1driver
Salut,


https://www.domoticz.com/downloads/

à la mano ;)
en reprenant ce que fait le script, soit télécharger, extraire, redémarrer..

sinon tu peux tenter d'éditer le fichier updaterelease et d'ajouter juste après ceci (sous réserve que ton fichier ressemble au mien..)

Code : Tout sélectionner

if [ ${MACH} = "armv6l" ]
then
 MACH="armv7l"
fi
ceci

Code : Tout sélectionner

if [ ${MACH} = "i686" ]
then
 MACH="x86_64"
fi
dans le but de corriger le nom du fichier qu'il cherche à télécharger

Re: MAJ domoticz

Publié : 14 juin 2018, 16:46
par jme
j'ai fais comme tu as dit ca c'ets mis a jour.

Le problème est que maintenant domoticz apparait offline :|

J'ai lancé un upgrade du ubuntu, on verra apres ... j'espere avoir fais un snapshot de la machine virtuelle, au pire j'ai un back up de la db

Re: MAJ domoticz

Publié : 15 juin 2018, 07:52
par jackslayter
regarde si ton dz est démarré et dans la liste (commande top)
si oui, vide le cache internet et les données de site sauvegardé

Re: MAJ domoticz

Publié : 29 août 2018, 11:46
par jme
Bonjour,

J'ai fais l'upgrade mais depuis j'ai une page inaccessible.

Code : Tout sélectionner

 sudo service domoticz status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2018-08-29 11:36:11 CEST; 1min 26s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3240 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUC
  Process: 3258 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/S
      CPU: 13ms

Aug 29 11:36:11 ubuntuserver systemd[1]: Starting LSB: Home Automation System...
Aug 29 11:36:11 ubuntuserver domoticz.sh[3258]: start-stop-daemon: unable to sta
Aug 29 11:36:11 ubuntuserver systemd[1]: Started LSB: Home Automation System.
lines 1-11/11 (END)...skipping...
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2018-08-29 11:36:11 CEST; 1min 26s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3240 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUC
  Process: 3258 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/S
      CPU: 13ms

Aug 29 11:36:11 ubuntuserver systemd[1]: Starting LSB: Home Automation System...
Aug 29 11:36:11 ubuntuserver domoticz.sh[3258]: start-stop-daemon: unable to sta
Aug 29 11:36:11 ubuntuserver systemd[1]: Started LSB: Home Automation System.
Je tourne sous ubuntu

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful


J'ai vu qu'il y avait un soucis avec libssl, je pense qu'il est a jour chez moi

Code : Tout sélectionner

sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version (1.0.2g-1ubuntu13).
The following packages were automatically installed and are no longer required:
  linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic
  linux-image-4.10.0-40-generic linux-image-extra-4.10.0-40-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
pouvez vous m'aider a le remettre en service ?

Merci

Re: MAJ domoticz

Publié : 29 août 2018, 12:44
par vil1driver
Salut,

Commence par le lancer a la main pour voir ce qu'il dit

Re: MAJ domoticz

Publié : 29 août 2018, 13:16
par jme
Qu'entend tu par le lancer à la main ?

Faire un ./domoticz.sh ?

cela ne donne pas d'erreur mais service inactif
sudo ./domoticz.sh
administrator@ubuntuserver:~/domoticz$ sudo service domoticz status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: inactive (dead) since Wed 2018-08-29 13:13:00 CEST; 1min 18s ago
Docs: man:systemd-sysv-generator(8)
Process: 4391 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUC
Process: 4323 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/S
CPU: 16ms

Re: MAJ domoticz

Publié : 29 août 2018, 14:25
par jme
est ce que le soucis ne viendrait pas du fait que je tourne en 32 Bit ?

uname -i
i686

Re: MAJ domoticz

Publié : 29 août 2018, 19:29
par Neutrino
jme a écrit :Faire un ./domoticz.sh ?
C'est presque ça :)
./domoticz

Re: MAJ domoticz

Publié : 19 sept. 2018, 10:09
par jme
Salut,

Désolé pour la réponse tardive.

Voici ce que j'ai quand j'execute ./domoticz

Code : Tout sélectionner

./domoticz
-bash: ./domoticz: cannot execute binary file: Exec format error

Code : Tout sélectionner

administrator@ubuntuserver:~/domoticz$ sudo service domoticz status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2018-09-19 10:06:29 CEST; 3min 36s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6000 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUC
  Process: 6009 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/S
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/domoticz.service

Sep 19 10:06:29 ubuntuserver systemd[1]: Starting LSB: Home Automation System...
Sep 19 10:06:29 ubuntuserver domoticz.sh[6009]: start-stop-daemon: unable to sta
Sep 19 10:06:29 ubuntuserver systemd[1]: Started LSB: Home Automation System.