Bitnami Ghost CMS aws 实例配置文件不是有效的 JSON 问题



我正在为客户端在 aws 上设置幽灵 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)

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

最新更新