Thanks, it works. I learned a lot of nuances
AFAIK there’s no Nginx developer active on this thread (but I could be wrong). Frenck has merely wrapped the addon so that it works with HA supervisor.
I don’t think that’s a bug, but ain’t a feature either. Probably you were also horsin around with NPM or MariaDB addons trying to fix it and now there are some leftovers that affect the addon (I know I did, multiple times )
Could you check if you still have entries in /data/nginx/proxy_host/
? (that is NPM addon, not HA)
Worst case scenario you would need to nuke both NPM and MariaDB addons (but it will affect history and other stuff).
Even if this would have been a bug, please remember that Nginx is a FREE (as in no payment required), open source software, thus support for it kind of depends on the developers’ spare time.
one more question:
access is terminated periodically, it is not clear why, I think after changing the IP provider.
In what sense? Do you need to redo authentication? Or the domain is not accessible?
Since yesterday you mentioned it worked, how many times did that happened until today? Perhaps is not a DDNS problem…
I only deleted the entries with the GUI of Nginx proxy manager, I never looked into the DB.
How can I look into this directory? If I use the normal Terminal Addon I only see /data, but there is no /data/nginx.
Ok. I expect that next time I delete entries, the same happens.
Yes, it is clear!
Yesterday it worked and today there is no access so far
Easiest way is to enable Portainer and browse the NPM addon from there (need to remove filter in Portainer for the addons to be visible). However, it might also be quite dangerous and should do a full snapshot before fiddling with Portainer.
Is there any error in NPM or/and DuckDNS addons log?
You can see them here: https://github.com/hassio-addons/addon-nginx-proxy-manager/issues/260
There is also a message from me in this thread with nearly the same log.
here is the log NPM:
[10/8/2021] [8:17:06 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [8:17:06 AM] [IP Ranges] › ℹ info Fetching IP Ranges from online services...
[10/8/2021] [8:17:06 AM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[10/8/2021] [8:17:06 AM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[10/8/2021] [8:17:07 AM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[10/8/2021] [8:17:07 AM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [8:17:08 AM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [8:17:08 AM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [9:17:06 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [9:17:08 AM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [9:17:08 AM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [10:17:06 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [10:17:08 AM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [10:17:08 AM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [11:17:06 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [11:17:08 AM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [11:17:08 AM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [12:17:06 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [12:17:08 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [12:17:08 PM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [1:17:06 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [1:17:08 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [1:17:08 PM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [2:17:06 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [2:17:06 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services...
[10/8/2021] [2:17:06 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[10/8/2021] [2:17:06 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[10/8/2021] [2:17:07 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[10/8/2021] [2:17:07 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [2:17:08 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [2:17:08 PM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [3:17:06 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [3:17:08 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [3:17:08 PM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [4:17:06 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [4:17:08 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [4:17:08 PM] [SSL ] › ℹ info Renew Complete
[10/8/2021] [5:17:06 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/8/2021] [5:17:08 PM] [Nginx ] › ℹ info Reloading Nginx
[10/8/2021] [5:17:08 PM] [SSL ] › ℹ info Renew Complete
and until yesterday …
What does the nslookup command show? Something like
Server: 127.0.0.11
Address: 127.0.0.11#53
Non-authoritative answer:
Name: mydomain.duckdns.org
Address: 11.22.33.44 #as in your current public IP?
Server: 127.0.0.11
Address: 127.0.0.11#53
Non-authoritative answer:
Name: mydomain.duckdns.org
Address: the same as in duckdns addon
And if running it outside your home?
did not understand
what to run
PS C:\Users\ruspr> nslookup mydomain.duckdns.org
╤хЁтхЁ: UnKnown
Address: ip homeassistant
Не заслуживающий доверия ответ:
╚ь : mydomain.duckdns.org
Address: the same external ip
And is that your correct current external IP?
How about doing a whois check for mydomain.duckdns.org on https://myip.ms/?
everything is correct, i checked
just came in
but this is after restarting the router
address changed due to reboot
maybe it somehow affects
it is possible that this will happen again
I’ll keep you informed
It seems there is another easy way to find those directories/files:
I will see if that works at the next renewal time.
Hi guys, newbie here.
I’m trying to use this add-on, but I’m stuck at the SSL configuration.
I can’t open the port 80 in my router, so I need to use the DNS Challenge method. But I don’t know which provider I should choose to autenticate (is this the word?) my duckdns domain using just the token given by Duckdns in the same way the duckdns add-on does. Is ithis possible??