brent20
February 11, 2020, 9:20pm
1
I’m helping a friend with a very old Ghost installation (v0.4.x) and I want to setup a development environment (in a vm) and install the same version of Ghost and then test the migration process to get him back up to the current version.
The self hosted documentation out there is great, but obviously it does not focus on older installations. Is there any specifics I should know about installing Ghost v0.4.x and the steps to migrate to v0.11.11, then to 1.x.x then to 2.x.x. and then finally to 3.x.x?
Thanks!
Hannah
February 12, 2020, 8:39am
2
Here’s a copy of our legacy install and upgrade documentation:
Install-Ghost-Linux-Legacy.md
* Most linux distros have a package manager, see the Node.js guide for details on [installing node via various package managers](https://github.com/nodejs/node/wiki) or alternatively it is possible to download the .tar.gz archive from [http://nodejs.org](http://nodejs.org)
* Double check that you have Node and npm installed and that you have the right version, by typing `node -v` and `npm -v` into a terminal window and comparing with the blue box above.
## Install Ghost
1. Grab the latest version of Ghost from Ghost.org:
`$ curl -L https://github.com/TryGhost/Ghost/releases/download/0.11.12/Ghost-0.11.12.zip -o ghost.zip`
2. Unzip Ghost into the folder `/var/www/ghost` (recommended install location):
This file has been truncated. show original
Upgrade-Ghost-Legacy.md
<strong>Note:</strong> just looking for the commands to run? Jump to the <a href="#section-command-guide">command guide</a> at the end of this post.
Upgrading Ghost is still a very manual process at the moment. We realise that this is isn't ideal, however this guide should help you get updated to the latest version of Ghost smoothly.
## Preparation
Before you start updating, there are a few highly recommended preparation steps that should help you get the best & quickest results:
#### **1. Make a backup**
This file has been truncated. show original
When you’re up to the latest 0.11.x version, then you can start following the modern documentation:
Once you get from 1.x you can jump straight to 3.x.