Keywords: Ghost - AWS - How to - Upgrade
Description:
Critical Security Update Details here:
https://github.com/TryGhost/Ghost/security/advisories/GHSA-65p7-pjj8-ggmr
• How should I go about updating/upgrading Ghost?
The information contained here (https://docs.bitnami.com/general/apps/ghost/administration/upgrade/) produces errors. Approach A, the one that applies to this installation:
bitnami@ip-x.x.x.x:~$ cd /opt/bitnami/ghost
bitnami@ip-x.x.x.x:/opt/bitnami/ghost$ sudo su ghost ghost update
sh: 0: Can’t open ghost
bitnami@ip-x.x.x.x:/opt/bitnami/ghost$
And the Approach B, for good measure (though just using that username).
bitnami@ip-x.x.x.x:/opt/bitnami/ghost$ sudo su bitnami ghost update
/opt/bitnami/ghost/bin/ghost: line 2: use strict: command not found
/opt/bitnami/ghost/bin/ghost: line 4: //: Is a directory
/opt/bitnami/ghost/bin/ghost: line 5: process.title: command not found
/opt/bitnami/ghost/bin/ghost: ghost: line 7: syntax error near unexpected token (' /opt/bitnami/ghost/bin/ghost: ghost: line 7:
const argv = process.argv.slice(2);’
bitnami@ip-x.x.x.x:/opt/bitnami/ghost$