Ghost development site not starting up

I have a ghost local installed in Ubuntu 20.04 for development purpose. After upgrade to the version 4.7.0 its not starting up.

the messages I am getting

Found a development config but not a production config, running in development mode instead
✔ Checking system Node.js version - found v14.17.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 use remote webhooks in development. Please restart in production mode or see https://ghost.org/docs/webhooks/#stripe-webhooks for developing with Stripe.

Debug Information:
    OS: Ubuntu, v20.04.2 LTS
    Node Version: v14.17.0
    Ghost Version: 4.7.0
    Ghost-CLI Version: 1.17.3
    Environment: development
    Command: 'ghost start'

Additional log info available in: /home/saleheen/.ghost/logs/ghost-cli-debug-2021-06-14T15_58_31_029Z.log

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

ghost doctor output

Found a development config but not a production config, running in development mode instead
✔ Checking system Node.js version - found v14.17.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
✔ Checking free space

Additional Log

Debug Information:
    OS: Ubuntu, v20.04.2 LTS
    Node Version: v14.17.0
    Ghost Version: 4.7.0
    Ghost-CLI Version: 1.17.3
    Environment: development
    Command: 'ghost start'
Message: Ghost was able to start, but errored during boot with: Cannot use remote webhooks in development. Please restart in production mode or see https://ghost.org/docs/webhooks/#stripe-webhooks for developing with Stripe.
Stack: Error: Ghost was able to start, but errored during boot with: Cannot use remote webhooks in development. Please restart in production mode or see https://ghost.org/docs/webhooks/#stripe-webhooks for developing with Stripe.
    at ChildProcess.<anonymous> (/usr/lib/node_modules/ghost-cli/lib/utils/local-process.js:75:35)
    at ChildProcess.emit (events.js:376:20)
    at emit (internal/child_process.js:910:12)
    at processTicksAndRejections (internal/process/task_queues.js:83:21)

Regards,
Salehin

The context you need is in the error message in the log :slight_smile:

Ghost was able to start, but errored during boot with: Cannot use remote webhooks in development. Please restart in production mode or see Ghost Webhooks for developing with Stripe.

Thanks for pointing out. so what I have understood stripe webhooks wont work in dev mode right?

They won’t work out-of-the-box - the docs linked in the error message tell you how to get them set up

aa now made it working… Didn’t notice I needed Stipe CLI on ghost local… it wasn’t needed before…
Anyway I have configured Stripe CLI & Forwarding the webhooks with Stripe CLI. Now its booting up fine.

Thanks again for pointing out . I really appreciate your quick help. Cheers!

Salehin