Weird no space left error when pushing nextjs app
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- next.js, node.js
- Domain
- build-system, cloud
Research direction
Start with the reported cf push output, the manifest.yml disk_quota values, and the listed Node.js buildpack and CF CLI versions. Reproduce the staging failure with a comparable Next.js app if possible, then determine whether the quota or the Wrote only ... of 10240 bytes message is incorrect. Done means the behavior is explained or corrected and verified during cf push.
Written by the indexing model from the issue text.
Description
When I push small nextjs app I get this error:
gzip: stdout: No space left on device
/usr/bin/tar: /tmp/output-cache: Wrote only 4096 of 10240 bytes
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error is not recoverable: exiting now
: exit status 2
4096 MB is the disk_quota I've assigned in manifest.yml and if I change it to fe. 2048MB, the error also changes to "Wrote only 2048 of 10240 bytes".
Is it meant to mean "of 10240 megabytes"? Even if so, why would a small js app (~400MB with node modules and build) need 10GB od space?
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?
cf8.exe version 8.7.3+efd1d03e7.2023-09-12
What version of the buildpack you are using?
1.8.13
If you were attempting to accomplish a task, what was it you were attempting to do?
execute cf push
What did you expect to happen?
successful execution of cf push
What was the actual behavior?
gzip: stdout: No space left on device
/usr/bin/tar: /tmp/output-cache: Wrote only 4096 of 10240 bytes
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error is not recoverable: exiting now
: exit status 2
Can you provide a sample app?
No, but it's a simple next.js app with only few dependencies.
Please confirm where necessary:
- [+] I have included a log output
- [+] My log includes an error message
- [+] I have included steps for reproduction
- Dominant language
- Go
- Stars
- 174
- Forks
- 389
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudfoundry/nodejs-buildpack
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cloudfoundry/nodejs-buildpack#938 · 2 comments ·
-
unscheduled
Difficulty 1/5 Under an hour Newbie friendliness 62/100
cloudfoundry/nodejs-buildpack#683 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudfoundry/nodejs-buildpack#923 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
cloudfoundry/nodejs-buildpack#852 ·
-
unscheduled
Difficulty 3/5 1-2 days Newbie friendliness 45/100
cloudfoundry/nodejs-buildpack#626 · 4 comments ·
All issues in cloudfoundry/nodejs-buildpack
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
googleapis/librarian#7670 · 2 comments ·