【问题标题】:Broken Pipe during Git Push to Openshift from Netbeans从 Netbeans 向 Openshift 推送 Git 期间管道损坏
【发布时间】:2016-07-16 21:59:31
【问题描述】:

我最近尝试使用 Wildfly 9.0 和 MongoDb catridges 将 Java 应用程序从 Netbeans 8.0、Git 1.9.1、Ubuntu 14.04 部署到 openshift。该应用程序已成功部署并托管在 Openshift 上。但是我不得不对代码进行一些更改,然后推送到 openshift 服务器。这样做时,我遇到了这个错误:

Pushing to ssh://57735e6c89f5cf85a700002f@firstapp-emsproj.rhcloud.com/~/git/firstapp.git/
Counting objects: 124, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (70/70), done.
Writing objects:  72% (66/91), 5.72 MiB | 12.00 KiB/s
Write failed: Broken pipe/91), 608.00 KiB | 397.00 KiB/s
fatal: The remote end hung up unexpectedly
error: pack-objects died of signal 13
error: failed to push some refs to 'ssh://57735e6c89f5cf85a700002f@firstapp-emsproj.rhcloud.com/~/git/firstapp.git/'

有什么想法可能是错的吗?为什么写入对象进程停止在 72%。我曾尝试从 netbeans 推送,但它会引发超时错误。

【问题讨论】:

    标签: git openshift netbeans-8 openshift-client-tools


    【解决方案1】:

    如果 git config http.postBuffer 52428800 没有帮助,那可能意味着您的一个提交真的太大(或者您的 Openshift 磁盘已满)。

    如“Can't push to GitHub error: pack-objects died of signal 13”中所述,您可能希望从本地存储库历史记录中删除任何大文件。

    最后一个链接是 GitHub 的,但 Openshift has some disk quota as well

    【讨论】:

      【解决方案2】:

      我尝试了上述建议,但遇到了同样的问题。最终在阅读其他帖子后,我意识到是当我尝试推送一个大文件时问题开始了。所以我删除了 openshift 上的应用程序,创建了另一个应用程序,从我的系统重建了应用程序并再次推送。这一次它成功了,它被部署了。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2023-03-13
        • 1970-01-01
        • 1970-01-01
        • 2014-01-06
        • 1970-01-01
        • 2012-02-22
        • 2014-01-25
        • 1970-01-01
        相关资源
        最近更新 更多