[jsonConfig]: admin has an invalid jsonConfig
No existing issues.
- [x] There is no existing issue for my request.
Problem location
ioBroker Log
Warning message
After editing admin instance settings:
2025-05-09 13:15:18.611 - warn: admin.0 (1744754) admin has an invalid jsonConfig: [{"instancePath":"/items/loadingTab/items/loading-bg.png/accept","schemaPath":"#/patternProperties/%5E.%2B/allOf/10/then/properties/accept/type","keyword":"type","params":{"type":"object"},"message":"must be object"},{"instancePath":"/items/loadingTab","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/9/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
Source link
https://github.com/ioBroker/ioBroker.admin/blob/d64077fb7249005a1253de90eb54d0d84f019679/packages/admin/admin/jsonConfig.json5#L201
Additional information
admin: <=7.6.17 js-controller: 7.0.7 nodejs: 20.19.1
EDIT/mcm1957: Sourcelink added
@Diginix Does the problem still occure with current admin verion (7.6.17?) You specify <= 7.6.17 - not sure if <= is corre t or a typo.
Yes, my log today is from admin 7.6.17. I was changing the session timeout seconds. But it isn't new with 7.6.17. That's why I wrote <=7.6.17 ;)
Ok, but then I would expect >=7.6.7 :-) Thanks for reporting anyway.
@GermanBluefox
Sees to releate to componetn IMAGE here: https://github.com/ioBroker/ioBroker.admin/blob/d64077fb7249005a1253de90eb54d0d84f019679/packages/admin/admin/jsonConfig.json5#L201
According to documentation an OBJECT is required, but jsonCofnig specifies a string https://github.com/ioBroker/ioBroker.admin/blob/master/packages/jsonConfig/README.md#image
So either jsonConfig.json5 must be corrected OR schema and documentation need an update if a plain string should be ok too.
@Diginix please check if issue is fixed
@Feuer-sturm I just checked it with Admin version 7.7.2 and the error still occurs:
admin.0 | 2025-09-12 12:27:36.237 | warn | admin has an invalid jsonConfig: [{"instancePath":"/items/loginTab/items/login-bg.png/accept","schemaPath":"#/patternProperties/%5E.%2B/allOf/10/then/properties/accept/type","keyword":"type","params":{"type":"object"},"message":"must be object"},{"instancePath":"/items/loginTab","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/9/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
pls reopen
Thank you v7.7.19 solve the issue 👍