Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent 6.0.3 Update distributed trough KB 5012417 #7290

Open
hankskorpio opened this issue Mar 17, 2022 · 15 comments
Open

Inconsistent 6.0.3 Update distributed trough KB 5012417 #7290

hankskorpio opened this issue Mar 17, 2022 · 15 comments
Assignees

Comments

@hankskorpio
Copy link

hankskorpio commented Mar 17, 2022

Description

Automatic update of .NET 6.0.2 to 6.0.3 produces inconsistent environment

Environment:

Edition Windows 10 Pro
Version 21H1
Installed on ‎2/‎11/‎2022
OS build 19043.1586
Experience Windows Feature Experience Pack 120.2212.4170.0

.NET 6.0.2 Hosting bundle installed

image

Steps :

  1. In Windows Update , Advanced options , enable "Receive updates for other Microsoft products when you update windows"
  2. Check for updates

Update KB 5012417 is downloaded and installed
image

Result:

Microsoft.ApsNetCore.App updated to 6.0.3
Microsoft.NetCore.App still stuck at 6.0.2

image

Issue:

Applications that targets 6.0.x will fail to execute because they will not be able to find the correct NET Runtime.

Workaround:

Install NET 6.0.3 Hosting bundle.

Comment:

The automatic update causes application crashes and a manual intervention is needed. This behavior is unacceptable when related to applications that are deployed on premise

@rzikm
Copy link
Member

rzikm commented Mar 17, 2022

@NikolaMilosavljevic can you please take a look?

@NikolaMilosavljevic
Copy link
Member

@rbhanda @joeloff are you guys aware of this issue? I'll also check the contents of the package and try to repro.

@joeloff
Copy link
Member

joeloff commented Mar 17, 2022

@hankskorpio can you run Get-WindowsUpdateLog from powershell and attach the log. It will create a file called WindowsUpdate.log on your desktop.

@csnellgrove1-zz as an FYI. I manually installed 6.0.2 and then 6.0.3 and it seems to correctly upgrade. From the user's description it seems like it MU might be detecting and offering the wrong bundle.. Once we have the logs we should be able to confirm. I was testing in a sandbox so could not get the update to run

@joeloff joeloff closed this as completed Mar 17, 2022
@joeloff joeloff reopened this Mar 17, 2022
@joeloff
Copy link
Member

joeloff commented Mar 17, 2022

Sorry, meant to comment, not close.

@hankskorpio
Copy link
Author

@joeloff thanks, here we are with the WindowsUpdate.log
WindowsUpdate.zip

@joeloff
Copy link
Member

joeloff commented Mar 17, 2022

@hankskorpio can you confirm whether you have IIS enabled and whether ANCM was installed from the hosting bundle. You can look for SOFTWARE\Classes\Installer\Dependencies\IIS_AspNetCore_Module_V2,x64 in the registry

Also, can you run the VS log collection tool. It will gather additional data from the installations on the machine. The link to the tool is here: https://www.microsoft.com/en-ca/download/details.aspx?id=12493

@hankskorpio
Copy link
Author

@joeloff : IIS is not installed on that machine and the registry entry is not present.
BUT the same behavior happens on machines with IIS Installed. I can restore a machine with IIS to show you exactly the same steps and results, but... would it be supposed to work even without IIS using Kestrel?

In attachment the "collectInfo.txt" retrieved by VSLogCollectiontool

CollectInfo.zip

@vaguepromise
Copy link

Hi. I'd opened a duplicate of this ticket last week which has now been closed but figure I can contribute.

I have been able to reproduce this problem on both a Windows Server 2012 R2 machine with IIS installed, and a Windows Server 2019 machine without IIS installed... combing the Windows Update logs doesn't seem to show any errors so appears the package is installing correctly.. so doesn't appear to be configuration or even platform specific.

@hankskorpio
Copy link
Author

Hi, I don't want to be pushy but ... any news about this issue? I'm a little worried about the deployment of our applications .

@donaldsonk
Copy link

We are having this issue as well at our organization. We noticed it specifically with the 6.0.3 update. In our case one of our apps broke because the hosting bundle was not installed form the update package and that is a dependency for that app. We opened a case with MS to see if they can help identify what is happening.

@hankskorpio
Copy link
Author

Hi, any news? Is it ok for microsoft that a production environment can crash suddenly due to an update?

@donaldsonk
Copy link

We have been connected with an SE who is looking into he. We collected the VB and .Net logs and sent to them for review. If your company has support hours, I would open a case as well, the more customers reporting, the more visibility it will get.

@vaguepromise
Copy link

vaguepromise commented Apr 13, 2022

Let's just hope this problem doesn't persist on this months released 6.0.4 update... fingers crossed.

Seems to have installed correctly on my test server.. both components of the runtime are updated to the new version.

@donaldsonk
Copy link

We received this feedback from the .Net SE. So fingers crossed the 6.04 version works correctly.

"We have identified some issues with the updates for .Net core 6.0.3 supplied through WSUS and MUC, this is going to be fixed with the 6.0.4 update."

@vaguepromise
Copy link

So far so good... I've installed it on a single Windows Server 2019 server so far, and it's gone on OK...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants