docs/deploy/troubleshooting.md

Troubleshooting

SymptomCauseFix
Schedules, automations and workflows never run; logs say no schedule ownerNo process has VOCION_SCHEDULE_OWNER=1 (vocion-stack doesn't set it)Set it on exactly one app process (app_env on vocion-stack), redeploy
/sign-up returns 403 on a new installSign-up only accepts invitesCreate the first admin with npm run user:create
The dashboard shows empty agents and skillsWORKSPACE_PATH unset where the app runs, or the workspace was never appliedSet it; run workspace:apply -- <path> --project <slug>
A workflow file is ignoredIt's at workflows/<slug>.yamlMove it to workflows/<slug>/workflow.yaml
A YAML setting has no effectUnknown keys are dropped silentlyCheck the key against Workspace YAML
Apply exits 2Validation failed, or a {{env.NAME}} token isn't in WORKSPACE_TEMPLATE_VARSRead the named file and field; allowlist the variable
Load fails mentioning operations/4.x-era operations folderConvert each operation to skills/<slug>/SKILL.md
Every credential read throws in productionVOCION_CREDENTIAL_VAULT=local without VOCION_CREDENTIAL_VAULT_KEYSet the key (and keep it), or switch to kms
App fails at boot about LangfuseLANGFUSE_ENABLED=true with missing keysAdd the keys or set LANGFUSE_ENABLED=false
AgentCore turns hang or tools failVOCION_TOOL_ENDPOINT_URL still points at localhost, or the role lacks InvokeAgentRuntimeForUserUse a URL AWS can reach; grant both InvokeAgentRuntime and InvokeAgentRuntimeForUser
Factory builds behave like 4.xRunner image unpinned; :main is a 4.x aliasPin VOCION_RUNNER_IMAGE to :sha-<commit> or :5.x
Large uploads get 403 on vocion-stackWAF body rules (count by default) were set to blockKeep waf_body_rules_action = "count" or add an exception
Knowledge search returns nothingNo embeddings provider key, or a provider switch without re-embeddingSet OPENAI_API_KEY or Bedrock; re-sync sources after switching
npm run dev fails on port 5432Embedded Postgres collides with the Docker oneUse npm run dev:next with dev:up, or dev alone
A deploy fails at the version checkThe new container didn't report the pinned commitRead /var/log/vocion-deploy-last.log; the old container is still serving

Still stuck? Check Activity for the failing run, its Langfuse trace, and the app logs, then open an issue on vocion/vocion-core with the release tag you run.