I just upgrade ghost from 0.7.9 to 0.11.1 by following this guide on ghost.org.. After the upgrade which completed without errors I get “502 Bad Gateway nginx/1.4.6 (Ubuntu)” when I try to visit the site. When I revert to my backup everything works fine. And when I say “revert to my backup” I don’t mean restoring the whole server I just mean “cp -R ./ghost-backup ./ghost”. A reboot was not required after reverting back to the backup either. Something is failing with the upgrade but I have no idea what.
My theme is Casper 1.2.8.
This is what appeared in the error log for nginx.
2017/03/26 05:32:23 [error] 1062#0: *21 connect() failed (111: Connection refused) while connecting to upstream, client: [client IP], server: site.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:2368/", host: "www.site.com"
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!