Giter Site home page Giter Site logo

Comments (67)

freddydk avatar freddydk commented on May 22, 2024 1

If you add this property to the .github\AL-Go-Settings.json

"genericImageName":  "mcr.microsoft.com/businesscentral:{0}-dev"

then it should select the preview.

in 1-2 weeks from now - you can remove these two properties again as things will be out of preview.

Sorry for the inconvenience.

from al-go.

rafastrozyk avatar rafastrozyk commented on May 22, 2024 1

It worked, thanks a lot!

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Does the working script also work if you remove -multitenant:$false?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Yes.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Could you share the output from running the second script (the working one) for me to compare?

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Downloading application artifact /sandbox/20.0.37253.40140/de
Downloading C:\Users\ataeschner\AppData\Local\Temp\c5722c9b-a103-42b5-aad0-d1480dcdbedd.zip
Unpacking application artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/20.0.37253.40140/platform
Downloading C:\Users\ataeschner\AppData\Local\Temp\0893919f-8075-4daa-bbaf-49c40d89612c.zip
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40140\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40140\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40140\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40140
Platform: 20.0.37114.40119
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using hyperv isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
37a4edbf1367bb699d90f45ee6394666143314a783b5a78ae8c46bc1ec2c085a
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40140/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40140\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40140\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40140\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40140\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40140\de\BusinessCentral-DE.bak
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40140\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40140\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40140\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40140\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40140\platform
c:\dl\sandbox\20.0.37253.40140\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40140\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40140\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40140\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40140\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40140\de\Applications.DE
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 110 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
WARNING: Container starts with TimeZone = Mitteleuropäische Zeit, which is not recognized in the list of TimeZones.
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 3B3959E8864FF8362277CD09C7D0889148ECFD11
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating ataeschner as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements. 
It should be at least 8 characters long and contain at least one uppercase 
letter, one lowercase letter, and one number.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Assign Premium plan for ATAESCHNER
Container IP Address: 172.30.202.140
Container Hostname  : runtest4
Container Dns Name  : runtest4
Web Client          : http://runtest4/BC/?tenant=default
Dev. Server         : http://runtest4
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting runtest4 to 172.30.202.140 in host hosts file
Setting runtest4-default to 172.30.202.140 in host hosts file
Setting runtest4-default to 172.30.202.140 in container hosts file

Files:
http://runtest4:8080/ALLanguage.vsix

Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 5.5Gb

Initialization took 25 seconds
Ready for connections!
Reading CustomSettings.config from runtest4
Creating Desktop Shortcuts for runtest4
Container runtest4 successfully created

Use:
Get-BcContainerEventLog -containerName runtest4 to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName runtest4 to get debug information about the container
Enter-BcContainer -containerName runtest4 to open a PowerShell prompt inside the container
Remove-BcContainer -containerName runtest4 to remove the container again
docker logs runtest4 to retrieve information about URL's again

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Thanks - will investigate and get back

from al-go.

freddydk avatar freddydk commented on May 22, 2024

The big difference here is that the working one is using hyperv isolation
could you delete the line with isolation hyperv in the working one and add this line:
-myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1")

and then share the output?

from al-go.

achim-t avatar achim-t commented on May 22, 2024
$accept_eula = $true

$auth = "UserPassword"
$credential = get-credential -UserName $env:USERNAME -Message "Using $auth Authentication. Please enter your Windows credentials."
$artifactUrl = Get-BCArtifactUrl -country de 
$containerName = "runtest4"
$licenseFile = "C:\Users\ataeschner\Desktop\fin.flf"
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1")
                -assignPremiumPlan 
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Downloading application artifact /sandbox/20.0.37253.40150/de
Downloading C:\Users\ataeschner\AppData\Local\Temp\4c2a1947-2f39-4680-be03-6b2dc98cc9c2.zip
Unpacking application artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/20.0.37253.40150/platform
Downloading C:\Users\ataeschner\AppData\Local\Temp\1ce8eaae-50f5-44e2-8fa0-5bce4ef182fd.zip
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40150\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40150\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40150\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40150
Platform: 20.0.37114.40119
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
82ac717f6cecbe896caa82c8bfdb6dc01c2fa800fccb1ec2f15d586335f1cacc
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40150/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40150\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40150/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40150\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: b93b6872-c022-47f2-97db-10e1cf7c8848
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed
 


from al-go.

freddydk avatar freddydk commented on May 22, 2024

Great, thank - and once more (added some debug info)

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40150
Platform: 20.0.37114.40119
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
f2218c13a3d179617f734781e55e8591197082a634d3c303c063568b53684330
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40150/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40150\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40150/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40150\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40150\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40150\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 1b7e750c-f37e-4b8f-8664-f093a7d09362
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Getting closer - could you add another override:

-myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1",
"https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/SetupDatabase.ps1")

I guess this is what they call remote debugging...

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Those 10 retries take a long time.

$accept_eula = $true

$auth = "UserPassword"
$credential = get-credential -UserName $env:USERNAME -Message "Using $auth Authentication. Please enter your Windows credentials."
$artifactUrl = Get-BCArtifactUrl -country de 
$containerName = "runtest4"
$licenseFile = "C:\Users\ataeschner\Desktop\fin.flf"
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/SetupDatabase.ps1")
                -assignPremiumPlan 
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40190
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupDatabase.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- SetupDatabase.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
1dfb28c68e53f81e8e40406cebcfe23ee6a63bb152148c19e7aa61297d6ffaa6
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40190\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40190\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting......... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting............... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting.................. - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting..................... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................ - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting........................... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 04c42333-1fb7-45a6-8c2c-d5d8ef37101f
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Removed the 10 retries and removed the attempt to determine collation.
retry?

(Thanks a million for the help)

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40190
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupDatabase.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- SetupDatabase.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
a6dd4e5ff1da7d12e7e732a6ed2ca5f05a3f34a9e09771b2c05af1abb47e3a4e
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40190\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40190\de\BusinessCentral-DE.bak
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 35c9120b-312f-4494-afb5-fa1a2865dc42
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Could you try to add this as well

"https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1"

from al-go.

achim-t avatar achim-t commented on May 22, 2024
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/SetupDatabase.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1")
                -assignPremiumPlan 
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40190
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupDatabase.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- SetupDatabase.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
68312761c34f06447984da07c801f0b007fd6640a429ecccadcce6635174861d
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: f05e34e1-601a-4466-87ab-795d8ee2449c
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

OK, so I removed the collation thingy - but now it crashes on restore DB
Now I inserted a sleep for 5 minutes to see whether this is a race condition.
A 5 minute sleep is obviously not the solution if this works - but just an indication whether this is a timing issue.
Could you try once more?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

I don't think that took 5 minutes.

BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40190
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupDatabase.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- SetupDatabase.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules

Status   Name               DisplayName                           
------   ----               -----------                           
Running  MSSQL$SQLEXPRESS   SQL Server (SQLEXPRESS)               
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40190/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40190\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40190\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules

Status   Name               DisplayName                           
------   ----               -----------                           
Running  MSSQL$SQLEXPRESS   SQL Server (SQLEXPRESS)               
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Exception was: User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\my\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\my\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\my\SetupDatabase.ps1: line 171
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 2610e637-fd8c-437b-95fe-20c12d1d9562
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Could you remove navinstall and setupdatabase from the myscripts and add

"https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1"

instead?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

I found these four errors in the event logs (of the host).

exec's CreateProcess() failed [namespace=moby module=libcontainerd container=d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42 exec=19de398489c25f202adf9fce05ae340bcfef53354a43ca2687bd8ee7a971c70d error=container d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42 encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The user name or password is incorrect. (0x52e)]

Error running exec 19de398489c25f202adf9fce05ae340bcfef53354a43ca2687bd8ee7a971c70d in container: container d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42 encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The user name or password is incorrect. (0x52e)

exec's CreateProcess() failed [module=libcontainerd namespace=moby container=d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42 exec=35709ca0116b223cbfd4d11f4176a2df7c528f32fe486a7d11c23d87a470c2f1 error=container d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42 encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The user name or password is incorrect. (0x52e)]

Error running exec 35709ca0116b223cbfd4d11f4176a2df7c528f32fe486a7d11c23d87a470c2f1 in container: container d8140a6081653404adf47dd8cfe46a2a2760849ea4343b15701fea8b2a756b42 encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The user name or password is incorrect. (0x52e)

Do you try to use my entered authentication? Because the password I supply to New-BcContainer differs from my user account's.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

I create a user inside the container - but it doesn't get to that.
Did you try the latest override (start) - did that give these entries?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Still running that one.

The entries were created on the previous try (also the ones before that). Notice how the container-id matches to the script output.

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Apparently stuck at this step.

PS C:\Users\ataeschner> $auth = "UserPassword"
$credential = get-credential -UserName $env:USERNAME -Message "Using $auth Authentication. Please enter your Windows credentials."
$artifactUrl = Get-BCArtifactUrl -country de 
$containerName = "runtest4"
$licenseFile = "C:\Users\ataeschner\Desktop\fin.flf"
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1")
                -assignPremiumPlan 
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Downloading application artifact /sandbox/20.0.37253.40208/de
Downloading C:\Users\ataeschner\AppData\Local\Temp\3fa2557f-ee6c-4935-9a64-432cf6bb27db.zip
Unpacking application artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/20.0.37253.40208/platform
Downloading C:\Users\ataeschner\AppData\Local\Temp\4796dda9-23aa-4855-8d9e-f9bdd6878a18.zip
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40208\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40208\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40208\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40208
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
5111023db7dbf4ae93a9824dfd08a62f3dddd9426bcc7c77d09482ff7fc0a3a4
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40208/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40208\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40208\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40208\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40208\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40208\de\BusinessCentral-DE.bak
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40208/de
Using installer from 
Copying Platform Artifacts
c:\dl\sandbox\20.0.37253.40208\platform
Copying Application Artifacts
Copying Database
Copying ConfigurationPackages
c:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages
Copying Extensions
c:\dl\sandbox\20.0.37253.40208\de\Extensions
Copying Applications.*
c:\dl\sandbox\20.0.37253.40208\de\Applications.*
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Could you try to re-add navinstall to myscripts
I have removed the multi-threaded copy - which should allow me to see were exactly it fails.

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Stuck again.

PS C:\Users\ataeschner> New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1")
                -assignPremiumPlan 

BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40208
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- SetupVariables.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
e48e2f717c38023e685d50aa6add471fb1675530407f81e6f9bf4743e9a6eb98
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40208/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40208\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40208\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40208\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40208\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40208\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40208\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40208\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40208\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40208\platform
c:\dl\sandbox\20.0.37253.40208\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
'C:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages'
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages
'C:\dl\sandbox\20.0.37253.40208\platform\Test Assemblies'
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40208\platform\Test Assemblies
''
''
'C:\dl\sandbox\20.0.37253.40208\de\Extensions'
Copying Extensions
C:\dl\sandbox\20.0.37253.40208\de\Extensions
'C:\dl\sandbox\20.0.37253.40208\platform\Applications'
Copying Applications
C:\dl\sandbox\20.0.37253.40208\platform\Applications
'C:\dl\sandbox\20.0.37253.40208\de\Applications.DE'
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40208\de\Applications.DE
''
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40208/de
Using installer from 
Copying Platform Artifacts
c:\dl\sandbox\20.0.37253.40208\platform
Copying Application Artifacts
Copying Database
Copying ConfigurationPackages
c:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages
Copying Extensions
c:\dl\sandbox\20.0.37253.40208\de\Extensions
Copying Applications.*
c:\dl\sandbox\20.0.37253.40208\de\Applications.*
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Looks like it crashed during reportbuilder copy - i removed that now
You can re-run

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40208
Platform: 20.0.37114.40159
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- SetupVariables.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
49779ff8826550679bd22d89685f4075889f86ad3ff0bed9b4f131c6c5ec78f6
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40208/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40208\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40208\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40208\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40208\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40208\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40208\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40208\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40208\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40208\platform
c:\dl\sandbox\20.0.37253.40208\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
'C:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages'
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages
'C:\dl\sandbox\20.0.37253.40208\platform\Test Assemblies'
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40208\platform\Test Assemblies
''
''
'C:\dl\sandbox\20.0.37253.40208\de\Extensions'
Copying Extensions
C:\dl\sandbox\20.0.37253.40208\de\Extensions
'C:\dl\sandbox\20.0.37253.40208\platform\Applications'
Copying Applications
C:\dl\sandbox\20.0.37253.40208\platform\Applications
'C:\dl\sandbox\20.0.37253.40208\de\Applications.DE'
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40208\de\Applications.DE
''
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40208\de\BusinessCentral-DE.bak
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40208/de
Using installer from 
Copying Platform Artifacts
c:\dl\sandbox\20.0.37253.40208\platform
Copying Application Artifacts
Copying Database
Copying ConfigurationPackages
c:\dl\sandbox\20.0.37253.40208\de\ConfigurationPackages
Copying Extensions
c:\dl\sandbox\20.0.37253.40208\de\Extensions
Copying Applications.*
c:\dl\sandbox\20.0.37253.40208\de\Applications.*
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available
Waiting for c:\$tmp$\Applications.*\E\Any.Source.zip to be available

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Then we are back at database collation failing.
I will try to collect the infos from all these outputs and work on adding some resilience over the weekend (need to run now)
I am very thankful to have somebody who can repro this problem consistently - if you are OK with trying a couple of times more next week - it would be great.
Thanks

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Yeah, sure.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

If you could retry with this parameters, I should know whether it is possible to fix this.

 -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1")

from al-go.

achim-t avatar achim-t commented on May 22, 2024
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                 -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1")
                -assignPremiumPlan 
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Downloading application artifact /sandbox/20.0.37253.40301/de
Downloading C:\Users\ataeschner\AppData\Local\Temp\9a062129-a2ad-4fbd-bb26-527598d54040.zip
Unpacking application artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/20.0.37253.40301/platform
Downloading C:\Users\ataeschner\AppData\Local\Temp\c89b857b-41ad-4648-b489-ba20860a7e33.zip
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40301\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40301\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\20.0.37253.40301\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- SetupVariables.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
75a1ad58c490eb0690f870e4d7eb0547c75c5625b0a2d5711b8c20ab3f84fd67
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 129 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 3A7605D8F0E2398AD8AC18D2DC5721816995AC17
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
PublicDnsName unchanged
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Starting Service Tier
Container IP Address: 172.30.200.164
Container Hostname  : runtest4
Container Dns Name  : runtest4
Web Client          : http://runtest4/BC/?tenant=default
Setting runtest4 to 172.30.200.164 in host hosts file
Setting runtest4-default to 172.30.200.164 in host hosts file
Setting runtest4-default to 172.30.200.164 in container hosts file

Files:
Cannot find path 'C:\inetpub\wwwroot\http' because it does not exist.
at <ScriptBlock>, C:\Run\navstart.ps1: line 266
at <ScriptBlock>, C:\Run\my\start.ps1: line 368
at <ScriptBlock>, C:\Run\start.ps1: line 32
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 129 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 3A7605D8F0E2398AD8AC18D2DC5721816995AC17
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Initializing...
Setting host.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.169 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
PublicDnsName unchanged
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Starting Service Tier
Container IP Address: 172.30.200.164
Container Hostname  : runtest4
Container Dns Name  : runtest4
Web Client          : http://runtest4/BC/?tenant=default
Setting runtest4 to 172.30.200.164 in host hosts file
Setting runtest4-default to 172.30.200.164 in host hosts file
Setting runtest4-default to 172.30.200.164 in container hosts file

Files:
Cannot find path 'C:\inetpub\wwwroot\http' because it does not exist.
at <ScriptBlock>, C:\Run\navstart.ps1: line 266
at <ScriptBlock>, C:\Run\my\start.ps1: line 368
at <ScriptBlock>, C:\Run\start.ps1: line 32
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: bf19ff10-7760-4c6f-9d92-f846e46c3750
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

It might look the same - but it actually got a lot further, to now fail where the web client is created - and this time, it didn't restart during installation at all.

I have added 2 extra overrides, which you can include in the -myScripts with some additional dumping and a small fix:

"https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navstart.ps1"
"https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/SetupWebClient.ps1"

Thanks

from al-go.

achim-t avatar achim-t commented on May 22, 2024
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navstart.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/SetupWebClient.ps1")
                -assignPremiumPlan 
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navstart.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupWebClient.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- navstart.ps1
- SetupVariables.ps1
- SetupWebClient.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
7f8ed7f1c0f78c363ee02ec2f1999b804f70ecde3ef3eb052f1df02c37fdf68e
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 129 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 69EEE5D1EEB6115C8548F7EC33D31E70445E8012
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Removing database tenant
Removing Database tenant from localhost\SQLEXPRESS
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Removing database CRONUS
Removing Database CRONUS from localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Service 'Dynamics 365 Business Central Server [BC] (MicrosoftDynamicsNavServer$BC)' cannot be created due to the following error: The specified service already exists
at <ScriptBlock>, C:\Run\my\navinstall.ps1: line 309
at <ScriptBlock>, C:\Run\my\start.ps1: line 230
at <ScriptBlock>, C:\Run\start.ps1: line 32
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 129 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 69EEE5D1EEB6115C8548F7EC33D31E70445E8012
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Removing database tenant
Removing Database tenant from localhost\SQLEXPRESS
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Removing database CRONUS
Removing Database CRONUS from localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Service 'Dynamics 365 Business Central Server [BC] (MicrosoftDynamicsNavServer$BC)' cannot be created due to the following error: The specified service already exists
at <ScriptBlock>, C:\Run\my\navinstall.ps1: line 309
at <ScriptBlock>, C:\Run\my\start.ps1: line 230
at <ScriptBlock>, C:\Run\start.ps1: line 32
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 7698285f-bbf9-4bcb-9aa1-24df45976303
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Added a small fix and some additional dumps
The container might end up in a never-ending restart loop with this fix - in that case, just cancel it after a few times of
a
b
c
lines, thanks

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navstart.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupWebClient.ps1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- navstart.ps1
- SetupVariables.ps1
- SetupWebClient.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
056a147bdb433993844dabb1876722d9d23a9316b051f4ca6d4baf43b829fac3
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 117 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 67EC9491FBAA39DDFFAB1BC46A621E306D7A4972
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 6A0214D4222F46945C44B6EB15BEA97E67667495
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 4302ECD53968BD6813D773D82B8F55697EBFEDE5
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c

from al-go.

freddydk avatar freddydk commented on May 22, 2024

added some additional dumps in the web client installer. Could you add

"https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/NAVWebClientManagement.psm1"

(note .psm1 not .ps1)
and retry?

from al-go.

achim-t avatar achim-t commented on May 22, 2024
New-BcContainer -accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -auth $auth `
                -credential $credential `
                -licenseFile $licenseFile `
                -updateHosts `
                -myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/HelperFunctions.ps1", "https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/start.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navinstall.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/navstart.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/SetupWebClient.ps1","https://raw.githubusercontent.com/microsoft/nav-docker/master/override/issue2434/NAVWebClientManagement.psm1")
                -assignPremiumPlan
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navstart.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupWebClient.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\NAVWebClientManagement.psm1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- navstart.ps1
- NAVWebClientManagement.psm1
- SetupVariables.ps1
- SetupWebClient.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
843ff843535e20b15353ccad402a8c047bdc6c81005ab18bef09d60ac7615399
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 127 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint D65D74500278A8C83FE78A5DCA4DF6F0D395445A
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Restart count 1
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint A0E2DDC321CCEDBD6A9179A577C46DA9CDFC3F86
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Remove C:\inetpub\wwwroot\BC
Copy files to WWW root C:\inetpub\wwwroot\BC
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Restart count 2
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 3CE0F57C2A7C672691587F5CAE33225CC8F6FADA
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Remove C:\inetpub\wwwroot\BC
Copy files to WWW root C:\inetpub\wwwroot\BC
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Restart count 3
Error starting container
at <ScriptBlock>, C:\Run\my\navstart.ps1: line 41
at <ScriptBlock>, C:\Run\my\start.ps1: line 368
at <ScriptBlock>, C:\Run\start.ps1: line 32
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 127 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint D65D74500278A8C83FE78A5DCA4DF6F0D395445A
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Restart count 1
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint A0E2DDC321CCEDBD6A9179A577C46DA9CDFC3F86
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Remove C:\inetpub\wwwroot\BC
Copy files to WWW root C:\inetpub\wwwroot\BC
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Restart count 2
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 3CE0F57C2A7C672691587F5CAE33225CC8F6FADA
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Remove C:\inetpub\wwwroot\BC
Copy files to WWW root C:\inetpub\wwwroot\BC
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Restarting Container
Restart count 3
Error starting container
at <ScriptBlock>, C:\Run\my\navstart.ps1: line 41
at <ScriptBlock>, C:\Run\my\start.ps1: line 368
at <ScriptBlock>, C:\Run\start.ps1: line 32
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: c27de68b-b911-431d-b3f6-479a4e00b28d
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

So, now it crashes when trying to copy files...
I have replaced copy-item with robocopy - let's see if that changes anything? (I have earlier seen copy-item to cause problems)

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navstart.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupWebClient.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\NAVWebClientManagement.psm1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- navstart.ps1
- NAVWebClientManagement.psm1
- SetupNavUsers.ps1
- SetupVariables.ps1
- SetupWebClient.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
be21b0ea15638a3a992e15a1e85521cd30c3a919bbbf3acefa12079b704aa88b
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 116 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 798F2732F914BBC94696DB5C0DE538A27E72743C
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
d
e
f
g
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating ataeschner as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements. 
It should be at least 8 characters long and contain at least one uppercase 
letter, one lowercase letter, and one number.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Assign Premium plan for ATAESCHNER
Container IP Address: 172.30.192.123
Container Hostname  : runtest4
Container Dns Name  : runtest4
Web Client          : http://runtest4/BC/?tenant=default
Dev. Server         : http://runtest4
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting runtest4 to 172.30.192.123 in host hosts file
Setting runtest4-default to 172.30.192.123 in host hosts file
Setting runtest4-default to 172.30.192.123 in container hosts file

Files:
http://runtest4:8080/ALLanguage.vsix

Container Total Physical Memory is 31.7Gb
Container Free Physical Memory is 10.0Gb

Initialization took 60 seconds
Ready for connections!
Reading CustomSettings.config from runtest4
container be21b0ea15638a3a992e15a1e85521cd30c3a919bbbf3acefa12079b704aa88b encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The RPC server is unav
ailable. (0x6ba)
New-BcContainer Telemetry Correlation Id: bd6b432a-b8df-4c6c-95f6-b1a0e06795bc
ScriptHalted
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Invoke-ScriptInNavContainer.ps1:114 Zeichen:17
+                 throw
+                 ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

from al-go.

freddydk avatar freddydk commented on May 22, 2024

It looks like the container is created and the error now happens post-creation - does the container work?
Is the webclient available here:
http://runtest4/BC/?tenant=default

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Also, could you try to run the script as Administrator?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

I can download symbols and publish to the container, but the webclient isn't available.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

What error do you get when accessing the web client URL?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Generic time out.

image

from al-go.

freddydk avatar freddydk commented on May 22, 2024

If you run the script as administrator - will it then complete successfully?
And does that change anything on the web client?
Did you try to clean cookies etc. in the browser?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Running as admin doesn't produce an error. The web client is still not available.

I used a new incognito browser window, so there shouldn't be any cookies saved. A simple curl to http://runtest4/BC also times out.

BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.7
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\HelperFunctions.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\start.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navinstall.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\navstart.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\SetupWebClient.ps1
Downloading C:\ProgramData\BcContainerHelper\Extensions\runtest4\my\NAVWebClientManagement.psm1
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- navinstall.ps1
- navstart.ps1
- NAVWebClientManagement.psm1
- SetupNavUsers.ps1
- SetupVariables.ps1
- SetupWebClient.ps1
- start.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
f3fa9e51ab37b1c785ce0a34078e2b7fa2cd744468a4721f075cc6baa9d0cf2c
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 116 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 51D82E7F415189D2D3B5FBEA80C6267E0DFDBC6E
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
a
b
c
New-NAVWebServerInstance -PublishFolder C:\Program Files\Microsoft Dynamics NAV\200\Web Client\WebPublish -WebServerInstance BC -Server localhost -ServerInstance BC -ClientServicesCredentialT
ype NavUserPassword -ClientServicesPort 7046 -WebSitePort 80
1
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
d
e
f
g
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating ataeschner as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements. 
It should be at least 8 characters long and contain at least one uppercase 
letter, one lowercase letter, and one number.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Assign Premium plan for ATAESCHNER
Container IP Address: 172.30.204.113
Container Hostname  : runtest4
Container Dns Name  : runtest4
Web Client          : http://runtest4/BC/?tenant=default
Dev. Server         : http://runtest4
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting runtest4 to 172.30.204.113 in host hosts file
Setting runtest4-default to 172.30.204.113 in host hosts file
Setting runtest4-default to 172.30.204.113 in container hosts file

Files:
http://runtest4:8080/ALLanguage.vsix

Container Total Physical Memory is 31.7Gb
Container Free Physical Memory is 7.1Gb

Initialization took 65 seconds
Ready for connections!
Reading CustomSettings.config from runtest4
Creating Desktop Shortcuts for runtest4
Container runtest4 successfully created

Use:
Get-BcContainerEventLog -containerName runtest4 to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName runtest4 to get debug information about the container
Enter-BcContainer -containerName runtest4 to open a PowerShell prompt inside the container
Remove-BcContainer -containerName runtest4 to remove the container again
docker logs runtest4 to retrieve information about URL's again

from al-go.

freddydk avatar freddydk commented on May 22, 2024

I can see that all the failing samples were also running as non administrator - just to make sure that running as administrator doesn't actually fix everything - could you try to remove the myscripts totally and re-run as admin (but still without hyperv)

from al-go.

achim-t avatar achim-t commented on May 22, 2024
BcContainerHelper is version 3.0.7
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Removing container runtest4
Removing runtest4 from container hosts file
Removing runtest4-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\runtest4
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643
Creating Container runtest4
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest4\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest4 from image mcr.microsoft.com/businesscentral:10.0.20348.643
aa8446e5756ab3af3ad2caeee04b6a0a65608943e004a1a692431058f66fa7b7
Waiting for container runtest4 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40301\de\BusinessCentral-DE.bak
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint D5E911AB74C8409A4522A6503E31CA233C5537FC
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Service Tier doesn't exist / is not installed
at <ScriptBlock>, C:\Run\navstart.ps1: line 153
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.0.37253.40301\de\BusinessCentral-DE.bak
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest4
PublicDnsName is runtest4
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint D5E911AB74C8409A4522A6503E31CA233C5537FC
DNS identity runtest4
Modifying Service Tier Config File with Instance Specific Settings
Service Tier doesn't exist / is not installed
at <ScriptBlock>, C:\Run\navstart.ps1: line 153
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: aaac0812-31ee-4071-a5f3-65909b41579b
Initialization of container runtest4 failed
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Wait-NavContainerReady.ps1:42 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...runtest4 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container runtest4 failed
 

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Thanks - will try to collect all the learnings and get back

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Could you remove the -myscripts and use this instead:

-useGenericImage "$(Get-BestGenericImageName)-dev"

and then use a new name (not used before for the container) - like testforfk :-)

Thanks

from al-go.

achim-t avatar achim-t commented on May 22, 2024

New error message.

Webserver is not available, publishing apps works.

BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643-dev
Creating Container runtest6
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.2
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest6\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest6 from image mcr.microsoft.com/businesscentral:10.0.20348.643-dev
fbe6ff540c1e5fadb9293beaa7ac501187710f7f82003789b27c0047505a4a01
Waiting for container runtest6 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from 
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 122 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest6
PublicDnsName is runtest6
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint EB293E1BC002F281451C19D7C90278FA5E0DBAEB
DNS identity runtest6
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating ataeschner as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements. 
It should be at least 8 characters long and contain at least one uppercase 
letter, one lowercase letter, and one number.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Assign Premium plan for ATAESCHNER
Container IP Address: 172.30.204.171
Container Hostname  : runtest6
Container Dns Name  : runtest6
Web Client          : http://runtest6/BC/?tenant=default
Dev. Server         : http://runtest6
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting runtest6 to 172.30.204.171 in host hosts file
Setting runtest6-default to 172.30.204.171 in host hosts file
Setting runtest6-default to 172.30.204.171 in container hosts file

Files:
http://runtest6:8080/ALLanguage.vsix

Container Total Physical Memory is 31.7Gb
Container Free Physical Memory is 12.3Gb

Initialization took 58 seconds
Ready for connections!
Reading CustomSettings.config from runtest6
container fbe6ff540c1e5fadb9293beaa7ac501187710f7f82003789b27c0047505a4a01 encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The RPC server is unav
ailable. (0x6ba)
New-BcContainer Telemetry Correlation Id: 1290e091-2d68-4f72-b98a-9529f44785fa
ScriptHalted
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.7\ContainerHandling\Invoke-ScriptInNavContainer.ps1:114 Zeichen:17
+                 throw
+                 ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

from al-go.

achim-t avatar achim-t commented on May 22, 2024

As admin: there is no error message in the console, but I can still see that error in the event log.

The container behaves the same.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

can you download http://runtest6:8080/ALLanguage.vsix from the container?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

No, timed out.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

and with -isolation hyperv - webclient works and download as well?

from al-go.

achim-t avatar achim-t commented on May 22, 2024

Yes, both.

BcContainerHelper is version 3.0.7
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.13
Docker Server Version is 20.10.13
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.643-dev
Creating Container runtest6
Style: sandbox
Multitenant: Yes
Version: 20.0.37253.40301
Platform: 20.0.37114.40239
Generic Tag: 1.0.2.2
Container OS Version: 10.0.20348.643 (ltsc2022)
Host OS Version: 10.0.22000.613 (21H2)
Using hyperv isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Users\ataeschner\Desktop\fin.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\runtest6\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container runtest6 from image mcr.microsoft.com/businesscentral:10.0.20348.643-dev
c819069a0276f979fe20d1d013b15f26b662ef691476d3c13becd850adb769b5
Waiting for container runtest6 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.0.37253.40301/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37253.40301\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.0.37253.40301\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\20.0.37253.40301\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37253.40301\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37253.40301\platform
c:\dl\sandbox\20.0.37253.40301\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37253.40301\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37253.40301\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37253.40301\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37253.40301\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37253.40301\de\Applications.DE
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 111 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.162 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.30.192.1 in container hosts file
Starting Container
Hostname is runtest6
PublicDnsName is runtest6
WARNING: Container starts with TimeZone = Mitteleuropäische Zeit, which is not recognized in the list of TimeZones.
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 48489D73C9F0E88E4E2A64EA6831238AD018AB82
DNS identity runtest6
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating ataeschner as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements. 
It should be at least 8 characters long and contain at least one uppercase 
letter, one lowercase letter, and one number.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Assign Premium plan for ATAESCHNER
Container IP Address: 172.30.197.57
Container Hostname  : runtest6
Container Dns Name  : runtest6
Web Client          : http://runtest6/BC/?tenant=default
Dev. Server         : http://runtest6
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting runtest6 to 172.30.197.57 in host hosts file
Setting runtest6-default to 172.30.197.57 in host hosts file
Setting runtest6-default to 172.30.197.57 in container hosts file

Files:
http://runtest6:8080/ALLanguage.vsix

Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 5.7Gb

Initialization took 25 seconds
Ready for connections!
Reading CustomSettings.config from runtest6
Creating Desktop Shortcuts for runtest6
Container runtest6 successfully created

Use:
Get-BcContainerEventLog -containerName runtest6 to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName runtest6 to get debug information about the container
Enter-BcContainer -containerName runtest6 to open a PowerShell prompt inside the container
Remove-BcContainer -containerName runtest6 to remove the container again
docker logs runtest6 to retrieve information about URL's again

from al-go.

freddydk avatar freddydk commented on May 22, 2024

@achim-t - can we maybe setup a Teams call to investigate the WebClient issue.
I am unsure whether this is related to the other issue.

If possible, please email me at freddyk at microsoft dot com and give me a few suggested timeslots (30 min should be enough) I can pick between to do some investigations, thanks (excluding thursday and friday this week as I am OOF)

from al-go.

achim-t avatar achim-t commented on May 22, 2024

I sent an email from my work account.

from al-go.

rafastrozyk avatar rafastrozyk commented on May 22, 2024

Facing the same issue with localDevEnv.ps1

  _                     _   _____             ______
 | |                   | | |  __ \           |  ____|
 | |     ___   ___ __ _| | | |  | | _____   __ |__   _ ____   __
 | |    / _ \ / __/ _` | | | |  | |/ _ \ \ / /  __| | '_ \ \ / /
 | |____ (_) | (__ (_| | | | |__| |  __/\ V /| |____| | | \ V /
 |______\___/ \___\__,_|_| |_____/ \___| \_/ |______|_| |_|\_/

This script will create a docker based local development environment for your project.

NOTE: You need to have Docker installed, configured and be able to create Business Central containers for this to work.
If this fails, you can setup a cloud based development environment by running cloudDevEnv.ps1

All apps and test apps will be compiled and published to the environment in the development scope.
The script will also modify launch.json to have a Local Sandbox configuration point to your environment.

Checking .github\AL-Go-Settings.json
Reading .github\AL-Go-Settings.json
Checking .AL-Go\settings.json
Reading .AL-Go\settings.json
Checking .github\.settings.json
Checking .AL-Go\.settings.json
Checking .AL-Go\rafal.strozyk.settings.json
Checking System Requirements

Container name
--------------
Please enter the name of the container to create (default bcserver)
bcserver selected

Authentication mechanism for container
--------------------------------------
a Windows Authentication
b Username/Password authentication

Select authentication mechanism for container (default b)
Username/Password authentication selected

LicenseFileUrl
--------------
When developing PTEs, you can optionally specify a developer licensefile with permissions to object IDs of your dependant apps

Local path or a secure download URL to license file  (default none)
none selected

Downloading BcContainerHelper latest version
Using 7zip
BcContainerHelper version 3.0.7
BcContainerHelper emits usage statistics telemetry to Microsoft
Checking .github\AL-Go-Settings.json
Reading .github\AL-Go-Settings.json
Checking .AL-Go\settings.json
Reading .AL-Go\settings.json
Checking .github\localDevEnv.settings.json
Checking .AL-Go\localDevEnv.settings.json
Checking .AL-Go\rafal.strozyk.settings.json
Checking type
Checking appFolders and testFolders
Application Dependency 19.0.0.0
Checking artifact setting
Downloading artifacts from https://bcartifacts.azureedge.net/sandbox/20.1.39764.40482/w1
Updating app- and test Dependencies
Analyzing Test App Dependencies
WARNING: No test apps found in testFolders in .AL-Go\settings.json
  _____                               _
 |  __ \                             | |
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Pipeline name               localDevEnv
Container name              bcserver
Image name
ArtifactUrl                 https://bcartifacts.azureedge.net/sandbox/20.1.39764.40482/w1
SasToken                    Not Specified
BcAuthContext               Not Specified
Environment
ReUseContainer              False
KeepContainer               True
Auth                        UserPassword
Credential                  Specified
CompanyName
MemoryLimit                 8G
Enable Task Scheduler       False
Assign Premium Plan         False
Install Test Runner         False
Install Test Framework      False
Install Test Libraries      False
Install Perf. Toolkit       False
InstallOnlyReferencedApps   True
generateDependencyArtifact  False
CopySymbolsFromContainer    False
enableCodeCop               False
enableAppSourceCop          False
enableUICop                 False
enablePerTenantExtensionCop True
doNotPerformUpgrade         False
uninstallRemovedApps        False
escapeFromCops              False
doNotBuildTests             False
doNotRunTests               True
doNotRunBcptTests           False
useDefaultAppSourceRuleSet  False
rulesetFile
azureDevOps                 False
gitLab                      False
gitHubActions               False
License file                Not specified
CodeSignCertPfxFile         Not specified
CodeSignCertPfxPassword     Not specified
CodeSignCertIsSelfSigned    False
KeyVaultCertPfxFile         Not specified
KeyVaultCertPfxPassword     Not specified
KeyVaultClientId
BuildOutputFile             C:\Users\rafal.strozyk\Dropbox\Visual Studio Code Projects\BC-getsix-extensions\BuildOutput.txt
TestResultsFile             C:\Users\rafal.strozyk\Dropbox\Visual Studio Code Projects\BC-getsix-extensions\TestResults.xml
BcptTestResultsFile         C:\Users\rafal.strozyk\Dropbox\Visual Studio Code Projects\BC-getsix-extensions\bcptTestResults.json
TestResultsFormat           JUnit
AdditionalCountries
PackagesFolder
OutputFolder
BuildArtifactFolder
CreateRuntimePackages       False
AppVersion
AppBuild                    0
AppRevision                 0
Install Apps
- None
Install Test Apps
- None
Previous Apps
- None
Application folders
- C:\Users\rafal.strozyk\Dropbox\Visual Studio Code Projects\BC-getsix-extensions\getsix Extensions
Test application folders
- None
BCPT Test application folders
- None
Custom CodeCops
- None

  _____       _ _ _                                          _        _
 |  __ \     | | (_)                                        (_)      (_)
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |
                          |___/   |___/                                                 |___/

INFO: Windows 10 21H1/21H2 images are not yet available, using 2004 as these are found to work better than 20H2 on 21H1/21H2
Pulling mcr.microsoft.com/businesscentral:10.0.19041.1415

Pulling generic image took 4 seconds

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

BcContainerHelper is version 3.0.7
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 10 Pro - 21H2
Docker Client Version is 20.10.14
Docker Server Version is 20.10.14
Removing container bcserver
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.19041.1415
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 20.1.39764.40482
Platform: 20.0.39668.40349
Generic Tag: 1.0.2.1
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1645 (21H2)
WARNING: Host OS is 21H1 and Container OS is 2004, defaulting to process isolation. If you experience problems, add -isolation hyperv.
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Additional Parameters:
--volume "C:\Users\rafal.strozyk\Dropbox\Visual Studio Code Projects\BC-getsix-extensions:c:\sources"
--env customNavSettings=EnableTaskScheduler=False
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.19041.1415
c4ff9c9cc75efa7dc54db03fd35458d8afc251d5891845204d429df3f49bbfd8
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.1.39764.40482/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\Program Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.1.39764.40482\w1\BusinessCentral-W1.bak
Initializing...
Setting host.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.25.240.1 in container hosts file
Starting Container
Hostname is bcserver
PublicDnsName is bcserver
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.1.39764.40482/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\Program Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.1.39764.40482\w1\BusinessCentral-W1.bak
Initializing...
Setting host.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.25.240.1 in container hosts file
Starting Container
Hostname is bcserver
PublicDnsName is bcserver
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Copying Database on localhost\SQLEXPRESS from CRONUS to tenant
Taking database CRONUS offline
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET OFFLINE WITH ROLLBACK IMMEDIATE
Putting database CRONUS back online
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting... - retrying
Warning, exception when running: ALTER DATABASE [CRONUS] SET ONLINE
Waiting...... - retrying
Error when running: ALTER DATABASE [CRONUS] SET ONLINE
User does not have permission to alter database 'CRONUS', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed.
at Invoke-SqlCmdWithRetry, C:\Run\HelperFunctions.ps1: line 434
at Copy-NavDatabase, C:\Run\HelperFunctions.ps1: line 203
at <ScriptBlock>, C:\Run\SetupDatabase.ps1: line 166
at <ScriptBlock>, C:\Run\navstart.ps1: line 122
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: 868ccbf0-fc6f-42fe-ba81-eaae47409f46
Run-AlPipeline Telemetry Correlation Id: b2585c99-4546-4f4e-9d15-05d10976bf67
Removing BcContainerHelper`

from al-go.

freddydk avatar freddydk commented on May 22, 2024

@rafastrozyk - if you modify the .github\AL-Go-Settings.json and add a property called:

"bcContainerHelperVersion":  "preview"

then you should be able to retry and succeed.

from al-go.

rafastrozyk avatar rafastrozyk commented on May 22, 2024

Thanks, a step forward. Yet another error:

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

BcContainerHelper is version 3.0.8-preview593
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 10 Pro - 21H2
Docker Client Version is 20.10.14
Docker Server Version is 20.10.14
Removing entires from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.19041.1415
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 20.1.39764.40482
Platform: 20.0.39668.40349
Generic Tag: 1.0.2.1
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1645 (21H2)
WARNING: Host OS is 21H1 and Container OS is 2004, defaulting to process isolation. If you experience problems, add -isolation hyperv.
Using process isolation
WARNING: Using process isolation on Windows Desktop OS with generic image version prior to 1.0.2.4 or NAV/BC versions prior to 15.0, might require you to use HyperV isolation or disable Windows Defender while creating the container
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Additional Parameters:
--volume "C:\Users\rafal.strozyk\Dropbox\Visual Studio Code Projects\BC-getsix-extensions:c:\sources"
--env customNavSettings=EnableTaskScheduler=False
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.19041.1415
be3897aaa4344b25ba358bdc46c0af61d9f1aac4fc67b3dd64753e3233266076
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.1.39764.40482/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\Program Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.1.39764.40482\w1\BusinessCentral-W1.bak
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Initializing...
Setting host.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.25.240.1 in container hosts file
Starting Container
Hostname is bcserver
PublicDnsName is bcserver
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 202CB741FC577D50FB1255199783351FA0F6D3CF
DNS identity bcserver
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Service Tier doesn't exist / is not installed
at <ScriptBlock>, C:\Run\navstart.ps1: line 153
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/20.1.39764.40482/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\Program Files
c:\dl\sandbox\20.1.39764.40482\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\20.1.39764.40482\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\sandbox\20.1.39764.40482\w1\BusinessCentral-W1.bak
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Initializing...
Setting host.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.8.100 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.25.240.1 in container hosts file
Starting Container
Hostname is bcserver
PublicDnsName is bcserver
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 202CB741FC577D50FB1255199783351FA0F6D3CF
DNS identity bcserver
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Service Tier doesn't exist / is not installed
at <ScriptBlock>, C:\Run\navstart.ps1: line 153
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
New-BcContainer Telemetry Correlation Id: c4f27967-13c7-4e84-8363-42a9fd2307f0
Run-AlPipeline Telemetry Correlation Id: 3d8f5928-25cd-41b9-8b2f-3e75e527ca99
Removing BcContainerHelper
Initialization of container bcserver failed
At C:\Users\rafal.strozyk\AppData\Local\Temp\21a3f2b3-da5b-45e3-9bf0-da7015c2b606\BcContainerHelper\ContainerHandling\Wait-NavContainerReady.ps1:42 char:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...bcserver failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container bcserver failed

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Ok, I was expecting the latest preview containerhelper to use the preview generic image - that didn't happen.
I will investigate and get back shortly.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

I have another partner with the same problem, where the web client isn't accessible.
Next version of containerhelper will check the health of the web client after creation and attempt one reboot if the webclient isn't accessible.

from al-go.

freddydk avatar freddydk commented on May 22, 2024

Shipped in v1.5 (and ContainerHelper 3.0.10)

from al-go.

freddydk avatar freddydk commented on May 22, 2024

@achim-t - thanks for all the help on this

from al-go.

achim-t avatar achim-t commented on May 22, 2024

My pleasure.

I can confirm it is working now.

from al-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.