首页 > 解决方案 > Bitnami Ghost CMS aws 实例配置文件无效 JSON 问题

问题描述

我正在为客户在aws上设置ghost cms并碰壁。我正在使用 bitnami 图像进行设置。我还没有触及 bitnami 图像中默认的配置文件。Ghost 未启动并且在日志中显示此错误

Debug Information:
OS: Debian GNU/Linux, v10
Node Version: v10.20.1
Ghost-CLI Version: 1.14.0
Environment: production
Command: 'ghost log'
An error occurred.
Message: 'Cannot read property 'join' of undefined'

Stack: TypeError: Cannot read property 'join' of undefined
    at instance.isRunning.then (/opt/bitnami/apps/ghost/lib/node_modules/ghost-cli/lib/commands/log.js:34:88)
    at process._tickCallback (internal/process/next_tick.js:68:7)

标签: amazon-web-servicesamazon-ec2ghost-blog

解决方案


好吧,它确实浪费了我生命中的几个小时。并且发现了问题。原因是在配置文件中,博客的 url 作为 IP 地址给出。但是 Ghost 在它的设置文档中说这可能会导致问题。因此,当我将其更改为 URL 而不是 IP 地址时,它是固定的。万岁!!


推荐阅读