How to Update Ghost


Post cover image

Since Ghost 1.0 came out with Ghost-CLI, that is now the recommended way to install and update Ghost. Here is how you can do it on DigitalOcean or any other Ubuntu install you use to host Ghost.

DigitalOcean

If you are looking for specific instructions on how to upgrade to 1.0, we have a specific article for that here

  1. SSH into your DigitalOcean droplet:

    ssh [username]@[yourdomain.com]
    
  2. Move into your Ghost folder:

    cd /var/www/ghost
    
  3. Run the Ghost update command

    ghost update
    
  4. Done! This will update Ghost to the latest version for you.

Other Ubuntu Setups (Other OS's not supported)

If you are looking for specific instructions on how to upgrade to 1.0, we have a specific article for that here

  1. SSH into the server that hosts your Ghost blog:

    ssh [username]@[yourdomain.com]
    
  2. Move into your Ghost folder:

    cd /var/www/ghost
    
  3. Run the Ghost update command:

    ghost update
    
  4. Done! This will update Ghost to the latest version for you.

Pre 1.0 Update Steps

  1. Stop Ghost
    • service ghost stop (on DigitalOcean)
  2. cd path/to/ghost/folder
    • /var/www/ on most platforms
  3. mkdir temp
  4. cd temp/
  5. curl -L -O https://ghost.org/zip/ghost-latest.zip
  6. unzip ghost-latest.zip
  7. cd ..
  8. sudo cp temp/*.md temp/*.js temp/*.json .
  9. sudo rm -R core
  10. sudo cp -R temp/core .
  11. sudo cp -R temp/content/themes/casper content/themes
  12. sudo npm install --production
  13. sudo rm -R temp
  14. sudo chown -R ghost:ghost ./*
  15. Start Ghost