Ghost - How to upgrade NodeJS in a new installation?

Keywords: Ghost - AWS - How to - Upgrade
Description:
Hello,
I’ve previously installed a ghost website with the same configuration.
Today I try to install a new Ghost instance via Bitnami image on AWS (Lightsail) but the issue I have is my NodeJS version is outdated.

bitnami@ip-172-26-1-120:/opt/bitnami/apps/ghost/htdocs$ ghost update
✔ Checking system Node.js version - found v14.15.4
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for available migrations
✔ Checking for latest Ghost version

# 4.8.4

*  Fixed error when removing Facebook/Twitter social images on general settings screen - Kevin Ansfield

---

View the changelogs for full details:
* Ghost - https://github.com/tryghost/ghost/compare/v4.8.3...v4.8.4
* Ghost-Admin - https://github.com/tryghost/admin/compare/v4.8.3...v4.8.4

✔ Fetched release notes
✖ Downloading and updating Ghost to v4.8.4
A SystemError occurred.

Message: Ghost v4.8.4 is not compatible with the current Node version.

Debug Information:
    OS: Debian GNU/Linux, v10
    Node Version: v14.15.4
    Ghost Version: 3.42.5
    Ghost-CLI Version: 1.17.3
    Environment: production
    Command: 'ghost update'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

Could you please help me to update NodeJS ?

Hello @maxiime

Please note that Bitnami Stacks are completely self-contained and run independently of the rest of the software or libraries installed on your system. For that reason, it is not possible to upgrade one component of the stack (in this case Node). You need to launch a new instance with the required version of Node and then restore your files.

Please take a look at this previous case:

I hope it helps

Thank you for your answer. Actually, when I create a new instance on lightsail, then select image Ghost I can’t define another version of NodeJS.

I don’t understand what to do…

Hello @maxiime,

As you can see, we have already released Ghost 4.8.4
https://bitnami.com/stack/ghost/installer

We have submitted the updated packages to AWS and the Lightsail platform, but they are still in the process of publishing them to the marketplace.

To get the latest version of all of our applications for AWS, we suggest that you use our Bitnami Launchpad for AWS . We publish the most up-to-date packages on our launchpad as soon as they are ready.

Just like the AWS Marketplace and Lightsail, the launchpad is free to use, so you won’t need to pay for anything except the hosting of the applications.

Regards

But the Bitnami Launchpad for AWS is only for AWS, not for Lightsail.

Thank you for your answer. But I think AWS hosting is far more expensive than AWS lightsail

1 Like

Yes @cristian.heyde, you are right. I’m just trying to offer an alternative where you will find the new versions updated as soon as possible since Ligthsail team spends some time updating the images once we send them.

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.