In my last Ghost related post, we got to 0.6.4. Well I went about the upgrade a little different this time. If you know your way around CLI this should be a breeze.
- SSH into your Ghost installation. You can find the credentials by logging into Openshift, clicking on your application, and clicking the link that says Want to log in to your application?
- Locate your
package.jsonwhich can be found in
/app-root/repo. Use a command such as
vimand modify the line for ghost. It should be around
line 18if you're using the Openshift Ghost repo.
- If you're using
nanodo a Ctrl-X, then y, then Enter.
This is probably the most important step that I missed the first time and ended up rolling back to 0.6.4.
- Log out of SSH and then run
rhc app-restart $APPNAME. If it fails, just try and run it one more time before resorting to a rollback.