"ENOSPC: no space left on device, write"

Hey,

I deployed a website on fly.io and it was working perfectly, so I was redeploying it multiple times with constant changes in UI. Suddenly it stopped deploying the website and started showing the following error:

#11 9.948 [2/4] Fetching packages…
#11 18.24 error https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.2.4.tgz: ENOSPC: no space left on device, write
#11 18.26 error https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 18.26 error https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 18.26 error https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 18.27 error https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 18.54 info Visit yarn install | Yarn for documentation about this command.
#11 18.54 error https://registry.yarnpkg.com/@tabler/icons/-/icons-2.14.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 19.86 error https://registry.yarnpkg.com/@next/swc-android-arm64/-/swc-android-arm64-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 19.86 error https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.2.4.tgz: ENOSPC: no space left on device, write
#11 19.90 error https://registry.yarnpkg.com/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 20.62 error https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 20.62 error https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.2.4.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOSPC: no space left on device, write”
#11 20.63 error https://registry.yarnpkg.com/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.2.4.tgz: ENOSPC: no space left on device, write

Error failed to fetch an image or build from source: error building: executor failed running [/bin/sh -c yarn install --frozen-lockfile]: exit code: 1

Please help me in fixing this error as its quite urgent to redeploy this update.

Thanking you in advance

1 Like

I believe “no space left on device” is coming from fly-builder-XXX application. This app is used to build your containers.

% fly apps list
NAME                            OWNER           STATUS          PLATFORM       LATEST DEPLOY 
fly-builder-proud-firefly-715   personal        suspended       machines                    
throbbing-haze-3823             personal        deployed        machines       2h17m ago    

You can destroy the builder app.

% fly apps destroy fly-builder-proud-firefly-715 
Destroying an app is not reversible.
? Destroy app fly-builder-proud-firefly-715? Yes
Destroyed app fly-builder-proud-firefly-715

Then the next fly deploy automatically creates a new builder app for you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.