# Cannot start a new install of Ghost

**URL:** <https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941>\
**Category:** Developer help\
**Created:** [June 4, 2023, 9:36pm UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941 "2023-06-04T21:36:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vblanton](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vblanton/32/24752_2.png) [@vblanton](https://forum.ghost.org/u/vblanton)\
**Post date:** [June 4, 2023, 9:36pm UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/1 "2023-06-04T21:36:05Z")

</div>

Hello, I’m running a brand new local test version of ghost ona fedora linux VM following the official instructions. I added a few posts, changed a couple design options in the settings and messed a bit with payments, connecting a Stripe account. Then I shut down ghost, restarted, and now cannot start ghost again.

error i’m getting when running “ghost start” : Cannot read properties of undefined (reading ‘members’)  
when running “ghost run”: ERROR connect ECONNREFUSED 127.0.0.1:3306

Any help appreciated :) Don’t want to lose my work so far. more details below:

Ghost-CLI version: 1.24.0  
Ghost version: 5.49.3 (at ~/Documents/GhostCMS)  
node v18.16.0

when I start ghost via “ghost start” I get this output:

```auto

Running in development mode

✔ Checking system Node.js version - found v18.16.0
ℹ 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: Cannot read properties of undefined (reading 'members')

Debug Information:
    OS: Fedora Linux, v38
    Node Version: v18.16.0
    Ghost Version: 5.49.3
    Ghost-CLI Version: 1.24.0
    Environment: development
    Command: 'ghost start'

Additional log info available in: /home/vblanton/.ghost/logs/ghost-cli-debug-2023-06-04T21_24_40_994Z.log

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

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

```

the additional log info:

```auto
Debug Information:
    OS: Fedora Linux, v38
    Node Version: v18.16.0
    Ghost Version: 5.49.3
    Ghost-CLI Version: 1.24.0
    Environment: development
    Command: 'ghost start'
Message: Ghost was able to start, but errored during boot with: Cannot read properties of undefined (reading 'members')
Stack: Error: Ghost was able to start, but errored during boot with: Cannot read properties of undefined (reading 'members')
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/ghost-cli/lib/utils/local-process.js:75:35)
    at ChildProcess.emit (node:events:513:28)
    at emit (node:internal/child_process:937:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

```

ghost run:

```auto
ERROR connect ECONNREFUSED 127.0.0.1:3306

connect ECONNREFUSED 127.0.0.1:3306

"Unknown database error"

Error ID:
    500

Error Code: 
    ECONNREFUSED

----------------------------------------

Error: connect ECONNREFUSED 127.0.0.1:3306
    at /home/vblanton/Documents/GhostCMS/versions/5.49.3/node_modules/knex-migrator/lib/database.js:57:19
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

```

- What steps could someone else take to reproduce the issue you’re having?  
npm, “ghost install local”, add a few articles and connect a stripe account. disable free memberships.

Thanks again 🙏

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 4, 2023, 11:59pm UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/2 "2023-06-04T23:59:40Z")

</div>

Is MySQL running? That’s an error connecting to MySQL of some sort.

---

<div class="post-metadata">

**Author:** ![vblanton](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vblanton/32/24752_2.png) [@vblanton](https://forum.ghost.org/u/vblanton)\
**Post date:** [June 5, 2023, 12:31am UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/3 "2023-06-05T00:31:52Z")

</div>

I think I may have figure it out. It’s just a guess, but i’m thinking that I wasn’t supposed to mess with Stripe integration in a local install ( “ghost install local” ).

the local install uses sqlite.

That’s my only guess. If that was the case it would’ve been nice to be informed or locked out of that 🙂

---

<div class="post-metadata">

**Author:** ![cuongtran](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cuongtran/32/25111_2.png) [@cuongtran](https://forum.ghost.org/u/cuongtran)\
**Post date:** [June 5, 2023, 12:37am UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/4 "2023-06-05T00:37:59Z")

</div>

Ghost local did not support members data when you integrate Stripe. You need to empty table members on sqlite to avoid error, then start ghost again.

---

<div class="post-metadata">

**Author:** ![vblanton](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vblanton/32/24752_2.png) [@vblanton](https://forum.ghost.org/u/vblanton)\
**Post date:** [June 5, 2023, 12:47am UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/5 "2023-06-05T00:47:49Z")

</div>

I’m going to assume this is the solution. I accidentally deleted my database and had to start from scratch regardless. I’ll avoid using ghost local for anything other than theme development now.

---

<div class="post-metadata">

**Author:** ![aufdemweg](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@aufdemweg](https://forum.ghost.org/u/aufdemweg)\
**Post date:** [January 27, 2024, 9:34am UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/6 "2024-01-27T09:34:41Z")

</div>

How do I empty table members on sqlite?

---

<div class="post-metadata">

**Author:** ![AnimaVillis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/animavillis/32/27600_2.png) [@AnimaVillis](https://forum.ghost.org/u/AnimaVillis)\
**Post date:** [January 27, 2024, 10:46am UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/7 "2024-01-27T10:46:17Z")

</div>

Try use this: [https://sqlitebrowser.org/](https://sqlitebrowser.org/)

---

<div class="post-metadata">

**Author:** ![hackermade](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hackermade/32/33939_2.png) [@hackermade](https://forum.ghost.org/u/hackermade)\
**Post date:** [January 8, 2025, 1:34pm UTC](https://forum.ghost.org/t/cannot-start-a-new-install-of-ghost/38941/8 "2025-01-08T13:34:09Z")

</div>

I got the same error in MySQL after running `ghost install` and not `ghost install local`.
