Keywords: Ghost - Google Cloud Platform - Technical issue - Services (Apache, MariaDB, MySQL…)
bndiagnostic ID: ae25ae45-34b0-2c8c-ae95-a4a919bcacda
bndiagnostic output:
? Processes: Found possible issues
? Mariadb: Found possible issues
? Apache: Found possible issues
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-mariadb/
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
bndiagnostic failure reason: I do not know how to perform the changes explained in the documentation
Description:
Everything is fine before I add the ghost-storage-cloudinary as instruction below:
github.com/eexit/ghost-storage-cloudinary.
Step 1 => Website is OK
Instruction:
$ sudo yarn add ghost-storage-cloudinary (I have to use sudo)
$ sudo mv node_modules/ghost-storage-cloudinary content/adapters/storage/ghost-storage-cloudinary
Step 2 => Website is OK
Then I change owner of all files and directory in “content/adapters/storage/ghost-storage-cloudinary” to user ghost, group bitnami
Step 3 => Website is down (but when i reverse to origin version, everything is ok)
Then I update the content of file “config.production.json” in folder “/opt/bitnami/ghost” with:
"storage": {
"active": "ghost-storage-cloudinary",
"ghost-storage-cloudinary": {
"useDatedFolder": false,
"auth": {
"cloud_name": "makexyzfun",
"api_key": "MY_API", (my real api)
"api_secret": "MY_SECRET" (my real secret)
},
"upload": {
"use_filename": true,
"unique_filename": false,
"overwrite": true,
"folder": "blog-images",
"tags": ["blog"]
},
"fetch": {
"quality": "auto",
"secure": true,
"cdn_subdomain": true
}
}
}
to something:
{
"database": {
"client": "mysql",
"connection": {
"host": "127.0.0.1",
"port": 3306,
"database": "bitnami_ghost",
"user": "bn_ghost",
"password": "MY_PASSWORD" (real pass)
}
},
"url": "http://34.136.174.202",
"server": {
"port": 2368,
"host": "0.0.0.0"
},
"mail": {
"transport": "Direct"
},
"logging": {
"transports": [
"file"
]
},
"process": "local",
"paths": {
"contentPath": "/opt/bitnami/ghost/content"
},
"storage": {
"active": "ghost-storage-cloudinary",
"ghost-storage-cloudinary": {
"useDatedFolder": false,
"auth": {
"cloud_name": "makexyzfun",
"api_key": "MY_API", (my real api)
"api_secret": "MY_SECRET" (my real secret)
},
"upload": {
"use_filename": true,
"unique_filename": false,
"overwrite": true,
"folder": "blog-images",
"tags": [
"blog"
]
},
"fetch": {
"quality": "auto",
"secure": true,
"cdn_subdomain": true
}
}
},
"imageOptimization": {
"resize": false
}
}
Please help me on this.