Find where a deployment failed, fix it and check the result.
A deployment can fail during the build, at the provider, or after the new version starts. Use these steps to find where it failed before you change anything in production.
Start from the deploy’s page. If Hoista never heard back from the provider, check the provider before you deploy again.
1
Open the failed deploy
In Desktop, open the deploy from Deploys. The page shows the steps it got through, why it stopped under What went wrong, and the build output. If the cause is a missing secret, paste it there and deploy again. For a Hoista deploy, the live site is unchanged.
A deploy that stopped at Secrets. It names the missing secret and has a box to paste it.
hoist status my-apphoist deploys my-apphoist deploys show DEPLOY_ID --loghoist logs my-app -r RESOURCE --level errorhoist operations
If a provider does not provide logs, empty output does not mean success. Check the provider directly.
2
Ask an agent to investigate
Use Hoista to inspect my-app's failed deployment. Read the deploymentrecord and the error logs. Separate what you observed from what youguess. Propose the smallest fix, explain its effect on production,and wait for my review before changing anything. Never ask me for atoken or secret in chat.
3
Check an unclear outcome
If Hoista did not get a response, the provider may still have accepted the request. Check the provider’s release state and settle the operation before you retry.
4
Verify the fix
Check the new deployment’s result and the running app. A successful build does not prove that sign-in, database access or your main user flows work.If you need to roll back, check what that provider can restore, then run hoist rollback DEPLOY_ID or roll back from the project’s Deploys tab. Rolling back does not reverse database migrations.
Note the deploy and operation IDs when you ask for help. Read a diagnostics report from hoist diagnostics before you share it. Do not publish raw logs that contain personal data or credentials.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hoista","description":"Connect your hosting accounts once. Manage your projects from Desktop, the CLI or your agents.","colors":{"primary":"#111111","light":"#EDEDED","dark":"#111111"},"logo":{"light":"https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=289ba213b49c9eb6eb5f75590c70493c","dark":"https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=f75d1ef0f36bb0c5d51ec786bb93fa00"},"favicon":"https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/favicon.svg?fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=128f94f638efa2614beb1c420eb1614b","appearance":{"default":"system","strict":false},"navbar":{"links":[{"href":"https://hoista.dev","label":"Website"},{"href":"https://github.com/TheDhejavu/hoista","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/TheDhejavu/hoista"}},"fonts":{"family":"Inter"},"banner":{"content":"**Hoista is in beta.** It works, but expect rough edges. Found one? [Tell us on GitHub](https://github.com/TheDhejavu/hoista/issues).","dismissible":true},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mirt-lab","hasAudioNarration":false,"actualSubdomain":"mirt-lab","customDomains":["docs.hoista.dev"],"gitSource":{"type":"github","owner":"thedhejavu","repo":"hoista","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6af6e2fb7257fa370c621291"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af70211e766df7985e60def","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Documentation","count":42},{"language":"default","tag":"Providers","count":13},{"language":"default","tag":"CLI","count":12},{"language":"default","tag":"Commands","count":11},{"language":"default","tag":"Agent setup","count":10},{"language":"default","tag":"Use Hoista","count":10},{"language":"default","tag":"Security","count":8},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"Keep it running","count":5},{"language":"default","tag":"Hosting providers","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".shot-light,.shot-dark{width:100%;height:auto}.shot-dark{display:none}html.dark .shot-light{display:none}html.dark .shot-dark{display:block}"}],"page":{"pagePath":"examples/failed-deployment","slug":"/examples/failed-deployment","pageMetadata":{"title":"Investigate a failed deployment","description":"Find where a deployment failed, fix it and check the result.","href":"/examples/failed-deployment"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Find where a deployment failed, fix it and check the result.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A deployment can fail during the build, at the provider, or after the new version starts. Use these steps to find where it failed before you change anything in production.`}),`\n`,_jsxs(Frame,{caption:`Start from the deploy’s page. If Hoista never heard back from the provider, check the provider before you deploy again.`,children:[_jsx(OptimizedImage,{className:`shot-light`,src:`https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=db1c8043476aec7d29510aa364f42f6e`,alt:`Start from the failed deploy and read its steps, logs and operations. If the provider’s answer is unclear, check the provider and settle the operation before retrying. If it is known, review the smallest fix, deploy it, and check the running app.`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`512`,height:`512`,\"data-path\":`assets/diagrams/failed-deploy-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?w=280\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=02ac6d4f662c3a1f2c45bd79e8ec8fbb 280w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?w=560\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=ed6dafc862ebb26db2d7fb4b0e06433e 560w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?w=840\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=a6e1c7479e96e72c6bdcef8843c4b8a9 840w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=e6f55c153f832df48e04d37586f0a52a 1100w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=d1f30f0d8008b4f686ae36b1f585e07c 1650w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-light.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=c664cfd14b10485011a220c6e8695c71 2500w`}),_jsx(OptimizedImage,{className:`shot-dark`,src:`https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=8b71c3576ca8bcbc609f0cc0a1768cec`,alt:`Start from the failed deploy and read its steps, logs and operations. If the provider’s answer is unclear, check the provider and settle the operation before retrying. If it is known, review the smallest fix, deploy it, and check the running app.`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`512`,height:`512`,\"data-path\":`assets/diagrams/failed-deploy-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?w=280\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=f2a54c08d1cad8dcbf9ac19db0bfc80e 280w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?w=560\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=bdc4330702fe251d266358e0b535a3bf 560w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?w=840\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=47dfbbd534af86c14784de4dc0b4caf2 840w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=8dcd72c64997cd42d1510f0f6ff2c6f1 1100w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=27853e5f75b9d21ba94cc437e389828f 1650w, https://mintcdn.com/mirt-lab/xnVa5lZdCrkkDEzj/assets/diagrams/failed-deploy-dark.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=xnVa5lZdCrkkDEzj\u0026q=85\u0026s=ada5e4995bbeae730730fcef88c6c072 2500w`})]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open the failed deploy`,children:[_jsxs(_components.p,{children:[`In Desktop, open the deploy from `,_jsx(_components.strong,{children:`Deploys`}),`. The page shows the steps it got through, why it stopped under `,_jsx(_components.strong,{children:`What went wrong`}),`, and the build output. If the cause is a missing secret, paste it there and deploy again. For a Hoista deploy, the live site is unchanged.`]}),_jsxs(Frame,{caption:`A deploy that stopped at Secrets. It names the missing secret and has a box to paste it.`,children:[_jsx(OptimizedImage,{className:`shot-light`,src:`https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=13cd330fd906fe15535a5366dbec7724`,alt:`The waitlist-v2 deploy page, failed at the Secrets step, asking for RESEND_API_KEY`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`assets/screens/deploy-failed-light.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?w=280\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=f6a669ee26ca8383bc2678e363056891 280w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?w=560\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=182c298df59888747d7ca6625b325e57 560w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?w=840\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=d4ca2701ca98f233a86929a1f8dc3701 840w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=b5e2f7cd5136a086cb31e93be9709324 1100w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=ed60bd20b53507cbf05d34f2b436e113 1650w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-light.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=466ca8fb7dd0193deb8127f2464dca9f 2500w`}),_jsx(OptimizedImage,{className:`shot-dark`,src:`https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=0987de57963962164b75bdfed1c18169`,alt:`The waitlist-v2 deploy page, failed at the Secrets step, asking for RESEND_API_KEY`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`assets/screens/deploy-failed-dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=5a67758cc234d77af0e14fdce9489d9f 280w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=b5b839ca6320dca4b930b5b6628191ad 560w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=369b6e7c00cac02a43b81dd1a4f46bc5 840w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=00006135b96650afad5fdbe18fb0acfa 1100w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=69b5d4cf69fc4f88fd7cf455ee999317 1650w, https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/screens/deploy-failed-dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=25b135c1bbaa5c7edf270b2225937532 2500w`})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hoist`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` my-app`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hoist`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deploys`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` my-app`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hoist`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deploys`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` show`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DEPLOY_ID`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --log`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hoist`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` my-app`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` RESOURCE`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --level`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` error`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hoist`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` operations`})]}),`\n`]})})}),_jsx(_components.p,{children:`If a provider does not provide logs, empty output does not mean success. Check the provider directly.`})]}),_jsx(Step,{title:`Ask an agent to investigate`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use Hoista to inspect my-app's failed deployment. Read the deployment`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`record and the error logs. Separate what you observed from what you`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`guess. Propose the smallest fix, explain its effect on production,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`and wait for my review before changing anything. Never ask me for a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`token or secret in chat.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:`Check an unclear outcome`,children:_jsxs(_components.p,{children:[`If Hoista did not get a response, the provider may still have accepted the request. Check the provider’s release state and `,_jsx(_components.a,{href:`/guides/backups`,children:`settle the operation`}),` before you retry.`]})}),_jsxs(Step,{title:`Verify the fix`,children:[_jsx(_components.p,{children:`Check the new deployment’s result and the running app. A successful build does not prove that sign-in, database access or your main user flows work.`}),_jsxs(_components.p,{children:[`If you need to roll back, check what that provider can restore, then run `,_jsx(_components.code,{children:`hoist rollback DEPLOY_ID`}),` or roll back from the project’s `,_jsx(_components.strong,{children:`Deploys`}),` tab. Rolling back does not reverse database migrations.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`keep-evidence-safe`,children:`Keep evidence safe`}),`\n`,_jsxs(_components.p,{children:[`Note the deploy and operation IDs when you ask for help. Read a diagnostics report from `,_jsx(_components.code,{children:`hoist diagnostics`}),` before you share it. Do not publish raw logs that contain personal data or credentials.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Plan and deploy`,icon:`cloud-arrow-up`,href:`/guides/deploy`,children:`Deploy again once it is fixed.`}),_jsx(Card,{title:`Logs and metrics`,icon:`chart-line`,href:`/guides/logs`,children:`Read the error logs.`}),_jsx(Card,{title:`Backups and outcomes`,icon:`life-ring`,href:`/guides/backups`,children:`Settle an operation with no answer.`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Investigate a failed deployment","description":"Find where a deployment failed, fix it and check the result.","href":"/examples/failed-deployment"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Keep evidence safe","slug":"keep-evidence-safe","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mirt-lab","siteName":"Hoista","title":"Investigate a failed deployment - Hoista","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T12:23:40.458Z","originalFileLocation":"examples/failed-deployment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Find where a deployment failed, fix it and check the result.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hoista\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Investigate a failed deployment - Hoista\">\u003cmeta data-mint-head property=\"og:description\" content=\"Find where a deployment failed, fix it and check the result.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hoista\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hoista.dev/examples/failed-deployment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mirt-lab.mintlify.site/_mintlify/api/og/v2?division=Use+Hoista\u0026amp;title=Investigate+a+failed+deployment\u0026amp;description=Find+where+a+deployment+failed%2C+fix+it+and+check+the+result.\u0026amp;theme=4c6571f7745153c33ce1d7a9\u0026amp;signature=d8990b16654749d65e6fbc18f0f00a2b2d8310e4ccab322d9ff38ff8dfe17e5c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Investigate a failed deployment - Hoista\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Find where a deployment failed, fix it and check the result.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mirt-lab.mintlify.site/_mintlify/api/og/v2?division=Use+Hoista\u0026amp;title=Investigate+a+failed+deployment\u0026amp;description=Find+where+a+deployment+failed%2C+fix+it+and+check+the+result.\u0026amp;theme=4c6571f7745153c33ce1d7a9\u0026amp;signature=d8990b16654749d65e6fbc18f0f00a2b2d8310e4ccab322d9ff38ff8dfe17e5c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mirt-lab/w5QemQfOo0KvLtLL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hoista\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hoista.dev/examples/failed-deployment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/examples/failed-deployment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hoista.dev/#organization\",\"name\":\"Hoista\",\"url\":\"https://docs.hoista.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mirt-lab/bTbgaR1vteaGCpS-/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=bTbgaR1vteaGCpS-\u0026q=85\u0026s=289ba213b49c9eb6eb5f75590c70493c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hoista.dev#website\",\"name\":\"Hoista\",\"url\":\"https://docs.hoista.dev\",\"publisher\":{\"@id\":\"https://docs.hoista.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hoista.dev/examples/failed-deployment#webpage\",\"url\":\"https://docs.hoista.dev/examples/failed-deployment\",\"name\":\"Investigate a failed deployment\",\"description\":\"Find where a deployment failed, fix it and check the result.\",\"dateModified\":\"2026-11-13T12:23:40.458Z\",\"isPartOf\":{\"@id\":\"https://docs.hoista.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hoista.dev/examples/failed-deployment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hoista.dev/examples/failed-deployment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Use Hoista\",\"item\":\"https://docs.hoista.dev/guides/desktop\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Investigate a failed deployment\",\"item\":\"https://docs.hoista.dev/examples/failed-deployment\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hoista.dev/examples/failed-deployment#article\",\"headline\":\"Investigate a failed deployment\",\"name\":\"Investigate a failed deployment\",\"description\":\"Find where a deployment failed, fix it and check the result.\",\"url\":\"https://docs.hoista.dev/examples/failed-deployment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hoista.dev/examples/failed-deployment#webpage\"},\"dateModified\":\"2026-11-13T12:23:40.458Z\",\"publisher\":{\"@id\":\"https://docs.hoista.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hoista.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hoista\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hoista\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/examples/failed-deployment.md","siteName":"Hoista","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Start","pages":[{"title":"What is Hoista?","href":""},{"title":"Install Hoista","href":"/getting-started/install"},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"How Hoista works","href":"/getting-started/concepts"}]},{"group":"Use Hoista","pages":[{"title":"Use Hoista Desktop","href":"/guides/desktop"},{"title":"Connect hosting accounts","href":"/guides/accounts"},{"title":"Bring in an existing project","href":"/guides/import-apps"},{"title":"Plan and deploy","href":"/guides/deploy"},{"title":"Logs, metrics and activity","href":"/guides/logs"},{"title":"Variables and domains","href":"/guides/environment"},{"title":"Environments","href":"/guides/environments"},{"title":"Billing","href":"/guides/billing"},{"title":"Manage resources","description":"Restart, stop, pause, export and delete individual resources.","href":"/guides/resources"},{"title":"Investigate a failed deployment","href":"/examples/failed-deployment"}]},{"group":"Agents","pages":[{"title":"Connect your agent","description":"Connect a coding tool or chat app to Hoista's MCP server.","href":"/agents/connect"},{"title":"Agent permissions","href":"/agents/permissions"},{"title":"Useful prompts","href":"/agents/prompts"}]},{"group":"Agent setup","pages":[{"title":"Claude Code","href":"/agents/tools/claude-code"},{"title":"Codex","href":"/agents/tools/codex"},{"title":"Cursor","href":"/agents/tools/cursor"},{"title":"Windsurf","href":"/agents/tools/windsurf"},{"title":"VS Code (GitHub Copilot)","href":"/agents/tools/vscode"},{"title":"ChatGPT","href":"/agents/tools/chatgpt"},{"title":"Claude","href":"/agents/tools/claude"},{"title":"Grok","href":"/agents/tools/grok"},{"title":"Gemini","href":"/agents/tools/gemini"},{"title":"Hermes Agent","href":"/agents/tools/hermes"}]},{"group":"Keep it running","pages":[{"title":"Keep Hoista running","href":"/guides/daemon"},{"title":"Run Hoista in your cloud","href":"/guides/remote"},{"title":"Self-host Hoista","href":"/guides/self-host"},{"title":"Backups and recovery","href":"/guides/backups"},{"title":"Webhooks","href":"/guides/webhooks"}]},{"group":"Security","pages":[{"title":"Security overview","href":"/security/overview"},{"title":"Credentials","href":"/security/credentials"},{"title":"Agent sign-in and approvals","href":"/security/approvals"},{"title":"Remote runtime","href":"/security/remote-runtime"},{"title":"Build isolation","href":"/security/builds"},{"title":"Data protection","href":"/security/data-protection"},{"title":"Threat model and limits","href":"/security/limits"},{"title":"If something looks wrong","href":"/security/incident-response"}]},{"group":"Help","pages":[{"title":"Supported platforms","href":"/getting-started/support"},{"title":"Changelog","href":"/changelog"}]}]},{"tab":"Providers","icon":"server","pages":[{"title":"Providers","href":"/providers/overview"}]},{"tab":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"Reference","icon":"code","pages":[{"title":"Reference","href":"/reference/mcp"}]}]},"basePath":"","title":"Investigate a failed deployment - Hoista","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["10e4515597","07c022d89b","a74be98ba7"],"chunks":["BannerMarkdown-D7Q3g8OM.js","dist-BvrGG8gU.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-B35qUV0p.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","Frame-Dmj010Ph.js","DynamicMarkdown-GHvayGOn.js","zoom-image-lightbox-8gCTkA22.js","lightbox-handle-r17bVUz3.js"]}