Setting up on Linode Ubuntu 18.04
I installed ghost and changed my URL a few times. It worked ok but it was redirecting from root domain to www (I thought it was an nginx issue but it might not have been). I wanted a fresh install so I did ghost uninstall
and ghost install
immediately after. I noticed that it skipped the nginx steps and failed. I checked the log:
Original Error Message:
Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' nginx -s reload
nginx: [emerg] open() "/etc/nginx/sites-enabled/www.xxxxxxxxxxx.com-ssl.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
Stack: Error: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' nginx -s reload
nginx: [emerg] open() "/etc/nginx/sites-enabled/www.xxxxxxxxxxxx.com-ssl.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
Subsequently, I’ve tried ghost install
a few times after snooping around and it gets to the last steps but just skips Nginx/SSL setup
Now whenever I visit my URL, Chrome is giving me a “Your connection is not private warning”.
What should I do? Also for future reference, how do I make sure to go through a true uninstall without any dangling config files? I’m not really familiar with nginx.
Thanks for your help.