Troubleshoot Deployment
Use the visible CLI, CI, or HTTP symptom to find the next deployer-owned action. If the server, reverse proxy, database, or hosting volume needs inspection, send the result to the operator and use Troubleshoot Self-Hosting.
The buzz Command Is Missing
Section titled “The buzz Command Is Missing”Confirm that Node.js 22 or later and npm are available, then install and verify the CLI:
node --versionnpm install --global @infomiho/buzz-clibuzz --versionIn CI, keep the install step in the same job as the deployment. If npm succeeds but the command remains unavailable, inspect npm’s global binary path or use npx --yes @infomiho/buzz-cli@0.7.0 for that job.
The Build Artifact Is Missing
Section titled “The Build Artifact Is Missing”Buzz deploys a directory, not your source project. Run the project build, then verify its entry page before deploying:
npm run buildtest -f ./dist/index.htmlbuzz deploy ./dist --subdomain my-siteIf the build writes elsewhere, pass that directory instead of ./dist.
CI Has No Deployment Secret
Section titled “CI Has No Deployment Secret”If BUZZ_TOKEN is empty, confirm that it exists in Settings > Secrets and variables > Actions. For an environment secret, the workflow job must name that environment and satisfy its protection rules. Secrets are not normally passed to workflows triggered from forks.
If the token value was lost, sign in as the site owner, create a replacement, update the secret, verify a deployment, and revoke the old token. See Automate Deployments.
The CLI Cannot Connect Or TLS Fails
Section titled “The CLI Cannot Connect Or TLS Fails”- Confirm that
BUZZ_SERVERor the configured server URL exactly matches the operator-provided HTTPS URL. - Open the server URL in a browser or request it with
curl --fail --show-error https://buzz.example.com. - Retry from another network if DNS or a firewall may be blocking the request.
- Report DNS, certificate, timeout, gateway, or proxy errors to the operator. Do not disable TLS verification to deploy.
The Server Returns 401
Section titled “The Server Returns 401”The session or deployment token is missing, invalid, revoked, or belongs to another Buzz server.
- Confirm the CLI’s server URL points to
https://buzz.example.com. - Run
buzz whoamiwhen using a session. - Run
buzz loginagain if the session is invalid. - For automation, confirm that
BUZZ_TOKENis present and replace it with a newly created deployment token if its status is unknown.
The Server Returns 403
Section titled “The Server Returns 403”Read the response message before changing credentials:
Deploy token is scoped to site ...means the deployment token and requested site name differ. Deploy to the token’s assigned site or create a token for the intended site.Site ... is owned by another usermeans another Buzz user owns that site name. Choose another site name or sign in with the GitHub account that owns it.Deploy tokens cannot perform this operationmeans the command requires a user session rather than a deployment token.
The Server Rejects A Limit Or Archive
Section titled “The Server Rejects A Limit Or Archive”For 413 responses, the upload exceeded a configured compressed size, extracted size, request size, or entry-count limit. Remove source maps, caches, and other unnecessary build output, rebuild, and deploy again.
For 400 archive responses such as Invalid ZIP file, unsafe paths, encrypted entries, symbolic links, duplicate entries, or conflicting entries, deploy the final build directory with the CLI. If you use the HTTP API, create a new ZIP from the build directory instead of modifying the rejected archive.
If a required build cannot fit within the reported limit, send the complete response to the operator. Operators can diagnose proxy and Buzz limits through Troubleshoot Self-Hosting.
A Redeployment Fails But The Old Site Still Loads
Section titled “A Redeployment Fails But The Old Site Still Loads”Buzz stages and validates a deployment before replacing the published site. A rejected archive should leave the previous files and metadata in place.
- Confirm that the old site URL still serves the expected version.
- Correct the reported authentication, archive, or limit problem.
- Deploy again and verify a known page over HTTP.
If the old site is unavailable or the server reports an internal error, stop retrying and send the response and time of failure to the operator.
The Deployment Succeeds But The Site Is Wrong
Section titled “The Deployment Succeeds But The Site Is Wrong”- Check the site URL printed by
buzz deployand confirm it names the intended site. - Inspect
CNAMEin the current working directory and in the deployment directory. The current working directory takes precedence. - Pass
--subdomain my-sitewhen you need to override either file. - Confirm the deployed directory contains
index.htmlat its root. - Check that the CLI uploaded the build output, such as
./dist, rather than the source directory. - Remove stale local build output, rebuild, and redeploy.
- Request a versioned file or visible build marker with
curl --fail --show-errorto rule out browser caching.
A redeployment replaces the complete site. Files omitted from the new deployment are removed.