ioBroker.admin icon indicating copy to clipboard operation
ioBroker.admin copied to clipboard

[bug]: List of Adapters fails - TypeError: cannot create property 'rating' on string '<'

Open louisvangeldrop opened this issue 3 months ago • 11 comments

No existing issues.

  • [x] There is no existing issue for my problem.

Describe the bug

Cicking on the Adapters tab results in: Cannot get adapters info: TypeError: Cannot create property 'rating' on string '<'

To Reproduce

Start iOBroker Click the Adapters tab

Expected behavior

Overview of the installed/available Adapters

Screenshots & Logfiles

Image

Adapter version

admin 7.2.20

js-controller version

7.0.7

Node version

V23.11.1

Operating system

Debian Raspberry Pi5

Additional context

No response

louisvangeldrop avatar Dec 01 '25 22:12 louisvangeldrop

Just for Info - not sure if related to problem node 23 is NOT supported, please use node.js 22 or 24

mcm1957 avatar Dec 01 '25 22:12 mcm1957

Admin 7.2.20 is outdated. Please retest with current stable release 7.7.19 or newer

mcm1957 avatar Dec 01 '25 22:12 mcm1957

My mistake. The admin version is 7.7.20

louisvangeldrop avatar Dec 02 '25 07:12 louisvangeldrop

I am using node 23 already for a couple of months without any problems.

louisvangeldrop avatar Dec 02 '25 07:12 louisvangeldrop

In regards to your node version:

Node.js 23 was an intermediate development release and is EOL / out of any support since May 2025 and does not get any updates any more including security updates. See https://nodejs.org/en/about/previous-releases

You should use either the recommended node.js release node.js 22 or node.js 24 which both are supported currently.

mcm1957 avatar Dec 02 '25 08:12 mcm1957

Hey there I'm using Node.js v22.21.0 and have the same issue.

Edit: It seems to be the reporsitory "beta". If I change to "stable", the Adapterlist will work.

I switched to this repo: http://iobroker.live/repo/sources-dist-latest.json and it will work this one failed: http://download.iobroker.net/sources-dist-latest.json

Dickschieder avatar Dec 02 '25 09:12 Dickschieder

I am also running the beta-version

louisvangeldrop avatar Dec 02 '25 11:12 louisvangeldrop

@Dickschieder Thanks for Info. The official path would be http://download.iobroker.net/sources-dist-latest.json. Thsi url redirects to http://iobroker.live/repo/sources-dist-latest.json (currently). Target url might chnage at any time (last change occured yesterday). So consider changing back http://download.iobroker.net/sources-dist-latest.json after problems are solved.

@GermanBluefox Just to collect infos: No problem with admin 7.7.20 and url http://download.iobroker.net/sources-dist-latest.json here. node.js v20.19.1, js-controller 7.0.6

mcm1957 avatar Dec 02 '25 11:12 mcm1957

It works with the stable version

louisvangeldrop avatar Dec 02 '25 15:12 louisvangeldrop

Yesterday the redirect for http://download.iobroker.net/sources-dist-latest.json was changed from http://repo.iobroker.live/sources-dist-latest.json to http://iobroker.live/repo/sources-dist-latest.json. You should restart the system (not only ioBroker) so it forgets the permanent redirect. When you change the repo it will try to read another URL link and it redirects to a new one and because of it, it works.

GermanBluefox avatar Dec 02 '25 17:12 GermanBluefox

I did restart the system, but stil the same error with the beta-version

louisvangeldrop avatar Dec 02 '25 19:12 louisvangeldrop