-
What version of Ghost are you using? If it’s not the latest, please update Ghost first before opening your topic
Ghost-CLI version: 1.17.0
Ghost version: 4.4.0 (at ~)
And
- How was Ghost installed and configured?
Standard install with the digital ocean droplet - What Node version, database, OS & browser are you using?
Node: v12.18.0
database: mysql
os: ubuntu 18.04
browser: firefox/chrome - What errors or information do you see in the console?
Runningghost doctor
from userghost-mgr
leads to the following output
✔ Checking system Node.js version - found v12.18.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
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, v18.04.4 LTS
Node Version: v12.18.0
Ghost Version: 4.4.0
Ghost-CLI Version: 1.17.0
Environment: production
Command: 'ghost doctor'
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
- What steps could someone else take to reproduce the issue you’re having?
having a mint digital ocean droplet installation
This is my config.production.json
living under /var/www/ghost/
:
{
"url": "https://mydomain.com",
"server": {
"port": 2368,
"host": "127.0.0.1"
},
"database": {
"client": "mysql",
"connection": {
"host": "localhost",
"user": "ghost",
"password": "PW",
"database": "ghost_production"
}
},
"mail": {
"transport": "SMTP",
"options": {
"service": "Mailgun",
"auth": {
"user": "postmaster@mg.mydomain.com"
"pass": "PW"
}
}
},
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/www/ghost/content"
}
}