NEWS
Hilfe! Kann keine Adapter mehr Aktualisieren!
-
Guten Abend,
Ich kann irgendwie keine Adapter mehr Aktualisieren, zeitgleich habe Ich den Fehler das Java die Module nicht abrufen kann!
Die laufenden Adapter laufen ohne Probleme.Node.js v10.19.0
NPM 6.13.4
js controller 2.2.9Anbei ein Bild von dem Fehler:
Und der Log:
Java dreht ganz durch: Scripte laufen ohne Probleme!
Ich weiß nicht mehr weiter!
-
Mahlzeit.
Ich habe nun den Iobroker nochmals komplett neu aufgespielt und mit Backitup ein Backup erstellt bzw. hergestellt.
Alles soweit OK, nur der Iobroker läd keine Adapterinformationen.Weiß einer woran das liegen könnte?
-
@Oak sagte in Hilfe! Kann keine Adapter mehr Aktualisieren!:
Weiß einer woran das liegen könnte?
Ja
Was steht denn im log, wenn du auf den refresh Button oben links auf der Adapterseite klickst
-
Hey Hallo,
Danke für deine HilfeDas steht im Log
host.raspberrypi 2020-02-23 12:14:51.900 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"
-
@Oak und trotzdem steht da keine Liste?
Auch nicht nach forced refresh (STRG-F5), nicht dass der Cache zuschlägt
-
Hallo Homoran,
eine LIste steht dort aber die ist nicht aktuell.
Backitup konnte zwei Adapter nicht Installieren weil diese gar nicht zu finden sind.
Unb bei z.B Nina gib es eine v 0.0.19 und mir wird nur 0.0.15 angezeigt.
Java kann auch keine Module (canvas) finden, betseht dort ein zusammenhang? -
@Oak sagte in Hilfe! Kann keine Adapter mehr Aktualisieren!:
eine LIste steht dort aber die ist nicht aktuell.
wer sagt das?
@Oak sagte in Hilfe! Kann keine Adapter mehr Aktualisieren!:
Backitup konnte zwei Adapter nicht Installieren weil diese gar nicht zu finden sind.
wie hattest du die installiert?
über die Liste?
eher nicht, oder?@Oak sagte in Hilfe! Kann keine Adapter mehr Aktualisieren!:
Unb bei z.B Nina gib es eine v 0.0.19 und mir wird nur 0.0.15 angezeigt.
Nochmal: wer sagt das?
Literatur:
https://www.iobroker.net/#de/documentation/tutorial/adapter.md?dieadapterlisteimadmin@Oak sagte in Hilfe! Kann keine Adapter mehr Aktualisieren!:
Java kann auch keine Module (canvas) finden, betseht dort ein zusammenhang?
wahrscheinlich nicht
-
Ich hatte diese damals über die Liste Installiert.
Dies war der BSBLAN Adapter und der Roadtraffic Adapter.Die Materialadapter findet er auch nicht
Mit z.B Nina bin Ich mir sicher, da ich heute morgen vor dem Neuinstallieren probiert habe auf 0.0.19 zu updaten!
-
@Oak sagte in Hilfe! Kann keine Adapter mehr Aktualisieren!:
Dies war der BSBLAN Adapter und der Roadtraffic Adapter.
Die Materialadapter findet er auch nichtDie sind auch nicht im offiziellen Repository
Hast du den Link gelesen?
-
OK Entschuldigung.
Habe auf Latest umgestellt nun findet er diese.
Habe das Irgendwann mal umgestellt und schlicht und einfach vergessen.
Danke -
@Oak geht doch
-
Hast du denn eine Idee warum der die Module von Java nicht findet?
Das Script bleibt auch gelb. -
@Oak und was steht im log?
-
javascript.0 2020-02-23 13:14:01.109 error (1203) at Script.runInContext (vm.js:133:20) javascript.0 2020-02-23 13:14:01.108 error (1203) at script.js.common.Aktiv.Saugroboter:8:5 javascript.0 2020-02-23 13:14:01.108 error (1203) TypeError: Cannot destructure property `createCanvas` of 'undefined' or 'null'. javascript.0 2020-02-23 13:14:01.107 error (1203) ^ javascript.0 2020-02-23 13:14:01.106 error (1203) createCanvas, javascript.0 2020-02-23 13:14:01.106 error (1203) script.js.common.Aktiv.Saugroboter: script.js.common.Aktiv.Saugroboter:6 javascript.0 2020-02-23 13:14:01.104 error (1203) at Script.runInContext (vm.js:133:20) javascript.0 2020-02-23 13:14:01.103 error (1203) at script.js.common.Aktiv.Saugroboter:8:5 javascript.0 2020-02-23 13:14:01.102 error (1203) script.js.common.Aktiv.Saugroboter: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/lib/../../canvas'
-
javascript.0 2020-02-23 13:13:58.296 error (1203) Cannot install npm packet: canvas javascript.0 2020-02-23 13:13:58.294 error (1203) Cannot install canvas: 1 javascript.0 2020-02-23 13:13:58.282 error npm ERR! /home/iobroker/.npm/_logs/2020-02-23T12_13_58_254Z-debug.log javascript.0 2020-02-23 13:13:58.282 error (1203) npm ERR! A complete log of this run can be found in: javascript.0 2020-02-23 13:13:58.281 error (1203) javascript.0 2020-02-23 13:13:58.240 error npm ERR! This is probably not a problem with npm. There is likely additional logging output above. javascript.0 2020-02-23 13:13:58.240 error npm ERR! Failed at the canvas@2.6.1 install script. javascript.0 2020-02-23 13:13:58.240 error npm ERR! javascript.0 2020-02-23 13:13:58.240 error npm ERR! Exit status 1 javascript.0 2020-02-23 13:13:58.240 error (1203) ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build` javascript.0 2020-02-23 13:13:58.238 error (1203) npm javascript.0 2020-02-23 13:13:58.236 error npm ERR! errno 1 javascript.0 2020-02-23 13:13:58.236 error (1203) code ELIFECYCLE javascript.0 2020-02-23 13:13:58.234 error (1203) ERR! javascript.0 2020-02-23 13:13:58.233 error (1203) javascript.0 2020-02-23 13:13:58.232 error (1203) npm javascript.0 2020-02-23 13:13:57.497 info (1203) 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/iobroker.javascript/node_modu javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! not ok javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! node-pre-gyp -v v0.11.0 javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! node -v v10.19.0 javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/canvas javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! System Linux 4.19.97-v7l+ javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16) javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13) javascript.0 2020-02-23 13:13:57.496 error node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-pre-gyp/lib/util/compile.js:83:29) javascript.0 2020-02-23 13:13:57.496 error 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/iobrok javascript.0 2020-02-23 13:13:57.496 error (1203) node-pre-gyp ERR! build error javascript.0 2020-02-23 13:13:57.477 error gyp ERR! not ok javascript.0 2020-02-23 13:13:57.477 error (1203) gyp ERR! node-gyp -v v5.0.5 javascript.0 2020-02-23 13:13:57.476 error gyp ERR! node -v v10.19.0 javascript.0 2020-02-23 13:13:57.476 error gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/canvas javascript.0 2020-02-23 13:13:57.476 error (1203) 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/iobroker.javascript/node_m javascript.0 2020-02-23 13:13:57.475 error gyp javascript.0 2020-02-23 13:13:57.475 error (1203) gyp ERR! System Linux 4.19.97-v7l+ javascript.0 2020-02-23 13:13:57.474 error gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) javascript.0 2020-02-23 13:13:57.474 error gyp ERR! stack at ChildProcess.emit (events.js:198:13) javascript.0 2020-02-23 13:13:57.474 error gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) javascript.0 2020-02-23 13:13:57.474 error (1203) Error: `gyp` failed with exit code: 1 javascript.0 2020-02-23 13:13:57.473 error (1203) gyp ERR! stack javascript.0 2020-02-23 13:13:57.472 error (1203) gyp ERR! configure error javascript.0 2020-02-23 13:13:57.445 error (1203) gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp javascript.0 2020-02-23 13:13:57.444 error No package 'pixman-1' found javascript.0 2020-02-23 13:13:57.444 error to the PKG_CONFIG_PATH environment variable javascript.0 2020-02-23 13:13:57.444 error Perhaps you should add the directory containing `pixman-1.pc' javascript.0 2020-02-23 13:13:57.444 error (1203) Package pixman-1 was not found in the pkg-config search path. javascript.0 2020-02-23 13:13:54.839 error node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.19.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) javascript.0 2020-02-23 13:13:54.839 error (1203) javascript.0 2020-02-23 13:13:54.838 error (1203) Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz javascript.0 2020-02-23 13:13:54.838 error (1203) WARN javascript.0 2020-02-23 13:13:54.836 error (1203) javascript.0 2020-02-23 13:13:54.835 error (1203) node-pre-gyp javascript.0 2020-02-23 13:13:54.591 error (1203) WARN Using request for node-pre-gyp https download javascript.0 2020-02-23 13:13:54.590 error (1203) javascript.0 2020-02-23 13:13:54.589 error (1203) node-pre-gyp javascript.0 2020-02-23 13:13:53.789 info > node-pre-gyp install --fallback-to-build javascript.0 2020-02-23 13:13:53.789 info > canvas@2.6.1 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/canvas javascript.0 2020-02-23 13:13:53.789 info (1203) javascript.0 2020-02-23 13:13:45.396 info (1203) npm install canvas --production --prefix "/opt/iobroker/node_modules/iobroker.javascript" (System call) javascript.0 2020-02-23 13:13:45.395 error (1203) Cannot install canvas: 1 javascript.0 2020-02-23 13:13:45.379 error npm ERR! /home/iobroker/.npm/_logs/2020-02-23T12_13_45_232Z-debug.log javascript.0 2020-02-23 13:13:45.379 error (1203) ERR! A complete log of this run can be found in: javascript.0 2020-02-23 13:13:45.378 error (1203) npm javascript.0 2020-02-23 13:13:45.377 error (1203) javascript.0 2020-02-23 13:13:45.212 error (1203) ERR! This is probably not a problem with npm. There is likely additional logging output above. javascript.0 2020-02-23 13:13:45.212 error npm javascript.0 2020-02-23 13:13:45.212 error npm ERR! Failed at the canvas@2.6.1 install script. javascript.0 2020-02-23 13:13:45.212 error npm ERR! javascript.0 2020-02-23 13:13:45.212 error npm ERR! Exit status 1 javascript.0 2020-02-23 13:13:45.212 error (1203) ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build` javascript.0 2020-02-23 13:13:45.211 error (1203) npm javascript.0 2020-02-23 13:13:45.209 error (1203) npm ERR! errno 1 javascript.0 2020-02-23 13:13:45.208 error (1203) npm ERR! code ELIFECYCLE javascript.0 2020-02-23 13:13:44.344 info (1203) 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/iobroker.javascript/node_modu javascript.0 2020-02-23 13:13:44.343 error node-pre-gyp ERR! not ok javascript.0 2020-02-23 13:13:44.343 error node-pre-gyp ERR! node-pre-gyp -v v0.11.0 javascript.0 2020-02-23 13:13:44.343 error (1203) node -v v10.19.0 javascript.0 2020-02-23 13:13:44.342 error node-pre-gyp ERR! javascript.0 2020-02-23 13:13:44.342 error node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/canvas javascript.0 2020-02-23 13:13:44.342 error (1203) node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" javascript.0 2020-02-23 13:13:44.341 error (1203) node-pre-gyp ERR! System Linux 4.19.97-v7l+ javascript.0 2020-02-23 13:13:44.340 error node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) javascript.0 2020-02-23 13:13:44.340 error (1203) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16) javascript.0 2020-02-23 13:13:44.340 error node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13) javascript.0 2020-02-23 13:13:44.340 error node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-pre-gyp/lib/util/compile.js:83:29) javascript.0 2020-02-23 13:13:44.340 error (1203) 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_module javascript.0 2020-02-23 13:13:44.339 error (1203) ERR! build error javascript.0 2020-02-23 13:13:44.338 error (1203) node-pre-gyp javascript.0 2020-02-23 13:13:44.331 error gyp ERR! not ok javascript.0 2020-02-23 13:13:44.331 error (1203) ERR! node-gyp -v v5.0.5 javascript.0 2020-02-23 13:13:44.330 error gyp javascript.0 2020-02-23 13:13:44.330 error gyp ERR! node -v v10.19.0 javascript.0 2020-02-23 13:13:44.330 error gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/canvas javascript.0 2020-02-23 13:13:44.330 error (1203) 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/iobroker.javascript/node_m javascript.0 2020-02-23 13:13:44.329 error gyp javascript.0 2020-02-23 13:13:44.329 error (1203) gyp ERR! System Linux 4.19.97-v7l+ javascript.0 2020-02-23 13:13:44.328 error gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) javascript.0 2020-02-23 13:13:44.328 error gyp ERR! stack at ChildProcess.emit (events.js:198:13) javascript.0 2020-02-23 13:13:44.328 error (1203) ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) javascript.0 2020-02-23 13:13:44.328 error gyp javascript.0 2020-02-23 13:13:44.328 error (1203) gyp ERR! stack Error: `gyp` failed with exit code: 1 javascript.0 2020-02-23 13:13:44.327 error (1203) configure error javascript.0 2020-02-23 13:13:44.326 error (1203) ERR! javascript.0 2020-02-23 13:13:44.325 error (1203) gyp javascript.0 2020-02-23 13:13:44.307 error (1203) gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp javascript.0 2020-02-23 13:13:44.306 error No package 'pixman-1' found javascript.0 2020-02-23 13:13:44.306 error to the PKG_CONFIG_PATH environment variable javascript.0 2020-02-23 13:13:44.306 error Perhaps you should add the directory containing `pixman-1.pc' javascript.0 2020-02-23 13:13:44.306 error (1203) Package pixman-1 was not found in the pkg-config search path. javascript.0 2020-02-23 13:13:41.689 error (1203) node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.19.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) javascript.0 2020-02-23 13:13:41.688 error (1203) javascript.0 2020-02-23 13:13:41.687 error (1203) Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz javascript.0 2020-02-23 13:13:41.686 error (1203) javascript.0 2020-02-23 13:13:41.685 error (1203) WARN javascript.0 2020-02-23 13:13:41.684 error (1203) javascript.0 2020-02-23 13:13:41.682 error (1203) node-pre-gyp javascript.0 2020-02-23 13:13:41.457 error (1203) WARN Using request for node-pre-gyp https download javascript.0 2020-02-23 13:13:41.456 error (1203) javascript.0 2020-02-23 13:13:41.453 error (1203) node-pre-gyp
-
@Oak das ist dein script.
Aber was sagt denn das log wenn du das Modul hinzufügst?BTW: ist es dieses:
https://www.npmjs.com/package/canvasWenn ja, passt dazu alless?
ich nutze und kenne es nicht -
Ist ja das was im ersten Eintrag steht.
node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canva s-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.g z node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.19.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) Package pixman-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `pixman-1.pc' to the PKG_CONFIG_PATH environment variable No package 'pixman-1' found gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in bindin g.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modu les/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:248:12) gyp ERR! System Linux 4.19.97-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy p/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/node_mod ules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/ho me/pi/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=nap i" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /home/pi/node_modules/canvas gyp ERR! node -v v10.19.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_mo dules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build -- module=/home/pi/node_modules/canvas/build/Release/canvas.node --module_name=canv as --module_path=/home/pi/node_modules/canvas/build/Release --napi_version=5 --n ode_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/node_modules/n ode-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/chi ld_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.97-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node_modules/.bin/node-pre-g yp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /home/pi/node_modules/canvas node-pre-gyp ERR! node -v v10.19.0 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp /bin/node-gyp.js configure --fallback-to-build --module=/home/pi/node_modules/ca nvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/node_ modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_ version=0 --node_napi_label=node-v64' (1) npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the canvas@2.6.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-23T12_20_46_702Z-debug.log pi@raspberrypi:~ $
Hat er ein Problem mit dem Node 10.19.0?