# Ghost was able to start, but errored during boot with: Knex: run

**URL:** <https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148>\
**Category:** Installation\
**Created:** [May 15, 2022, 12:54pm UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148 "2022-05-15T12:54:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SmitMachhi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/smitmachhi/32/17724_2.png) [@SmitMachhi](https://forum.ghost.org/u/SmitMachhi)\
**Post date:** [May 15, 2022, 12:54pm UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148/1 "2022-05-15T12:54:55Z")

</div>

I’ve been trying to install Ghost on my shared server using cpanel terminal but it’s giving me the following error,  
I don’t know understand what I’m doing wrong and I’ve already reinstalled it more than 5 times but I’m facing the same error always,  
from my research, I think it has something to do with the GCC compiler and Ghost-CLI is not able to connect to it so help me out.

✔ Checking system Node.js version - found v14.18.3  
ℹ Ensuring user is not logged in as ghost user [skipped]  
ℹ Checking if logged in user is directory owner [skipped]  
✔ Checking current folder permissions  
✔ Validating config  
✔ Checking memory availability  
✔ Checking binary dependencies  
✖ Starting Ghost: ghost-local  
A GhostError occurred.

Message: Ghost was able to start, but errored during boot with: Knex: run  
$ npm install sqlite3 --save  
/lib64/libstdc++.so.6: version `CXXABI\_1.3.8’ not found (required by /home/maaenter/thedistractedmonkey/versions/4.47.2/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: 4.47.2  
Ghost-CLI Version: 1.19.3  
Environment: development  
Command: ‘ghost start’

Additional log info available in: /home/maaenter/.ghost/logs/ghost-cli-debug-2022-05-15T12\_49\_15\_909Z.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](https://ghost.org/docs/ghost-cli/) for troubleshooting.

---

<div class="post-metadata">

**Author:** ![SmitMachhi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/smitmachhi/32/17724_2.png) [@SmitMachhi](https://forum.ghost.org/u/SmitMachhi)\
**Post date:** [May 16, 2022, 5:35pm UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148/2 "2022-05-16T17:35:59Z")

</div>

I was successfully able to install Ghost 4.3.3 but for some reason whenever I try to install the latest version or update it to the latest version it gives me the same error I’ve shown above.

---

<div class="post-metadata">

**Author:** ![Suraj\_Kumar](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/suraj_kumar/32/16809_2.png) [@Suraj\_Kumar](https://forum.ghost.org/u/Suraj_Kumar)\
**Post date:** [December 13, 2022, 12:46pm UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148/3 "2022-12-13T12:46:32Z")

</div>

I have come across the same problem while doing the installation on centos7. Though I cannot confirm I think the issue is with incompatibility between centos7 and sqlite3, as mentioned in this blow.  
[Ghost update woes - version `CXXABI\_1.3.8’ not found - Opalstack Community Forum](https://community.opalstack.com/d/981-ghost-update-woes-version-cxxabi-138-not-found)

---

<div class="post-metadata">

**Author:** ![garethvjones](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/garethvjones/32/20949_2.png) [@garethvjones](https://forum.ghost.org/u/garethvjones)\
**Post date:** [January 4, 2023, 4:12pm UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148/4 "2023-01-04T16:12:26Z")

</div>

Did we ever find a solution to this in the community?

---

<div class="post-metadata">

**Author:** ![SmitMachhi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/smitmachhi/32/17724_2.png) [@SmitMachhi](https://forum.ghost.org/u/SmitMachhi)\
**Post date:** [January 5, 2023, 11:40pm UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148/5 "2023-01-05T23:40:10Z")

</div>

not really, but I successfully installed a really old version of ghost, I don’t quite remember which version, but it was pretty outdated so I just moved on.

---

<div class="post-metadata">

**Author:** ![garethvjones](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/garethvjones/32/20949_2.png) [@garethvjones](https://forum.ghost.org/u/garethvjones)\
**Post date:** [January 6, 2023, 5:54am UTC](https://forum.ghost.org/t/ghost-was-able-to-start-but-errored-during-boot-with-knex-run/30148/6 "2023-01-06T05:54:55Z")

</div>

Thanks for the reply.  
From my research, I don’t think it’s possible to do either… which is a shame
