microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
385 stars 246 forks source link

Problem with Windows 11 install erros #2935

Closed dmachanick closed 1 year ago

dmachanick commented 1 year ago

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!

Describe the issue A clear and concise description of what the issue is.

Scripts used to create container and cause the issue

New-BcContainer `
    -accept_eula `
    -imagename...

Full output of scripts

NavContainerHelper is version 0.6.5.7
NavContainerHelper is running as administrator
Host is Microsoft Windows 11 
Docker Client Version is 20.10.12
Docker Server Version is N/A
...

PS C:\WINDOWS\system32> C:\Docker\dockercontainer-master\dockercontainer-master\CreateNavContaineFromArtifactStandardOnly.ps1 BcContainerHelper is version 3.0.7 BcContainerHelper is running as administrator Hyper-V is Enabled Host is Microsoft Windows 11 Pro - Unknown/Insider build Docker Client Version is 20.10.12 Docker Server Version is 20.10.12 Removing container BC20 Removing BC20 from container hosts file Removing BC20-* from container hosts file Removing C:\ProgramData\BcContainerHelper\Extensions\BC20 Fetching all docker images Fetching all docker volumes Pulling image mcr.microsoft.com/businesscentral:10.0.20348.1547 10.0.20348.1547: Pulling from businesscentral Digest: sha256:6ac11be13708ef8c49fb71ce321db8987d843e371a202662bf608d4593d38774 Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.20348.1547 mcr.microsoft.com/businesscentral:10.0.20348.1547 Using image mcr.microsoft.com/businesscentral:10.0.20348.1547 Creating Container BC20 Style: onprem Multitenant: No Version: 21.4.52563.52785 Platform: 21.0.52534.52761 Generic Tag: 1.0.2.14 Container OS Version: 10.0.20348.1547 (ltsc2022) Host OS Version: 10.0.22621.1265 (Unknown/Insider build) Using hyperv isolation Using locale en-US Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable) Using license file C:\BC\4829960.flf Additional Parameters: --env customNavSettings=EnableTaskScheduler=False Files in C:\ProgramData\BcContainerHelper\Extensions\BC20\my:

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

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

Initialization took 89 seconds Ready for connections! Reading CustomSettings.config from BC20 Creating Desktop Shortcuts for BC20 Creating .net Assembly Reference Folder for VS Code Copying DLLs from C:\Windows\assembly to assemblyProbingPath Copying DLLs from C:\Windows\Microsoft.NET\assembly to assemblyProbingPath Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\210\Service to assemblyProbingPath Copying DLLs from C:\Test Assemblies\Mock Assemblies to assemblyProbingPath Copying DLLs from C:\Program Files (x86)\Open XML SDK to assemblyProbingPath Container BC20 successfully created

Use: Get-BcContainerEventLog -containerName BC20 to retrieve a snapshot of the event log from the container Get-BcContainerDebugInfo -containerName BC20 to get debug information about the container Enter-BcContainer -containerName BC20 to open a PowerShell prompt inside the container Remove-BcContainer -containerName BC20 to remove the container again docker logs BC20 to retrieve information about URL's again Publishing C:\ProgramData\BcContainerHelper\Extensions\BC20\a0917920-81a4-466e-ac5f-976e63d11f8e\XTIVIA_GovCon365_13.6.2421.0.app Synchronizing GovCon365 on tenant default Installing GovCon365 on tenant default App XTIVIA_GovCon365_13.6.2421.0.app successfully published Screenshots If applicable, add screenshots to help explain your problem.

Event log erros and warnings The operating system cannot run Server instance: BC Tenant: Environment Name: Environment Type: The service could not add service principal names because the service account could not be found in Active Directory. Account: NT AUTHORITY\SYSTEM Service principal names: http/BC20:7047

The operating system cannot run Server instance: BC Tenant: Environment Name: Environment Type: SSL/HTTPS has not been configured for SOAP Services; client credentials will be sent over an unsecured transport (HTTP)..

The operating system cannot run Server instance: BC Tenant: Environment Name: Environment Type: SSL/HTTPS has not been configured for ODataV4 Services; client credentials will be sent over an unsecured transport (HTTP)..

License Activation (slui.exe) failed with the following error code: hr=0x800705B4 Command-line arguments: RuleId=eeba1977-569e-4571-b639-7623d8bfecc0;Action=AutoActivate;AppId=55c92734-d682-4d71-983e-d6ec3f16059f;SkuId=ef6cfc9f-8c5d-44ac-9aad-de6a2ea0ae03;NotificationInterval=1440;Trigger=TimerEvent

Failed to collect hardware data. Error code 0xD0000034.

{Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.

This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.

Additional context

dmachanick commented 1 year ago

Windows 11 update and reboot fixed the problem for me.