NEWS
IoBroker läuft nicht mehr
-
@thomas-braun said in IoBroker läuft nicht mehr:
less -R /home/iobroker/.npm/_logs/2022-07-24T15_31_30_481Z-debug.log
Wie kann ich das log hier reinkopieren. Irgendwie bin ich zu doof dafür
-
@yoshi
Ich versteh das Problem nicht.
Kopieren? Wie oben auch? -
Ich müsste es irgendwo abspeichern. Ich kann in der Console nur irgendwie das Kopieren was ich gerade sehe.
-
@yoshi sagte in IoBroker läuft nicht mehr:
Ich kann in der Console nur irgendwie das Kopieren was ich gerade sehe.
Mit Bild runter / Leertaste blättert man in less.
-
Oder hau es auf die Ausgabe:
cat /home/iobroker/.npm/_logs/2022-07-24T15_31_30_481Z-debug.log
-
Ja das hat geklappt. Aber das Log ist Mega groß. Ich versuche mal das ein oder andere rauszukopieren. Den ich verstehe nur Bahnhof
pi@raspberrypi4-iob:~ $ cat /home/iobroker/.npm/_logs/2022-07-24T15_31_30_481Z-debug.log 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli '--save-exact', 1 verbose cli 'iobroker.vis@1.4.14' 1 verbose cli ] 2 info using npm@6.14.17 3 info using node@v14.20.0 4 verbose npm-session d9b13fc63301aec3 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 304 https://registry.npmjs.org/iobroker.vis 373ms (from cache) 8 http fetch GET 200 https://registry.npmjs.org/iobroker.vis/-/iobroker.vis-1.4.14.tgz 744ms 9 silly pacote version manifest for iobroker.vis@1.4.14 fetched in 1167ms 10 timing stage:loadCurrentTree Completed in 9183ms 11 silly install loadIdealTree 12 silly install cloneCurrentTreeToIdealTree 13 timing stage:loadIdealTree:cloneCurrentTree Completed in 58ms 14 silly install loadShrinkwrap 15 timing stage:loadIdealTree:loadShrinkwrap Completed in 4956ms 16 silly install loadAllDepsIntoIdealTree 17 silly resolveWithNewModule iobroker.vis@1.4.14 checking installable status 18 silly removeObsoleteDep removing iobroker.vis@1.4.15 from the tree as its been replaced by a newer version or is no longer required 19 silly removeObsoleteDep removing @iobroker/adapter-core@2.6.0 from the tree as its been replaced by a newer version or is no longer required 20 silly removeObsoleteDep removing @types/iobroker@4.0.2 from the tree as its been replaced by a newer version or is no longer required 21 silly removeObsoleteDep removing axios@0.26.1 from the tree as its been replaced by a newer version or is no longer required 22 silly removeObsoleteDep removing follow-redirects@1.14.9 from the tree as its been replaced by a newer version or is no longer required 23 http fetch GET 200 https://registry.npmjs.org/@iobroker%2fadapter-core 65ms (from cache) 24 silly pacote range manifest for @iobroker/adapter-core@^2.6.0 fetched in 78ms 25 silly resolveWithNewModule @iobroker/adapter-core@2.6.0 checking installable status 26 http fetch GET 304 https://registry.npmjs.org/axios 146ms (from cache) 27 silly pacote range manifest for axios@^0.26.1 fetched in 161ms 28 silly resolveWithNewModule axios@0.26.1 checking installable status 29 http fetch GET 200 https://registry.npmjs.org/@types%2fiobroker 9ms (from cache) 30 silly pacote range manifest for @types/iobroker@^4.0.1 fetched in 14ms 31 silly resolveWithNewModule @types/iobroker@4.0.4 checking installable status 32 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 8723ms 33 timing stage:loadIdealTree Completed in 16007ms 34 silly currentTree iobroker.inst@2.0.3 34 silly currentTree ├─┬ @abandonware/bluetooth-hci-socket@0.5.3-8 34 silly currentTree │ ├── debug@4.3.4 34 silly currentTree │ └── ms@2.1.2 34 silly currentTree ├─┬ @abandonware/noble@1.9.2-15 34 silly currentTree │ ├── debug@4.3.4 34 silly currentTree │ └── ms@2.1.2
35 silly idealTree ├── yeast@0.1.2 35 silly idealTree └── zrender@4.3.2 36 silly install generateActionsToTake 37 timing stage:generateActionsToTake Completed in 457ms 38 silly diffTrees action count 4 39 silly diffTrees add @types/iobroker@4.0.4 40 silly diffTrees add @iobroker/adapter-core@2.6.0 41 silly diffTrees add axios@0.26.1 42 silly diffTrees add iobroker.vis@1.4.14 43 silly decomposeActions action count 32 44 silly decomposeActions fetch @types/iobroker@4.0.4 45 silly decomposeActions extract @types/iobroker@4.0.4 46 silly decomposeActions preinstall @types/iobroker@4.0.4 47 silly decomposeActions build @types/iobroker@4.0.4 48 silly decomposeActions install @types/iobroker@4.0.4 49 silly decomposeActions postinstall @types/iobroker@4.0.4 50 silly decomposeActions finalize @types/iobroker@4.0.4 51 silly decomposeActions refresh-package-json @types/iobroker@4.0.4 52 silly decomposeActions fetch @iobroker/adapter-core@2.6.0 53 silly decomposeActions extract @iobroker/adapter-core@2.6.0 54 silly decomposeActions preinstall @iobroker/adapter-core@2.6.0 55 silly decomposeActions build @iobroker/adapter-core@2.6.0 56 silly decomposeActions install @iobroker/adapter-core@2.6.0 57 silly decomposeActions postinstall @iobroker/adapter-core@2.6.0 58 silly decomposeActions finalize @iobroker/adapter-core@2.6.0 59 silly decomposeActions refresh-package-json @iobroker/adapter-core@2.6.0 60 silly decomposeActions fetch axios@0.26.1 61 silly decomposeActions extract axios@0.26.1 62 silly decomposeActions preinstall axios@0.26.1 63 silly decomposeActions build axios@0.26.1 64 silly decomposeActions install axios@0.26.1 65 silly decomposeActions postinstall axios@0.26.1 66 silly decomposeActions finalize axios@0.26.1 67 silly decomposeActions refresh-package-json axios@0.26.1 68 silly decomposeActions fetch iobroker.vis@1.4.14 69 silly decomposeActions extract iobroker.vis@1.4.14 70 silly decomposeActions preinstall iobroker.vis@1.4.14 71 silly decomposeActions build iobroker.vis@1.4.14 72 silly decomposeActions install iobroker.vis@1.4.14 73 silly decomposeActions postinstall iobroker.vis@1.4.14 74 silly decomposeActions finalize iobroker.vis@1.4.14 75 silly decomposeActions refresh-package-json iobroker.vis@1.4.14 76 silly install executeActions 77 silly doSerial global-install 32 78 verbose correctMkdir /home/iobroker/.npm/_locks correctMkdir not in flight; initializing 79 verbose lock using /home/iobroker/.npm/_locks/staging-66d2468782e8ffc7.lock for /opt/iobroker/node_modules/.staging 80 silly doParallel extract 4 81 silly extract @types/iobroker@4.0.4 82 silly extract @iobroker/adapter-core@2.6.0 83 silly extract axios@0.26.1 84 silly extract iobroker.vis@1.4.14 85 silly tarball trying axios@^0.26.1 by hash: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== 86 silly tarball trying iobroker.vis@1.4.14 by hash: sha512-KY+HIWjbwd24O7N8ViPD9WxJ9E/+ntPV7xZi93Z9mf85NKaLP6ZkGwW7AJCvnUZTkoAcCCBe5FhNrsxutEQoSw== 87 silly tarball trying @types/iobroker@^4.0.1 by hash: sha512-hioI0Cf73pd0i5QGdJptj4AS+6zpWjBSZ4Vz80VyU/oLO7qgU/UiyO79o/ajAWbNREEVlhCJg8sHCoEAe0Bbaw== 88 silly tarball trying @iobroker/adapter-core@^2.6.0 by hash: sha512-J5Cgy0NK8GWjN1th3yvWCG3tnK8iJJcPaHIoVR8PfpEsz4hffuVGi660vNXqXdiqR5Br09XSJ5h1Pn9af0/taw== 89 silly extract @types/iobroker@^4.0.1 extracted to /opt/iobroker/node_modules/.staging/@types/iobroker-e6a8269f (179ms) 90 silly extract @iobroker/adapter-core@^2.6.0 extracted to /opt/iobroker/node_modules/.staging/@iobroker/adapter-core-29bacaba (201ms) 91 silly extract axios@^0.26.1 extracted to /opt/iobroker/node_modules/.staging/axios-e9689e9f (365ms) 92 silly extract iobroker.vis@1.4.14 extracted to /opt/iobroker/node_modules/.staging/iobroker.vis-c6a771c0 (947ms) 93 timing action:extract Completed in 956ms 94 silly doReverseSerial unbuild 32 95 silly doSerial remove 32 96 silly doSerial move 32 97 silly doSerial finalize 32 98 silly finalize /opt/iobroker/node_modules/iobroker.vis/node_modules/@types/iobroker 99 silly finalize /opt/iobroker/node_modules/iobroker.vis/node_modules/@iobroker/adapter-core 100 silly finalize /opt/iobroker/node_modules/iobroker.vis/node_modules/axios 101 silly finalize /opt/iobroker/node_modules/iobroker.vis 102 timing action:finalize Completed in 23ms 103 silly doParallel refresh-package-json 4 104 silly refresh-package-json /opt/iobroker/node_modules/iobroker.vis/node_modules/@types/iobroker 105 silly refresh-package-json /opt/iobroker/node_modules/iobroker.vis/node_modules/@iobroker/adapter-core 106 silly refresh-package-json /opt/iobroker/node_modules/iobroker.vis/node_modules/axios 107 silly refresh-package-json /opt/iobroker/node_modules/iobroker.vis 108 timing action:refresh-package-json Completed in 38ms 109 silly doParallel preinstall 4 110 silly preinstall @types/iobroker@4.0.4 111 info lifecycle @types/iobroker@4.0.4~preinstall: @types/iobroker@4.0.4 112 silly preinstall @iobroker/adapter-core@2.6.0 113 info lifecycle @iobroker/adapter-core@2.6.0~preinstall: @iobroker/adapter-core@2.6.0 114 silly preinstall axios@0.26.1 115 info lifecycle axios@0.26.1~preinstall: axios@0.26.1 116 silly preinstall iobroker.vis@1.4.14 117 info lifecycle iobroker.vis@1.4.14~preinstall: iobroker.vis@1.4.14 118 timing action:preinstall Completed in 3ms 119 silly doSerial build 32 120 silly build @types/iobroker@4.0.4 121 info linkStuff @types/iobroker@4.0.4 122 silly linkStuff @types/iobroker@4.0.4 has /opt/iobroker/node_modules/iobroker.vis/node_modules as its parent node_modules 123 silly build @iobroker/adapter-core@2.6.0 124 info linkStuff @iobroker/adapter-core@2.6.0 125 silly linkStuff @iobroker/adapter-core@2.6.0 has /opt/iobroker/node_modules/iobroker.vis/node_modules as its parent node_modules 126 silly build axios@0.26.1 127 info linkStuff axios@0.26.1 128 silly linkStuff axios@0.26.1 has /opt/iobroker/node_modules/iobroker.vis/node_modules as its parent node_modules 129 silly build iobroker.vis@1.4.14 130 info linkStuff iobroker.vis@1.4.14 131 silly linkStuff iobroker.vis@1.4.14 has /opt/iobroker/node_modules as its parent node_modules 132 timing action:build Completed in 15ms 133 silly doSerial global-link 32 134 silly doParallel update-linked 0 135 silly doSerial install 32 136 silly install @types/iobroker@4.0.4 137 info lifecycle @types/iobroker@4.0.4~install: @types/iobroker@4.0.4 138 silly install @iobroker/adapter-core@2.6.0 139 info lifecycle @iobroker/adapter-core@2.6.0~install: @iobroker/adapter-core@2.6.0 140 silly install axios@0.26.1 141 info lifecycle axios@0.26.1~install: axios@0.26.1 142 silly install iobroker.vis@1.4.14 143 info lifecycle iobroker.vis@1.4.14~install: iobroker.vis@1.4.14 144 verbose lifecycle iobroker.vis@1.4.14~install: unsafe-perm in lifecycle true 145 verbose lifecycle iobroker.vis@1.4.14~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/iobroker.vis/node_modules/.bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 146 verbose lifecycle iobroker.vis@1.4.14~install: CWD: /opt/iobroker/node_modules/iobroker.vis 147 silly lifecycle iobroker.vis@1.4.14~install: Args: [ '-c', 'node main.js --install' ] 148 silly lifecycle iobroker.vis@1.4.14~install: Returned: code: 6 signal: null 149 info lifecycle iobroker.vis@1.4.14~install: Failed to exec install script 150 timing action:install Completed in 3586ms 151 verbose unlock done using /home/iobroker/.npm/_locks/staging-66d2468782e8ffc7.lock for /opt/iobroker/node_modules/.staging 152 timing stage:rollbackFailedOptional Completed in 266ms 153 timing stage:runTopLevelLifecycles Completed in 30652ms 154 silly saveTree iobroker.inst@2.0.3 154 silly saveTree ├── colors@1.4.0 154 silly saveTree ├─┬ fs-extra@7.0.1 154 silly saveTree │ ├── graceful-fs@4.2.3 154 silly saveTree │ ├── jsonfile@4.0.0 154 silly saveTree │ └── universalify@0.1.2 154 silly saveTree ├─┬ iobroker.admin@6.2.4
154 silly saveTree ├── semver@5.7.1 154 silly saveTree └── yargs@7.1.0 155 verbose stack Error: iobroker.vis@1.4.14 install: `node main.js --install` 155 verbose stack Exit status 6 155 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 155 verbose stack at EventEmitter.emit (events.js:400:28) 155 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 155 verbose stack at ChildProcess.emit (events.js:400:28) 155 verbose stack at maybeClose (internal/child_process.js:1088:16) 155 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) 156 verbose pkgid iobroker.vis@1.4.14 157 verbose cwd /opt/iobroker 158 verbose Linux 5.15.32-v7l+ 159 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--save-exact" "iobroker.vis@1.4.14" 160 verbose node v14.20.0 161 verbose npm v6.14.17 162 error code ELIFECYCLE 163 error errno 6 164 error iobroker.vis@1.4.14 install: `node main.js --install` 164 error Exit status 6 165 error Failed at the iobroker.vis@1.4.14 install script. 165 error This is probably not a problem with npm. There is likely additional logging output above. 166 verbose exit [ 6, true ] pi@raspberrypi4-iob:~ $ Last login: Sun Jul 24 16:56:55 on ttys001 jacekbezler@MacBook-Air-von-Jacek ~ % ssh pi@192.168.0.64 pi@192.168.0.64's password: Linux raspberrypi4-iob 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Jul 24 16:58:48 2022 from 192.168.0.120 pi@raspberrypi4-iob:~ $ cat /home/iobroker/.npm/_logs/2022-07-24T15_31_30_481Z-debug.log 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli '--save-exact', 1 verbose cli 'iobroker.vis@1.4.14' 1 verbose cli ] 2 info using npm@6.14.17 166 verbose exit [ 6, true ]ot a problem with npm. There is likely additional lo
-
Warum auch immer, die Instanzen kann ich wieder sehen.
Nun läuft auch der Adapter HASS nicht und wenn ich ihn nachinstalieren möchte, bekomme ich das gleiche wie bei VIS
-
Geh mal auf nodejs16 hoch.
Anleitung in meiner Signatur. -
ok...kann ich bei der Ausgabe fortfahren ?
pi@raspberrypi4-iob:~ $ cd /opt/iobroker npm ls | grep -E 'github|ERR' │ │ │ ├── github-from-package@0.0.0
-
Ja, das ist kein Fehler.
-
soweit erledigt.
pi@raspberrypi4-iob:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.16.0 v16.16.0 8.11.0 pi /home/pi OK:1 http://phoscon.de/apt/deconz bullseye InRelease OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease OK:3 http://archive.raspberrypi.org/debian bullseye InRelease OK:4 https://repos.influxdata.com/debian stretch InRelease OK:5 https://download.docker.com/linux/debian bullseye InRelease OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease OK:7 https://packages.grafana.com/oss/deb stable InRelease OK:8 https://deb.nodesource.com/node_16.x bullseye InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.16.0-deb-1nodesource1 Installationskandidat: 16.16.0-deb-1nodesource1 Versionstabelle: *** 16.16.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 14.20.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages 12.22.12~dfsg-1~deb11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages pi@raspberrypi4-iob:~ $ iobroker start
-
@yoshi sagte in IoBroker läuft nicht mehr:
OK:4 https://repos.influxdata.com/debian stretch InRelease
Das muss auf bullseye lauten. Stell es um:
sudo sed -i 's/stretch/bullseye/g' /etc/apt/sources.list.d/*
-
Ok erledigt.
HASS läuft auch wieder.
Aber VIS will einfach nicht$ iobroker upgrade vis@1.4.8 --debug Update vis from @1.4.15 to @1.4.8 Installing iobroker.vis@1.4.8... (System call) npm ERR! path /opt/iobroker/node_modules/iobroker.vis host.raspberrypi4-iob Cannot install iobroker.vis@1.4.8: 6 ERROR: Process exited with code 25
-
Dann deinstallier vis mal komplett.
-
gibts dafür nen Befehl oder einfach Instanz in den Papierkorb ?
-
@yoshi sagte in IoBroker läuft nicht mehr:
gibts dafür nen Befehl oder einfach Instanz in den Papierkorb ?
ja und instanz löschen wäre nicht Adapter komplett deinstallieren
iobroker del vis
-
Ja das stimmt, hab auch Adapter gemeint...hab dann den Adapter den Papierkorb benutzt und folgendes kam als Rückmeldung.
$ iobroker del vis --debug host.raspberrypi4-iob Counted 1 instances of vis Cannot remove adapter "vis", because instance "vis-fancyswitch.0" depends on it! ERROR: Process exited with code 47
-
Ich hab kein vis hier laufen, keine Ahnung ob es eine gute Idee ist die ganzen dep auch runterzuwerfen.
-
@thomas-braun vielleicht reicht es den npm cache löschen?
-
Hab nun alle Instanzen von VIS gelöscht und dann konnte ich auch den Adapter Löschen und wieder installieren. Aber natürlich ist mein view weg. Naja egal. Hauptsache alle andere läuft wieder.
Besten Dank Thomas