NGINX addon stopped working / won't start

I haven’t made any changes/updates to my setup, but the NGINX addon stopped working for me today. The error I have in my log is:

[16:53:22] INFO: Starting NGinx...
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-1/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-1/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file

I’m not sure how to fix this. I can’t load the web UI, so I don’t know how to re-request a cert. I don’t know how to reach the directory mentioned. NGINX should request a cert, correct?

I’m running core-2022.3.2 on Home Assistant OS 7.4

I also tried a full restore from a backup that’s a couple days old (when I was able to restart successfully) and that didn’t fix things.

Just remove the SSL certs from the config and restart the addon.

How would I remove them? The SSL certs aren’t referenced in the add-on’s configuration.

1 Like

OK. I read up on the add-on and realized that it saves configuration info (didn’t want to have to recreate hosts unless I had to). I uninstalled the add-on, then reinstalled. That got me to where the web UI would load. I was able to delete the SSL cert and create a new one, then apply it to my proxy hosts and everything’s working now.

1 Like