Je peux lire des réponses en Anglais : yes
Mon nom de domaine est : hocishome.duckdns.org
Bonjour ! Ravi de faire parti de la communauté ! Je cherche depuis des heures parmi plein de sujets et rien ne fonctionne... Je suis neophyte. J’ai exécuté cette commande : Bonjour, J'essaie de rendre possible l'accès à Homeassistant depuis l'extérieur pour faire remonter mes appareils sur alexa ensuite, avec duckdns en docker portainer. Je n'arrive pas à donner les certificats et rendre le https://hocishome.duckdns.org fonctionnel.
Elle a produit cette sortie :
❯ Starting backend ...
[8/25/2023] [1:12:45 PM] [Global ] ›info Using MySQL configuration
[8/25/2023] [1:12:47 PM] [Migrate ] ›info Current database version: 20211108145214
[8/25/2023] [1:12:47 PM] [Setup ] ›info Logrotate Timer initialized
[8/25/2023] [1:12:47 PM] [Setup ] ›info Logrotate completed.
[8/25/2023] [1:12:47 PM] [IP Ranges] ›info Fetching IP Ranges from online services...
[8/25/2023] [1:12:47 PM] [IP Ranges] ›info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[8/25/2023] [1:12:48 PM] [IP Ranges] ›info Fetching https://www.cloudflare.com/ips-v4
[8/25/2023] [1:12:48 PM] [IP Ranges] ›info Fetching https://www.cloudflare.com/ips-v6
[8/25/2023] [1:12:48 PM] [SSL ] ›info Let's Encrypt Renewal Timer initialized
[8/25/2023] [1:12:48 PM] [SSL ] ›info Renewing SSL certs close to expiry...
[8/25/2023] [1:12:48 PM] [IP Ranges] ›info IP Ranges Renewal Timer initialized
[8/25/2023] [1:12:48 PM] [Global ] ›info Backend PID 277 listening on port 3000 ...
[8/25/2023] [1:12:49 PM] [Nginx ] ›info Reloading Nginx
[8/25/2023] [1:12:50 PM] [SSL ] ›info Renew Complete
[8/25/2023] [1:13:09 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf
[8/25/2023] [1:13:09 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err
[8/25/2023] [1:13:09 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"syscall": "unlink",
"code": "ENOENT",
"path": "/data/nginx/proxy_host/1.conf.err"
}
[8/25/2023] [1:13:09 PM] [Nginx ] ›info Reloading Nginx
[8/25/2023] [1:13:09 PM] [SSL ] ›info Requesting Let'sEncrypt certificates via Cloudflare for Cert #21: hocishome.duckdns.org
[8/25/2023] [1:13:09 PM] [SSL ] ›info Command: mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo '# Cloudflare API token
dns_cloudflare_api_token = g7DvNms0R54ygj05Xrs1xcPFsMSTy_BwLzFdiTIb' > '/etc/letsencrypt/credentials/credentials-21' && chmod 600 '/etc/letsencrypt/credentials/credentials-21' && . /opt/certbot/bin/activate && pip install --no-cache-dir certbot-dns-cloudflare==$(certbot --version | grep -Eo '0-9+') cloudflare && deactivate && certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-21" --agree-tos --email "admin@hocishome.duckdns.org" --domains "hocishome.duckdns.org" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-21"
[8/25/2023] [1:13:17 PM] [Nginx ] ›info Reloading Nginx
[8/25/2023] [1:13:17 PM] [Express ] ›warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-21" --agree-tos --email "admin@hocishome.duckdns.org" --domains "hocishome.duckdns.org" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-21"
Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Le système d’exploitation sur lequel mon serveur Web s’exécute est (version incluse) : debian raspberry pi 4B
Mon hébergeur, le cas échéant, est : duckdns
Je peux me connecter à un shell root sur ma machine (oui ou non, ou je ne sais pas) : yes
J’utilise un panneau de configuration pour gérer mon site (non, ou fournit le nom et la version du panneau de configuration) : nginx proxy manager front works fine