Remote: error: file write error (no space left on the device)

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

The following appears in the console after executing a git push against Bitbucket Server:

1 2 3 remote: error: file write error (No space left on device) remote: fatal: unable to write sha1 file fatal: unpack-objects failed abnormal exit

Cause

The disk where BITBUCKET_HOME is mounted is full.

Resolution

Allocate more space to the partition and restart your instance.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.