Windows 10 Upgrade - Error

Antworten
NicoKLM
Beiträge: 8
Registriert: 28 Jan 2022, 10:19

Windows 10 Upgrade - Error

Beitrag von NicoKLM »

Moin zusammen,

bin schon sehr lange am Suchen und komme einfach nicht dahinter - vlt bin ich auch einfach zu blöd.
Die Installation läuft soweit durch, dennoch kriege ich folgende Error:

(1951) [3] [2022-01-28 08:47:33.352] [windows10-upgrade] HTTPSender Post failed
(1952) [3] [2022-01-28 08:47:33.352] [windows10-upgrade] HTTPSender result: 0 msg:
(1983) [3] [2022-01-28 08:47:33.387] [windows10-upgrade] Error: Received no json object from opsiServiceCall_configState_getObjects
(2236) [3] [2022-01-28 08:47:34.254] [windows10-upgrade] Error: Received no json object from opsiServiceCall_configState_getObjects
(2257) [3] [2022-01-28 08:47:34.259] [windows10-upgrade] Error: Exception at jsonAsObjectHasKey with : "","_isGeneratedDefault"
(2262) [3] [2022-01-28 08:47:34.260] [windows10-upgrade] Error: Exception at jsonAsObjectHasKey with : "","ident"
(2267) [3] [2022-01-28 08:47:34.260] [windows10-upgrade] Error: Exception at jsonAsObjectSetValueByKey with: "","values","["0"]"
(2274) [3] [2022-01-28 08:47:34.282] [windows10-upgrade] Error: retrieveJSONObject --- opsi service problem ----> {"message":"'' is not a <class 'opsicommon.objects.ConfigState'>","details":null,"class":"ValueError"}
(2275) [3] [2022-01-28 08:47:34.282] [windows10-upgrade] Received (first 512): {"id":1,"result":null,"error":{"message":"'' is not a <class 'opsicommon.objects.ConfigState'>","class":"ValueError","details":null}}
(2276) [3] [2022-01-28 08:47:34.282] [windows10-upgrade] Error: -> {"message":"'' is not a <class 'opsicommon.objects.ConfigState'>","details":null,"class":"ValueError"}
(2312) [3] [2022-01-28 08:47:34.382] [windows10-upgrade] Error: Received no json object from opsiServiceCall_configState_getObjects
(2328) [3] [2022-01-28 08:47:34.385] [windows10-upgrade] Error: Failed to set the shutdown_warning_time to zero

Es geht bei allen Error wohl um die Shutdown_warning time (was ja nicht allzu schlimm scheint) aber ich hätte gerne eine Error-Freie, saubere Installation. Könnte mir jemand auf die Sprünge helfen? Danke
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Windows 10 Upgrade - Error

Beitrag von SisterOfMercy »

I think we need versions and more logs!
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
Der-Matze
uib-Team
Beiträge: 102
Registriert: 16 Mär 2009, 11:00

Re: Windows 10 Upgrade - Error

Beitrag von Der-Matze »

Moin Nico,

bitte mal mit der aktuellsten Version aus experimental testen:
https://download.uib.de/4.2/experimenta ... 1h2-1.opsi

Die aktuelle Version des Pakets benötigt diese opsi-client-agent und opsi-script Versionen:
https://download.uib.de/4.2/experimenta ... .20-1.opsi
https://download.uib.de/4.2/experimenta ... .35-7.opsi

MfG
Matze
NicoKLM
Beiträge: 8
Registriert: 28 Jan 2022, 10:19

Re: Windows 10 Upgrade - Error

Beitrag von NicoKLM »

Moin nochmal,

Hat leider bisher auch nicht funktioniert... scheint wohl nicht an die Registry dran zu kommen um den Wert auf für die ShutdownWarningTime auf 0 zu setzen, habe bisher immernoch keine Lösung.

Nach Stage 1 möchte er ja ein Neustart und dieser wird durch den Fehler halt auf 60 Minuten gesetzt

Hat vielleicht noch jemand eine Idee?
NicoKLM
Beiträge: 8
Registriert: 28 Jan 2022, 10:19

Re: Windows 10 Upgrade - Error

Beitrag von NicoKLM »

Hier dazu einmal die Logs auf Log-Level 7:

(24793) [6] [2022-02-11 09:06:58.488] [windows10-upgrade] ~~~~~~~ Start Sub ~~~~~~~ Sub_Prepare_AutoLogon
(24794) [5] [2022-02-11 09:06:58.530] [windows10-upgrade] comment: Reading the current AutoLogon and LastLoggedOnUser values for backup
(24795) [6] [2022-02-11 09:06:58.530] [windows10-upgrade] Set $AutoName$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultUserName", "SysNative")
(24796) [7] [2022-02-11 09:06:58.530] [windows10-upgrade] Registry started readonly
(24797) [7] [2022-02-11 09:06:58.530] [windows10-upgrade] Registry started without redirection (64 Bit)
(24798) [6] [2022-02-11 09:06:58.530] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] opened
(24799) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] Key closed
(24800) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] The value of the variable "$AutoName$" is now: "Test"
(24801) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] If
(24802) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] $AutoName$ = "opsiSetupUser" <<< result false
(24803) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] Then
(24804) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] Else
(24805) [6] [2022-02-11 09:06:58.531] [windows10-upgrade] Set $AutoPass$ = asConfidential(GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultPassword", "SysNative"))
(24806) [6] [2022-02-11 09:06:58.532] [windows10-upgrade] The value of the variable "$AutoPass$" is now: ""
(24807) [6] [2022-02-11 09:06:58.532] [windows10-upgrade] Set $AutoDom$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "DefaultDomainName", "SysNative")
(24808) [7] [2022-02-11 09:06:58.532] [windows10-upgrade] Registry started readonly
(24809) [7] [2022-02-11 09:06:58.532] [windows10-upgrade] Registry started without redirection (64 Bit)
(24810) [6] [2022-02-11 09:06:58.532] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] opened
(24811) [6] [2022-02-11 09:06:58.532] [windows10-upgrade] Key closed
(24812) [6] [2022-02-11 09:06:58.532] [windows10-upgrade] The value of the variable "$AutoDom$" is now: ""
(24813) [6] [2022-02-11 09:06:58.532] [windows10-upgrade] Set $AutoLogon$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "AutoAdminLogon", "SysNative")
(24814) [7] [2022-02-11 09:06:58.533] [windows10-upgrade] Registry started readonly
(24815) [7] [2022-02-11 09:06:58.533] [windows10-upgrade] Registry started without redirection (64 Bit)
(24816) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] opened
(24817) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] Key closed
(24818) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] The value of the variable "$AutoLogon$" is now: "0"
(24819) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] EndIf
(24820) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] Set $LastLogon$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI", "LastLoggedOnUser", "SysNative")
(24821) [7] [2022-02-11 09:06:58.533] [windows10-upgrade] Registry started readonly
(24822) [7] [2022-02-11 09:06:58.533] [windows10-upgrade] Registry started without redirection (64 Bit)
(24823) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI] opened
(24824) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] Key closed
(24825) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] The value of the variable "$LastLogon$" is now: ".\Test"
(24826) [6] [2022-02-11 09:06:58.533] [windows10-upgrade] Set $LastLoggedOnSAMUser$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI", "LastLoggedOnSAMUser", "SysNative")
(24827) [7] [2022-02-11 09:06:58.537] [windows10-upgrade] Registry started readonly
(24828) [7] [2022-02-11 09:06:58.538] [windows10-upgrade] Registry started without redirection (64 Bit)
(24829) [6] [2022-02-11 09:06:58.538] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI] opened
(24830) [6] [2022-02-11 09:06:58.538] [windows10-upgrade] Key closed
(24831) [6] [2022-02-11 09:06:58.538] [windows10-upgrade] The value of the variable "$LastLoggedOnSAMUser$" is now: ".\Test"
(24832) [5] [2022-02-11 09:06:58.538] [windows10-upgrade] comment: Backing up the current AutoLogon and LastLoggedOnUser values
(24833) [5] [2022-02-11 09:06:58.539] [windows10-upgrade] Execution of: Registry_Backup_AutoLogon /32bit
(24834) [5] [2022-02-11 09:06:58.539] [windows10-upgrade]
(24835) [7] [2022-02-11 09:06:58.539] [windows10-upgrade] Registry started with redirection (32 Bit)
(24836) [7] [2022-02-11 09:06:58.539] [windows10-upgrade] Key is: HKLM\SOFTWARE\opsi.org\winst\windows10-upgrade\AutoLogonBackup
(24837) [6] [2022-02-11 09:06:58.539] [windows10-upgrade] Registry key [HKLM\SOFTWARE\opsi.org\winst\windows10-upgrade\AutoLogonBackup] created
(24838) [6] [2022-02-11 09:06:58.539] [windows10-upgrade] Variable "DefaultUserName" set to "Test"
(24839) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] Variable "DefaultPassword" set to ""
(24840) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] Variable "DefaultDomainName" set to ""
(24841) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] Variable "AutoAdminLogon" set to "0"
(24842) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] Variable "LastLogon" set to ".\Test"
(24843) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] Variable "LastLoggedOnSAMUser" set to ".\Test"
(24844) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] Key closed
(24845) [5] [2022-02-11 09:06:58.540] [windows10-upgrade] comment: Determining if UAC needs to be disabled
(24846) [6] [2022-02-11 09:06:58.540] [windows10-upgrade] If
(24847) [6] [2022-02-11 09:06:58.541] [windows10-upgrade] $DisableUAC$ = "true" <<< result true
(24848) [6] [2022-02-11 09:06:58.541] [windows10-upgrade] Then
(24849) [5] [2022-02-11 09:06:58.541] [windows10-upgrade] comment: Backing up the current UAC values
(24850) [6] [2022-02-11 09:06:58.541] [windows10-upgrade] Set $BackupConsentPromptBehaviorAdmin$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "ConsentPromptBehaviorAdmin", "SysNative")
(24851) [7] [2022-02-11 09:06:58.542] [windows10-upgrade] Registry started readonly
(24852) [7] [2022-02-11 09:06:58.542] [windows10-upgrade] Registry started without redirection (64 Bit)
(24853) [6] [2022-02-11 09:06:58.542] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] opened
(24854) [6] [2022-02-11 09:06:58.542] [windows10-upgrade] Key closed
(24855) [6] [2022-02-11 09:06:58.542] [windows10-upgrade] The value of the variable "$BackupConsentPromptBehaviorAdmin$" is now: "0"
(24856) [6] [2022-02-11 09:06:58.542] [windows10-upgrade] Set $BackupEnableInstallerDetection$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "EnableInstallerDetection", "SysNative")
(24857) [7] [2022-02-11 09:06:58.543] [windows10-upgrade] Registry started readonly
(24858) [7] [2022-02-11 09:06:58.543] [windows10-upgrade] Registry started without redirection (64 Bit)
(24859) [6] [2022-02-11 09:06:58.543] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] opened
(24860) [6] [2022-02-11 09:06:58.543] [windows10-upgrade] Key closed
(24861) [6] [2022-02-11 09:06:58.543] [windows10-upgrade] The value of the variable "$BackupEnableInstallerDetection$" is now: "1"
(24862) [6] [2022-02-11 09:06:58.543] [windows10-upgrade] Set $BackupEnableLUA$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "EnableLUA", "SysNative")
(24863) [7] [2022-02-11 09:06:58.543] [windows10-upgrade] Registry started readonly
(24864) [7] [2022-02-11 09:06:58.544] [windows10-upgrade] Registry started without redirection (64 Bit)
(24865) [6] [2022-02-11 09:06:58.544] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] opened
(24866) [6] [2022-02-11 09:06:58.544] [windows10-upgrade] Key closed
(24867) [6] [2022-02-11 09:06:58.544] [windows10-upgrade] The value of the variable "$BackupEnableLUA$" is now: "0"
(24868) [6] [2022-02-11 09:06:58.544] [windows10-upgrade] Set $BackupEnableVirtualization$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "EnableVirtualization", "SysNative")
(24869) [7] [2022-02-11 09:06:58.544] [windows10-upgrade] Registry started readonly
(24870) [7] [2022-02-11 09:06:58.544] [windows10-upgrade] Registry started without redirection (64 Bit)
(24871) [6] [2022-02-11 09:06:58.544] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] opened
(24872) [6] [2022-02-11 09:06:58.545] [windows10-upgrade] Key closed
(24873) [6] [2022-02-11 09:06:58.545] [windows10-upgrade] The value of the variable "$BackupEnableVirtualization$" is now: "1"
(24874) [6] [2022-02-11 09:06:58.545] [windows10-upgrade] Set $BackupPromptOnSecureDesktop$ = GetRegistryValue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "PromptOnSecureDesktop", "SysNative")
(24875) [7] [2022-02-11 09:06:58.545] [windows10-upgrade] Registry started readonly
(24876) [7] [2022-02-11 09:06:58.545] [windows10-upgrade] Registry started without redirection (64 Bit)
(24877) [6] [2022-02-11 09:06:58.545] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] opened
(24878) [6] [2022-02-11 09:06:58.545] [windows10-upgrade] Key closed
(24879) [6] [2022-02-11 09:06:58.545] [windows10-upgrade] The value of the variable "$BackupPromptOnSecureDesktop$" is now: "0"
(24880) [5] [2022-02-11 09:06:58.547] [windows10-upgrade] Execution of: Registry_Backup_UAC /32bit
(24881) [5] [2022-02-11 09:06:58.547] [windows10-upgrade]
(24882) [7] [2022-02-11 09:06:58.547] [windows10-upgrade] Registry started with redirection (32 Bit)
(24883) [7] [2022-02-11 09:06:58.547] [windows10-upgrade] Key is: HKLM\SOFTWARE\opsi.org\winst\windows10-upgrade\AutoLogonBackup
(24884) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Registry key [HKLM\SOFTWARE\opsi.org\winst\windows10-upgrade\AutoLogonBackup] opened
(24885) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Variable "ConsentPromptBehaviorAdmin" set to "0"
(24886) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Variable "EnableInstallerDetection" set to "1"
(24887) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Variable "EnableLUA" set to "0"
(24888) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Variable "EnableVirtualization" set to "1"
(24889) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Variable "PromptOnSecureDesktop" set to "0"
(24890) [6] [2022-02-11 09:06:58.547] [windows10-upgrade] Key closed
(24891) [5] [2022-02-11 09:06:58.548] [windows10-upgrade] comment: Disabling UAC
(24892) [5] [2022-02-11 09:06:58.549] [windows10-upgrade] Execution of: Registry_Disable_UAC /SysNative
(24893) [5] [2022-02-11 09:06:58.549] [windows10-upgrade]
(24894) [7] [2022-02-11 09:06:58.549] [windows10-upgrade] Registry started without redirection (64 Bit)
(24895) [7] [2022-02-11 09:06:58.549] [windows10-upgrade] Key is: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
(24896) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] opened
(24897) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Variable "ConsentPromptBehaviorAdmin" is keeping its value "0"
(24898) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Variable "EnableInstallerDetection" is keeping its value "1"
(24899) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Variable "EnableLUA" is keeping its value "0"
(24900) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Variable "EnableVirtualization" is keeping its value "1"
(24901) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Variable "PromptOnSecureDesktop" is keeping its value "0"
(24902) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Key closed
(24903) [6] [2022-02-11 09:06:58.549] [windows10-upgrade] Else
(24904) [6] [2022-02-11 09:06:58.550] [windows10-upgrade] EndIf
(24905) [5] [2022-02-11 09:06:58.550] [windows10-upgrade] comment: Backing up the current shutdown_warning_time
(24906) [5] [2022-02-11 09:06:58.551] [windows10-upgrade] Execution of: OpsiServiceCall_setOption_addConfigStateDefaults_true
(24907) [5] [2022-02-11 09:06:58.551] [windows10-upgrade]
(24908) [6] [2022-02-11 09:06:58.551] [windows10-upgrade] "method": "backend_setOptions"
(24909) [6] [2022-02-11 09:06:58.551] [windows10-upgrade] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(24910) [6] [2022-02-11 09:06:58.566] [windows10-upgrade] JSON Bench for backend_setOptions "params":[{"addConfigStateDefaults":true}],"id":1} Start: 09:06:58:551 Time: 00:00:00:015
(24911) [6] [2022-02-11 09:06:58.566] [windows10-upgrade] JSON result:
(24912) [6] [2022-02-11 09:06:58.567] [windows10-upgrade]
(24913) [6] [2022-02-11 09:06:58.567] [windows10-upgrade] ~~~~~~~ Start Sub ~~~~~~~ Sub_Determine_Shutdown_Warning_Time
(24914) [6] [2022-02-11 09:06:58.609] [windows10-upgrade] Set $opsiServiceCallParameter$ = '{"configId":"opsiclientd.event_software_on_demand.shutdown_warning_time","objectId":"kmpc88.klm.local"}'
(24915) [6] [2022-02-11 09:06:58.609] [windows10-upgrade] The value of the variable "$opsiServiceCallParameter$" is now: "{"configId":"opsiclientd.event_software_on_demand.shutdown_warning_time","objectId":"kmpc88.klm.local"}"
(24916) [6] [2022-02-11 09:06:58.609] [windows10-upgrade] Set $ResultList$ = getReturnListFromSection("opsiServiceCall_configState_getObjects")
(24917) [5] [2022-02-11 09:06:58.610] [windows10-upgrade]
(24918) [6] [2022-02-11 09:06:58.610] [windows10-upgrade] "method": "configState_getObjects"
(24919) [6] [2022-02-11 09:06:58.611] [windows10-upgrade] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(24920) [6] [2022-02-11 09:06:58.656] [windows10-upgrade] JSON Bench for configState_getObjects "params":[[],{"configId":"opsiclientd.event_softwa Start: 09:06:58:610 Time: 00:00:00:046
(24921) [6] [2022-02-11 09:06:58.656] [windows10-upgrade] JSON result: []
(24922) [7] [2022-02-11 09:06:58.656] [windows10-upgrade] The value of the variable "$ResultList$" is now:
(24923) [7] [2022-02-11 09:06:58.656] [windows10-upgrade] (string 0)[]
(24924) [6] [2022-02-11 09:06:58.656] [windows10-upgrade] Set $opsiServiceCallParameter$ = ""
(24925) [6] [2022-02-11 09:06:58.660] [windows10-upgrade] The value of the variable "$opsiServiceCallParameter$" is now: ""
(24926) [6] [2022-02-11 09:06:58.660] [windows10-upgrade] Set $JsonStr$ = takeString(0, $ResultList$)
(24927) [6] [2022-02-11 09:06:58.660] [windows10-upgrade] The value of the variable "$JsonStr$" is now: "[]"
(24928) [6] [2022-02-11 09:06:58.660] [windows10-upgrade] Set $ResultList$ = emptylist($ResultList$)
(24929) [7] [2022-02-11 09:06:58.660] [windows10-upgrade] The value of the variable "$ResultList$" is now:
(24930) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] If
(24931) [7] [2022-02-11 09:06:58.661] [windows10-upgrade] jsonIsValid($JsonStr$) <<< result true
(24932) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] NOT (jsonIsValid($JsonStr$)) <<< result false
(24933) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] Then
(24934) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] Else
(24935) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] If
(24936) [7] [2022-02-11 09:06:58.661] [windows10-upgrade] jsonIsArray($JsonStr$) <<< result true
(24937) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] NOT (jsonIsArray($JsonStr$)) <<< result false
(24938) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] Then
(24939) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] Else
(24940) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] Set $configStateObj$ = jsonAsArrayGetElementByIndex($JsonStr$, "0")
(24941) [6] [2022-02-11 09:06:58.661] [windows10-upgrade] The value of the variable "$configStateObj$" is now: ""
(24942) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] If
(24943) [7] [2022-02-11 09:06:58.662] [windows10-upgrade] jsonIsObject($configStateObj$) <<< result false
(24944) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] NOT (jsonIsObject($configStateObj$)) <<< result true
(24945) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] Then
(24946) [3] [2022-02-11 09:06:58.662] [windows10-upgrade] Error: Received no json object from opsiServiceCall_configState_getObjects
(24947) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] Else
(24948) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] EndIf
(24949) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] EndIf
(24950) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] EndIf
(24951) [6] [2022-02-11 09:06:58.662] [windows10-upgrade]
(24952) [6] [2022-02-11 09:06:58.662] [windows10-upgrade] ~~~~~~~ End Sub ~~~~~~~ Sub_Determine_Shutdown_Warning_Time
(24953) [6] [2022-02-11 09:06:58.662] [windows10-upgrade]
(24954) [6] [2022-02-11 09:06:58.663] [windows10-upgrade] Set $ShutdownWarningTimeBackup$ = $Result$
(24955) [6] [2022-02-11 09:06:58.664] [windows10-upgrade] The value of the variable "$ShutdownWarningTimeBackup$" is now: ""
(24956) [6] [2022-02-11 09:06:58.664] [windows10-upgrade] Set $Result$ = ""
(24957) [6] [2022-02-11 09:06:58.665] [windows10-upgrade] The value of the variable "$Result$" is now: ""
(24958) [5] [2022-02-11 09:06:58.666] [windows10-upgrade] Execution of: Registry_Backup_Shutdown_Warning_Time /32bit
(24959) [5] [2022-02-11 09:06:58.666] [windows10-upgrade]
(24960) [7] [2022-02-11 09:06:58.666] [windows10-upgrade] Registry started with redirection (32 Bit)
(24961) [7] [2022-02-11 09:06:58.666] [windows10-upgrade] Key is: HKLM\SOFTWARE\opsi.org\winst\windows10-upgrade
(24962) [6] [2022-02-11 09:06:58.666] [windows10-upgrade] Registry key [HKLM\SOFTWARE\opsi.org\winst\windows10-upgrade] opened
(24963) [6] [2022-02-11 09:06:58.666] [windows10-upgrade] Variable "ShutdownWarningTimeBackup" set to ""
(24964) [6] [2022-02-11 09:06:58.666] [windows10-upgrade] Key closed
(24965) [5] [2022-02-11 09:06:58.666] [windows10-upgrade] comment: Setting the shutdown_warning_time to zero
(24966) [6] [2022-02-11 09:06:58.666] [windows10-upgrade] If
(24967) [3] [2022-02-11 09:06:58.668] [windows10-upgrade] Error: Exception at jsonAsObjectHasKey with : "","_isGeneratedDefault"
(24968) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] jsonAsObjectHasKey($configStateObj$, "_isGeneratedDefault") <<< result false
(24969) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] Then
(24970) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] EndIf
(24971) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] If
(24972) [3] [2022-02-11 09:06:58.668] [windows10-upgrade] Error: Exception at jsonAsObjectHasKey with : "","ident"
(24973) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] jsonAsObjectHasKey($configStateObj$, "ident") <<< result false
(24974) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] Then
(24975) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] EndIf
(24976) [6] [2022-02-11 09:06:58.668] [windows10-upgrade] Set $configStateObj$ = jsonAsObjectSetValueByKey($configStateObj$, "values", '["0"]')
(24977) [3] [2022-02-11 09:06:58.669] [windows10-upgrade] Error: Exception at jsonAsObjectSetValueByKey with: "","values","["0"]"
(24978) [6] [2022-02-11 09:06:58.669] [windows10-upgrade] The value of the variable "$configStateObj$" is now: ""
(24979) [5] [2022-02-11 09:06:58.670] [windows10-upgrade] Execution of: OpsiServiceCall_Set_Shutdown_Warning_Time
(24980) [5] [2022-02-11 09:06:58.670] [windows10-upgrade]
(24981) [6] [2022-02-11 09:06:58.670] [windows10-upgrade] "method": "configState_insertObject"
(24982) [6] [2022-02-11 09:06:58.670] [windows10-upgrade] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(24983) [6] [2022-02-11 09:06:58.694] [windows10-upgrade] JSON Bench for configState_insertObject "params":[""],"id":1} Start: 09:06:58:670 Time: 00:00:00:024
(24984) [3] [2022-02-11 09:06:58.694] [windows10-upgrade] Error: retrieveJSONObject --- opsi service problem ----> {"message":"'' is not a <class 'opsicommon.objects.ConfigState'>","details":null,"class":"ValueError"}
(24985) [3] [2022-02-11 09:06:58.694] [windows10-upgrade] Received (first 512): {"id":1,"result":null,"error":{"message":"'' is not a <class 'opsicommon.objects.ConfigState'>","class":"ValueError","details":null}}
(24986) [3] [2022-02-11 09:06:58.694] [windows10-upgrade] Error: -> {"message":"'' is not a <class 'opsicommon.objects.ConfigState'>","details":null,"class":"ValueError"}
(24987) [5] [2022-02-11 09:06:58.694] [windows10-upgrade] comment: Testing if the shutdown_warning_time was set to zero
(24988) [6] [2022-02-11 09:06:58.695] [windows10-upgrade]
(24989) [6] [2022-02-11 09:06:58.695] [windows10-upgrade] ~~~~~~~ Start Sub ~~~~~~~ Sub_Determine_Shutdown_Warning_Time
(24990) [6] [2022-02-11 09:06:58.737] [windows10-upgrade] Set $opsiServiceCallParameter$ = '{"configId":"opsiclientd.event_software_on_demand.shutdown_warning_time","objectId":"kmpc88.klm.local"}'
(24991) [6] [2022-02-11 09:06:58.742] [windows10-upgrade] The value of the variable "$opsiServiceCallParameter$" is now: "{"configId":"opsiclientd.event_software_on_demand.shutdown_warning_time","objectId":"kmpc88.klm.local"}"
(24992) [6] [2022-02-11 09:06:58.742] [windows10-upgrade] Set $ResultList$ = getReturnListFromSection("opsiServiceCall_configState_getObjects")
(24993) [5] [2022-02-11 09:06:58.742] [windows10-upgrade]
(24994) [6] [2022-02-11 09:06:58.742] [windows10-upgrade] "method": "configState_getObjects"
(24995) [6] [2022-02-11 09:06:58.742] [windows10-upgrade] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(24996) [6] [2022-02-11 09:06:58.783] [windows10-upgrade] JSON Bench for configState_getObjects "params":[[],{"configId":"opsiclientd.event_softwa Start: 09:06:58:742 Time: 00:00:00:041
(24997) [6] [2022-02-11 09:06:58.783] [windows10-upgrade] JSON result: []
(24998) [7] [2022-02-11 09:06:58.783] [windows10-upgrade] The value of the variable "$ResultList$" is now:
(24999) [7] [2022-02-11 09:06:58.783] [windows10-upgrade] (string 0)[]
(25000) [6] [2022-02-11 09:06:58.783] [windows10-upgrade] Set $opsiServiceCallParameter$ = ""
(25001) [6] [2022-02-11 09:06:58.783] [windows10-upgrade] The value of the variable "$opsiServiceCallParameter$" is now: ""
(25002) [6] [2022-02-11 09:06:58.783] [windows10-upgrade] Set $JsonStr$ = takeString(0, $ResultList$)
(25003) [6] [2022-02-11 09:06:58.783] [windows10-upgrade] The value of the variable "$JsonStr$" is now: "[]"
(25004) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] Set $ResultList$ = emptylist($ResultList$)
(25005) [7] [2022-02-11 09:06:58.784] [windows10-upgrade] The value of the variable "$ResultList$" is now:
(25006) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] If
(25007) [7] [2022-02-11 09:06:58.784] [windows10-upgrade] jsonIsValid($JsonStr$) <<< result true
(25008) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] NOT (jsonIsValid($JsonStr$)) <<< result false
(25009) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] Then
(25010) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] Else
(25011) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] If
(25012) [7] [2022-02-11 09:06:58.784] [windows10-upgrade] jsonIsArray($JsonStr$) <<< result true
(25013) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] NOT (jsonIsArray($JsonStr$)) <<< result false
(25014) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] Then
(25015) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] Else
(25016) [6] [2022-02-11 09:06:58.784] [windows10-upgrade] Set $configStateObj$ = jsonAsArrayGetElementByIndex($JsonStr$, "0")
(25017) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] The value of the variable "$configStateObj$" is now: ""
(25018) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] If
(25019) [7] [2022-02-11 09:06:58.785] [windows10-upgrade] jsonIsObject($configStateObj$) <<< result false
(25020) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] NOT (jsonIsObject($configStateObj$)) <<< result true
(25021) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] Then
(25022) [3] [2022-02-11 09:06:58.785] [windows10-upgrade] Error: Received no json object from opsiServiceCall_configState_getObjects
(25023) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] Else
(25024) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] EndIf
(25025) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] EndIf
(25026) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] EndIf
(25027) [6] [2022-02-11 09:06:58.785] [windows10-upgrade]
(25028) [6] [2022-02-11 09:06:58.785] [windows10-upgrade] ~~~~~~~ End Sub ~~~~~~~ Sub_Determine_Shutdown_Warning_Time
(25029) [6] [2022-02-11 09:06:58.785] [windows10-upgrade]
(25030) [6] [2022-02-11 09:06:58.786] [windows10-upgrade] Set $ShutdownWarningTime$ = $Result$
(25031) [6] [2022-02-11 09:06:58.787] [windows10-upgrade] The value of the variable "$ShutdownWarningTime$" is now: ""
(25032) [6] [2022-02-11 09:06:58.788] [windows10-upgrade] Set $Result$ = ""
(25033) [6] [2022-02-11 09:06:58.788] [windows10-upgrade] The value of the variable "$Result$" is now: ""
(25034) [6] [2022-02-11 09:06:58.788] [windows10-upgrade] If
(25035) [6] [2022-02-11 09:06:58.788] [windows10-upgrade] $ShutdownWarningTime$ = "0" <<< result false
(25036) [6] [2022-02-11 09:06:58.788] [windows10-upgrade] Then
(25037) [6] [2022-02-11 09:06:58.788] [windows10-upgrade] Else
(25038) [3] [2022-02-11 09:06:58.789] [windows10-upgrade] Error: Failed to set the shutdown_warning_time to zero
(25039) [6] [2022-02-11 09:06:58.789] [windows10-upgrade] EndIf
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Windows 10 Upgrade - Error

Beitrag von SisterOfMercy »

What os packages and opsi packages do you have installed?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
NicoKLM
Beiträge: 8
Registriert: 28 Jan 2022, 10:19

Re: Windows 10 Upgrade - Error

Beitrag von NicoKLM »

Actually nothing, except for the opsi-client-agent

We have a Domain with about 100 Computers, but I've tried the update on a "local" naked Win10-Computer - so no Group Policies take effect.

It just seems like it doesnt get the ShutDownWarning_Time to 0, but im still questioning - WHY??! :x

I've deactivated a few Messages which show up when the Update starts.. for example the "User Control Message" which says "a Restart is needed".
But this wasnt the solution - What could be the problem here?....
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Windows 10 Upgrade - Error

Beitrag von SisterOfMercy »

NicoKLM hat geschrieben: 14 Feb 2022, 10:33 Actually nothing, except for the opsi-client-agent
Uhmm? What is the output of: opsi-package-manager -l

And with the os packages I meant the packages from opsi that were installed with the package manager of the os, such as apt or yum.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
NicoKLM
Beiträge: 8
Registriert: 28 Jan 2022, 10:19

Re: Windows 10 Upgrade - Error

Beitrag von NicoKLM »

Good Morning,

Here is the output from that command:

roduct ID Version Name
===========================================================================
activate-win 1.0-9 Windows Activati
alma8 4.2.0.2-5 Alma Linux 8 64B
centos70 4.2.0.2-5 CentOS Linux 7 6
centos8 4.2.0.2-5 CentOS Linux 8 6
config-win-base 4.0.1-1 Windows Customiz
config-win10 4.1.2-2 Configure Window
config-win81-desktop 4.0.5-3 Windows Customiz
debian 4.2.0.2-1 Linux Debian 32
debian10 4.2.0.1-6 Linux Debian 10
debian11 4.2.0.1-6 Linux Debian 11
debian9 4.2.0.1-6 Linux Debian 9
hwaudit 4.2.0.0-1 Client Hardwarei
hwinvent 4.1.0.1-3 Hardware Inventa
jedit 5.5.0-6 jEdit programmer
l-debuntu-upgrade 4.2.0.0-4 Debian / Ubuntu
l-desktop 4.2.0.1-1 Desktop for Linu
l-opsi-client-kiosk 4.1.1.11-3 l-opsi-client-ki
l-opsi-server 4.2.0.5-2 Installs opsi
l-opsi-server-migrate 4.2.3-8 Migrate to opsi
l-opsi-server-register-depot 4.1.0.2-2 Register opsi se
l-os-postinst 4.0.5.1-4 Linux post booti
l-ssh-root-login 1.0-3 l-ssh-root-login
l-system-update 4.1.0.0-5 Linux System Upd
l-virtualbox 5.1-1 l-virtualbox
memtest86 5.01-2 Memtest86+
mint20-1 4.2.0.1-4 Linux Mint 20-1
mint20-2 4.2.0.1-4 Linux Mint 20-2
networklocation 4.2.0.0-1 networklocation
opensusel15 4.1.0.1-1 OpenSuse Leap 15
opensusel15-1 4.1.0.3-2 OpenSuse Leap 15
opensusel15-2 4.2.0.1-6 OpenSuse Leap 15
opensusel15-3 4.2.0.1-6 OpenSuse Leap 15
opsi-auto-update 4.2.0.1-1 opsi-auto-update
opsi-client-agent 4.2.0.20-2 opsi.org client
opsi-client-kiosk 4.1.1.11-10 Opsi Client Kios
opsi-clonezilla 4.2.0.0-1 Clonezilla over
opsi-configed 4.1.9.11.1-1 opsi configed
opsi-linux-client-agent 4.2.0.14-1 opsi.org client
opsi-logviewer 3.1-9 opsi logfile vie
opsi-script 4.12.4.35-7 script
opsi-script-beautifier 4.2.0.2-1 opsi-script-beau
opsi-script-test 4.12.4.31-1 opsi-script test
opsi-setup-detector 4.2.0.8-2 opsi-setup-detec
opsi-template 4.0.6-1 opsi template pr
opsi-template-with-admin 4.1.0.0-4 opsi template fo
opsi-template-with-userlogin 4.1.1.3-1 opsi template fo
opsi-uefi-netboot 4.2.0.0-1 opsi-uefi-netboo
opsi-wan-config-off 4.1.0-1 opsi-wan-config-
opsi-wan-config-on 4.1.0-1 opsi-wan-config-
opsi-wim-capture 4.2.0.1-8 opsi-wim-capture
opsi-wim-delete 4.1.0.1-1 opsi-wim-delete
opsi-wim-info 4.0.7.2-1 opsi-wim-info
opsi-winpe 4.1.0-1 WinPE patching t
opsi-winst 4.12.4.35-7 winst
opsipackagebuilder_wlm 8.4.5-3 opsiPackageBuild
redhat70 4.2.0.2-5 RedHat Enterpris
redhat8 4.2.0.2-5 RedHat Enterpris
rocky8 4.2.0.2-5 Rocky Linux 8 64
shutdownwanted 1.0-8 shutdown wanted
sles12 4.2.0.1-2 SuSE Linux Enter
sles12sp1 4.2.0.1-3 SuSE Linux Enter
sles12sp2 4.2.0.1-3 SuSE Linux Enter
sles12sp3 4.2.0.1-6 SuSE Linux Enter
sles12sp4 4.2.0.1-6 SuSE Linux Enter
sles12sp5 4.2.0.1-6 SuSE Linux Enter
sles15-1 4.2.0.1-6 SuSE Linux Enter
sles15-2 4.2.0.1-6 SuSE Linux Enter
sles15-3 4.2.0.1-6 SuSE Linux Enter
swaudit 4.2.0.0-1 Client Software
ubuntu 4.2.0.2-1 Linux Ubuntu 32
ubuntu18-04 4.2.0.1-7 Linux Ubuntu 18-
ubuntu20-04 4.2.0.1-7 Linux Ubuntu 20-
ucs44 4.2.0.1-5 Univention Corpo
win10 4.2.0.1-7 Windows 10
win10-captured 4.2.0.1-7 Windows 10
win10-sysprep-app-update-blocker 4.2.0.0-1 win10-sysprep-ap
win10-x64 4.2.0.1-7 Windows 10 x64
win10-x64-captured 4.2.0.1-7 Windows 10 x64
win11-x64 4.2.0.1-7 Windows 11 x64
win11-x64-captured 4.2.0.1-7 Windows 11 x64
win2008-r2 4.2.0.1-7 Windows Server 2
win2012 4.2.0.1-7 Windows Server 2
win2012-r2 4.2.0.1-7 Windows Server 2
win2016 4.2.0.1-7 Windows Server 2
win2019 4.2.0.1-7 Windows Server 2
win2022 4.2.0.1-7 Windows Server 2
win7 4.2.0.1-7 Windows 7 - x86
win7-captured 4.2.0.1-7 Windows 7 - x86
win7-x64 4.2.0.1-7 Windows 7 - x64
win7-x64-captured 4.2.0.1-7 Windows 7 - x64
win81 4.2.0.1-7 Windows
win81-captured 4.2.0.1-7 Windows
win81-x64 4.2.0.1-7 Windows
win81-x64-captured 4.2.0.1-7 Windows
windomain 2.1-1 Join NT/AD Domai
windows10-upgrade 21h1-1 Windows 10 Upgra
wipedisk 2.2-1 Festplatte oder

I've Installed all that packages by: opsi-package-updater -v install or smth like that

Maybe its not an real opsi-problem? Maybe Windows is blocking something? But I've tested it on a default naked Win10-Image so it doesnt make sense to me......why is it working for everybody else then? :(

Would it be a better solution to reinstall opsi and ubuntu?..
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Windows 10 Upgrade - Error

Beitrag von SisterOfMercy »

Oh, good, so you do have other packages such as opsi-script available.
NicoKLM hat geschrieben: 16 Feb 2022, 09:29 windows10-upgrade 21h1-1 Windows 10 Upgra
Uhm, as this is not the version from experimental, how did you try that one then?
NicoKLM hat geschrieben: 16 Feb 2022, 09:29 Would it be a better solution to reinstall opsi and ubuntu?..
No, definitely not.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten