Upgrade Ghost to 0.7.0

With the brand new release of 0.7.0, I figured it'd be worth checking it out as this version comes with changes like the refresh of the admin interface. Be sure to make a backup of your blog by exporting posts and settings via .json file under the Labs section. It's also a good idea to make a copy of the content folder from the Ghost install. Finally you should consider the version jump when upgrading (e.g. 0.6.x to 0.7.0) - more on that here.

In short, here are the steps:

  • Switch to your install path (e.g. cd /var/www/)
  • Get the latest release with sudo wget http://ghost.org/zip/ghost-latest.zip
  • Remove old core files by sudo rm -rf ghost/core
  • Extract the archive sudo unzip -uo ghost-latest.zip -d ghost
  • Ensure permissions are correct sudo chown -R ghost:ghost ghost/*
  • Enter the Ghost directory (cd ghost) and run sudo npm install --production for new dependencies
  • Then restart Ghost with forever restart index.js or sudo service restart ghost if you have it running as a service