NEWS
Node.js update
-
@ap2017 sagte in Node.js update:
npm ERR! code 6 npm ERR! path /opt/iobroker/node_modules/iobroker.vis npm ERR! command failed npm ERR! command sh -c -- node main.js --installThe broken vis install blocks any other npm actions.
Tryiobroker upgrade vis@1.4.10Restore your backup again.
And avoid the beta Repository!@thomas-braun said in Node.js update:
Restore your backup again.
What do you mean by "Restore your backup again."? I did not do nor restore backup
-
@thomas-braun said in Node.js update:
Restore your backup again.
What do you mean by "Restore your backup again."? I did not do nor restore backup
I thought you did change your operating system?
-
I thought you did change your operating system?
@thomas-braun Not yet, it will take me a while
-
@thomas-braun Not yet, it will take me a while
Then take your time and come again when done.
-
- Assuming that I have to delete VIS adapter and add it back. Will all my screens stay in the system?
- Tried this, did not help.
iob stop iob fix iob startHere is detailed error message
$ ./iobroker upgrade echarts Update echarts from @1.4.15 to @1.5.1 NPM version: 8.19.4 Installing iobroker.echarts@1.5.1... (System call) ERROR: npm ERR! code 6npm ERR! path /opt/iobroker/node_modules/iobroker.visnpm ERR! command failednpm ERR! command sh -c -- node main.js --installnpm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-06-14T20_57_44_562Z-debug-0.log ERROR: host.AP-Tiny Cannot install iobroker.echarts@1.5.1: 6 ERROR: process exited with code 25@ap2017 sagte in Node.js update:
Assuming that I have to delete VIS adapter and add it back
NO!!
Don't delete the vis adapter!Just install a "blank" version before restoring.
-
Then take your time and come again when done.
@thomas-braun Installed latest Ubuntu, restored ioBroker from backup (had to use latest beta controller to match with backup), but new installation of ioBroker is set for stable repositories. Everything seems to be working, including VIS. Having a bit of an issue with info adapter. It works for few seconds then turns red with error messages
2023-06-16 16:09:19.354 - info: info.0 (3352) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2023-06-16 16:09:20.660 - info: info.0 (3352) starting. Version 1.9.26 in /opt/iobroker/node_modules/iobroker.info, node: v18.16.0, js-controller: 5.0.4 2023-06-16 16:09:21.033 - info: info.0 (3352) Reading/updating systemdata. 2023-06-16 16:09:22.167 - info: info.0 (3352) State value to set for "info.0.sysinfo.cpu.info.speed" has to be type "string" but received type "number" 2023-06-16 16:09:22.323 - info: info.0 (3352) State value to set for "info.0.sysinfo.cpu.info.cache-l3" has to be type "number" but received type "string" 2023-06-16 16:09:22.583 - info: info.0 (3352) cpu Temp res = {"main":62,"cores":[62,61],"max":62,"socket":[],"chipset":null} 2023-06-16 16:09:25.284 - info: admin.0 (1913) ==> Connected system.user.admin from ::ffff:192.168.1.244 2023-06-16 16:09:27.785 - info: host.ap-EB1033 Updating repository "Stable (default)" under "http://download.iobroker.net/sources-dist.json" 2023-06-16 16:09:31.423 - info: info.0 (3352) State value to set for "info.0.sysinfo.disks.diskLayout.dev0.size" has to be type "string" but received type "number"Should I change Info objects types to match received vs. set?
-
@thomas-braun Installed latest Ubuntu, restored ioBroker from backup (had to use latest beta controller to match with backup), but new installation of ioBroker is set for stable repositories. Everything seems to be working, including VIS. Having a bit of an issue with info adapter. It works for few seconds then turns red with error messages
2023-06-16 16:09:19.354 - info: info.0 (3352) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2023-06-16 16:09:20.660 - info: info.0 (3352) starting. Version 1.9.26 in /opt/iobroker/node_modules/iobroker.info, node: v18.16.0, js-controller: 5.0.4 2023-06-16 16:09:21.033 - info: info.0 (3352) Reading/updating systemdata. 2023-06-16 16:09:22.167 - info: info.0 (3352) State value to set for "info.0.sysinfo.cpu.info.speed" has to be type "string" but received type "number" 2023-06-16 16:09:22.323 - info: info.0 (3352) State value to set for "info.0.sysinfo.cpu.info.cache-l3" has to be type "number" but received type "string" 2023-06-16 16:09:22.583 - info: info.0 (3352) cpu Temp res = {"main":62,"cores":[62,61],"max":62,"socket":[],"chipset":null} 2023-06-16 16:09:25.284 - info: admin.0 (1913) ==> Connected system.user.admin from ::ffff:192.168.1.244 2023-06-16 16:09:27.785 - info: host.ap-EB1033 Updating repository "Stable (default)" under "http://download.iobroker.net/sources-dist.json" 2023-06-16 16:09:31.423 - info: info.0 (3352) State value to set for "info.0.sysinfo.disks.diskLayout.dev0.size" has to be type "string" but received type "number"Should I change Info objects types to match received vs. set?
Usually this would be reported as 'Issue' at the GitHub:
https://github.com/iobroker-community-adapters/ioBroker.info/issues
This may be due to the beta-version of the js-controller. Have seen similar errors with different adapters.
-
Usually this would be reported as 'Issue' at the GitHub:
https://github.com/iobroker-community-adapters/ioBroker.info/issues
This may be due to the beta-version of the js-controller. Have seen similar errors with different adapters.
@thomas-braun Would it make sense to downgrade controller?
-
@thomas-braun Would it make sense to downgrade controller?
@ap2017 To avoid the errors that come with a beta-js-contoller I 'd recommend to downgrade. But it's not that trivial
Instructions on how to do a downgrade are only available in German, afaics.https://forum.iobroker.net/topic/66108/js-controller-5-0-x-jetzt-in-der-beta
-
@ap2017 To avoid the errors that come with a beta-js-contoller I 'd recommend to downgrade. But it's not that trivial
Instructions on how to do a downgrade are only available in German, afaics.https://forum.iobroker.net/topic/66108/js-controller-5-0-x-jetzt-in-der-beta
@thomas-braun Here is what I have in my records to downgrade. This from https://forum.iobroker.net/topic/19885/probleme-nach-js-controller-1-5-6-1-4-2-downgrade?_=1686947115238
cd /opt/iobroker iobroker stop npm i iobroker.js-controller@x.x.x --production iobroker start