[{"data":1,"prerenderedAt":296},["ShallowReactive",2],{"docs:navigation":3,"docs:page:\u002Fdocs\u002Fdeployment\u002Ftroubleshooting":115},[4],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Introduction","\u002Fdocs","docs\u002F1.index",[9,11,16,21,38,95,110],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-house",{"title":12,"path":13,"stem":14,"icon":15},"Quickstart","\u002Fdocs\u002Fquickstart","docs\u002F2.quickstart","i-lucide-rocket",{"title":17,"path":18,"stem":19,"icon":20},"Essentials","\u002Fdocs\u002Fconfiguration","docs\u002F3.configuration","i-lucide-book-open",{"title":22,"path":23,"stem":24,"children":25,"icon":27},"Authentication","\u002Fdocs\u002Fauthentication","docs\u002F4.authentication\u002Findex",[26,28,33],{"title":22,"path":23,"stem":24,"icon":27},"i-lucide-shield-check",{"title":29,"path":30,"stem":31,"icon":32},"Protect User Data","\u002Fdocs\u002Fauthentication\u002Fuser-data","docs\u002F4.authentication\u002F1.user-data","i-lucide-user-lock",{"title":34,"path":35,"stem":36,"icon":37},"Two-Factor Verification","\u002Fdocs\u002Fauthentication\u002Ftwo-factor","docs\u002F4.authentication\u002F2.two-factor","i-lucide-key-round",{"title":39,"path":40,"stem":41,"children":42,"icon":44},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F5.deployment\u002Findex",[43,45,50,55,60,65,70,75,80,85,90],{"title":39,"path":40,"stem":41,"icon":44},"i-lucide-cloud-upload",{"title":46,"path":47,"stem":48,"icon":49},"Deploy to Cloudflare","\u002Fdocs\u002Fdeployment\u002Fcloudflare","docs\u002F5.deployment\u002F1.cloudflare","i-simple-icons-cloudflare",{"title":51,"path":52,"stem":53,"icon":54},"Platform Support","\u002Fdocs\u002Fdeployment\u002Fsupport","docs\u002F5.deployment\u002F10.support","i-lucide-list-checks",{"title":56,"path":57,"stem":58,"icon":59},"Deploy to Vercel","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F5.deployment\u002F2.vercel","i-simple-icons-vercel",{"title":61,"path":62,"stem":63,"icon":64},"Deploy to Azure","\u002Fdocs\u002Fdeployment\u002Fazure","docs\u002F5.deployment\u002F3.azure","i-simple-icons-microsoftazure",{"title":66,"path":67,"stem":68,"icon":69},"Switch Hosts","\u002Fdocs\u002Fdeployment\u002Fswitch-hosts","docs\u002F5.deployment\u002F4.switch-hosts","i-lucide-arrow-right-left",{"title":71,"path":72,"stem":73,"icon":74},"Database and File Storage","\u002Fdocs\u002Fdeployment\u002Fdata-services","docs\u002F5.deployment\u002F5.data-services","i-lucide-database",{"title":76,"path":77,"stem":78,"icon":79},"Domains and Secrets","\u002Fdocs\u002Fdeployment\u002Fsettings","docs\u002F5.deployment\u002F6.settings","i-lucide-settings",{"title":81,"path":82,"stem":83,"icon":84},"Troubleshoot Deployment","\u002Fdocs\u002Fdeployment\u002Ftroubleshooting","docs\u002F5.deployment\u002F7.troubleshooting","i-lucide-wrench",{"title":86,"path":87,"stem":88,"icon":89},"Deploy Agents","\u002Fdocs\u002Fdeployment\u002Fagents","docs\u002F5.deployment\u002F8.agents","i-lucide-bot",{"title":91,"path":92,"stem":93,"icon":94},"Deploy Automations","\u002Fdocs\u002Fdeployment\u002Fautomations","docs\u002F5.deployment\u002F9.automations","i-lucide-workflow",{"title":96,"path":97,"stem":98,"children":99,"icon":101},"Connect Accounts","\u002Fdocs\u002Fconnect","docs\u002F6.connect\u002Findex",[100,102,106],{"title":96,"path":97,"stem":98,"icon":101},"i-lucide-plug",{"title":103,"path":104,"stem":105,"icon":37},"Connection Credentials","\u002Fdocs\u002Fconnect\u002Fcredentials","docs\u002F6.connect\u002F1.credentials",{"title":107,"path":108,"stem":109,"icon":84},"Connect MCP Servers","\u002Fdocs\u002Fconnect\u002Fmcp","docs\u002F6.connect\u002F2.mcp",{"title":111,"path":112,"stem":113,"icon":114},"Project Reference","\u002Fdocs\u002Freference","docs\u002F7.reference","i-lucide-terminal",{"page":116,"surround":291},{"id":117,"title":81,"body":118,"description":284,"extension":285,"links":286,"meta":287,"navigation":288,"path":82,"seo":289,"stem":83,"__hash__":290},"docs\u002Fdocs\u002F5.deployment\u002F7.troubleshooting.md",{"type":119,"value":120,"toc":276},"minimark",[121,125,130,133,169,192,195,199,214,221,225,232,239,243,246,256,260,263,266,272],[122,123,124],"p",{},"A blocked deployment reports the condition that needs attention. Start with its\nfirst error; rerunning the same command cannot repair a missing credential or a\nconflicting schema.",[126,127,129],"h2",{"id":128},"check-the-remote-database","Check the Remote Database",[122,131,132],{},"Inspect status without deploying:",[134,135,140],"pre",{"className":136,"code":137,"language":138,"meta":139,"style":139},"language-bash shiki shiki-themes github-light github-light github-dark","pnpm exec cloudconfig db status --remote\n","bash","",[141,142,143],"code",{"__ignoreMap":139},[144,145,148,152,156,159,162,165],"span",{"class":146,"line":147},"line",1,[144,149,151],{"class":150},"snPdu","pnpm",[144,153,155],{"class":154},"sIIMD"," exec",[144,157,158],{"class":154}," cloudconfig",[144,160,161],{"class":154}," db",[144,163,164],{"class":154}," status",[144,166,168],{"class":167},"sBjJW"," --remote\n",[170,171,172,180,186],"ul",{},[173,174,175,179],"li",{},[176,177,178],"strong",{},"Pending migrations:"," local migrations have not been applied. Review and\ncommit the files; deployment applies the pending migrations.",[173,181,182,185],{},[176,183,184],{},"Drift:"," the live database differs from the expected schema. Restore the\nexpected schema before retrying.",[173,187,188,191],{},[176,189,190],{},"Tamper:"," an applied migration was renamed or removed locally. Restore the\noriginal file from version control.",[122,193,194],{},"The command follows the configured remote database, whether D1 or libSQL.",[126,196,198],{"id":197},"resolve-a-missing-secret","Resolve a Missing Secret",[122,200,201,202,205,206,209,210,213],{},"Supply the variable named in the error through the ignored ",[141,203,204],{},".env"," file or\nprocess environment. ",[141,207,208],{},"cloudconfig auth status"," and ",[141,211,212],{},"cloudconfig connect status","\nshow configuration-specific variable names.",[122,215,216,217,220],{},"For Vercel or Azure with D1, check that the persistent token allows ",[176,218,219],{},"D1 Edit"," on\nthe database's account. A working local Wrangler login alone is not enough for\nthe deployed application.",[126,222,224],{"id":223},"check-the-host-account","Check the Host Account",[122,226,227,228,231],{},"For Vercel, run ",[141,229,230],{},"pnpm exec vercel whoami",". Complete CLI authentication if it does\nnot return the expected account.",[122,233,234,235,238],{},"For Azure, run ",[141,236,237],{},"az account list --output table",". A tenant-only login cannot deploy\nan App Service: select an active subscription with the required permissions and\nregional quota.",[126,240,242],{"id":241},"check-an-app-that-uploaded-but-fails","Check an App That Uploaded but Fails",[122,244,245],{},"Open the production alias printed for Vercel. A generated deployment URL may\nrequire a Vercel login even when the production alias is public.",[122,247,248,249,209,252,255],{},"On Azure, inspect ",[176,250,251],{},"App Service → Log stream",[176,253,254],{},"Deployment Center → Logs",".\nCheck startup errors and runtime data credentials. A successful upload does not\nverify that the app can query its database.",[126,257,259],{"id":258},"retry-after-a-publish-failure","Retry After a Publish Failure",[122,261,262],{},"Deployment can apply migrations before publication fails. Fix the host issue\nand deploy again; those database changes remain applied.",[122,264,265],{},"Switching back to an older build does not undo SQL migrations. Keep schema\nchanges compatible with both versions during a host transition.",[122,267,268,271],{},[141,269,270],{},"--skip-build"," requires existing output built for the selected host. Deployment\nstill validates and packages that output before migrations.",[273,274,275],"style",{},"html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":139,"searchDepth":277,"depth":277,"links":278},2,[279,280,281,282,283],{"id":128,"depth":277,"text":129},{"id":197,"depth":277,"text":198},{"id":223,"depth":277,"text":224},{"id":241,"depth":277,"text":242},{"id":258,"depth":277,"text":259},"Identify migration, credential, and runtime problems before retrying deployment.","md",null,{},{"icon":84},{"title":81,"description":284},"D_vVlQrUq63tKofcRyTUWRvwGNY6zrev_xhDog3-uS0",[292,294],{"title":76,"path":77,"stem":78,"description":293,"icon":79},"Set the public origin, use your own domain, and provide application secrets.",{"title":86,"path":87,"stem":88,"description":295,"icon":89},"Deploy a Nuxt agent host using native durable execution on Cloudflare, Vercel, or Azure.",1792122403883]