Closed paul-lbmc closed 4 years ago
Actually... just realized that it isn't pulling the same version. Apparently the cu2 tag isn't pulling the cu2 image listed on the Release Cumulative Updates page. https://support.microsoft.com/en-us/help/4470116/released-cumulative-updates-for-microsoft-dynamics-365-business. Trying again know with the explicit version tag (13.2.26556.0)...
Yep. The issue was in the cu2 tagging. Starts fine with the right image. Still, though, would be nice to know why the service tier failed to start.
When you have this scenario, you can probably use Get-NavContainerEVentlog to extract the event log and see the reasoning there. If you want to make sure you get the right version, you should add 1810-cu2-dk or 1904-cu2-dk - these will always end up in the same version.
Ah, thanks. What does the 1810 and 1904 tie to? In general, I really find figuring out the right versions of things extremely confusing with BC, since the version numbers displayed in the application don't seem to tie to the released build numbers.
On version 0.6.4.9, I'm not able to create containers using my own backup. I'm running a script that has worked previously, so something must have changed in the code. Also, I think it's just aliases, but I get the same result using new-navcontainer or new-bccontainer. The database version and requested docker version are the same.
new-navcontainer -accept_eula -accept_outdated -containerName dev-wkep -imageName mcr.microsoft.com/businesscentral/onprem:cu2-w1 -updateHosts -includeCSIDE -enableSymbolLoading -doNotExportObjectsToText -licenseFile "\fs1\FTPRoot\BCDevLicenses\13.flf" -includeTestToolkit -includeTestLibrariesOnly -additionalParameters @('--storage-opt size=40G', '--volume c:\temp:c:\temp', '--env bakfile="c:\temp\WKEPDev.bak"') NavContainerHelper is version 0.6.4.9 Host is Microsoft Windows 10 Enterprise - 1903 Docker Client Version is 19.03.2 Docker Server Version is 19.03.2 Using image mcr.microsoft.com/businesscentral/onprem:cu2-w1-ltsc2019 Removing dev-wkep from hosts Removing C:\ProgramData\NavContainerHelper\Extensions\dev-wkep Creating Container dev-wkep Version: 14.3.34444.0-W1 Style: onprem Platform: 14.0.34251.0 Generic Tag: 0.0.9.9 Container OS Version: 10.0.17763.557 (ltsc2019) Host OS Version: 10.0.18362.356 (1903) The container operating system does not match the host operating system, forcing hyperv isolation. Using locale en-US Using hyperv isolation Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable) Using license file \fs1\FTPRoot\BCDevLicenses\13.flf Files in C:\ProgramData\NavContainerHelper\Extensions\dev-wkep\my: