Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 312
retro_coder Avatar asked Nov 27 '25 13:11

retro_coder


1 Answers

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.

like image 105
retro_coder Avatar answered Nov 30 '25 04:11

retro_coder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!