NEWS
Update js-controller - "nodejs is NOT correctly installed"
-
@thomas-braun Perfekt! Vielen, herzlichen Dank - das hat zumindest schon mal funkioniert.
-
Dann lass
iob nodejs-update
nochmal laufen, wenn der iobroker aktualisiert wurde. Dann dürfte da auch nodejs@18 vorgeschlagen werden. Jetzt bist du bestimmt auf 16 gelandet, oder?
-
Der Befehl
iobroker upgrade self
sagt leider immer noch "js-controller 4.0.24"
ab.
Nun bringt miriob diag
folgende Meldung:
Errors in npm tree: npm ERR! code ELSPROBLEMS npm ERR! extraneous: @serialport/bindings-cpp@ /opt/iobroker/node_modules/@serialport/bindings-cpp npm ERR! extraneous: 01_icons@ /opt/iobroker/node_modules/01_icons npm ERR! extraneous: array-ext@0.1.5 /opt/iobroker/node_modules/array-ext npm ERR! extraneous: asap@2.0.6 /opt/iobroker/node_modules/asap npm ERR! extraneous: aws-iot-device-sdk@2.2.1 /opt/iobroker/node_modules/aws-iot-device-sdk npm ERR! extraneous: aws-sdk@2.1484.0 /opt/iobroker/node_modules/aws-sdk npm ERR! extraneous: axios@0.18.0 /opt/iobroker/node_modules/axios npm ERR! extraneous: babel-runtime@5.8.38 /opt/iobroker/node_modules/babel-runtime npm ERR! extraneous: big-number@0.3.1 /opt/iobroker/node_modules/big-number npm ERR! extraneous: bignumber.js@4.1.0 /opt/iobroker/node_modules/bignumber.js npm ERR! extraneous: buffer@4.9.2 /opt/iobroker/node_modules/buffer npm ERR! extraneous: busboy@0.2.14 /opt/iobroker/node_modules/busboy npm ERR! extraneous: callback-stream@1.1.0 /opt/iobroker/node_modules/callback-stream npm ERR! extraneous: castv2-player@2.0.6 /opt/iobroker/node_modules/castv2-player npm ERR! extraneous: chainsaw@0.0.9 /opt/iobroker/node_modules/chainsaw npm ERR! extraneous: charenc@0.0.2 /opt/iobroker/node_modules/charenc npm ERR! extraneous: comment-json@1.1.3 /opt/iobroker/node_modules/comment-json npm ERR! extraneous: crypt@0.0.2 /opt/iobroker/node_modules/crypt npm ERR! extraneous: dicer@0.2.5 /opt/iobroker/node_modules/dicer npm ERR! extraneous: esprima@2.7.3 /opt/iobroker/node_modules/esprima npm ERR! extraneous: events@1.1.1 /opt/iobroker/node_modules/events npm ERR! extraneous: express-fileupload@0.4.1 /opt/iobroker/node_modules/express-fileupload npm ERR! extraneous: follow-redirects@1.7.0 /opt/iobroker/node_modules/follow-redirects npm ERR! extraneous: generic-pool@2.5.4 /opt/iobroker/node_modules/generic-pool npm ERR! extraneous: glob-parent@3.1.0 /opt/iobroker/node_modules/glob-parent npm ERR! extraneous: glob-stream@6.1.0 /opt/iobroker/node_modules/glob-stream npm ERR! extraneous: hashish@0.0.4 /opt/iobroker/node_modules/hashish npm ERR! extraneous: inote-util@1.17.2 /opt/iobroker/node_modules/inote-util npm ERR! invalid: iobroker.esphome@0.2.0-0 /opt/iobroker/node_modules/iobroker.esphome npm ERR! invalid: iobroker.icons-open-icon-library-png@0.1.3 /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png npm ERR! extraneous: iobroker.type-detector@0.1.1 /opt/iobroker/node_modules/iobroker.type-detector npm ERR! invalid: iobroker.vis-materialdesign@0.2.62 /opt/iobroker/node_modules/iobroker.vis-materialdesign npm ERR! invalid: iobroker.vodafone-speedtest@0.0.6 /opt/iobroker/node_modules/iobroker.vodafone-speedtest npm ERR! invalid: iobroker.web-speedy@0.1.1 /opt/iobroker/node_modules/iobroker.web-speedy npm ERR! extraneous: is-arguments@1.1.1 /opt/iobroker/node_modules/is-arguments npm ERR! extraneous: is-generator-function@1.0.10 /opt/iobroker/node_modules/is-generator-function npm ERR! extraneous: is-negated-glob@1.0.0 /opt/iobroker/node_modules/is-negated-glob npm ERR! extraneous: jmespath@0.16.0 /opt/iobroker/node_modules/jmespath npm ERR! extraneous: json-parser@1.1.5 /opt/iobroker/node_modules/json-parser npm ERR! extraneous: md5@2.2.1 /opt/iobroker/node_modules/md5 npm ERR! extraneous: mmmagic@0.5.2 /opt/iobroker/node_modules/mmmagic npm ERR! extraneous: mssql@3.3.0 /opt/iobroker/node_modules/mssql npm ERR! extraneous: mysql@2.16.0 /opt/iobroker/node_modules/mysql npm ERR! extraneous: nconf@0.10.0 /opt/iobroker/node_modules/nconf npm ERR! extraneous: node-abi@2.30.1 /opt/iobroker/node_modules/node-abi npm ERR! extraneous: optimist@0.6.1 /opt/iobroker/node_modules/optimist npm ERR! extraneous: ordered-read-streams@1.0.1 /opt/iobroker/node_modules/ordered-read-streams npm ERR! extraneous: path-dirname@1.0.2 /opt/iobroker/node_modules/path-dirname npm ERR! extraneous: pg-connection-string@0.1.3 /opt/iobroker/node_modules/pg-connection-string npm ERR! extraneous: pg-pool@2.0.6 /opt/iobroker/node_modules/pg-pool npm ERR! extraneous: pg-types@2.0.0 /opt/iobroker/node_modules/pg-types npm ERR! extraneous: pg@7.9.0 /opt/iobroker/node_modules/pg npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: postgres-date@1.0.3 /opt/iobroker/node_modules/postgres-date npm ERR! extraneous: prebuild-install@6.1.4 /opt/iobroker/node_modules/prebuild-install npm ERR! extraneous: priorityqueuejs@1.0.0 /opt/iobroker/node_modules/priorityqueuejs npm ERR! extraneous: promise@7.3.1 /opt/iobroker/node_modules/promise npm ERR! extraneous: pumpify@1.5.1 /opt/iobroker/node_modules/pumpify npm ERR! extraneous: remove@0.1.5 /opt/iobroker/node_modules/remove npm ERR! extraneous: secure-keys@1.0.0 /opt/iobroker/node_modules/secure-keys npm ERR! extraneous: seedrandom@2.4.4 /opt/iobroker/node_modules/seedrandom npm ERR! extraneous: seq@0.3.5 /opt/iobroker/node_modules/seq npm ERR! extraneous: shelljs@0.8.3 /opt/iobroker/node_modules/shelljs npm ERR! extraneous: soef@0.4.15 /opt/iobroker/node_modules/soef npm ERR! extraneous: sprintf@0.1.5 /opt/iobroker/node_modules/sprintf npm ERR! extraneous: sql-client@1.3.0 /opt/iobroker/node_modules/sql-client npm ERR! extraneous: sqlite3@4.0.6 /opt/iobroker/node_modules/sqlite3 npm ERR! extraneous: streamifier@0.1.1 /opt/iobroker/node_modules/streamifier npm ERR! extraneous: suncalc@1.8.0 /opt/iobroker/node_modules/suncalc npm ERR! extraneous: systeminformation@4.8.3 /opt/iobroker/node_modules/systeminformation npm ERR! extraneous: tedious@1.14.0 /opt/iobroker/node_modules/tedious npm ERR! extraneous: through2-filter@3.0.0 /opt/iobroker/node_modules/through2-filter npm ERR! extraneous: to-absolute-glob@2.0.2 /opt/iobroker/node_modules/to-absolute-glob npm ERR! extraneous: typescript@2.9.2 /opt/iobroker/node_modules/typescript npm ERR! extraneous: unique-stream@2.3.1 /opt/iobroker/node_modules/unique-stream npm ERR! extraneous: url@0.10.3 /opt/iobroker/node_modules/url npm ERR! extraneous: virtual-tsc@0.3.4 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: wake_on_lan@0.0.4 /opt/iobroker/node_modules/wake_on_lan npm ERR! extraneous: wordwrap@0.0.3 /opt/iobroker/node_modules/wordwrap npm ERR! extraneous: @serialport/parser-readline@10.3.0 /opt/iobroker/node_modules/@serialport/bindings-cpp/node_modules/@serialport/parser-readline npm ERR! extraneous: debug@4.3.4 /opt/iobroker/node_modules/@serialport/bindings-cpp/node_modules/debug npm ERR! extraneous: node-addon-api@4.3.0 /opt/iobroker/node_modules/@serialport/bindings-cpp/node_modules/node-addon-api npm ERR! extraneous: crypto-js@3.1.6 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/crypto-js npm ERR! extraneous: isarray@1.0.0 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/isarray npm ERR! extraneous: mqtt@2.15.1 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt npm ERR! extraneous: readable-stream@2.3.6 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/readable-stream npm ERR! extraneous: string_decoder@1.1.1 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/string_decoder npm ERR! extraneous: sax@1.2.1 /opt/iobroker/node_modules/aws-sdk/node_modules/sax npm ERR! extraneous: util@0.12.5 /opt/iobroker/node_modules/aws-sdk/node_modules/util npm ERR! extraneous: uuid@8.0.0 /opt/iobroker/node_modules/aws-sdk/node_modules/uuid npm ERR! extraneous: xml2js@0.5.0 /opt/iobroker/node_modules/aws-sdk/node_modules/xml2js npm ERR! extraneous: xmlbuilder@11.0.1 /opt/iobroker/node_modules/aws-sdk/node_modules/xmlbuilder npm ERR! extraneous: core-js@1.2.7 /opt/iobroker/node_modules/babel-runtime/node_modules/core-js npm ERR! extraneous: isarray@1.0.0 /opt/iobroker/node_modules/buffer/node_modules/isarray npm ERR! extraneous: streamsearch@0.1.2 /opt/iobroker/node_modules/dicer/node_modules/streamsearch npm ERR! extraneous: fs-extra@4.0.3 /opt/iobroker/node_modules/express-fileupload/node_modules/fs-extra npm ERR! extraneous: debug@3.2.6 /opt/iobroker/node_modules/follow-redirects/node_modules/debug npm ERR! extraneous: ms@2.1.1 /opt/iobroker/node_modules/follow-redirects/node_modules/ms npm ERR! extraneous: isarray@1.0.0 /opt/iobroker/node_modules/glob-stream/node_modules/isarray npm ERR! extraneous: readable-stream@2.3.7 /opt/iobroker/node_modules/glob-stream/node_modules/readable-stream npm ERR! extraneous: string_decoder@1.1.1 /opt/iobroker/node_modules/glob-stream/node_modules/string_decoder npm ERR! invalid: node-snap7@ /opt/iobroker/node_modules/node-snap7 npm ERR! invalid: socksv5@0.0.6 /opt/iobroker/node_modules/socksv5 npm ERR! extraneous: isarray@1.0.0 /opt/iobroker/node_modules/mysql/node_modules/isarray npm ERR! extraneous: readable-stream@2.3.6 /opt/iobroker/node_modules/mysql/node_modules/readable-stream npm ERR! extraneous: sqlstring@2.3.1 /opt/iobroker/node_modules/mysql/node_modules/sqlstring npm ERR! extraneous: string_decoder@1.1.1 /opt/iobroker/node_modules/mysql/node_modules/string_decoder npm ERR! extraneous: async@1.5.2 /opt/iobroker/node_modules/nconf/node_modules/async npm ERR! extraneous: camelcase@2.1.1 /opt/iobroker/node_modules/nconf/node_modules/camelcase npm ERR! extraneous: window-size@0.1.4 /opt/iobroker/node_modules/nconf/node_modules/window-size npm ERR! extraneous: yargs@3.32.0 /opt/iobroker/node_modules/nconf/node_modules/yargs npm ERR! extraneous: minimist@0.0.10 /opt/iobroker/node_modules/optimist/node_modules/minimist npm ERR! extraneous: isarray@1.0.0 /opt/iobroker/node_modules/ordered-read-streams/node_modules/isarray npm ERR! extraneous: readable-stream@2.3.7 /opt/iobroker/node_modules/ordered-read-streams/node_modules/readable-stream npm ERR! extraneous: string_decoder@1.1.1 /opt/iobroker/node_modules/ordered-read-streams/node_modules/string_decoder npm ERR! extraneous: semver@4.3.2 /opt/iobroker/node_modules/pg/node_modules/semver npm ERR! extraneous: minimist@1.2.8 /opt/iobroker/node_modules/prebuild-install/node_modules/minimist npm ERR! extraneous: pump@3.0.0 /opt/iobroker/node_modules/prebuild-install/node_modules/pump npm ERR! extraneous: nan@2.10.0 /opt/iobroker/node_modules/sqlite3/node_modules/nan npm ERR! extraneous: isarray@1.0.0 /opt/iobroker/node_modules/tedious/node_modules/isarray npm ERR! extraneous: readable-stream@2.3.6 /opt/iobroker/node_modules/tedious/node_modules/readable-stream npm ERR! extraneous: string_decoder@1.1.1 /opt/iobroker/node_modules/tedious/node_modules/string_decoder npm ERR! extraneous: punycode@1.3.2 /opt/iobroker/node_modules/url/node_modules/punycode npm ERR! extraneous: debug@3.2.6 /opt/iobroker/node_modules/virtual-tsc/node_modules/debug npm ERR! extraneous: ms@2.1.1 /opt/iobroker/node_modules/virtual-tsc/node_modules/ms npm ERR! invalid: ms@2.0.0 /opt/iobroker/node_modules/ms npm ERR! extraneous: help-me@1.1.0 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/node_modules/help-me npm ERR! extraneous: mqtt-packet@5.6.1 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/node_modules/mqtt-packet npm ERR! extraneous: split2@2.2.0 /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/node_modules/split2 npm ERR! invalid: xmlbuilder@0.4.2 /opt/iobroker/node_modules/homematic-xmlrpc/node_modules/xmlbuilder npm ERR! extraneous: cli@1.0.1 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/cli npm ERR! extraneous: console-browserify@1.1.0 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/console-browserify npm ERR! extraneous: date-now@0.1.4 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/date-now npm ERR! extraneous: dom-serializer@0.2.2 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/dom-serializer npm ERR! extraneous: domelementtype@1.3.1 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/domelementtype npm ERR! extraneous: domhandler@2.3.0 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/domhandler npm ERR! extraneous: domutils@1.5.1 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/domutils npm ERR! extraneous: entities@1.0.0 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/entities npm ERR! extraneous: exit@0.1.2 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/exit npm ERR! extraneous: htmlparser2@3.8.3 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/htmlparser2 npm ERR! extraneous: jshint@2.13.6 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/jshint npm ERR! extraneous: lodash@4.17.21 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/lodash npm ERR! extraneous: domelementtype@2.3.0 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/dom-serializer/node_modules/domelementtype npm ERR! extraneous: entities@2.2.0 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/dom-serializer/node_modules/entities npm ERR! extraneous: isarray@0.0.1 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/htmlparser2/node_modules/isarray npm ERR! extraneous: readable-stream@1.1.14 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/htmlparser2/node_modules/readable-stream npm ERR! extraneous: string_decoder@0.10.31 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/htmlparser2/node_modules/string_decoder npm ERR! extraneous: strip-json-comments@1.0.4 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/jshint/node_modules/strip-json-comments npm ERR! invalid: colour@0.7.1 /opt/iobroker/node_modules/colour npm ERR! invalid: optjs@3.2.2 /opt/iobroker/node_modules/optjs npm ERR! A complete log of this run can be found in: /home/jonny/.npm/_logs/2023-11-02T13_06_57_592Z-debug-0.log
iob fix bringt leider keine Besserung.
-
Da muss zunächst der npm-Tree gezähmt werden. Mit so vielen Fehlern geht da nix mehr.
Schmeiß zunächst die mit invalid gekennzeichneten Adapter aus dem System.
-
Den gibt es soweit ich weiß gar nicht mehr:
iobroker.vodafone-speedtest
Jedenfalls nicht unter dem Namen.
-
@thomas-braun ja - das stimmt.
Aber da sind noch einige andere dabei, bei denen ich mir nicht sicher bin ob ich die einfach so löschen kann...invalid: iobroker.icons-open-icon-library-png@0.1.3 /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png invalid: iobroker.vis-materialdesign@0.2.62 /opt/iobroker/node_modules/iobroker.vis-materialdesign invalid: socksv5@0.0.6 /opt/iobroker/node_modules/socksv5 invalid: ms@2.0.0 /opt/iobroker/node_modules/ms invalid: xmlbuilder@0.4.2 /opt/iobroker/node_modules/homematic-xmlrpc/node_modules/xmlbuilder invalid: colour@0.7.1 /opt/iobroker/node_modules/colour invalid: optjs@3.2.2 /opt/iobroker/node_modules/optjs
-
Oft ergeben die sich, wenn die toten Dinger erstmal raus sind.
-
Mit socksv5 gibt es zu.B. Probleme, weil das Ding seit Jahren nicht mehr gepflegt wird. Da müsste der Adapter, der das verwendet, auf was anderes umgestellt werden.
-
@thomas-braun ok - d.h. alle "Invalid" raushauen?
Wie lösche ich die am besten? Einfach ordner unter node_modules löschen? -
@george_best sagte in Update js-controller - "nodejs is NOT correctly installed":
Einfach ordner unter node_modules löschen?
Bist du des Wahnsinns?
Nein, mitiobroker del ADAPTER
zunächst die iobroker-Module rauskratzen. Und dann nochmal schauen wie es dann da ausschaut.
Keinesfalls da irgendwas irgendwo einfach löschen.
-
@thomas-braun puh...
schon mitiobroker del icons-open-icon-library-png
gings schon ziemlich rund
Delete adapter "icons-open-icon-library-png" host.ioBroker-V2 Counted 1 instances of icons-open-icon-library-png host.ioBroker-V2 Counted 1 meta of icons-open-icon-library-png host.ioBroker-V2 Counted 1 adapter for icons-open-icon-library-png host.ioBroker-V2 Counted 1 states of system.adapter.icons-open-icon-library-png host.ioBroker-V2 Counted 1 states (system.adapter.icons-open-icon-library-png.*) from states host.ioBroker-V2 file icons-open-icon-library-png deleted host.ioBroker-V2 file icons-open-icon-library-png.admin deleted host.ioBroker-V2 object icons-open-icon-library-png deleted host.ioBroker-V2 object icons-open-icon-library-png.admin deleted host.ioBroker-V2 Deleting 4 object(s). host.ioBroker-V2 Deleting 1 state(s). Error deleting adapter icons-open-icon-library-png from disk: host.ioBroker-V2: Cannot uninstall iobroker.icons-open-icon-library-png: 1 You might have to delete it yourself!
Es gab dann einiges an errors im iobroker-log:
15786 2023-11-02 15:39:10.158 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather.html: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather.html' vis.0 15786 2023-11-02 15:39:10.158 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/jquery.mousewheel.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/jquery.mousewheel.js' vis.0 15786 2023-11-02 15:39:10.156 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/globalize.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/globalize.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/jquery.event.drag.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/jquery.event.drag.js' vis.0 15786 2023-11-02 15:39:10.152 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/globalize.culture.en-US.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/lib/globalize.culture.en-US.js' vis.0 15786 2023-11-02 15:39:10.152 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.touchNavigate.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.touchNavigate.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.uiConstants.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.uiConstants.js' vis.0 15786 2023-11-02 15:39:10.151 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.time.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.time.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.touch.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.touch.js' vis.0 15786 2023-11-02 15:39:10.151 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.symbol.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.symbol.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.threshold.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.threshold.js' vis.0 15786 2023-11-02 15:39:10.150 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.selection.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.selection.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.stack.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.stack.js' vis.0 15786 2023-11-02 15:39:10.150 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.resize.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.resize.js'Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.saturated.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.saturated.js' vis.0 15786 2023-11-02 15:39:10.149 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.pie.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.pie.js' vis.0 15786 2023-11-02 15:39:10.149 error Error: Cannot upload /opt/iobroker/node_modules/iobroker.vis/www/widgets/weather/lib/js/flot/jquery.flot.navigate.js: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobr
-
Hab ich irgendwie die Chance mein ioBroker ohne komplette Neuinstallation wieder hinzubekommen?
-
iob update iobroker upgrade icons-open-icon-library-png@0.1.2 iobroker upgrade vis-materialdesign@vis-materialdesign@0.5.9
versuchen.
-
@thomas-braun sagte in Update js-controller - "nodejs is NOT correctly installed":
icons-open
iobroker upgrade icons-open-icon-library-png@0.1.2
Habe ich gerade gemacht. Offensichtlich habe ich - wie auch immer - für diesen Adapter eine Version höher installiert als verfügbar (installiert: 1.0.3, verfügbar 1.02.). Wie auch immer - das Upgrade hat dann wohl einen "Downgrade" auf 1.0.2 gemacht, was auch erfolgreich durchlief.
Aber dies hat mir irgendwie den js-controller zerschossen:
iobroker status
node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.18.2
Ich habe jetzt eine Rollback gemacht damit das System erstmal wieder läuft. Gibt es noch eine Idee?
-
Den js-controller nochmal drüber installieren.
-
-
-
@thomas-braun sieht leider nicht so gut as:
npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! dest /opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller' -> '/opt/iobroker/node_modules/.iobroker.js-controller-7Q8bmsba' npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T10_47_37_114Z-debug-0.log
Das Log-file: 2023-11-03T10_47_43_654Z-debug-0.log
-
iob stop iob fix
-
@thomas-braun
iob fix:library: loaded Library version=2023-10-13 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2023-10-13 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/5) ========================================================================== Ign:1 http://security.debian.org/debian-security bullseye/updates InRelease OK:2 http://deb.debian.org/debian bullseye InRelease Ign:3 http://security.debian.org/debian-security bullseyeupdates InRelease OK:4 http://deb.debian.org/debian bullseye-updates InRelease OK:5 http://deb.debian.org/debian bullseye-backports InRelease Fehl:6 http://security.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: 199.232.190.132 80] Fehl:7 http://security.debian.org/debian-security bullseyeupdates Release 404 Not Found [IP: 199.232.190.132 80] OK:8 https://deb.nodesource.com/node_18.x nodistro InRelease Holen:9 https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease [24,5 kB] Fehl:9 https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 8E61C2AB9A6D1557 Paketlisten werden gelesen… Fertig E: Das Depot »http://security.debian.org/debian-security bullseye/updates Release« enthält keine Release-Datei. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). E: Das Depot »http://security.debian.org/debian-security bullseyeupdates Release« enthält keine Release-Datei. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). W: GPG-Fehler: https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 8E61C2AB9A6D1557 E: Das Depot »https://packagecloud.io/ookla/speedtest-cli/debian stretch InRelease« ist nicht signiert. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). ========================================================================== Checking ioBroker user and directory permissions (2/5) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Check and cleanup npm temporary directories (3/5) ========================================================================== Done. ========================================================================== Database maintenance (4/5) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (5/5) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================
sudo -H -u iobroker npm install iobroker.js-controller
npm WARN skipping integrity check for git dependency ssh://git@github.com/DrozmotiX/ioBroker.esphome.git npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated xmldom@0.1.16: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/raw-socket', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/raw-socket'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/raw-socket' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/raw-socket', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/raw-socket'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/raw-socket' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/node-snap7', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-snap7'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/node-snap7' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/pcap', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/pcap'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/pcap' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/node-snap7', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-snap7'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/node-snap7' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup '/opt/iobroker/node_modules/pcap', npm WARN cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/pcap'] { npm WARN cleanup errno: -39, npm WARN cleanup code: 'ENOTEMPTY', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: '/opt/iobroker/node_modules/pcap' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/node-libcurl npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.5 npm ERR! node-pre-gyp info using node@18.18.2 | linux | x64 npm ERR! node-pre-gyp info check checked for "/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for node-libcurl@2.3.4 and node@18.18.2 (node-v108 ABI, glibc) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/JCMais/node-libcurl/releases/download/v2.3.4/node_libcurl-v2.3.4-node-v108-linux-x64-glibc.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@18.18.2 | linux | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@18.18.2 | linux | x64 npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-libcurl/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/node-libcurl', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! Could not run curl-config, please make sure libcurl dev package is installed. npm ERR! Output: /bin/sh: 1: curl-config: not found npm ERR! npm ERR! gyp: Call to 'node /opt/iobroker/node_modules/node-libcurl/scripts/curl-config.js --prefix' returned exit status 1 while in binding.gyp. while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:325:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) npm ERR! gyp ERR! System Linux 5.10.0-26-amd64 npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108" npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/node-libcurl npm ERR! gyp ERR! node -v v18.18.2 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-libcurl/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1098:16) npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:303:5) npm ERR! node-pre-gyp ERR! System Linux 5.10.0-26-amd64 npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-libcurl/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/node-libcurl npm ERR! node-pre-gyp ERR! node -v v18.18.2 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.5 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T11_01_57_465Z-debug-0.log