amazon-web-services - 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)
解决方案
好吧,它确实浪费了我生命中的几个小时。并且发现了问题。原因是在配置文件中,博客的 url 作为 IP 地址给出。但是 Ghost 在它的设置文档中说这可能会导致问题。因此,当我将其更改为 URL 而不是 IP 地址时,它是固定的。万岁!!
推荐阅读
- multithreading - 如何使用 self 中的方法使用函数?
- blockly - 为什么 Blockly 不为自定义块生成代码?
- node.js - React get with axios request 显示来自 api 的数据不正确
- reactjs - 如何使用 Typescript 在 React 上允许非声明性命名空间
- sql - 按 id 和最近的时间戳合并 2 个数据帧
- matrix - 进行矩阵块乘法的更有效方法
- laravel - 使用 laravel 的一对多关系的 Eloquent 构建器实例上不存在属性 []
- mysql - 使用的索引列列表 (mysql/mariadb)
- matlab - 网络窗口无效。它被用户关闭或进程终止
- flutter - Flutter 更改它在选项卡中显示的内容