awsghost

Upgrade Ghost

How to upgrade Ghost 1.x onwards

  • First of all, make a backup of you Ghost installation.

  • Then go to your Ghost installation directory:

    $ cd /opt/bitnami/apps/ghost/htdocs/
    
  • Once at your Ghost directory execute the following command:

    $ ghost update
    

How to upgrade Ghost from 0.x to 1.x

If you already have an older running version of Bitnami Ghost, you can update your application by following these simple steps:

  • First of all, make a backup of you Ghost content: In your existing (pre v1.0.0) Ghost blog, navigate to “YOURSITE/ghost/settings/labs/” (the “settings->labs” page in Ghost-Admin) and click on the “Export” button. Here YOURSITE is a placehorlder which refers to your blog url. It should look something like this:

    Ghost content export

    This will download in your system your JSON export file that you need later.

  • Launch a new Bitnami Ghost instance.

  • Import your content into your new Ghost instance: On your new blog navigate to “YOURSITE/ghost/#/settings/labs” (the “settings->labs” page in Ghost-Admin) Click Choose file and select the JSON export file created before from your system, then click on the Import button.

    Ghost content import

    NOTE: Please note that Ghost importer will not import themes. You could see a warning that your themes have not been imported, that is the normal behaviour, you can continue to the next step.

  • Move your images: You need to copy/move your images from your existing directory /opt/bitnami/apps/ghost/htdocs/content/images to the new instance directory /opt/bitnami/apps/ghost/htdocs/current/content/images.

  • Move/upload your themes: Navigate to “YOURSITE/ghost/#/settings/design” (the “Settings->Design” page in Ghost Admin) then click Upload a Theme button and follow the instructions.

    Ghost themes

Now you have your system fully migrated to the newest Ghost version!