Ghost was unable to start

I cant install ghost. terminal shows “Ghost was able to start, but errored during boot with Knex: run” copy of terminal commands is attached below.
Hosting - Shared Hosting | Steller package. Namecheap hosting

(Terminal Command )

[modknack@server123 ~]$ cd blog
[modknack@server123 blog]$ ls
current public stderr.log tmp
[modknack@server123 blog]$ source /home/modknack/nodevenv/blog/14/bin/activate && cd /home/modknack/blog
[blog (14)] [modknack@server123 blog]$ ls
current public stderr.log tmp
[blog (14)] [modknack@server123 blog]$ rm -rf *
[blog (14)] [modknack@server123 blog]$ npm install ghost-cli@latest -g
ln: creating symbolic link /home/modknack/nodevenv/blog/14/lib/package.json': No such file or directory npm WARN lifecycle The node binary used for scripts is /home/modknack/nodevenv/blog/14/bin/node but npm is using /opt/alt/alt-nodejs14/root/usr/bin/node itself. Use the –scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

yarn@1.22.19 preinstall /home/modknack/nodevenv/blog/14/lib/lib/node_modules/ghost-cli/node_modules/yarn
:; (node ./preinstall.js > /dev/null 2>&1 || true)

/home/modknack/nodevenv/blog/14/lib/bin/ghost → /home/modknack/nodevenv/blog/14/lib/lib/node_modules/ghost-cli/bin/ghost

  • ghost-cli@1.21.1
    added 478 packages from 270 contributors in 25.454s
    [blog (14)] [modknack@server123 blog]$ ls
    node_modules
    [blog (14)] [modknack@server123 blog]$ rm -rf *
    [blog (14)] [modknack@server123 blog]$ ghost install local

Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.
https://careers.ghost.org/product-engineer-node-js

:heavy_check_mark: Checking system Node.js version - found v14.18.3
:heavy_check_mark: Checking current folder permissions
:heavy_check_mark: Checking memory availability
:heavy_check_mark: Checking free space
:heavy_check_mark: Checking for latest Ghost version
:heavy_check_mark: Setting up install directory
:heavy_check_mark: Downloading and installing Ghost v5.8.3
:heavy_check_mark: Finishing install process
:heavy_check_mark: Configuring Ghost
:heavy_check_mark: Setting up instance
:heavy_multiplication_x: Starting Ghost
One or more errors occurred.

  1. GhostError

Message: Ghost was able to start, but errored during boot with: Knex: run
$ npm install sqlite3 --save
/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by /home/modknack/blog/versions/5.8.3/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node)

Debug Information:
OS: unknown, vunknown
Node Version: v14.18.3
Ghost Version: 5.8.3
Ghost-CLI Version: 1.21.1
Environment: development
Command: ‘ghost install local’

Additional log info available in: /home/modknack/.ghost/logs/ghost-cli-debug-2022-08-10T07_32_01_262Z.log

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

You can always refer to Ghost-CLI - A fully loaded tool for installation and configuration for troubleshooting.
[blog (14)] [modknack@server123 blog]$

Shot in the dark, but perhaps you don’t have the compilers like gcc installed. A few node packages drop down to native compilation and that appears to be hurting on your side. My guess being shared hosting you will have no control to change that.