-
Notifications
You must be signed in to change notification settings - Fork 260
Description
BCContainerhelper version
6.1.10
Describe the issue
I'm trying to install BC on my Windows 11 machine using PowerShell ISE version 5.1.
Command or script used to produce the issue
Cleanup (safe to re-run)
try { Remove-BcContainer -containerName bcserv } catch { }
Flush-ContainerHelperCache -cache bcartifacts
Credentials
$user = 'admin'
$password = ''
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential $user, $securePassword
Latest on-prem v27 W1 artifacts
$artifactUrl = Get-BcArtifactUrl -type onprem -version '27' -country w1 -select Latest
*** Force the generic image explicitly ***
$genericImage = "mcr.microsoft.com/businesscentral:ltsc2022"
New-BCContainer -accept_eula -updateHosts
-artifactUrl $artifactUrl -containerName 'bcserv'
-credential $credential -auth UserPassword
-shortcuts StartMenu -memoryLimit 8G
-alwaysPull -useGenericImage $genericImage
-isolation Process
Full output of the command or script
Removing Session bcserv
Removing container bcserv
Removing entries from hosts
Removing bcserv from container hosts file
Removing bcserv-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserv
Removing Cache C:\bcartifacts.cache\onprem
Downloading Platform index to C:\Users\33768\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading w1 index to C:\Users\33768\AppData\Local\Temp\bcContainerHelper.w1.json
BcContainerHelper is version 6.1.10
BcContainerHelper is running as administrator
HyperV is Enabled
Host is Microsoft Windows 11 Enterprise - 10.0.26100.7462
UsePsSession is True
UsePwshForBc24 is True
UseWinRmSession is never
UseSslForWinRmSession is True
Docker Client Version is 29.1.3
Docker Server Version is 29.1.3
Removing Desktop shortcuts
Downloading artifact /onprem/27.2.42879.0/w1
Downloading C:\Users\33768\AppData\Local\Temp\92fe4ea7-213e-4cbc-96d6-c12dbeeeac48.zip
Unpacking artifact to tmp folder using 7zip
Downloading platform artifact /onprem/27.2.42879.0/platform
Downloading C:\Users\33768\AppData\Local\Temp\bab2eaa0-a6b9-4a64-bee4-cfaa6f316128.zip
Unpacking artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\onprem\27.2.42879.0\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-Windo
wsHosting.exe
Downloading c:\bcartifacts.cache\onprem\27.2.42879.0\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_
x64.msi
Fetching all docker images
Fetching all docker volumes
Pulling image mcr.microsoft.com/businesscentral:ltsc2022
ltsc2022: Pulling from businesscentral
3cc21a1b7548: Pulling fs layer
1fc19ec18c41: Pulling fs layer
ab7184c15a92: Pulling fs layer
f3bf27e36514: Pulling fs layer
97978e238b2c: Pulling fs layer
1655dc1b04ba: Pulling fs layer
5169f259d723: Pulling fs layer
a095c5a38c42: Pulling fs layer
84edd02834fd: Pulling fs layer
f3bf27e36514: Waiting
d3c74c661bce: Pulling fs layer
97978e238b2c: Waiting
1655dc1b04ba: Waiting
d28e1fda4776: Pulling fs layer
85aa5d1cab48: Pulling fs layer
5169f259d723: Waiting
a095c5a38c42: Waiting
84edd02834fd: Waiting
bad25efe2919: Pulling fs layer
d3c74c661bce: Waiting
6a09df46eca8: Pulling fs layer
d28e1fda4776: Waiting
85aa5d1cab48: Waiting
bad25efe2919: Waiting
6a09df46eca8: Waiting
ab7184c15a92: Verifying Checksum
ab7184c15a92: Download complete
1fc19ec18c41: Verifying Checksum
1fc19ec18c41: Download complete
97978e238b2c: Verifying Checksum
97978e238b2c: Download complete
1655dc1b04ba: Verifying Checksum
1655dc1b04ba: Download complete
5169f259d723: Verifying Checksum
5169f259d723: Download complete
a095c5a38c42: Verifying Checksum
a095c5a38c42: Download complete
f3bf27e36514: Verifying Checksum
f3bf27e36514: Download complete
d3c74c661bce: Verifying Checksum
d3c74c661bce: Download complete
d28e1fda4776: Verifying Checksum
d28e1fda4776: Download complete
85aa5d1cab48: Verifying Checksum
85aa5d1cab48: Download complete
bad25efe2919: Verifying Checksum
bad25efe2919: Download complete
6a09df46eca8: Verifying Checksum
6a09df46eca8: Download complete
3cc21a1b7548: Verifying Checksum
3cc21a1b7548: Download complete
84edd02834fd: Verifying Checksum
84edd02834fd: Download complete
3cc21a1b7548: Pull complete
1fc19ec18c41: Pull complete
ab7184c15a92: Pull complete
f3bf27e36514: Pull complete
97978e238b2c: Pull complete
1655dc1b04ba: Pull complete
5169f259d723: Pull complete
a095c5a38c42: Pull complete
84edd02834fd: Pull complete
d3c74c661bce: Pull complete
d28e1fda4776: Pull complete
85aa5d1cab48: Pull complete
bad25efe2919: Pull complete
6a09df46eca8: Pull complete
Digest: sha256:c35b4e5650bc872f89fffb99cdfd5b94b46e894880a29a4af4b88b79f19611ed
Status: Downloaded newer image for mcr.microsoft.com/businesscentral:ltsc2022
mcr.microsoft.com/businesscentral:ltsc2022
Using image mcr.microsoft.com/businesscentral:ltsc2022
Creating Container bcserv
Style: onprem
Multitenant: No
Version: 27.2.42879.0
Platform: 27.0.42799.0
Generic Tag: 1.0.2.88
Container OS Version: 10.0.20348.4529 (ltsc2022)
Host OS Version: 10.0.26100.7462 (24H2)
WARNING: You have specified isolation mode Process. Host OS is 26100 (24H2) or above, recommended isolation mode is hyperv. I
f you encounter issues you could try to specify -isolation hyperv (or remove the -isolation parameter).
Using Process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserv\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserv from image mcr.microsoft.com/businesscentral:ltsc2022
0994909a2995ec330ca6863ba3b1866d89aaa9ae66cb97bf39a6483890d900d1
Waiting for container bcserv to be ready
Using artifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/27.2.42879.0/w1
Cannot find path 'C:\dl\onprem\27.2.42879.0\platform\ServiceTier\program files\Microsoft Dynamics NAV' because it does not ex
ist.
at Get-NavDvdServiceFolder, C:\Run\GetDvdArtifactPaths.ps1: line 19
at , C:\Run\start.ps1: line 161
at , : line 1Error
Using artifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/27.2.42879.0/w1
Cannot find path 'C:\dl\onprem\27.2.42879.0\platform\ServiceTier\program files\Microsoft Dynamics NAV' because it does not ex
ist.
at Get-NavDvdServiceFolder, C:\Run\GetDvdArtifactPaths.ps1: line 19
at , C:\Run\start.ps1: line 161
at , : line 1
New-BCContainer Telemetry Correlation Id: 9551b052-376e-4bfd-8d99-083c8890ea98
Initialization of container bcserv failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.1.10\ContainerHandling\Wait-NavContainerReady.ps1:42
char:17
- ... throw "Initialization of container $containerName failed" ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : OperationStopped: (Initialization ...r bcserv failed:String) [], RuntimeException
- FullyQualifiedErrorId : Initialization of container bcserv failed
Additional information
No response
Does this happen every time?
Yes
Did this used to work?
No