Git Product home page Git Product logo

Comments (6)

mattmcspirit avatar mattmcspirit commented on August 29, 2024 1

It's been a while since i looked at this, but i know with the recent fixes, @rfsonders and @SqlTechMike have had things working. We may need to re-validate a few things. Windows Server 2016 is build 1607, and 1809 is 2019. App Service (for example), still requires WS 2016 and will apply the CU's:

2020-10 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4580346)
2020-09 Servicing Stack Update for Windows Server 2016 for x64-based Systems (KB4576750)

If it doesn't detect them in the image. This takes a long time, especially in nested configs, and may cause a failure - that's why i update the base image to start with, but something must be going wrong with the update detection logic that I'll need time to troubleshoot.

As for documentation, it does mention here: https://github.com/mattmcspirit/azurestack#step-3---run-the-azspocps1-script that you should use the WS 2016 Eval, and says that you would have downloaded this with the ASDK bits. If you're running this in the Azure VM, you won't have downloaded the ASDK bits as this was done for you - sorry about the confusion there.

from azurestack.

yellowpanda avatar yellowpanda commented on August 29, 2024

I get the same error message.

from azurestack.

mattmcspirit avatar mattmcspirit commented on August 29, 2024

Hey both - @mattcowen, @yellowpanda - does your fix require the user to use a newer evaluation of Windows Server 2016 (1607)?

from azurestack.

yellowpanda avatar yellowpanda commented on August 29, 2024

I think the change can be limited to only handle the case when https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/rss does not contain any "Security Update for Adobe Flash Player" patches. But I'm testing.

from azurestack.

yellowpanda avatar yellowpanda commented on August 29, 2024

I think this bug originates from the following piece of code from deployment/powershell/DownloadWinUpdates.ps1:

$rss = "https://support.microsoft.com/app/content/api/content/feeds/sap/en-us/6ae59d69-36fc-8e4d-23dd-631d98bf74a9/rss"
#...
Write-Host "Getting info for latest Adobe Flash Security Update"
$rssFeed = [xml](New-Object System.Net.WebClient).DownloadString($rss)
$feed = $rssFeed.rss.channel.item | Where-Object { $_.title -like "*Security Update for Adobe Flash Player*" }
$feed = ($feed | Select-Object -Property Link | Sort-Object link -Descending) | Select-Object -First 1
$flashKB = "KB" + ($feed.link).Split('/')[4] # <--- Exception: "You cannot call a method on a null-valued expression."
$KBs += $flashKB 

If you open the rss url in a browser and search for "Security Update for Adobe Flash Player" it will not find anything. $feed will therefor be null and the code except.

You can, as suggested above, make an if (@feed) around the last 3 lines, but I guess the intention with this code is to install a patch of some kind.

from azurestack.

mattmcspirit avatar mattmcspirit commented on August 29, 2024

This should now be fixed in the latest release.

from azurestack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.