NEWS
updates gehen nicht mehr
-
Hi!
Seit einiger Zeit gehen bei mir die Adapter-Updates nicht mehr. Es werden 8 Updates angezeigt, bei Klick auf update wird auch gearbeitet, tatsächlich wird aber nix aktualisiert. Habe es auch schon manuell mit der Konsole versucht. Hat jemand eine Idee, woran es hängt? Hier ein paar Infos:
Raspberry Pi 4
Linux
node.js 10.18.0
NPM 6.13.4LOG nach Updateversuch von simple-api:
host.raspberrypi 2020-07-05 12:28:55.058 info iobroker exit 0 host.raspberrypi 2020-07-05 12:28:54.012 info iobroker Adapter "simple-api" updated host.raspberrypi 2020-07-05 12:28:53.950 info iobroker upload [0] simple-api.admin /opt/iobroker/node_modules/iobroker.simple-api/admin/index.html index.html text/html host.raspberrypi 2020-07-05 12:28:53.894 info iobroker upload [1] simple-api.admin /opt/iobroker/node_modules/iobroker.simple-api/admin/index_m.html index_m.html text/html host.raspberrypi 2020-07-05 12:28:53.837 info iobroker upload [2] simple-api.admin /opt/iobroker/node_modules/iobroker.simple-api/admin/simple-api.png simple-api.png image/png host.raspberrypi 2020-07-05 12:28:53.657 info iobroker upload [3] simple-api.admin /opt/iobroker/node_modules/iobroker.simple-api/admin/words.js words.js application/javascript host.raspberrypi 2020-07-05 12:28:53.604 info iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-07-05T10_28_53_567Z-debug.log host.raspberrypi 2020-07-05 12:28:53.602 info iobroker host.raspberrypi 2020-07-05 12:28:53.558 info iobroker 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 logging output above. host.raspberrypi 2020-07-05 12:28:53.556 info iobroker ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1 host.raspberrypi 2020-07-05 12:28:53.554 info iobroker npm host.raspberrypi 2020-07-05 12:28:51.109 info iobroker node-pre-gyp ERR! System Linux 4.19.75-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pr host.raspberrypi 2020-07-05 12:28:51.107 info iobroker stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) host.raspberrypi 2020-07-05 12:28:51.106 info iobroker 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_modu host.raspberrypi 2020-07-05 12:28:51.104 info iobroker ERR! build error host.raspberrypi 2020-07-05 12:28:51.103 info iobroker node-pre-gyp host.raspberrypi 2020-07-05 12:28:51.095 info iobroker ERR! System Linux 4.19.75-v7l+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/no host.raspberrypi 2020-07-05 12:28:51.093 info iobroker gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at host.raspberrypi 2020-07-05 12:28:51.091 info iobroker ERR! configure error host.raspberrypi 2020-07-05 12:28:51.089 info iobroker gyp host.raspberrypi 2020-07-05 12:28:51.072 info iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp host.raspberrypi 2020-07-05 12:28:51.070 info iobroker 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 variableNo package 'pixman-1' fou host.raspberrypi 2020-07-05 12:28:26.186 info iobroker npm install iobroker.simple-api@2.4.6 --loglevel error --prefix "/opt/iobroker" (System call) host.raspberrypi 2020-07-05 12:28:26.184 info iobroker NPM version: 6.13.4 host.raspberrypi 2020-07-05 12:28:25.544 info iobroker Update simple-api from @2.4.5 to @2.4.6 host.raspberrypi 2020-07-05 12:28:23.312 info iobroker upgrade simple-api
-
@R0bRakete Ich würde zunächst mal node auf Stand bringen (node 12) und dann ggf. canvas inkl. Pixman manuell installieren.
-
Update gemacht und mit iobroker upgrade self Upgrade versucht....Ausgabe:
pi@raspberrypi:~ $ iobroker upgrade self Update js-controller from @3.1.4 to @3.1.6 NPM version: 6.14.5 npm install iobroker.js-controller@3.1.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) 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 binding.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_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.75-v7l+ 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/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v12.18.2 gyp ERR! node-gyp -v v5.1.0 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_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas node-pre-gyp ERR! node -v v12.18.2 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok 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 logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-07-05T11_35_23_538Z-debug.log Starting node restart.js
-
@R0bRakete Jetzt musst du canvas bzw pixman bauen. Ist mehrfach bereits im Forum hinterlegt wie das geht. Such nach pixman-1.
-
@Thomas-Braun hab das hier gemacht:
sudo apt install libpixman-1-dev libpango1.0-dev libjpeg62-turbo-dev libgif-dev cd /opt/iobroker npm rebuild canvas --build-from-source npm install canvas
und folgende Ausgabe erhalten:
> canvas@2.6.1 install /opt/iobroker/node_modules/canvas > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.2 (node-v72 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 binding.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_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.75-v7l+ 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/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v12.18.2 gyp ERR! node-gyp -v v5.1.0 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_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas node-pre-gyp ERR! node -v v12.18.2 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=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 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 logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-07-05T12_33_05_864Z-debug.log
geht anscheinend immer noch nicht:
host.raspberrypi 2020-07-05 14:34:21.928 info iobroker exit 0 host.raspberrypi 2020-07-05 14:34:20.902 info iobroker Adapter "discovery" updated host.raspberrypi 2020-07-05 14:34:20.846 info iobroker upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png host.raspberrypi 2020-07-05 14:34:20.777 info iobroker upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html host.raspberrypi 2020-07-05 14:34:20.709 info iobroker upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html host.raspberrypi 2020-07-05 14:34:20.648 info iobroker upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html host.raspberrypi 2020-07-05 14:34:20.592 info iobroker upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html host.raspberrypi 2020-07-05 14:34:20.535 info iobroker upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/translateTools.js translateTools.js application/javascript host.raspberrypi 2020-07-05 14:34:20.339 info iobroker upload [6] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript host.raspberrypi 2020-07-05 14:34:20.286 info iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-07-05T12_34_20_148Z-debug.log host.raspberrypi 2020-07-05 14:34:20.285 info iobroker host.raspberrypi 2020-07-05 14:34:20.138 info iobroker ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a proble host.raspberrypi 2020-07-05 14:34:20.137 info iobroker npm host.raspberrypi 2020-07-05 14:34:20.136 info iobroker errno 1 host.raspberrypi 2020-07-05 14:34:20.135 info iobroker npm ERR! host.raspberrypi 2020-07-05 14:34:20.134 info iobroker ERR! code ELIFECYCLE host.raspberrypi 2020-07-05 14:34:20.132 info iobroker npm host.raspberrypi 2020-07-05 14:34:18.104 info iobroker node-pre-gyp ERR! build 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 -- host.raspberrypi 2020-07-05 14:34:18.091 info iobroker cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok host.raspberrypi 2020-07-05 14:34:18.089 info iobroker stack at ChildProcess.emit (events.js:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.75-v7l+gyp ERR! comma host.raspberrypi 2020-07-05 14:34:18.088 info iobroker gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! host.raspberrypi 2020-07-05 14:34:18.086 info iobroker ERR! configure error host.raspberrypi 2020-07-05 14:34:18.085 info iobroker gyp host.raspberrypi 2020-07-05 14:34:18.069 info iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp host.raspberrypi 2020-07-05 14:34:18.067 info iobroker 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 variableNo package 'pixman-1' fou host.raspberrypi 2020-07-05 14:33:50.536 info iobroker npm install iobroker.discovery@2.3.7 --loglevel error --prefix "/opt/iobroker" (System call) host.raspberrypi 2020-07-05 14:33:50.534 info iobroker NPM version: 6.14.5 host.raspberrypi 2020-07-05 14:33:49.900 info iobroker Update discovery from @2.3.5 to @2.3.7 host.raspberrypi 2020-07-05 14:33:47.816 info iobroker upgrade discovery
-
Gerade das hier gemacht:
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev sudo npm install canvas --unsafe-perm=true
sieht bislang ganz gut aus.
Danke! -