Domoticz et Google Home via le plugin DZGA
Re: Domoticz et Google Home via le plugin DZGA
J'ai bien tenté d'installer NGINX..
mais je n'arrive pas à le lancer...
Il reste en failed.
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-11-15 21:48:54 CET; 1min 13s ago
Docs: man:nginx(8)
Process: 11124 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 11130 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 13111 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 2101 (code=exited, status=0/SUCCESS)
CPU: 34ms
nov. 15 21:48:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
nov. 15 21:48:54 raspberrypi nginx[13111]: [86B blob data]
nov. 15 21:48:54 raspberrypi nginx[13111]: nginx: configuration file /etc/nginx/nginx.conf test failed
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited status=1
nov. 15 21:48:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Unit entered failed state.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
quand je fais nginx -t
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2020/11/15 21:53:40 [warn] 13553#13553: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2020/11/15 21:53:40 [emerg] 13553#13553: unknown directive "n /etc/nginx/sites-enabled/s already in use):1
nginx: configuration file /etc/nginx/nginx.conf test failed
mais je n'arrive pas à le lancer...
Il reste en failed.
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-11-15 21:48:54 CET; 1min 13s ago
Docs: man:nginx(8)
Process: 11124 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 11130 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 13111 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 2101 (code=exited, status=0/SUCCESS)
CPU: 34ms
nov. 15 21:48:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
nov. 15 21:48:54 raspberrypi nginx[13111]: [86B blob data]
nov. 15 21:48:54 raspberrypi nginx[13111]: nginx: configuration file /etc/nginx/nginx.conf test failed
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited status=1
nov. 15 21:48:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Unit entered failed state.
nov. 15 21:48:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
quand je fais nginx -t
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2020/11/15 21:53:40 [warn] 13553#13553: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2020/11/15 21:53:40 [emerg] 13553#13553: unknown directive "n /etc/nginx/sites-enabled/s already in use):1
nginx: configuration file /etc/nginx/nginx.conf test failed
Re: Domoticz et Google Home via le plugin DZGA
Tu fais bien sudo avant de lancer tes commandes?
Re: Domoticz et Google Home via le plugin DZGA
Oui oui.
J'ai l impression que c'est une histoire de droit.
Il y a un truc à configurer dnas le fichier nginx. Conf aussi non ? L utilisateur ?
Re: Domoticz et Google Home via le plugin DZGA
Non rien du tout j'ai juste suivi le tuto. J'ai eu quelques soucis à le démarrer car il était en conflit avec domoticz il voulait écouter le 443 tout les deux
Re: Domoticz et Google Home via le plugin DZGA
Je viens de voir ça dans mon log domoticz
: [web:443] missing SSL DH parameters from file ./server_cert.pem
: [web:443] missing SSL DH parameters from file ./server_cert.pem
Re: Domoticz et Google Home via le plugin DZGA
Tu a bien générer le certificat?
Re: Domoticz et Google Home via le plugin DZGA
Je viens de comprendre... J'ai généré le certificat pour domoticz.. Mais pas pour domoticz Google assistant..
Peut on utiliser le même ?
Peut on utiliser le même ?
-
samourai47
- Messages : 286
- Inscription : 04 déc. 2018, 19:44
Re: Domoticz et Google Home via le plugin DZGA
oui mais il faut faire la configuration ad hoc pour caSpaWnOL a écrit : 16 nov. 2020, 00:11 Je viens de comprendre... J'ai généré le certificat pour domoticz.. Mais pas pour domoticz Google assistant..
Peut on utiliser le même ?
Celle qui est en bas dans le wiki. Sinon j'ai mis le mien dans un post un peu plus haut
Re: Domoticz et Google Home via le plugin DZGA
J'ai copié ta config en modifiant avec mes parametressamourai47 a écrit : 16 nov. 2020, 08:39oui mais il faut faire la configuration ad hoc pour caSpaWnOL a écrit : 16 nov. 2020, 00:11 Je viens de comprendre... J'ai généré le certificat pour domoticz.. Mais pas pour domoticz Google assistant..
Peut on utiliser le même ?
Celle qui est en bas dans le wiki. Sinon j'ai mis le mien dans un post un peu plus haut