Search code examples
amazon-ec2ghost-blog

Installing Ghost CMS (self hosting on AWS EC2) seems to never complete


I want to setup Ghost CMS on AWS EC2 instance (Ubuntu 20.04, t2.micro instance) and followed through every instruction within their documentation: https://ghost.org/docs/install/ubuntu/

The issue, however, is when I applied the command: ghost install, it's just loading the 4/5 linking dependencies message for over 30 minutes. I deleted the instance and tried again several times but it is the same effect. Please view the below logs (as seen in terminal) for reference:

✔ Checking system Node.js version - found v18.17.1
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for latest Ghost version
✔ Setting up install directory
☴ Downloading and installing Ghost v5.62.0 > Installing dependencies > [4/5] Linking dependencies...

The installation doesn't seem to complete, does anyone know how to solve this?


Solution

  • Ok, so thanks to @Magnie Mozios's insight, I was able to find a solution. GHOST CMS requires more than 2GB memory so needed to upgrade the instance type and avoid using ghost install --verbose command since it can lead to max buffer timeout. Just use ghost install instead.