【问题标题】:Ghost(node.js) app - 503 err after git push in OpenShift hostingGhost(node.js)应用程序 - 在 OpenShift 托管中 git push 后出现 503 错误
【发布时间】:2023-03-04 18:27:01
【问题描述】:
  1. 我在 OpenShift 主机中创建了 ghost 博客。一切正常。

  2. 我想在 css 文件中进行一些更改(更改页面标题的边距),所以我做了 git pull 资源,在本地更改 css 文件,并使用命令 git push -f git push back (force) openshift master,因为没有-f,我不能做这个push。

  3. 在这个“git push”命令之后,我的应用坏了,现在,http 输出 503 错误...

我尝试重新启动我的应用程序,但没有帮助。不知道为什么会崩溃。

【问题讨论】:

  • 你检查过你的日志文件吗?

标签: node.js openshift ghost


【解决方案1】:

不确定您的新更改实际发生了什么。请查看应用日志。

第一个 ssh 到您的应用

ssh 1234567890abcdef1234567890abcdef@your-app-domain.rhcloud.com

然后 cd 到日志目录

cd app-root/logs

tail nodejs.log 文件的内容

这实际上可能无法解决您的问题,但日志可以帮助您。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-29
    • 1970-01-01
    相关资源
    最近更新 更多