LocalBox deployment fails at LocalBox-Client “Bootstrap” CustomScriptExtension — “The system cannot find the file specified” #3374
Replies: 2 comments 1 reply
-
|
@QuentinEpps Did you clone the repository just before this deployment was run? If it was cloned at some earlier point, could you try to run a |
Beta Was this translation helpful? Give feedback.
-
|
Hi @QuentinEpps — thanks for confirming the To help narrow this down, could you provide some additional details?
The exit code 1 with "The system cannot find the file specified" can also occur when the CustomScriptExtension handler itself has trouble locating the downloaded script in its working directory — this can sometimes happen due to transient Azure platform issues. If you haven't already, it may be worth deleting the resource group completely and trying a fresh deployment. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Jumpstart community 👋 — I’m looking for help troubleshooting a consistent LocalBox deployment failure where the LocalBox-Client VM “Bootstrap” CustomScriptExtension fails with file not found.
What I’m deploying
Repo: microsoft/azure_arc (Jumpstart LocalBox) [learn.microsoft.com]
Path: azure_jumpstart_localbox/bicep (using main.bicep + main.bicepparam) [community....namics.com]
Deploy method: Azure CLI Bicep deployment (per Jumpstart “Deploy LocalBox infrastructure with Azure Bicep/Azure CLI” guidance)
The Bicep deployment creates the resource group resources and the LocalBox-Client VM, but the deployment fails on:
Microsoft.Compute/virtualMachines/extensions → LocalBox-Client / Bootstrap → CustomScriptExtension with:
VMExtensionProvisioningError
Exit code: 1
Error output: “The system cannot find the file specified.”
This looks like the extension cannot find Bootstrap.ps1 (or a dependency) after download / during execution.
Beta Was this translation helpful? Give feedback.
All reactions