Container wont start

was editing config file for mailgun and running to this error and container wont start
i had since edited file but seems not want to start urgent help needed

Error: Error parsing your configuration file: [/var/lib/ghost/config.production.json]: Unexpected token } in JSON at position 428

It looks like your config has a syntax error. Run it through something like

i know but how i edit if container wont start

You might have to recreate the container. If you’re using containers, your best bet is to pass configuration options via env vars

i manage to edit config file here and fixed ,
thanks for your input


That config file won’t exist when you update your Ghost version. You’re making changes to the Ghost core in a container and not a volume

1 Like

i know just needed to restart , will check volumes as well