Ghost-cli hanging on symlinking dependencies

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.

If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.

  • What’s your URL? This is the easiest way for others to help you
    • Nothing yet as I am still configuring
  • What version of Ghost are you using? If it’s not the latest, please update Ghost first before opening your topic
    • N/A as trying to install from ghost-cli

And

  • How was Ghost installed and configured?

    • installation essentially doesn’t complete since it fails on the symlink creation step, and then the VM I am hosting it on becomes unaccessible via ssh
  • What Node version, database, OS & browser are you using?

  • Node: 18

  • Database: MySQL (just install via ubuntu instructions on the ghost website)

  • OS: Ubuntu 20.04 hosted in a VM instance on GCP (e2-micro)

  • What errors or information do you see in the console?

    • No errors just hanging and it not finishing, then the VM instance becomes inaccessible via SSH afterward.
    • npm issues:
      • npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
      • npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
        Console output:
  • What steps could someone else take to reproduce the issue you’re having?

  • Provision a e2-micro instance using ubuntu 20.04 on GCP and follow the instructions on the ghost.org website for self hosting with Ubuntu in production.

The installer might be running out of memory. You can free up some memory by disabling the performance schema in MySQL. To try this, add:

[mysqld]
performance_schema = 0

To /etc/mysql/my.cnf