[RESOLU] Unit domoticz.service could not be found.

Posez ici vos questions d'utilisation, de configuration de DomoticZ, de bugs, de conseils sur le logiciel lui même dans son utilisation et son paramétrage.
Des forums spécifiques sont ouverts ci-dessous pour regrouper les différents sujets.
alacran
Messages : 80
Inscription : 12 sept. 2016, 10:05

[RESOLU] Unit domoticz.service could not be found.

Message par alacran »

Bonjour,
suite à un crash, je voulais ré installer Domoticz sur 2019-04-08-raspbian-stretch-lite sur mon Rpi 3
après l'installation, update du raspi-config
apt-get update/ upgrade
puis

curl -L https://install.domoticz.com | bash
pi@Domoticz:/etc/init.d $ curl -L install.domoticz.com | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 1160 0 --:--:-- --:--:-- --:--:-- 1168
100 16257 100 16257 0 0 26209 0 --:--:-- --:--:-- --:--:-- 26209
:::
::: You are root.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Domoticz installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev...
Tout semble bien se passer.
Pourtant, Domoticz ne semble pas être installé


pi@Domoticz:~ $ sudo service domoticz.sh status
Unit domoticz.service could not be found.

Aucun port http en écoute...

Bref, c'est comme si il ne s'était rien passé...
Je ne comprend pas

Quelqu'un pour m'aider svp?
Merci
Dernière modification par alacran le 04 juin 2019, 22:05, modifié 1 fois.
alacran
Messages : 80
Inscription : 12 sept. 2016, 10:05

Re: Unit domoticz.service could not be found.

Message par alacran »

JE continue de chercher...
En fait l'install ne se passe pas bien, même si il n'y a pas de message d'erreur, il bloque en fait au moment du
"::: Checking for libudev-dev..."
Donc je tente un sudo apt-get update puis un
pi@Domoticz:~ $ sudo apt-get install libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libudev-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 91.9 kB of archives.
After this operation, 184 kB of additional disk space will be used.
Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libudev-dev armhf 232-25+deb9u9
404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Erreur 404
pi@Domoticz:~ $ sudo apt-get update --fix-missing
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Reading package lists... Done
Puis nouvelle tentative: Toujours la même erreur 404
Pourtant, ma sources.list semble a jour normalement...
Dernière modification par alacran le 02 juin 2019, 20:47, modifié 1 fois.
lmet
Messages : 252
Inscription : 30 juin 2017, 18:16
Localisation : Val d'Oise
Contact :

Re: Unit domoticz.service could not be found.

Message par lmet »

Salut,
lors de l'install c'est bien :

Code : Tout sélectionner

sudo curl -L https://install.domoticz.com | bash
que tu tapes ?
Domoticz : V4.10717
Zigate : V4.11230 plugin:4.5.4 firmware:031a
Mon petit blog domotique
alacran
Messages : 80
Inscription : 12 sept. 2016, 10:05

Re: Unit domoticz.service could not be found.

Message par alacran »

Salut

Exactement cette ligne oui.

Ce qui me donne:
pi@Domoticz:~ $ sudo curl -L https://install.domoticz.com | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16257 100 16257 0 0 18087 0 --:--:-- --:--:-- --:--:-- 18083
:::
::: Script called with non-root privileges. The Domoticz installs server packages and configures
::: system networking, it requires elevated rights. Please check the contents of the script for
::: any concerns with this requirement. Please be sure to download this script from a trusted source.
:::
::: Detecting the presence of the sudo utility for continuation of this install...
::: Utility sudo located.
:::
::: You are root.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Domoticz installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev...
pi@Domoticz:~ $
Ca bloque, sans raison à
::: Checking for libudev-dev...
lmet
Messages : 252
Inscription : 30 juin 2017, 18:16
Localisation : Val d'Oise
Contact :

Re: Unit domoticz.service could not be found.

Message par lmet »

Jettes un coup d’œil ici
Cela évoque les problèmes avec les librairies
Domoticz : V4.10717
Zigate : V4.11230 plugin:4.5.4 firmware:031a
Mon petit blog domotique
alacran
Messages : 80
Inscription : 12 sept. 2016, 10:05

Re: Unit domoticz.service could not be found.

Message par alacran »

Merci. Mais il explique comment installer les librairies manquantes.
mais je ne peux pas le faire.
Il cherche "libudev-dev armhf 232-25+deb9u9" alors que sur le site de http://raspbian.raspberrypi.org/ il ne connait que la u11.
Et quand je télécharge la u11 et que je tente de l'installer, ca ne veut pas non plus...
J'ai DL l'image 2018-04-18-raspbian-stretch-lite au lieu de la 2019-04-08-raspbian-stretch-lite.
Je retente une install. Avec cette version ça fonctionnait sans problème lorsque je l'ai installé.
Je vais installer Domoticz et faire un update ensuite...
alacran
Messages : 80
Inscription : 12 sept. 2016, 10:05

Re: Unit domoticz.service could not be found.

Message par alacran »

Bon bah voila
merci de votre aide, mais avec la 2018-04-18-raspbian-stretch-lite ça fonctionne sans problème et du premier coup...
Je ne suis pas assez calé sur le sujet pour essayer de comprendre quoi que ce soit...
j'ai installé domoticz puis fait un update | upgrade ensuite
Du coup je suis bien en Kernel: Linux 4.19.42-v7+ avec Domoticz installé correctement...
Répondre