Update 2021/2/10: BcContainerHelper has replaced NavContainerHelper. This blog post still reference NavContainerHelper, which is outdated.
Business Central and NAV July 2020 on-premises updates was published over the weekend and this is going to be the last on-premises version of Business Central and NAV released as a docker image. The existing docker images will stay on mcr.microsoft.com for some time still, but no new on premises images will be added.
If this is news to you, you should read https://freddysblog.com/2020/06/25/changing-the-way-you-run-business-central-in-docker/ and https://freddysblog.com/2020/06/25/working-with-artifacts/ (+ some more blog posts on how to find out what the changes are)
July on-premises updates images and artifacts
Below you will see a table of the july update artifacts (how to get the url) and what the corresponding image names are.
NAV 2016 CU57 | |
artifacts | Get-NavArtifactUrl -nav 2016 -cu cu57 -country w1 https://bcartifacts.azureedge.net/onprem/9.0.51900.0/w1 |
image | mcr.microsoft.com/dynamicsnav:2016-cu57-w1 |
NAV 2017 CU44 | |
artifacts | Get-NavArtifactUrl -nav 2017 -cu cu44 -country w1 https://bcartifacts.azureedge.net/onprem/10.0.30301.0/w1 |
image | mcr.microsoft.com/dynamicsnav:2017-cu44-w1 |
NAV 2018 CU31 | |
artifacts | Get-NavArtifactUrl -nav 2018 -cu cu31 -country w1 https://bcartifacts.azureedge.net/onprem/11.0.43796.0/w1 |
image | mcr.microsoft.com/dynamicsnav:2018-cu31-w1 |
Business Central 14.15 | |
artifacts | Get-BCArtifactUrl -type OnPrem -version 14.15 -country w1 https://bcartifacts.azureedge.net/onprem/14.15.43800.0/w1 |
image | mcr.microsoft.com/businesscentral/onprem:1904-cu14-w1 |
Business Central 15.8 | |
artifacts | Get-BCArtifactUrl -type OnPrem -version 15.8 -country w1 https://bcartifacts.azureedge.net/onprem/15.8.43801.0/w1 |
image | mcr.microsoft.com/businesscentral/onprem:1910-cu8-w1 |
Business Central 16.3 | |
artifacts | Get-BCArtifactUrl -type OnPrem -version 16.3 -country w1 https://bcartifacts.azureedge.net/onprem/16.3.14085.14238/w1 |
image | mcr.microsoft.com/businesscentral/onprem:2004-cu3-w1 |
August 2020 on-premises updates will be artifacts only
As already mentioned, August updates will be artifacts only, and looking at the table above, you can easily imagine how you will be able to retrieve the url for the artifacts when it ships.
Enjoy
Freddy Kristiansen
Technical Evangelist
And for bcinsider images? I’ts the same? Last images have been published?
LikeLike
I have just published a new insider docker image today – unless I get pushback – that is the last insider docker image as well.
The images will stay for a while – just not get renewed.
LikeLike
Hi Freddy, I may have missed it in a post, but is there a way to include the C/Side client with a v14 image? It makes upgrades a little bit simpler if so. Thank you!
LikeLike
-includeCSIDE should work
LikeLike
Thanks, Freddy. Is there a way to incorporate this into the wizard script?
LikeLike
Hi Freddy,
Thank you very much for providing the NavContainerHelper cmdlets. They make life so much easier. We provide BC Containers a bit different to our Developers, so the initial creation of the Container does not happen with the NavContainerHelper cmdlets. But subsequent tasks are done with your cmdlets. The issue is, when the Containers are not created with your cmdlets, the c:\programdata\navcontainerhelper\extensions\ directory is missing. We are currently creating it by hand when it is needed instead, so we can use your cmdlets. Do you think it would be possible to add a switch to the cmdlets which rely upon the existence of the directory so they don’t cancel the execution, but instead create the directory?
Cheers!
LikeLike
The entire idea with all functions in containerhelper is that these folders are shared with the host. My recommendation would be to add a –volume parameter to your docker run and share the folders like containerhelper.
LikeLike
Is there a way to extract a vsix file from artifact? What is the correct way to get newest AL extension version?
LikeLike
Download it from the URL returned by Get-LatestAlLanguageExtensionUrl
LikeLike
It seems to return address for version 5.0.288712, which is available also using VS Code. What about version 6? version 5 has a few errors.
LikeLike
Then you would have to download the latest insider artifacts and locate the .vsix file in there.
Download-Artifacts
LikeLike
And how to download the insider artifacts? Get-BCArtifactUrl -storageAccount bcinsider returns Invoke-RestMethod : ResourceNotFoundThe specified resource does not exist.
Is there some kind of login required? similiar to the docker login before creating insider container?
LikeLike
https://freddysblog.com/2020/06/27/ci-cd-and-artifacts/ – search for insider.
LikeLike
Thanks, i found that
what is worth noticing, the vsix file is not in the bc artifact, but in the platform artifact. In the URL returned, the “w1” (or other localization) must be replaced by “platform”. For example sandbox/17.0.15068.0/platform instead of sandbox/17.0.15068.0/w1
LikeLike
Is this a new parameter? which navcontainerhelper version is required? It does not seem to work in 0.7.0.20. I cant find it in the source code as well (https://github.com/microsoft/navcontainerhelper/blob/master/Misc/Get-BCArtifactUrl.ps1)
I can see the includePlatform only in the Download-Artifacts cmdlet which calculates the url by adding the “platform” word
LikeLike
Get-BcArtifactUrl with -includePlatform returns an array – second item is the path in which the platform is – that is the best way to find it.
LikeLike
Typo – download-artifacts with -includeplatform returns the two paths in which it has downloaded the artifacts.
LikeLike
Hello, Freddy.
Running the assisted setup wizard to create a new company in Business Central triggers the generic “Something went wrong.” error, regardless of the chosen data set option. This occurs for BC 16.3 and BC 16.2 sandbox containers created using the new artifact method. BC16 containers based on the Docker images do not generate this error. Do you have any idea on what might be missing?
Thanks in advance!
LikeLike
https://github.com/microsoft/navcontainerhelper/issues/1145
LikeLike
Hi Freddy,
Previously the AL source code for BC was downloaded with the NavContainerHelper (using the _includeAL option) but with the new artifacts it does not seem to download it automatically.
How would I go about getting my hands on the latest AL source?
LikeLike
-includeAL should work exactly like before.
If not, please create an issue on https://www.github.com/microsoft/navcontainerhelper/issues and include script and all output given by the script.
Thanks
LikeLike