After update to 5.1.1, ghosts crashed

I was update Ghost 5.1.0 to 5.1.1, and after succesfull updating - have error:

ghost start

Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.

:heavy_check_mark: Checking system Node.js version - found v16.15.0
:information_source: Ensuring user is not logged in as ghost user [skipped]
:information_source: Checking if logged in user is directory owner [skipped]
:heavy_check_mark: Checking current folder permissions
:heavy_multiplication_x: Validating config
:heavy_check_mark: Checking content folder ownership
:heavy_check_mark: Checking memory availability
:heavy_check_mark: Checking binary dependencies
One or more errors occurred.

  1. Validating config

Error detected in the production configuration.

Message: Config file is not valid JSON

Debug Information:
OS: Ubuntu, v20.04.2 LTS
Node Version: v16.15.0
Ghost Version: 5.1.1
Ghost-CLI Version: 1.21.0
Environment: production
Command: ‘ghost start’

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

Can you share your config.production.json file, obfuscating any passwords without making any other changes.

@denvergeeks just to clarify ~

  • config.{env}.json files are for your Ghost instance, and can contain secrets! You should almost never upload it to a site, and if you’re ever pasting it somewhere (like this forum), you should redact all secrets like @mjw mentioned
  • Themes can be uploaded to many Ghost instances, and most if not all of the data can be publicly shared (assuming the license allows it). They can be uploaded to gscan to validate the package.json, among several other things.

Hope this makes sense! :smile:

1 Like

Whoops – thanks for keeping on track, @vikaspotluri123 you are the best!

1 Like

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