Build succeeds but deployment fails — sidecar expects code.tar.gz, builder produces code.sqfs
- 0
- 1
- Sites
- Web
My Next.js 15.5.20 site (standalone output mode) builds successfully on Appwrite Sites, but the deployment fails at the final packaging step with:
[sidecar:build] Build archive was not created at /mnt/code/code.tar.gz The build log shows the open-runtimes builder chose squashfs as the packaging format:
[open-runtimes] Auto compression: squashfs Creating 4.0 filesystem on /mnt/code/code.sqfs, block size 1048576. The builder completed everything correctly — compiled the app, detected the standalone build, bundled for SSR, and created the squashfs archive. But the sidecar is looking for a .tar.gz file that was never created.
Steps to reproduce:
Deploy a Next.js 15.5.20 app with output: "standalone" in next.config.ts Build completes successfully (all pages generated, no errors) Deployment fails with the code.tar.gz not found error Relevant log sequence:
[open-runtimes] Detected standalone Next.js build. [open-runtimes] Bundling for SSR started. [open-runtimes] Bundling for SSR finished. [open-runtimes] Auto compression: squashfs [open-runtimes] Build packaging finished. [open-runtimes] Build cache saved. [open-runtimes] Build finished. [sidecar:build] Build archive was not created at /mnt/code/code.tar.gz Expected behavior: The sidecar should recognize the squashfs archive produced by the builder, or the builder and sidecar should agree on the same packaging format.
Environment:
Framework: Next.js 15.5.20 Output mode: standalone Platform: Appwrite Cloud (Sites)
Recommended threads
- Appwrite Sites deployment fails because ...
Appwrite Cloud Sites deployments are failing consistently for both GitHub and manual deployments. The build command completes successfully and packaging also c...
- Deployment fails at sidecar step "Build ...
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 fa...
- Executor with custom S3 doesn't work in ...
Was testing to upgrade appwrite to 1.9.5 and when testing the S3 part i saw the executor didn't work anymore. When looking closly i saw the `StorageFactory` doe...