【问题标题】:Openshift and Play Framework (on Debian Linux)Openshift 和 Play 框架(在 Debian Linux 上)
【发布时间】:2013-09-06 16:12:28
【问题描述】:

我在 RedHat 的 OpenShift 中部署我的应用程序;这个应用程序是播放框架。

我正在关注tutorial

我在使用git push时遇到了下一个问题

root@debian:~/dev/play# git push
Counting objects: 13, done.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.85 KiB, done.
Total 7 (delta 3), reused 0 (delta 0)
remote: Stopping DIY cartridge
remote: Error: OPENSHIFT_LOG_DIR not defined
remote: Error: OPENSHIFT_LOG_DIR not defined
remote: Starting application play
remote: Starting DIY cartridge
remote: Error: OPENSHIFT_LOG_DIR not defined
To ssh://52290b27e0b8cdc2270001aa@play-unmsm.rhcloud.com/~/git/play.git/
   de310aa..9dcfe59  master -> master

【问题讨论】:

    标签: git ruby-on-rails-3.2 playframework redhat openshift


    【解决方案1】:

    远程:错误:OPENSHIFT_LOG_DIR 未定义

    OPENSHIFT_LOG_DIR 未定义,因此挂钩失败。

    查看您的.openshift/action_hooks/start,看看您定义的是OPENSHIFT_LOG_DIR 还是OPENSHIFT_DIY_LOG_DIR

    两者之间似乎存在差异,如 Github 上的 this issue 所示

    【讨论】:

    • 谢谢 (Y),muito obrigado。
    • @tuto424 没问题,如果解决了您的问题,请不要忘记接受答案 :)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-01-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多