Powershell: Failed to update Help for the module(s) 'PSDesiredStateConfiguration' and 'ThreadJob'

Created on 22 Sep 2019  路  10Comments  路  Source: PowerShell/PowerShell

Steps to reproduce

(With Pwsh launched as elevated)

update-help 

Or

update-help -Module PSDesiredStateConfiguration -Verbose

Expected behavior

Update-help either updates or continues on

Actual behavior

update-help : Failed to update Help for the module(s) 'PSDesiredStateConfiguration' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)                                                                                                    At line:1 char:1                                                                                                                                          + update-help -Module PSDesiredStateConfiguration -Verbose                                                                                                + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.0-preview.4
PSEdition                      Core
GitCommitId                    7.0.0-preview.4
OS                             Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Current module info:

    Directory: /usr/local/microsoft/powershell/7-preview/Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------

Script     2.0.3                 PSDesiredStateConfiguration         Core      {Configuration, New-DscChecksum, Get-DscResource, Invoke-DscResource}

As it's a 404, I assume the help just doesn't exist (or manifest has a bad URL or something), but I'm not familiar enough w/ the source to track that down yet.

Issue-Question Resolution-Fixed WG-Interactive-HelpSystem

Most helpful comment

Also seeing the same for 7.0.2 on Ubuntu

PS /> update-help       
Update-Help: Failed to update Help for the module(s) 'PSDesiredStateConfiguration, ThreadJob' with UI culture(s) {en-GB} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).                                                                                                                                                                                        English-US help content is available and can be installed using: Update-Help -UICulture en-US.
PS /> $PSVersionTable                                                                                                                                                                                                                                                                                                                                                                                                           
Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Linux 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

All 10 comments

@sdwheeler Could you please comment the issue?

We aren't publishing help cabs for 7-preview yet.

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

Still seeing the same error on 7.0.1:

PS /Users/jmp> Update-Help
Update-Help: Failed to update Help for the module(s) 'PSDesiredStateConfiguration, ThreadJob' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).                                                                                          English-US help content is available and can be installed using: Update-Help -UICulture en-US.
PS /Users/jmp> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.1
PSEdition                      Core
GitCommitId                    7.0.1
OS                             Darwin 19.5.0 Darwin Kernel Version 19.5.0: Thu Apr 30 18:25:59 PDT 2020; root:xnu-6153.121.1~7/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Not sure if we can handle this on downlevel versions, but we should definitely get it fixed in an upcoming version giving the move to our new updateable help pipeline

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

still the same on 7.0.2

PS /> Update-Help -UICulture en-US
Update-Help: Failed to update Help for the module(s) 'PSDesiredStateConfiguration, ThreadJob' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).                      English-US help content is available and can be installed using: Update-Help -UICulture en-US. 
PS /> $PSVersionTable                                                                                                                                                                                                                                                     
Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Linux 5.6.16-1-MANJARO #1 SMP PREEMPT Wed Jun 3 14:26:28 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Also seeing the same for 7.0.2 on Ubuntu

PS /> update-help       
Update-Help: Failed to update Help for the module(s) 'PSDesiredStateConfiguration, ThreadJob' with UI culture(s) {en-GB} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).                                                                                                                                                                                        English-US help content is available and can be installed using: Update-Help -UICulture en-US.
PS /> $PSVersionTable                                                                                                                                                                                                                                                                                                                                                                                                           
Name                           Value
----                           -----
PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Linux 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

I found some errors with the module Guids in the markdown source for the help. Fixed the Guids. These modules should be fixed now.

Fixed!

Was this page helpful?
0 / 5 - 0 ratings