Es scheint so, als wären Lizenzen (Retail max installation = 1) jedoch weiterhin geblockt. Zumindest kann ich auf weiteren Clients keine Lizenz mehr anfordern.
Ablauf:
Install auf Client A B C D und E .
Uninstall auf D und E.
Nun ist der Status Install auf X und Y wirft nun jeweils folgenden Fehler:
Code: Alles auswählen
JSON Bench for licenseOnClient_getOrCreateObject "params":["{{CLIENT DATA}}","p_wu Start: 08:54:26:471 Time: 00:00:00:004
(285) [3] [2025-06-18 08:54:26.475] [wufi] Error: retrieveJSONObject --- opsi service problem ----> {"message":"License configuration error: License pool 'p_wufi2d_de' not found","details":null,"class":"LicenseConfigurationError"}
(286) [3] [2025-06-18 08:54:26.475] [wufi] Received (first 512): {"id":1,"error":{"message":"License configuration error: License pool 'p_wufi2d_de' not found","class":"LicenseConfigurationError","details":null},"result":null}
(287) [3] [2025-06-18 08:54:26.475] [wufi] Error: Got no license key:
(288) [6] [2025-06-18 08:54:26.475] [wufi] The value of the variable "$LicenseKey$" is now: ""
Verwendete Sections
Code: Alles auswählen
[Sub_get_licensekey]
if opsiLicenseManagementEnabled
Set $LicenceCountry$ = getValue(GetproductProperty("wufi_licence_country", ""), $LicenceCountryList$)
; multiple pools for this product so we generate the license pool key here
Set $LicenseKeyVariable$ = "p_" + $temp_key$ + "_" + $LicenceCountry$
Set $LicenseKey$ = DemandLicenseKey($LicenseKeyVariable$)
Set $ServiceErrorClass$ = getLastServiceErrorClass
if $ServiceErrorClass$ = "LicenseConfigurationError"
LogError "Fatal: license configuration must be corrected"
LogError getLastServiceErrorMessage
isFatalError
else
if $ServiceErrorClass$ = "LicenseMissingError"
LogError "Fatal: required license is not supplied"
isFatalError
endif
endif
else
LogError "Fatal: license required, but license management not enabled"
isFatalError
endif
Code: Alles auswählen
[Sub_free_licensekey]
FreeLicense("p_wufi2d_de")
...