This post is really a message to myself in the future for the next time I try to upgrade Ghost.
You just tried to upgrade Ghost again and it's not working, right?
Dude, what is your problem?
Let's go through the checklist:
- Did you clear out the existing
coredirectory before you copied the new one over? You know, like the upgrade instructions said you should? No? Well, try that one and redeploy.
- Still not working? Check the log stream when the app starts up using the Azure CLI. Here's the command you want:
azure site log tail [site-name]
- Odds are, there's a crash that's complaining about some npm dependency. Open up the Kudu Command Line at
https://[site-name].scm.azurewebsites.net/DebugConsole, change into the
wwwrootdirectory and run
npm install --production. If you want, delete the
node_modulesdirectory in the web UI first and then reinstall the dependencies.
If it still doesn't work after you've tried those things, well, you're screwed. Figure it out on your own.