So I’m a little new to Ghost and have been attempting to setup manually. The Ghost-CLI installer unfortunately has not ever completely worked for me for Ghost 5+, repeatedly not detecting nginx and other issues that prevent what would hopefully straightforward install. Probably for the best though, since I needed to get familiar with debugging the thing. I have manually configured nginx and ssl. Afterwards I have been able to run the ghost update and THEN it’s able to work with nginx. I’ve checked the config files and it looks like they do refer back to the port where ghost should be running on. Ghost says it installed successfully and both nginx and ghost are running on my systemctl.
The website: compoundingimprovement.com
The homepage does bring up a message that was built in by default in the var/www/html directory by the Ubuntu build. Apache is not listed as running so I’m honestly not sure why that even shows at all.
If you try going to compoundingimprovement.com/ghost, like the ghost installer says to finish the setup, you get a 404 not found error from Nginx. Which makes me think that Nginx is talking to the host but not talking to the Ghost db.
After that I hit a wall. I repeatedly checked the config files and they all looked good. The ports matched, etc. After looking at the error log it said that the permission was denied because the file wasn’t found. So I found the ghost index file in /current/index.js to see if that would work (it is the index file after all). Upon trying compoundingimprovement.com.current/index.js it returned an error message saying require(‘./ghost’);
I tried to find feedback for that online but details for that message are extremely sparse. The best I got was that maybe the Ghost directory isn’t recognizing the js node to run properly…?
And that’s where I’m at. If you need any specific files or error messages please let me know. Tried my best to debug it myself all the way through but this one got me stumped.