NEWS
Echarts Presets verschwinden
-
@thomas-braun Hmm, nodejs is NOT correctly installed, obwohl ich v18.18.0 habe.
======================= SUMMARY ======================= v.2023-06-20 Static hostname: Nuc Icon name: computer-desktop Chassis: desktop Machine ID: ad3458d0640e4781a50233d6b3388c72 Boot ID: 0f842b6f9206477d90dac70147d5fedf Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.15.0-84-generic Architecture: x86-64 Installation: native Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 0 X-Server: true Boot Target: graphical.target Pending OS-Updates: 2 Error: Object "system.config" not found Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.0 /usr/bin/node v18.18.0 /usr/local/bin/npm 10.1.0 /usr/local/bin/npx 10.1.0 Recommended versions are nodejs 18.x.y and npm 9.x.y *** nodejs is NOT correctly installed *** MEMORY: total used free shared buff/cache available Mem: 15G 4.2G 6.8G 509M 4.2G 10G Swap: 2.0G 0B 2.0G Total: 17G 4.2G 8.8G Active iob-Instances: 1 List is empty Cannot read system.config: null (OK when migrating or restoring) ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: Cannot read system.config: null (OK when migrating or restoring) iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: Objects: 34 States: 27 Size of iob-Database: 16K /opt/iobroker/iobroker-data/objects.jsonl 16K /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ==================== code_text
-
npm irgenwie und irgendwarum von Hand reingeklatscht.
Und du kasperst als root herum.
Und da rumpelt ein Desktop mit.
-
@thomas-braun Da war eine alte Version von node installiert, und damit hat das curl.... nicht funktioniert.
-
nodejs hat mit curl nix zu tun.
-
@thomas-braun Ja, ich meine die Installation hat mit der alten Version nicht funktioniert. Aber jetzt kann ich das nicht reproduzieren, weil immer v18.18.0 installiert wird.
-
@thomas-braun sagte in Echarts Presets verschwinden:
nodejs hat mit curl nix zu tun.
nicht so wörtlich nehmen!
curl=installer!
und wenn der ein node findet installiert er nicht v18 -
Dann lösch den Quark
sudo rm /usr/local/bin/np*
meld den root ab und schalt den Desktop aus.
-
@thomas-braun Habe es geloescht, und habe jetzt wieder:
npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for iobroker.inst@3.0.0: wanted: {"node":">=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"}) npm ERR! notsup Not compatible with your version of node/npm: iobroker.inst@3.0.0 npm ERR! notsup Not compatible with your version of node/npm: iobroker.inst@3.0.0 npm ERR! notsup Required: {"node":">=16.0.0"} npm ERR! notsup Actual: {"npm":"6.14.4","node":"10.19.0"}
-
@bambulko sagte in Echarts Presets verschwinden:
Habe es geloescht, und habe jetzt wieder:
Was zur Hölle treibst du da?
-
@bambulko
node -v
-
@homoran
v10.19.0, so wie es war bevor ich es per Hand geaendert habe. -
Jag das Skript mal über das System:
https://forum.iobroker.net/topic/68035/iob-node-fix-skript
Bitte vollständigen Output sehen lassen.
-
@bambulko sagte in Echarts Presets verschwinden:
per Hand geaendert habe.
Per Hand heißt konkret was?
Man fasst das nämlich nicht 'per Hand' an, man verwendet seinen Paketmanager. Der macht das nämlich richtig. -
@thomas-braun Disk morsch und nur noch RO ??
-
@homoran sagte in Echarts Presets verschwinden:
Disk morsch und nur noch RO ??
Keine Ahnung was da fabriziert wurde. Hört sich aber alles falsch an.
-
ioBroker nodejs fixer 2023-09-20 No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree. Your current setup is: /usr/bin/nodejs v10.19.0 /usr/bin/node v10.19.0 /usr/bin/npm 6.14.4 /usr/bin/npx 6.14.4 We found these nodejs versions available for installation: nodejs: Installed: 10.19.0~dfsg-3ubuntu1.1 Candidate: 10.19.0~dfsg-3ubuntu1.1 Version table: *** 10.19.0~dfsg-3ubuntu1.1 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages 100 /var/lib/dpkg/status 10.19.0~dfsg-3ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v10.19.0. Do you want to install recommended version v.18 ? Press <y> to continue or any other key to quit Trying to fix your installation now. Please be patient. find: '/run/user/1000/doc': Permission denied find: '/run/user/1000/gvfs': Permission denied rm: cannot remove '/var/lib/docker/overlay2/4f8b3a7f2e3d57afd657fc6acbbb6fdebf89b855621399d181d3222c414fc29b/diff/usr/share/keyrings/nodesource.gpg'$'\n''/var/lib/docker/overlay2/9b040315e5e2b23c9f7293e95a5435e2ccf7a47dd0bfbfebe945650f6ce108e0/merged/usr/share/keyrings/nodesource.gpg'$'\n''/etc/apt/keyrings/nodesource.gpg': No such file or directory Waiting for ioBroker to shut down - Give me a minute... ############################################################ *** These repos are active on your system: Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:2 https://phoscon.de/apt/deconz focal InRelease Hit:3 http://de.archive.ubuntu.com/ubuntu focal InRelease Hit:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:5 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://phoscon.de/apt/deconz focal InRelease' doesn't support architecture 'i386' *** Installing ca-certificates, curl and gnupg, just in case they are missing. *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main Package: nodejs Pin: origin deb.nodesource.com Pin-Priority: 1001 *** These repos are active after the adjustments: Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:4 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease Get:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] Hit:6 https://phoscon.de/apt/deconz focal InRelease Get:7 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5247 B] Fetched 17.4 kB in 3s (6650 B/s) Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' doesn't support architecture 'i386' N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://phoscon.de/apt/deconz focal InRelease' doesn't support architecture 'i386' Installing the recommended nodejs version now! Exact recommended version unknown, installing a fallback! Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: gir1.2-goa-1.0 gyp javascript-common libc-ares2 libfwupdplugin1 libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libssl-dev libunity-gtk2-parser0 libunity-gtk3-parser0 libuv1-dev libxmlb1 node-abbrev node-ajv node-ansi node-ansi-align node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-bl node-bluebird node-boxen node-brace-expansion node-builtin-modules node-builtins node-cacache node-call-limit node-camelcase node-caseless node-chalk node-chownr node-ci-info node-cli-boxes node-cliui node-clone node-co node-color-convert node-color-name node-colors node-columnify node-combined-stream node-concat-map node-concat-stream node-config-chain node-configstore node-console-control-strings node-copy-concurrently node-core-util-is node-cross-spawn node-crypto-random-string node-cyclist node-dashdash node-debug node-decamelize node-decompress-response node-deep-extend node-defaults node-define-properties node-delayed-stream node-delegates node-detect-indent node-detect-newline node-dot-prop node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-encoding node-end-of-stream node-err-code node-errno node-es6-promise node-escape-string-regexp node-execa node-extend node-extsprintf node-fast-deep-equal node-find-up node-flush-write-stream node-forever-agent node-form-data node-from2 node-fs-vacuum node-fs-write-stream-atomic node-fs.realpath node-function-bind node-gauge node-genfun node-get-caller-file node-get-stream node-getpass node-glob node-got node-graceful-fs node-har-schema node-har-validator node-has-flag node-has-symbol-support-x node-has-to-string-tag-x node-has-unicode node-hosted-git-info node-http-signature node-iconv-lite node-iferr node-import-lazy node-imurmurhash node-inflight node-inherits node-ini node-invert-kv node-ip node-ip-regex node-is-npm node-is-obj node-is-object node-is-path-inside node-is-plain-obj node-is-retry-allowed node-is-stream node-is-typedarray node-isarray node-isexe node-isstream node-isurl node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim node-latest-version node-lazy-property node-lcid node-libnpx node-locate-path node-lockfile node-lodash node-lodash-packages node-lowercase-keys node-lru-cache node-make-dir node-mem node-mime node-mime-types node-mimic-fn node-mimic-response node-minimatch node-minimist node-mississippi node-mkdirp node-move-concurrently node-ms node-mute-stream node-nopt node-normalize-package-data node-npm-bundled node-npm-package-arg node-npm-run-path node-npmlog node-number-is-nan node-oauth-sign node-object-assign node-once node-opener node-os-locale node-os-tmpdir node-osenv node-p-cancelable node-p-finally node-p-is-promise node-p-limit node-p-locate node-p-timeout node-package-json node-parallel-transform node-path-exists node-path-is-absolute node-path-is-inside node-performance-now node-pify node-prepend-http node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-proto-list node-prr node-pseudomap node-psl node-pump node-pumpify node-punycode node-qs node-qw node-rc node-read node-read-package-json node-readable-stream node-registry-auth-token node-registry-url node-request node-require-directory node-require-main-filename node-resolve node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer node-semver node-semver-diff node-set-blocking node-sha node-shebang-command node-shebang-regex node-signal-exit node-slash node-slide node-sorted-object node-spdx-correct node-spdx-exceptions node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-stream-each node-stream-iterate node-stream-shift node-strict-uri-encode node-string-decoder node-string-width node-strip-ansi node-strip-eof node-strip-json-comments node-supports-color node-tar node-term-size node-text-table node-through node-through2 node-timed-out node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray node-typedarray-to-buffer node-uid-number node-unique-filename node-unique-string node-unpipe node-uri-js node-url-parse-lax node-url-to-options node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name node-verror node-wcwidth.js node-which node-which-module node-wide-align node-widest-line node-wrap-ansi node-wrappy node-write-file-atomic node-xdg-basedir node-xtend node-y18n node-yallist node-yargs node-yargs-parser python-pkg-resources python2 python2-minimal python2.7 python2.7-minimal unity-gtk-module-common Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libnode-dev libnode64 node-gyp nodejs-doc npm The following packages will be upgraded: nodejs 1 upgraded, 0 newly installed, 5 to remove and 1 not upgraded. Need to get 29.4 MB of archives. After this operation, 153 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB] Fetched 29.4 MB in 4s (6746 kB/s) (Reading database ... 330244 files and directories currently installed.) Removing npm (6.14.4+ds-1ubuntu2) ... Removing node-gyp (6.1.0-3) ... Removing libnode-dev:amd64 (10.19.0~dfsg-3ubuntu1.1) ... Removing nodejs-doc (10.19.0~dfsg-3ubuntu1.1) ... dpkg: libnode64:amd64: dependency problems, but removing anyway as you requested: nodejs depends on libnode64 (= 10.19.0~dfsg-3ubuntu1.1). Removing libnode64:amd64 (10.19.0~dfsg-3ubuntu1.1) ... (Reading database ... 328802 files and directories currently installed.) Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ... Unpacking nodejs (18.17.0-1nodesource1) over (10.19.0~dfsg-3ubuntu1.1) ... Setting up nodejs (18.17.0-1nodesource1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... Processing triggers for man-db (2.9.1-1) ... Updating fallback to latest nodejs v18 release Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: gir1.2-goa-1.0 gyp javascript-common libc-ares2 libfwupdplugin1 libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libssl-dev libunity-gtk2-parser0 libunity-gtk3-parser0 libuv1-dev libxmlb1 node-abbrev node-ajv node-ansi node-ansi-align node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-bl node-bluebird node-boxen node-brace-expansion node-builtin-modules node-builtins node-cacache node-call-limit node-camelcase node-caseless node-chalk node-chownr node-ci-info node-cli-boxes node-cliui node-clone node-co node-color-convert node-color-name node-colors node-columnify node-combined-stream node-concat-map node-concat-stream node-config-chain node-configstore node-console-control-strings node-copy-concurrently node-core-util-is node-cross-spawn node-crypto-random-string node-cyclist node-dashdash node-debug node-decamelize node-decompress-response node-deep-extend node-defaults node-define-properties node-delayed-stream node-delegates node-detect-indent node-detect-newline node-dot-prop node-duplexer3 node-duplexify node-ecc-jsbn node-editor node-encoding node-end-of-stream node-err-code node-errno node-es6-promise node-escape-string-regexp node-execa node-extend node-extsprintf node-fast-deep-equal node-find-up node-flush-write-stream node-forever-agent node-form-data node-from2 node-fs-vacuum node-fs-write-stream-atomic node-fs.realpath node-function-bind node-gauge node-genfun node-get-caller-file node-get-stream node-getpass node-glob node-got node-graceful-fs node-har-schema node-har-validator node-has-flag node-has-symbol-support-x node-has-to-string-tag-x node-has-unicode node-hosted-git-info node-http-signature node-iconv-lite node-iferr node-import-lazy node-imurmurhash node-inflight node-inherits node-ini node-invert-kv node-ip node-ip-regex node-is-npm node-is-obj node-is-object node-is-path-inside node-is-plain-obj node-is-retry-allowed node-is-stream node-is-typedarray node-isarray node-isexe node-isstream node-isurl node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim node-latest-version node-lazy-property node-lcid node-libnpx node-locate-path node-lockfile node-lodash node-lodash-packages node-lowercase-keys node-lru-cache node-make-dir node-mem node-mime node-mime-types node-mimic-fn node-mimic-response node-minimatch node-minimist node-mississippi node-mkdirp node-move-concurrently node-ms node-mute-stream node-nopt node-normalize-package-data node-npm-bundled node-npm-package-arg node-npm-run-path node-npmlog node-number-is-nan node-oauth-sign node-object-assign node-once node-opener node-os-locale node-os-tmpdir node-osenv node-p-cancelable node-p-finally node-p-is-promise node-p-limit node-p-locate node-p-timeout node-package-json node-parallel-transform node-path-exists node-path-is-absolute node-path-is-inside node-performance-now node-pify node-prepend-http node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-proto-list node-prr node-pseudomap node-psl node-pump node-pumpify node-punycode node-qs node-qw node-rc node-read node-read-package-json node-readable-stream node-registry-auth-token node-registry-url node-request node-require-directory node-require-main-filename node-resolve node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer node-semver node-semver-diff node-set-blocking node-sha node-shebang-command node-shebang-regex node-signal-exit node-slash node-slide node-sorted-object node-spdx-correct node-spdx-exceptions node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-stream-each node-stream-iterate node-stream-shift node-strict-uri-encode node-string-decoder node-string-width node-strip-ansi node-strip-eof node-strip-json-comments node-supports-color node-tar node-term-size node-text-table node-through node-through2 node-timed-out node-tough-cookie node-tunnel-agent node-tweetnacl node-typedarray node-typedarray-to-buffer node-uid-number node-unique-filename node-unique-string node-unpipe node-uri-js node-url-parse-lax node-url-to-options node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name node-verror node-wcwidth.js node-which node-which-module node-wide-align node-widest-line node-wrap-ansi node-wrappy node-write-file-atomic node-xdg-basedir node-xtend node-y18n node-yallist node-yargs node-yargs-parser python-pkg-resources python2 python2-minimal python2.7 python2.7-minimal unity-gtk-module-common Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: nodejs ubuntu-advantage-tools 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 190 kB/29.7 MB of archives. After this operation, 920 kB of additional disk space will be used. Get:1 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-advantage-tools amd64 29.4~20.04 [190 kB] Fetched 190 kB in 0s (920 kB/s) Preconfiguring packages ... (Reading database ... 334483 files and directories currently installed.) Preparing to unpack .../ubuntu-advantage-tools_29.4~20.04_amd64.deb ... Unpacking ubuntu-advantage-tools (29.4~20.04) over (28.1~20.04) ... Preparing to unpack .../nodejs_18.18.0-1nodesource1_amd64.deb ... Detected old npm client, removing... Unpacking nodejs (18.18.0-1nodesource1) over (18.17.0-1nodesource1) ... Setting up nodejs (18.18.0-1nodesource1) ... Setting up ubuntu-advantage-tools (29.4~20.04) ... Installing new version of config file /etc/ubuntu-advantage/help_data.yaml ... Processing triggers for man-db (2.9.1-1) ... We tried our best to fix your nodejs. Please run iob diag again to verify. *** RESTARTING ioBroker NOW! *** Please refresh or restart your browser in a few moments.
-
-
@bambulko Ok Fortschritt:
======================= SUMMARY ======================= v.2023-06-20 Static hostname: Nuc Icon name: computer-desktop Chassis: desktop Machine ID: ad3458d0640e4781a50233d6b3388c72 Boot ID: 0f842b6f9206477d90dac70147d5fedf Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.15.0-84-generic Architecture: x86-64 Installation: native Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Error: Object "system.config" not found Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.0 /usr/bin/node v18.18.0 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 15G 4.1G 5.6G 547M 5.4G 10G Swap: 2.0G 0B 2.0G Total: 17G 4.1G 7.6G Active iob-Instances: 1 List is empty Cannot read system.config: null (OK when migrating or restoring) ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: Cannot read system.config: null (OK when migrating or restoring) iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: Objects: 33 States: 26 Size of iob-Database: 36K /opt/iobroker/iobroker-data/objects.jsonl 92K /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
nodejs scheint jetzt zu laufen, aber 'Cannot read system.config: null (OK when migrating or restoring)' kommt immer noch.
-
-
Nothing to do - Your installation is using the correct paths.