NEWS
Hilfe! js-controller und javascript Problem
-
@thomas-braun said in Hilfe! js-controller und javascript Problem:
/home/pi/.npm/_logs/2023-09-17T12_55_31_632Z-debug-0.log
dieses Log finde ich nicht. Es gibt nur diese hier:
pi@iobroker:~/.npm/_logs $ ls -ali total 188 266656 drwxr-xr-x 2 pi pi 4096 Sep 17 14:55 . 266426 drwxr-xr-x 5 pi pi 4096 Sep 17 10:41 .. 266657 -rw-r--r-- 1 pi pi 2552 Sep 1 2022 2022-09-01T18_04_03_138Z-debug.log 266493 -rw-r--r-- 1 pi pi 1451 Sep 17 10:09 2023-09-17T08_09_18_724Z-debug-0.log 266498 -rw-r--r-- 1 pi pi 1491 Sep 17 10:09 2023-09-17T08_09_19_852Z-debug-0.log 268272 -rw-r--r-- 1 pi pi 142673 Sep 17 10:42 2023-09-17T08_41_41_026Z-debug-0.log 269827 -rw-r--r-- 1 pi pi 1548 Sep 17 10:42 2023-09-17T08_42_11_297Z-debug-0.log 270742 -rw-r--r-- 1 pi pi 1679 Sep 17 10:42 2023-09-17T08_42_13_793Z-debug-0.log 271160 -rw-r--r-- 1 pi pi 4060 Sep 17 10:43 2023-09-17T08_43_06_662Z-debug-0.log 268264 -rw-r--r-- 1 pi pi 1519 Sep 17 11:24 2023-09-17T09_24_42_119Z-debug-0.log 271161 -rw-r--r-- 1 pi pi 1557 Sep 17 11:24 2023-09-17T09_24_43_276Z-debug-0.log 271163 -rw-r--r-- 1 pi pi 1517 Sep 17 11:24 2023-09-17T09_24_44_442Z-debug-0.log 262153 -rw-r--r-- 1 pi pi 1818 Sep 17 14:55 2023-09-17T12_55_50_944Z-debug-0.log
-
@ionewbie in dem jüngsten steht das hier drin:
pi@iobroker:~/.npm/_logs $ cat 2023-09-17T12_55_50_944Z-debug-0.log 0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@9.6.7 2 info using node@v18.17.1 3 timing npm:load:whichnode Completed in 4ms 4 timing config:load:defaults Completed in 6ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 5ms 6 timing config:load:builtin Completed in 6ms 7 timing config:load:cli Completed in 6ms 8 timing config:load:env Completed in 1ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 5ms 10 timing config:load:project Completed in 8ms 11 timing config:load:file:/home/pi/.npmrc Completed in 1ms 12 timing config:load:user Completed in 2ms 13 timing config:load:file:/usr/etc/npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 3ms 16 timing config:load Completed in 34ms 17 timing npm:load:configload Completed in 34ms 18 timing npm:load:mkdirpcache Completed in 0ms 19 timing npm:load:mkdirplogs Completed in 1ms 20 verbose title npm ls 21 verbose argv "ls" 22 timing npm:load:setTitle Completed in 4ms 23 timing config:load:flatten Completed in 10ms 24 timing npm:load:display Completed in 13ms 25 verbose logfile logs-max:10 dir:/home/pi/.npm/_logs/2023-09-17T12_55_50_944Z- 26 verbose logfile /home/pi/.npm/_logs/2023-09-17T12_55_50_944Z-debug-0.log 27 timing npm:load:logFile Completed in 30ms 28 timing npm:load:timers Completed in 1ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 90ms 31 timing arborist:ctor Completed in 2ms 32 silly logfile start cleaning logs, removing 1 files 33 silly logfile done cleaning log files 34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.daikin-cloud 35 timing command:ls Completed in 4199ms 36 verbose exit 0 37 timing npm Completed in 4373ms 38 info ok
-
Das log ist mit Sicherheit länger.
-
@thomas-braun tatsächlich nein. ist ja auch von heute Mittag, die Upgrades sind höchstens eine Stunde her
hm. -
Dann schau per
cd /opt/iobroker && npm ls -a
an welcher Stelle im Tree die Meldungen auftauchen.
-
@thomas-braun nicht sicher ob ich jetzt verstanden habe. Geht es um Identifikation des NPM Ordners? das wäre bei execa@5.1.1
pi@iobroker:~ $ cd /opt/iobroker & npm ls -a [1] 2960 pi@ /home/pi └─┬ iobroker.js-controller@5.0.12 ├─┬ @alcalzone/esbuild-register@2.5.1-1 │ ├── esbuild@0.11.23 │ └── jsonc-parser@3.2.0 ├─┬ @iobroker/db-objects-file@5.0.12 │ ├─┬ @iobroker/db-base@5.0.12 │ │ ├── @iobroker/js-controller-common@5.0.12 deduped │ │ ├── deep-clone@3.0.3 deduped │ │ ├── fs-extra@11.1.1 deduped │ │ └── respjs@4.2.0 │ ├── @iobroker/db-objects-redis@5.0.12 deduped │ ├── deep-clone@3.0.3 deduped │ └── fs-extra@11.1.1 deduped ├─┬ @iobroker/db-objects-jsonl@5.0.12 │ ├─┬ @alcalzone/jsonl-db@3.1.0 │ │ ├─┬ @alcalzone/proper-lockfile@4.1.3-0 │ │ │ ├── graceful-fs@4.2.11 deduped │ │ │ ├── retry@0.12.0 │ │ │ └── signal-exit@3.0.7 │ │ ├─┬ alcalzone-shared@4.0.8 │ │ │ └── debug@4.3.4 deduped │ │ └─┬ fs-extra@10.1.0 │ │ ├── graceful-fs@4.2.11 deduped │ │ ├── jsonfile@6.1.0 deduped │ │ └── universalify@2.0.0 deduped │ ├── @iobroker/db-base@5.0.12 deduped │ ├── @iobroker/db-objects-file@5.0.12 deduped │ ├── @iobroker/db-objects-redis@5.0.12 deduped │ ├── deep-clone@3.0.3 deduped │ └── fs-extra@11.1.1 deduped ├─┬ @iobroker/db-objects-redis@5.0.12 │ ├── @iobroker/db-base@5.0.12 deduped │ ├── deep-clone@3.0.3 deduped │ ├─┬ ioredis@4.28.5 │ │ ├── cluster-key-slot@1.1.2 │ │ ├── debug@4.3.4 deduped │ │ ├── denque@1.5.1 │ │ ├── lodash.defaults@4.2.0 │ │ ├── lodash.flatten@4.4.0 │ │ ├── lodash.isarguments@3.1.0 │ │ ├── p-map@2.1.0 │ │ ├── redis-commands@1.7.0 │ │ ├── redis-errors@1.2.0 │ │ ├─┬ redis-parser@3.0.0 │ │ │ └── redis-errors@1.2.0 deduped │ │ └── standard-as-callback@2.1.0 │ ├─┬ mime-types@2.1.35 │ │ └── mime-db@1.52.0 │ ├─┬ node.extend@2.0.2 │ │ ├─┬ has@1.0.3 │ │ │ └── function-bind@1.1.1 │ │ └── is@3.3.0 │ └── semver@7.5.4 deduped ├─┬ @iobroker/db-states-file@5.0.12 │ ├── @iobroker/db-base@5.0.12 deduped │ └── @iobroker/db-states-redis@5.0.12 deduped ├─┬ @iobroker/db-states-jsonl@5.0.12 │ ├── @alcalzone/jsonl-db@3.1.0 deduped │ ├── @iobroker/db-base@5.0.12 deduped │ ├── @iobroker/db-states-file@5.0.12 deduped │ └── @iobroker/db-states-redis@5.0.12 deduped ├─┬ @iobroker/db-states-redis@5.0.12 │ ├── @iobroker/db-base@5.0.12 deduped │ └── ioredis@4.28.5 deduped ├─┬ @iobroker/js-controller-adapter@5.0.12 │ ├─┬ @alcalzone/pak@0.8.1 │ │ ├─┬ axios@0.26.1 │ │ │ └── follow-redirects@1.15.2 deduped │ │ ├─┬ execa@5.1.1 │ │ │ ├─┬ cross-spawn@7.0.3 │ │ │ │ ├── path-key@3.1.1 │ │ │ │ ├─┬ shebang-command@2.0.0 │ │ │ │ │ └── shebang-regex@3.0.0 │ │ │ │ └─┬ which@2.0.2 │ │ │ │ └── isexe@2.0.0 │ │ │ ├── get-stream@6.0.1 │ │ │ ├── human-signals@2.1.0 │ │ │ ├── is-stream@2.0.1 deduped │ │ │ ├── merge-stream@2.0.0 │ │ │ ├─┬ npm-run-path@4.0.1 │ │ │ │ └── path-key@3.1.1 deduped │ │ │ ├─┬ onetime@5.1.2 │ │ │ │ └── mimic-fn@2.1.0 │ │ │ ├── signal-exit@3.0.7 deduped │ │ │ └── strip-final-newline@2.0.0 │ │ └─┬ fs-extra@10.1.0 │ │ ├── graceful-fs@4.2.11 deduped │ │ ├── jsonfile@6.1.0 deduped │ │ └── universalify@2.0.0 deduped │ ├── @iobroker/db-objects-file@5.0.12 deduped │ ├── @iobroker/db-objects-jsonl@5.0.12 deduped │ ├── @iobroker/db-objects-redis@5.0.12 deduped │ ├── @iobroker/db-states-file@5.0.12 deduped │ ├── @iobroker/db-states-jsonl@5.0.12 deduped │ ├── @iobroker/db-states-redis@5.0.12 deduped │ ├── @iobroker/js-controller-common-db@5.0.12 deduped │ ├── @iobroker/js-controller-common@5.0.12 deduped │ ├── @iobroker/plugin-base@1.2.1 deduped │ ├── @iobroker/plugin-sentry@1.2.1 deduped │ ├── deep-clone@3.0.3 deduped │ ├── fs-extra@11.1.1 deduped │ ├── jsonwebtoken@9.0.2 deduped │ ├── node-schedule@2.1.1 deduped │ ├── node.extend@2.0.2 deduped │ ├── pidusage@3.0.2 deduped │ ├── readline@1.3.0 │ └── semver@7.5.4 deduped ├─┬ @iobroker/js-controller-cli@5.0.12 │ ├── @iobroker/js-controller-common-db@5.0.12 deduped │ ├── @iobroker/js-controller-common@5.0.12 deduped │ ├── axios@1.5.0 deduped │ ├─┬ chokidar@3.5.3 │ │ ├─┬ anymatch@3.1.3 │ │ │ ├── normalize-path@3.0.0 deduped │ │ │ └── picomatch@2.3.1 │ │ ├─┬ braces@3.0.2 │ │ │ └─┬ fill-range@7.0.1 │ │ │ └─┬ to-regex-range@5.0.1 │ │ │ └── is-number@7.0.0 │ │ ├── UNMET OPTIONAL DEPENDENCY fsevents@~2.3.2 │ │ ├─┬ glob-parent@5.1.2 │ │ │ └── is-glob@4.0.3 deduped │ │ ├─┬ is-binary-path@2.1.0 │ │ │ └── binary-extensions@2.2.0 │ │ ├─┬ is-glob@4.0.3 │ │ │ └── is-extglob@2.1.1 │ │ ├── normalize-path@3.0.0 │ │ └─┬ readdirp@3.6.0 │ │ └── picomatch@2.3.1 deduped │ ├── daemonize2@0.4.2 deduped │ ├── debug@4.3.4 deduped │ ├── deep-clone@3.0.3 deduped │ ├─┬ event-stream@4.0.1 │ │ ├── duplexer@0.1.2 │ │ ├── from@0.1.7 │ │ ├── map-stream@0.0.7 │ │ ├─┬ pause-stream@0.0.11 │ │ │ └── through@2.3.8 deduped │ │ ├─┬ split@1.0.1 │ │ │ └── through@2.3.8 deduped │ │ ├─┬ stream-combiner@0.2.2 │ │ │ ├── duplexer@0.1.2 deduped │ │ │ └── through@2.3.8 deduped │ │ └── through@2.3.8 │ ├── fs-extra@11.1.1 deduped │ ├── mime-types@2.1.35 deduped │ ├── readline-sync@1.4.10 deduped │ ├── semver@7.5.4 deduped │ └─┬ yargs@17.7.2 │ ├─┬ cliui@8.0.1 │ │ ├── string-width@4.2.3 deduped │ │ ├─┬ strip-ansi@6.0.1 │ │ │ └── ansi-regex@5.0.1 │ │ └─┬ wrap-ansi@7.0.0 │ │ ├─┬ ansi-styles@4.3.0 │ │ │ └─┬ color-convert@2.0.1 │ │ │ └── color-name@1.1.4 │ │ ├── string-width@4.2.3 deduped │ │ └── strip-ansi@6.0.1 deduped │ ├── escalade@3.1.1 │ ├── get-caller-file@2.0.5 │ ├── require-directory@2.1.1 │ ├─┬ string-width@4.2.3 │ │ ├── emoji-regex@8.0.0 │ │ ├── is-fullwidth-code-point@3.0.0 │ │ └── strip-ansi@6.0.1 deduped │ ├── y18n@5.0.8 │ └── yargs-parser@21.1.1 ├─┬ @iobroker/js-controller-common-db@5.0.12 │ ├── @iobroker/db-objects-file@5.0.12 deduped │ ├── @iobroker/db-objects-jsonl@5.0.12 deduped │ ├── @iobroker/db-objects-redis@5.0.12 deduped │ ├── @iobroker/db-states-file@5.0.12 deduped │ ├── @iobroker/db-states-jsonl@5.0.12 deduped │ ├── @iobroker/db-states-redis@5.0.12 deduped │ ├── @iobroker/js-controller-common@5.0.12 deduped │ ├── fs-extra@11.1.1 deduped │ ├─┬ winston-seq-updated@1.0.4 │ │ ├── seq-logging@0.4.6 │ │ └── winston-transport@4.5.0 deduped │ └─┬ winston-syslog@2.7.0 │ ├── glossy@0.1.7 │ ├─┬ unix-dgram@2.0.6 │ │ ├─┬ bindings@1.5.0 │ │ │ └── file-uri-to-path@1.0.0 │ │ └── nan@2.18.0 deduped │ └── winston@3.10.0 deduped ├─┬ @iobroker/js-controller-common@5.0.12 │ ├── @alcalzone/pak@0.8.1 deduped │ ├─┬ @datalust/winston-seq@1.0.2 │ │ ├── seq-logging@1.1.2 │ │ ├── winston-transport@4.5.0 deduped │ │ └── winston@3.10.0 deduped │ ├── axios@1.5.0 deduped │ ├── ci-info@3.8.0 │ ├── deep-clone@3.0.3 deduped │ ├─┬ diskusage@1.2.0 │ │ ├── es6-promise@4.2.8 │ │ └── nan@2.18.0 │ ├── event-stream@4.0.1 deduped │ ├── fs-extra@11.1.1 deduped │ ├── jsonwebtoken@9.0.2 deduped │ ├── node-forge@1.3.1 │ ├── node.extend@2.0.2 deduped │ ├── promisify-child-process@4.1.2 deduped │ ├── readline@1.3.0 deduped │ ├── semver@7.5.4 deduped │ ├── triple-beam@1.4.1 │ ├─┬ winston-daily-rotate-file@4.7.1 │ │ ├─┬ file-stream-rotator@0.6.1 │ │ │ └── moment@2.29.4 │ │ ├── object-hash@2.2.0 │ │ ├── triple-beam@1.4.1 deduped │ │ ├── winston-transport@4.5.0 deduped │ │ └── winston@3.10.0 deduped │ ├── winston-syslog@2.7.0 deduped │ ├─┬ winston-transport@4.5.0 │ │ ├─┬ logform@2.5.1 │ │ │ ├── @colors/colors@1.5.0 deduped │ │ │ ├── @types/triple-beam@1.3.3 │ │ │ ├── fecha@4.2.3 │ │ │ ├── ms@2.1.2 deduped │ │ │ ├── safe-stable-stringify@2.4.3 deduped │ │ │ └── triple-beam@1.4.1 deduped │ │ ├─┬ readable-stream@3.6.2 │ │ │ ├── inherits@2.0.4 deduped │ │ │ ├── string_decoder@1.1.1 deduped │ │ │ └── util-deprecate@1.0.2 deduped │ │ └── triple-beam@1.4.1 deduped │ └─┬ winston@3.10.0 │ ├── @colors/colors@1.5.0 deduped │ ├─┬ @dabh/diagnostics@2.0.3 │ │ ├─┬ colorspace@1.1.4 │ │ │ ├─┬ color@3.2.1 │ │ │ │ ├─┬ color-convert@1.9.3 │ │ │ │ │ └── color-name@1.1.3 │ │ │ │ └─┬ color-string@1.9.1 │ │ │ │ ├── color-name@1.1.3 deduped │ │ │ │ └─┬ simple-swizzle@0.2.2 │ │ │ │ └── is-arrayish@0.3.2 │ │ │ └── text-hex@1.0.0 │ │ ├── enabled@2.0.0 │ │ └── kuler@2.0.0 │ ├── async@3.2.3 deduped │ ├── is-stream@2.0.1 │ ├── logform@2.5.1 deduped │ ├─┬ one-time@1.0.0 │ │ └── fn.name@1.1.0 │ ├─┬ readable-stream@3.6.2 │ │ ├── inherits@2.0.4 deduped │ │ ├── string_decoder@1.1.1 deduped │ │ └── util-deprecate@1.0.2 deduped │ ├── safe-stable-stringify@2.4.3 │ ├── stack-trace@0.0.10 │ ├── triple-beam@1.4.1 deduped │ └── winston-transport@4.5.0 deduped ├── @iobroker/plugin-base@1.2.1 ├─┬ @iobroker/plugin-sentry@1.2.1 │ ├── @iobroker/plugin-base@1.2.1 deduped │ ├─┬ @sentry/integrations@7.69.0 │ │ ├── @sentry/types@7.69.0 │ │ ├─┬ @sentry/utils@7.69.0 │ │ │ ├── @sentry/types@7.69.0 deduped │ │ │ └── tslib@2.6.2 deduped │ │ ├─┬ localforage@1.10.0 │ │ │ └─┬ lie@3.1.1 │ │ │ └── immediate@3.0.6 deduped │ │ └── tslib@2.6.2 │ ├─┬ @sentry/node@7.69.0 │ │ ├─┬ @sentry-internal/tracing@7.69.0 │ │ │ ├── @sentry/core@7.69.0 deduped │ │ │ ├── @sentry/types@7.69.0 deduped │ │ │ ├── @sentry/utils@7.69.0 deduped │ │ │ └── tslib@2.6.2 deduped │ │ ├─┬ @sentry/core@7.69.0 │ │ │ ├── @sentry/types@7.69.0 deduped │ │ │ ├── @sentry/utils@7.69.0 deduped │ │ │ └── tslib@2.6.2 deduped │ │ ├── @sentry/types@7.69.0 deduped │ │ ├── @sentry/utils@7.69.0 deduped │ │ ├── cookie@0.4.2 │ │ ├─┬ https-proxy-agent@5.0.1 │ │ │ ├─┬ agent-base@6.0.2 │ │ │ │ └── debug@4.3.4 deduped │ │ │ └── debug@4.3.4 deduped │ │ ├── lru_map@0.3.3 │ │ └── tslib@2.6.2 deduped │ └─┬ source-map-support@0.5.21 │ ├── buffer-from@1.1.2 │ └── source-map@0.6.1 ├─┬ axios@1.5.0 │ ├── follow-redirects@1.15.2 │ ├─┬ form-data@4.0.0 │ │ ├── asynckit@0.4.0 │ │ ├─┬ combined-stream@1.0.8 │ │ │ └── delayed-stream@1.0.0 │ │ └── mime-types@2.1.35 deduped │ └── proxy-from-env@1.1.0 ├── daemonize2@0.4.2 ├─┬ debug@4.3.4 │ └── ms@2.1.2 ├─┬ decache@4.6.2 │ └── callsite@1.0.0 ├── deep-clone@3.0.3 ├─┬ fs-extra@11.1.1 │ ├── graceful-fs@4.2.11 │ ├─┬ jsonfile@6.1.0 │ │ ├── graceful-fs@4.2.11 deduped │ │ └── universalify@2.0.0 deduped │ └── universalify@2.0.0 ├─┬ greenlock-express@4.0.3 │ ├─┬ @root/greenlock-express@4.0.4 │ │ ├── @root/greenlock@4.0.5 deduped │ │ └── redirect-https@1.3.1 deduped │ ├─┬ @root/greenlock@4.0.5 │ │ ├── @greenlock/manager@3.1.0 deduped │ │ ├── @root/acme@3.1.0 deduped │ │ ├── @root/csr@0.8.1 deduped │ │ ├─┬ @root/keypairs@0.10.3 │ │ │ ├── @root/encoding@1.0.1 deduped │ │ │ ├── @root/pem@1.0.4 deduped │ │ │ └── @root/x509@0.7.2 deduped │ │ ├── @root/mkdirp@1.0.0 deduped │ │ ├── @root/request@1.9.2 deduped │ │ ├── acme-http-01-standalone@3.0.5 deduped │ │ ├── cert-info@1.5.1 deduped │ │ ├── greenlock-store-fs@3.2.2 deduped │ │ └── safe-replace@1.1.0 deduped │ └─┬ redirect-https@1.3.1 │ └── escape-html@1.0.3 ├─┬ greenlock@4.0.4 │ ├─┬ @greenlock/manager@3.1.0 │ │ └─┬ greenlock-manager-fs@3.1.1 │ │ ├── @root/mkdirp@1.0.0 deduped │ │ └── safe-replace@1.1.0 deduped │ ├─┬ @root/acme@3.1.0 │ │ ├── @root/csr@0.8.1 deduped │ │ ├── @root/encoding@1.0.1 │ │ ├─┬ @root/keypairs@0.10.3 │ │ │ ├── @root/encoding@1.0.1 deduped │ │ │ ├── @root/pem@1.0.4 deduped │ │ │ └── @root/x509@0.7.2 deduped │ │ ├── @root/pem@1.0.4 │ │ ├── @root/request@1.9.2 deduped │ │ └─┬ @root/x509@0.7.2 │ │ ├── @root/asn1@1.0.0 deduped │ │ └── @root/encoding@1.0.1 deduped │ ├─┬ @root/csr@0.8.1 │ │ ├─┬ @root/asn1@1.0.0 │ │ │ └── @root/encoding@1.0.1 deduped │ │ ├── @root/pem@1.0.4 deduped │ │ └── @root/x509@0.7.2 deduped │ ├── @root/greenlock@4.0.5 deduped │ ├─┬ @root/keypairs@0.9.0 │ │ ├── @root/encoding@1.0.1 deduped │ │ ├── @root/pem@1.0.4 deduped │ │ └── @root/x509@0.7.2 deduped │ ├── @root/mkdirp@1.0.0 │ ├── @root/request@1.9.2 │ ├── acme-http-01-standalone@3.0.5 │ ├── cert-info@1.5.1 │ ├─┬ greenlock-store-fs@3.2.2 │ │ ├── @root/mkdirp@1.0.0 deduped │ │ └── safe-replace@1.1.0 deduped │ └── safe-replace@1.1.0 ├─┬ jsonwebtoken@9.0.2 │ ├─┬ jws@3.2.2 │ │ ├─┬ jwa@1.4.1 │ │ │ ├── buffer-equal-constant-time@1.0.1 │ │ │ ├─┬ ecdsa-sig-formatter@1.0.11 │ │ │ │ └── safe-buffer@5.2.1 deduped │ │ │ └── safe-buffer@5.2.1 deduped │ │ └── safe-buffer@5.2.1 deduped │ ├── lodash.includes@4.3.0 │ ├── lodash.isboolean@3.0.3 │ ├── lodash.isinteger@4.0.4 │ ├── lodash.isnumber@3.0.3 │ ├── lodash.isplainobject@4.0.6 │ ├── lodash.isstring@4.0.1 │ ├── lodash.once@4.1.1 │ ├── ms@2.1.2 deduped │ └── semver@7.5.4 deduped ├─┬ jszip@3.10.1 │ ├─┬ lie@3.3.0 │ │ └── immediate@3.0.6 │ ├── pako@1.0.11 │ ├─┬ readable-stream@2.3.8 │ │ ├── core-util-is@1.0.3 │ │ ├── inherits@2.0.4 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@2.0.1 │ │ ├── safe-buffer@5.1.2 │ │ ├─┬ string_decoder@1.1.1 │ │ │ └── safe-buffer@5.1.2 │ │ └── util-deprecate@1.0.2 │ └── setimmediate@1.0.5 ├─┬ le-acme-core@2.1.4 │ ├─┬ request@2.88.2 │ │ ├── aws-sign2@0.7.0 │ │ ├── aws4@1.12.0 │ │ ├── caseless@0.12.0 │ │ ├── combined-stream@1.0.8 deduped │ │ ├── extend@3.0.2 │ │ ├── forever-agent@0.6.1 │ │ ├─┬ form-data@2.3.3 │ │ │ ├── asynckit@0.4.0 deduped │ │ │ ├── combined-stream@1.0.8 deduped │ │ │ └── mime-types@2.1.35 deduped │ │ ├─┬ har-validator@5.1.5 │ │ │ ├─┬ ajv@6.12.6 │ │ │ │ ├── fast-deep-equal@3.1.3 │ │ │ │ ├── fast-json-stable-stringify@2.1.0 │ │ │ │ ├── json-schema-traverse@0.4.1 │ │ │ │ └─┬ uri-js@4.4.1 │ │ │ │ └── punycode@2.3.0 deduped │ │ │ └── har-schema@2.0.0 │ │ ├─┬ http-signature@1.2.0 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├─┬ jsprim@1.4.2 │ │ │ │ ├── assert-plus@1.0.0 deduped │ │ │ │ ├── extsprintf@1.3.0 │ │ │ │ ├── json-schema@0.4.0 │ │ │ │ └─┬ verror@1.10.0 │ │ │ │ ├── assert-plus@1.0.0 deduped │ │ │ │ ├── core-util-is@1.0.2 │ │ │ │ └── extsprintf@1.3.0 deduped │ │ │ └─┬ sshpk@1.17.0 │ │ │ ├─┬ asn1@0.2.6 │ │ │ │ └── safer-buffer@2.1.2 deduped │ │ │ ├── assert-plus@1.0.0 deduped │ │ │ ├─┬ bcrypt-pbkdf@1.0.2 │ │ │ │ └── tweetnacl@0.14.5 deduped │ │ │ ├─┬ dashdash@1.14.1 │ │ │ │ └── assert-plus@1.0.0 deduped │ │ │ ├─┬ ecc-jsbn@0.1.2 │ │ │ │ ├── jsbn@0.1.1 deduped │ │ │ │ └── safer-buffer@2.1.2 deduped │ │ │ ├─┬ getpass@0.1.7 │ │ │ │ └── assert-plus@1.0.0 deduped │ │ │ ├── jsbn@0.1.1 │ │ │ ├── safer-buffer@2.1.2 │ │ │ └── tweetnacl@0.14.5 │ │ ├── is-typedarray@1.0.0 │ │ ├── isstream@0.1.2 │ │ ├── json-stringify-safe@5.0.1 │ │ ├── mime-types@2.1.35 deduped │ │ ├── oauth-sign@0.9.0 │ │ ├── performance-now@2.1.0 │ │ ├── qs@6.5.3 │ │ ├── safe-buffer@5.2.1 deduped │ │ ├─┬ tough-cookie@2.5.0 │ │ │ ├── psl@1.9.0 │ │ │ └── punycode@2.3.0 │ │ ├─┬ tunnel-agent@0.6.0 │ │ │ └── safe-buffer@5.2.1 deduped │ │ └── uuid@3.4.0 │ └─┬ rsa-compat@1.9.4 │ ├─┬ keypairs@1.2.14 │ │ ├── eckles@1.4.1 │ │ └── rasha@1.2.5 │ ├── node-forge@0.7.6 │ └─┬ ursa-optional@0.9.10 │ ├── bindings@1.5.0 deduped │ └── nan@2.18.0 deduped ├─┬ le-challenge-fs@2.0.9 │ └── @root/mkdirp@1.0.0 deduped ├── le-sni-auto@2.1.9 ├─┬ loadavg-windows@1.1.1 │ └── weak-daemon@1.0.3 ├─┬ node-schedule@2.1.1 │ ├─┬ cron-parser@4.9.0 │ │ └── luxon@3.4.3 │ ├── long-timeout@0.1.1 │ └── sorted-array-functions@1.3.0 ├─┬ pidusage@3.0.2 │ └── safe-buffer@5.2.1 ├── promisify-child-process@4.1.2 ├─┬ prompt@1.3.0 │ ├── @colors/colors@1.5.0 │ ├── async@3.2.3 │ ├─┬ read@1.0.7 │ │ └── mute-stream@0.0.8 │ ├── revalidator@0.1.8 │ └─┬ winston@2.4.7 │ ├─┬ async@2.6.4 │ │ └── lodash@4.17.21 │ ├── colors@1.0.3 │ ├── cycle@1.0.3 │ ├── eyes@0.1.8 │ ├── isstream@0.1.2 deduped │ └── stack-trace@0.0.10 deduped ├── readline-sync@1.4.10 ├─┬ semver@7.5.4 │ └─┬ lru-cache@6.0.0 │ └── yallist@4.0.0 deduped └─┬ tar@6.2.0 ├── chownr@2.0.0 ├─┬ fs-minipass@2.1.0 │ └─┬ minipass@3.3.6 │ └── yallist@4.0.0 deduped ├── minipass@5.0.0 ├─┬ minizlib@2.1.2 │ ├─┬ minipass@3.3.6 │ │ └── yallist@4.0.0 deduped │ └── yallist@4.0.0 deduped ├── mkdirp@1.0.4 └── yallist@4.0.0 [1]+ Done cd /opt/iobroker
-
Sorry, mein Fehler.
Aber dadurch haben wir eine Parallel-Installation in /home/pi gefunden.
Du hast also irendwie da was 'daneben' geworfen.
In den Heimverzeichnissen der user muss das so aussehen (auf meiner Kiste):echad@chet:~ $ npm ls -a /home/echad └── (empty) echad@chet:~ $ cd /home/iobroker/ echad@chet:/home/iobroker $ npm ls -a /home/iobroker └── (empty) echad@chet:/home/iobroker $
-
@thomas-braun hm, keine Ahnung, zumindest nicht bewußt.
Was ist jetzt als nächstes dran? der js-controller ist ja immer noch auf altem Stand
-
Ich würde das Verzeichnis
node_modules
aus den Homes der user löschen. Schau bei deinem Standarduser und dem iobroker rein. -
@thomas-braun äh... moment.
Standarduser / Normaluser?
Ich habe den PI nur für IOB und das hab ich wohl mal mit dem pi installiert. da mache ich nichts anderes.
Was genau meinst du was ich tun soll?
-
@ionewbie unter /homes habe ich iobroker und pi.
überall klebt das aktuelle Datum dran:
pi@iobroker:/home $ ls -ali total 16 16385 drwxr-xr-x 4 root root 4096 Sep 1 2022 . 2 drwxr-xr-x 18 root root 4096 Sep 17 09:55 .. 131490 drwxr-xr-x 5 iobroker iobroker 4096 Sep 17 11:24 iobroker 873 drwxr-xr-x 9 pi pi 4096 Sep 17 12:24 pi
In iobroker sieht es so aus:
pi@iobroker:/home/iobroker $ ls -ali total 76 131490 drwxr-xr-x 5 iobroker iobroker 4096 Sep 17 11:24 . 16385 drwxr-xr-x 4 root root 4096 Sep 1 2022 .. 131518 -rw-r--r-- 1 iobroker iobroker 220 Jan 3 2021 .bash_logout 131520 -rw-r--r-- 1 iobroker iobroker 3523 Apr 4 2022 .bashrc 131966 drwxr-xr-x 4 iobroker iobroker 4096 Sep 17 08:54 .cache 136594 drwx------ 3 iobroker iobroker 4096 Sep 1 2022 .config 140520 -rw-r--r-- 1 iobroker iobroker 13830 Sep 17 14:55 .diag.sh 140566 -rw-r--r-- 1 iobroker iobroker 18783 Sep 17 14:56 iob_diag.log 131492 -rw-r--r-- 1 iobroker iobroker 1670 Jul 10 2021 .mkshrc 131522 drwxr-xr-x 6 iobroker iobroker 4096 Sep 17 10:12 .npm 131519 -rw-r--r-- 1 iobroker iobroker 807 Jan 3 2021 .profile
-
cd ls -lAh
-
@thomas-braun said in Hilfe! js-controller und javascript Problem:
ls -lAh
pi@iobroker:/home $ ls -lAh total 8.0K drwxr-xr-x 5 iobroker iobroker 4.0K Sep 17 11:24 iobroker drwxr-xr-x 9 pi pi 4.0K Sep 17 12:24 pi
-
cd ls -lAh
-
pi@iobroker:~ $ ls -lAh total 196K -rw------- 1 pi pi 4.5K Sep 17 15:19 .bash_history -rw-r--r-- 1 pi pi 220 Apr 4 2022 .bash_logout -rw-r--r-- 1 pi pi 3.7K Sep 17 12:24 .bashrc drwxr-xr-x 4 pi pi 4.0K Sep 1 2022 .cache drwx------ 3 pi pi 4.0K Sep 1 2022 .config -rwxr-xr-- 1 pi pi 107 Sep 17 10:42 iob drwxr-xr-x 2 pi pi 4.0K Sep 1 2022 .iobroker -rwxr-xr-- 1 pi pi 107 Sep 17 10:42 iobroker drwxr-xr-x 2 pi pi 4.0K Sep 17 10:42 iobroker-data drwxr-xr-x 3 pi pi 4.0K Jul 16 16:01 .local drwxr-xr-x 259 pi pi 12K Sep 17 10:42 node_modules drwxr-xr-x 5 pi pi 4.0K Sep 17 10:41 .npm -rw------- 1 pi pi 36 Sep 1 2022 .npmrc -rw-r--r-- 1 pi pi 68 Sep 17 10:42 package.json -rw-r--r-- 1 pi pi 116K Sep 17 10:42 package-lock.json -rw-r--r-- 1 pi pi 807 Apr 4 2022 .profile -rw-r--r-- 1 pi pi 140 Jul 16 16:02 readme.txt -rw-r--r-- 1 pi pi 104 Jul 16 04:13 sources-dist-hash.json
-
Das ist eine komplette Installation im falschen Verzeichnis. Wie schafft man das?
rm iob* rm .io* rm -rf node_modules rm package* rm sources-dist-hash.json
-
@ionewbie
Anfängerfehler, vermutlich. Ich bin irgendeiner Anleitung damals zur Installation des IOB gefolgt, das weiß ich nicht mehr.Gibt es absolut adressierte Pfade oder oder ist es letztlich egal, in welchem Ordner das installiert wurde?
-
@ionewbie sagte in Hilfe! js-controller und javascript Problem:
ok. verstehe ich korrekt, dass ich den Ordner node_modules mit allem was drin ist, in /homes/pi löschen soll, weil es ja noch den Ordner in /node_modules gibt?
Ja, und alles andere auch. Siehe oben.
Die richtige Installation wohnt in /opt/iobrokerkaputt machen wir damit nichts?
Sehn wir dann.
-
@thomas-braun omg.
Dann komme ich jetzt an den Punkt für folgende Überlegung: lieber Raspi löschen und alles frisch neu installieren oder troubleshooten?
Das Troubleshooting hat mich heute fast schon den ganzen Tag gekostet - und dir sicher auch einiges an Zeit.
Ich verliere dabei als wichtigstes die mitgeschriebenen Daten aus dem KNX Adapter. Aber ich sterbe nicht wenn die auch weg sind. Der Rest an Adaptern und Daten im System sind nice to have.Der Rest an Customizing ist mir egal und kann ich neu machen. Eine Visu habe ich eh noch nicht auf die Reihe bekommen, weil ich noch keine Zeit für die Einarbeitung gefunden habe.
Management für mein Smarthome geht bisher komplett am IOB vorbei, dafür ist mir der - wie ich jetzt wieder sehe - zu unzuverlässig, das ist eher was zum Basteln.Wir sind jetzt gerade noch vor Start der nächsten Heizperiode, und die will ich voll mit tracken. Die Daten vom letzten Winterhalbjahr sind dann halt weg.
Das weitere Troubleshooting und Nachfrage/Antwort-Spiel wird mich noch sehr viel weitere Zeit kosten.
Da frag ich lieber mal nach einer aktuellen und korrekten Anleitung für eine Neuinstallation auf dem Raspi 4. Ggfs kann ich dann auch gleich das OS da hin bringen, wohin es für IOB soll.
-
@ionewbie sagte in Hilfe! js-controller und javascript Problem:
Das weitere Troubleshooting und Nachfrage/Antwort-Spiel wird mich noch sehr viel weitere Zeit kosten.
Das musst du wissen.
Allerdings kann ich
dafür ist mir der - wie ich jetzt wieder sehe - zu unzuverlässig, das ist eher was zum Basteln.
so nicht stehen lassen. Das Ding has DU dir selber verbastelt. Eine unverfummelte 'stable'-Installation ist auch genau das: Stable.