Ghost restart fails when Stripe connect keys are present in database

Issue Summary
When installed locally, when settings.stripe_connect_publishable_key and settings.stripe_connect_secret_key are not NULL in the database, ghost fails to start with error message “Cannot read properties of undefined (reading ‘members’)”.

When these keys are set to NULL, Ghost starts fine.

Steps to Reproduce

  • Connect Stripe
  • run ghost restart
✔ Fetched release notes
ℹ Downloading and updating Ghost [skipped]
✔ Rolling back database migrations
✔ Linking latest Ghost and recording versions
✔ Linking built-in themes
✖ Restarting Ghost
A GhostError occurred.

Message: Ghost was able to start, but errored during boot with: Cannot read properties of undefined (reading 'members')

Setup information

Ghost Version
5.83.0

Node.js Version
18.20.3

Provide details of your host & operating system
MacOS 14.3

Database type
SQLite3

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.