I’ve searched through this discourse and Google and cannot find an answer.
I have successfully installed the latest version of Trellis locally with an older Sage 8 theme. Everything works great locally.
I was able to successfully provision the remote server at the domain with zero errors on a fresh DO droplet. I was also able to deploy the site to the remote server with zero errors.
When visiting the site url, all I see is the Nginx welcome screen:
Also, I’ve SSH’d into the server and navigated to the /current directory to ensure all the files are there and they do exist…
I have done a ton of these in the past with no issues but for some reason all of a sudden this is what I get. Any help would be greatly appreciated of course.
Would you be able to just recreate the server and start fresh? Seems like it’s a brand new one. My hunch is that the previous error caused the server/SSL stuff to get into a bad state which you could try and fix manually, but would be easier to start fresh again.
Ok, I rebuilt the droplet. Using Ubuntu 18.04 x64 and still receiving the same previous error from above.
With no offense to anybody on this great team, I see no other option but to revert back to a previous version of Trellis as these problems have created down time and it’s been difficult to fix.
Is it best to start from a fresh droplet? A rebuilt droplet is the same thing right?
I rebuilt the droplet I had setup, this way I did not have to deal changing IPs and DNS propagation. I believe a rebuilt droplet is the same as a fresh one.
My apologies but it turns out I had left the production host file as the droplet IP address and forgot to change it back to the domain. I had switched it to the IP address to perform some tests with provisioning the server because of all the roadblocks I was encountering.
Turns out it’s provisioning fine now with SSL set to true, however, now the site loads with https but the browser says it can’t be reached and refused to connect.
The first provision on a complete fresh Ubuntu 18.04 broke with an error I currently can’t remember exactly but had to do with the ssl certificates.
It took me a while to understand, that a reprovison doesn’t solve that issue as doing so went successfully through without any error. I guess the ssl files were recognizes as available but corrupted. So eventhough the reprovision was successful nginx was not running as described here: https://github.com/roots/trellis/pull/1057#issuecomment-452374127
Currently it sounds to me that @joshb is at the same point now. Can you please login to the remote via ssh and validate nginx is running via service nginx status?
As I can see @swalkinshaw reverted our changes on renew-certs.py and instead forces installation of python2. That makes sense to me but I didn’t tried it, yet. However @joshb can you go sure that all Trellis files are as in the current master?
Yeah thanks for the summary. This is my current understanding of the situation as well. If current master is not working, then something else is going on. I’ll try it on some new servers tonight to test.