If you installed your Ghost Blog with the Ghost-CLI, you can easily upgrade your Ghost version using the CLI.
Backups
Backup your blog by exporting the json via the Ghost Admin Interface, and also update your content directory:
1
2
3
| $ sudo su - ghost
$ cd /var/www/ghost
$ tar -zcf /home/ghost/backups/ghost-content-$(date +%F).tar.gz content
|
Check the Current Version:
1
2
3
4
| $ ghost status
Version:
1.17.0
|
Update Ghost:
1
2
| $ npm i -g ghost-cli
$ ghost update
|
Verify Version:
1
2
3
4
| $ ghost status
Version:
1.17.0
|
No need to restart Ghost as the update function restarted the process already.
Resources: