找回密码
 成为会员

新浪微博登陆

只需一步, 快速开始

搜索
0赞
赞赏
手机版
扫码打开手机版
把文字装进口袋

Ghost nginx 502 ProcessError错误,ghost restart等失效,怎么办?

rocky 2020-1-31 23:28:54
itlady.com 遇到这个问题

Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#'  systemctl is-active ghost_itlady-com

unknown

Exit code: 3


Debug Information:
    OS: linux, v3.10.0-1062.4.1.el7.x86_64
    Node Version: v10.18.1
    Ghost-CLI Version: 1.12.0
    Environment: production
    Command: 'ghost status'


我试过了ghost restart 、ghost doctor、ghost start 等命令都不行,因为进程是正常的

最后在ghost社区遇到一个解决方案,ghost run 解决了。。。。。

The `ghost run` command is used by the configured Ghost process manager and for debugging. If you're not running this to debug something, you should run `ghost start` instead.


您需要登录后才可以回帖 立即登录 新浪微博登陆

命令不一样

补充一下,我是用Centos ,会遇到这类问题,官方推荐用ubuntu,我习惯了centos

sudo systemctl is-active ghost_itlady-com

用这个命令启动ghost,然后用ghost update升级到最新版本
2020-1-31 23:30:24

这是关键

Use ghost run to start Ghost without using the configured process manager. This runs Ghost directly, similar to node index.js.

2020-2-1 01:39:07
小帖士
如果你不是特别对他的每一句话感兴趣,不要随意用"关注"人的功能,因为关注以后,他的所有发帖回帖都会以通知的方式提醒你的!
统计信息
  • 会员数: 4660 个
  • 话题数: 8707 篇
  • 巅峰数: 8 人
返回顶部