Error on installation - no such file error on nginx restart.
I have this error right at the very end of the log:
Restarting nginx-sp: nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/{server-address},/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/{server-address},/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx-sp.
And now my sight shows up as "ERR_CONNECTION_REFUSED", server is unreachable.
Ideas for a fix?
Same error for me too. I don't understand. I am trying to fix last 3 hours but I also can not see my other website on same droplet. Please guys. At least how can I uninstall. I need my other websites. I didn't take other website backups.. OMG
How to uninstall https://github.com/lesaff/serverpilot-letsencrypt#if-things-go-wrong
@lesaff Thanks for the script! do you have any idea how to uninstall everything related to letsencrypt? I'll like to start afresh but it seems what you linked to above only remove part of the script.
Thanks for any help!
I ended up moving away from serverpilot altogether and using the certbot scripts directly on a fresh build of ubuntu. But I'll leave this thread open since it never really got resolved.
This happened to me when I tried to install the certificate before the DNS propagated. I deleted the ssl conf file as @lesaff suggested earlier, restarted nginx, and tried again when I could actually reach the http version of the site. Everything worked that time.
Hy guys.. After uninstalling using this: https://github.com/lesaff/serverpilot-letsencrypt#if-things-go-wrong
Try to install again.
When you prompted Please enter your app name: [enter your APP NAME ON SERVERPILOT !!!]
Please enter the System User name for the app: [enter your serverpilot username for ssh. In my case, I use default username 'serverpilot']
HAVE FUN !!!
Hi, The problem has occurred because script generated a wrong path. You just need open domain.com.ssl.conf and find three lines at position: 10, 11, 29 and edit their path to match with /etc/letsencrypt/live/www.domain.com or /etc/letsencrypt/live/domain.com, if you not sure, please cd to /etc/letsencrypt/live and type "ls".
I think the author should fix that minor bug. The script does not know if serverpilot create the folder with www or non-www.
Hey @firefoxvt I have the same error. What do you do if the domain is not created in /etc/letsencrypt/live/ ?
I am having the same error. I've tried everything on this thread, even the #ifthingsgowrong instructions and then tried to install again and it's still making my site go down. Any help would be much appreciated. I'm not sure what else to do. @firefoxvt when I try to cd to /etc/letsencrypt/live it says there is no such file. I've used this method for lots of sites and within the last two months I haven't been able to use this method at all. Is something broken in the script?