Skip to content
AdiosDocumentation
Browse documentation

Update and troubleshoot

Use this page when your app is already deployed and you need to ship a change, recover from a failed command, or investigate a customer-facing problem.

Update your app

Review and test your change, then rerun the deployment with the same installation name:

sh
adios kit deploy --name my-saas

Keep the original project folder and .local/deploy/my-saas/state.json record. The command uses that record to find your existing app, database, and secrets. Changing the name starts a separate installation.

After deployment, open /healthz and check the affected customer workflow. Follow Verify your SaaS after changes to accounts, permissions, or billing.

Recover from a failed update

Record the last working source revision before deployment. If the build fails, inspect the app’s build log in Adios, fix the source, and rerun the same command. Keep the installation record so the installer can continue with the same resources.

If a code-only update reaches customers and the previous source is still compatible with the database, restore that source revision in the original project folder and deploy it with the same installation name. Check /healthz, sign in, and open an existing record before reopening access. If the update applied a migration, keep the applied migration file and checksum. Use a compatible code revision or a forward fix with your developer, and use the tested restore plan if data recovery is necessary.

Back up your data

Before changing the database, select your team in Adios and open Storage → Backups. Find a backup for the PostgreSQL workload used by this installation. Record the workload, backup timestamp, and restore instructions for that backup. Confirm that the backup meets your recovery needs. See Adios backups.

Follow the documented procedure for your backup to restore into a separate test database. If the dashboard cannot identify a usable backup or a separate restore target, arrange and verify a PostgreSQL backup with your database operator before making the change.

Connect a test app to the restored database using separate restricted runtime, auth, and billing roles. Keep live email and payment settings out of the rehearsal. Check customer workspaces, important records, module state, and billing references. If you add object storage, back up the file contents separately because the database only holds their metadata.

Keep a private copy of the installation record as well. It is needed to manage the installation from another machine and is intentionally excluded from your source repository.

Troubleshooting

ProblemWhat to check
unknown flag: --name or missing kit createSelect the preview CLI and run adios kit --help. It should list both create and deploy.
Deploy reports missing or linked installer filesFrom the directory containing the generated my-saas/ folder, run adios kit deploy --path ./my-saas --name my-saas --dry-run. If it prints a plan, remove --dry-run to deploy. If a script inside that project is missing or linked, restore the original file from the same kit version and keep the deployment receipt.
Deploy asks you to sign inRun adios login with the account used for this installation
Team or account does not matchUse the original account, team, and installation name; keep the saved record
Deployment stopped halfwayRead the error, fix the cause, and rerun the same command
App does not startInspect the workload's build and runtime logs in Adios; check the required email and database settings
Verification email does not arriveCheck the recipient, verified sender, Resend key, and provider delivery logs; local outbox messages are in .local/mail
Local login or writes failOpen the exact APP_ORIGIN configured in .env, including its port
Checkout is unavailableSupply all three Stripe settings and use the workspace owner account
Payment completed but the plan did not changeCheck webhook delivery and signing settings, subscription state, and the configured price
A module is unavailableCheck adios kit status with the correct administration connection, then inspect the app's implementation status
A module will not disableDisable its active dependents first; shared contacts or files may still be needed
A migration reports a checksum mismatchRestore the original migration file and put the new change in a new migration

For direct database commands, confirm KIT_DATABASE_URL, network access, and psql availability. An Adios private database must be accessed from a permitted network; a connection URL alone does not make it publicly reachable.

Database diagnostics are private by default. KIT_DEBUG=1 can include submitted row data in errors, so use it only in a private troubleshooting session. Share a redacted error and the action that failed with your developer or agent.

Recover an interrupted deletion

Rerun the same delete command with the original installation name. The command continues from its saved state. Do not deploy an installation once deletion has begun; finish the deletion and choose a new name for a fresh copy.

See Delete an installation for the scope and confirmation step.