Deployment fails at sidecar step "Build archive was not created at /mnt/code/code.tar.gz" (Node 18)
- 0
- 11
- Functions
- Web
- Cloud
Hi Appwrite team,
I'm getting a consistent deployment failure on Appwrite Cloud. The build itself completes successfully, but a post-build sidecar step then fails.
What the logs show:
- npm install runs fine ("added 2 packages … found 0 vulnerabilities")
- Packaging completes the log prints "Auto compression: squashfs", the squashfs filesystem is created at /mnt/code/code.sqfs, and "[open-runtimes] Build finished" is logged
- ~5 seconds later the deployment fails with: [sidecar:build] Build archive was not created at /mnt/code/code.tar.gz
So the runtime produces code.sqfs, but the sidecar appears to be looking for code.tar.gz and doesn't find it.
Why this looks like a platform-side issue, not my code:
- It reproduces from a second, independent machine.
- It also fails when I redeploy an OLDER deployment that previously built and ran fine — with zero code changes.
Environment / details:
- Runtime: Node 18+
- Entrypoint: src/main.js | Build command: npm install
- Project ID: [FILL IN]
- Function ID: [FILL IN]
- Region: [FILL IN]
- Failed build timestamp: 2026-07-08, ~18:40 UTC
Several other users report the same "Build archive was not created at /mnt/code/code.tar.gz" error in the community threads, so this may be a known platform regression. Could you confirm whether there's an ongoing incident, and share a fix or workaround? I'm happy to provide the full build logs and the deployment ID.
Thanks, Strixmosh
<@&634618551491100692>
Guys, please.. All of my clients have pending changes that are causing issues, and I can't push a deployment
This is not a premium support, but a community support ran mainly by volunteers, so needing to wait is expected
cc <@235411231190679552>
Ok, thanks to advice
I'm just desperate because my clients are unhappy with the delays I'm experiencing due to this problem :/
✅ SOLVED, THANKS GUYS!
What was the solution?
Not solved for me...
me neither
<@290122873488801792> <@296426923196678145> our team have applied a fix, please try now, and confirm if this has been resolved
Recommended threads
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...