# Fix mirror.app_exited

mirror.app_exited
Recorded exits: 1 (failed). [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/mirror.app_exited, build/local-development-with-agc-up, reference/error-code-catalog

## Steps

Cause: The app exited before it answered; `data.app_exit` has `exit_code` and its last lines
Next action: Fix the start command, then `agc down` and `agc up`. `data.app_exit.not_found` names a program the output says was missing; add a `[service.web] dev` command that starts without it (`data.app_exit.dev_command` suggests one)
[2]

Cause: `up`
Next action: The mirror's database and supervisor are running, but the app exited with ‹code› right after starting. | ‹toolchainFix›‹…›‹…› ‹toolchainFix›‹…›‹…›Read the app's output below (full log: ‹state.log›), fix the start command or the app, then run `agc down` and `agc up`. | commands/mirror.ts:896
[3]

## Errors

See the cited canonical pages for errors.

## Not available yet

Availability follows the cited sources; this answer does not establish additional capabilities.

## Sources

[1] [fix/mirror.app_exited — Reference](/docs/fix/mirror.app_exited.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [build/local-development-with-agc-up — Errors](/docs/build/local-development-with-agc-up.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[3] [reference/error-code-catalog — Reference](/docs/reference/error-code-catalog.md#reference) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [build/local-development-with-agc-up](/docs/build/local-development-with-agc-up/known-issues.md)
- [reference/error-code-catalog](/docs/reference/error-code-catalog/known-issues.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "fix/mirror.app_exited: <what is wrong>; error mirror.app_exited" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
