By setec
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!
It seems that the problem was the theme. Before doing the log test you suggested I finally upgraded the theme. I hesitated because the documentation made it sound optional and I wasn’t sure if I’d modified the theme or not.
So I think we can conclude that Casper 1.2.8 does not work on Ghost 0.11.1. The documentation could be clearer, they make it sound like upgrading the theme is optional.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.