Connessione HTTPS con ha core #284
Replies: 3 comments 5 replies
-
Premesso che la presenza dell'utente L'errore finale è perché probabilmente l'utente con cui viene avviato HA non ha i permessi in lettura sui file dei certificati |
Beta Was this translation helpful? Give feedback.
-
Ciao snakuzzo, grazie per il riscontro. In realtà però ho utilizzato la procedura di installazione tramite docker e li non è prevista la creazione dell'utenza. Ora ho visto che le cartelle di home assistant sono root:root, provo a ripetere.la procedura o tramite root o faccio un chmod -R pi:pi. Pensi possa funzionare? |
Beta Was this translation helpful? Give feedback.
-
ho lo stesso problema ho installato HA corem ho seguito la vostra guida passo passo dopo 3 o 4 prove ho tentato anche con root, ma il risultato non cambia.
questi sono i log di quando provo a connettermi File "/srv/homeassistant/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 334, in data_received qualcuno può aiutarmi? Al momento sono impossibilitato a installare su docker in quanto ho un router fastgate e porte 80 22 e 443 sono occupate da loro |
Beta Was this translation helpful? Give feedback.
-
Ciao a tutti, sto seguendo la giuda "Collegarsi da remoto a Home Assistant (CORE) installato su Raspbian di Raspberry Pi" ma già parto male nel senso che avendo seguito quella per l'installazione di Home Assistant Core, non ho lo user homeassistant per cui il passaggio
"Una volta collegati via SSH al Raspberry Pi, cambiare l’utente in uso in “homeassistant”:
sudo su -s /bin/bash homeassistant" mi restituisce errore in quanto l'utente non esiste.
Comunque sono andato avanti anteponendo davanti ai vari comandi il sudo. tutto bene fino al punto
"Eseguire poi il seguente comando:
./dehydrated -c"
in quanto l'output, nelle ultime righe, mi restituisce questo avviso:
Unknown hook sync_cert
Failed to restart home-assistant@homeassistant.service: Unit home-assistant@homeassistant.service not found.
ERROR: deploy_cert hook returned with non-zero exit code
Andando avanti infatti con la procedura, dopo aver aggiunto il blocco https al file di configurazione, verificando la configurazione ricevo questo errore:
Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/home/homeassistant/dehydrated/certs/xxxxxxxx.duckdns.org/fullchain.pem'
not a file for dictionary value @ data['http']['ssl_key']. Got '/home/homeassistant/dehydrated/certs/xxxxxxxx.duckdns.org/privkey.pem'. (See /config/configuration.yaml, line 27).
Per ora ho rimosso tutto, mi date cortesemente una mano?
Vi ringrazio anticipatamente.
Simone
output.txt
Beta Was this translation helpful? Give feedback.
All reactions