简体   繁体   English

Git Deploy - “文件写入错误(设备上没有剩余空间)”

[英]Git Deploy - “file write error (No space left on device)”

[Wed, 01 Dec 2010 12:17:07 -0800] DEBUG: STDERR: error: file write error (No space left on device) fatal: unable to write sha1 file fatal: unpack-objects failed [Wed,01 Dec 2010 12:17:07 -0800] DEBUG:STDERR:错误:文件写入错误(设备上没有剩余空间)致命:无法写入sha1文件致命:unpack-objects失败

I have seen a couple of discussions on this but haven't found a fix. 我已经看过几个关于此的讨论,但还没有找到解决办法。 I have two apps on my instance and never had this problem before. 我的实例上有两个应用程序,之前从未遇到过这个问题。 My recent commit was not very large either (database migration and controller addition). 我最近的提交也不是很大(数据库迁移和控制器添加)。 Any advice on what to do here? 关于该怎么做的任何建议? The volumes on my instance are not out-of-space. 我的实例上的卷不是空间不足的。

Git was trying to unpack some objects, but was not able to do so. Git试图解开一些对象,但是无法这样做。 As the error suggests this might be because of a just "no space left on device", which might also mean "no inodes left on device". 由于错误表明这可能是因为“设备上没有剩余空间”,这也可能意味着“设备上没有留下任何inode”。

Please check with df -h and df -hi . 请检查df -hdf -hi (Assuming gnu-coreutils are present, as in any good linux system.) (假设存在gnu-coreutils,就像在任何好的linux系统中一样。)

You did not say what command you ran and where you found that error. 您没有说出您运行的命令以及发现错误的位置。 The command might interact with another server, hence it might not be obvious what "device" is talked about. 该命令可能与另一台服务器进行交互,因此可能并不清楚所说的“设备”是什么。

The error message looks like copied from a log file, in this case it is likely the "device" is on the same host as the log file. 错误消息看起来像是从日志文件中复制的,在这种情况下,“设备”可能与日志文件位于同一主机上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM