Closed calliopedavidroldan closed 2 years ago
Hi @calliopedavidroldan, is something wrong with the bak ANVEDI14.5_CMC14.08(D365BCCU8)_NAV14.08.39327(D365BCCU8)_FR.bak you are using. The Service Tier isn't starting:
[...]
Failed to start service 'Dynamics 365 Business Central Server [NAV] (MicrosoftDynamicsNavServer$NAV)'.
at <ScriptBlock>, C:\Run\navstart.ps1: line 156
at <ScriptBlock>, C:\Run\start.ps1: line 363
at <ScriptBlock>, <No file>: line 1
[...]
Seems to be a periodic error :( If you add the -ImageName parameter to the same script you will get an error stating that access to the cloud file was denied.
** Removing intermediate container 8559e8bd3ec9 ---> ead8189e818c Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447" created="202110220700" nav="2004" cu="cu2" country="dk" version="16.2.13509.13779" platform="16.0.13440.13772" ---> Running in 139f34afcada Removing intermediate container 139f34afcada ---> de3d5fd1d2e8 Successfully built de3d5fd1d2e8 Successfully tagged bc16cu2:onprem-16.2.13509.13779-dk Building image took 2151 seconds Remove-Item : Adgang til cloudfilen blev nægtet At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.16\ContainerHandling\New-NavImage.ps1:601 char:17
+ CategoryInfo : NotSpecified: (:) [Remove-Item], Win32Exception
+ FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand
**
I am getting the same error(s) if I try creating containers in the morning (CET), but they will usually succeed if run in the late afternoon.
The latest BcContainerHelper includes a fix to not reuse old layers when building an image. Also the latest generic image have added some resilience to the process, this might also solve this issue. If not, you will have to specify -isolation hyperv.
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue Error creating container BC 14 CU23
Scripts used to create container and cause the issue
Full output of scripts
Screenshots If applicable, add screenshots to help explain your problem.
Additional context