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
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Sydney Cloud Sites: App Git deployment a...
Project ID: rentwize-db The app Site fails after the build completes with a missing build archive error. Site id: app Framework: TanStack Start SSR Output dir...