NEWS
Nur 1x Update Adapter möglich
-
Hallo zusammen,
ich habe einige Adapter, die ich gerne auf den neuesten Stand bringen möchte. Wenn ich dies aus der Weboberfläche mache, klappt das auch für den ausgewählten Adapter, der zuvor erfolgreich aktualisierte andere Adapter wird dann aber scheinbar wieder in die vorherige Version zurückgesetzt. Beispiel:
- Update von Alexa2 erfolgreich auf 3.2.8 => ok
- Dann Update von Backitup auf Version 1.5.8 => ok
Aber: Alexa2 wird dann wieder mit installierter Version 3.0.5 angezeigt.
Hat hier jemand eine Idee?
Danke und Grüße...
-
@flitzpiepe
Über die Konsole:iobroker update iobroker upgrade
-
@flitzpiepe der browser zeigt oft noch alte Daten an, also nach dem Update mal aktualisieren oder notfalls Cache löschen.
-
Hallo,
danke für die beiden Hinweise: Am Browsercache, oder falscher Aktualisierung lag es nicht. Das Verhalten war nach dem Löschen des Caches weiterhin so.
Wenn ich über die Console die Adapter update, sind allerdings Fehler im Log zu sehen, die mir aber leider nichts sagen. Die zu aktualisierenden Adapter werden auch damit alle nicht geupdated. Kann ich hier nochmal auf eure Unterstützung zurückgreifen?pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ iobroker update Used repository: default hash unchanged, use cached sources update done Adapter "admin" : 4.0.10 , installed 4.0.10 Adapter "alarm" : 1.1.1 Adapter "alexa2" : 3.2.8 , installed 3.0.5 [Updateable] Adapter "alpha2" : 1.0.0 Adapter "amazon-dash" : 1.1.0 Adapter "artnet" : 1.2.2 Adapter "asterisk" : 1.0.6 Adapter "asuswrt" : 1.0.1 Adapter "b-control-em" : 0.2.1 Adapter "backitup" : 1.5.8 , installed 1.5.8 Adapter "beckhoff" : 1.2.2 Adapter "benq" : 0.2.0 Adapter "binance" : 1.1.2 Adapter "ble" : 0.11.6 Adapter "bmw" : 1.3.3 Adapter "bosesoundtouch": 0.2.4 Adapter "botvac" : 1.0.0 Adapter "bring" : 1.7.2 Adapter "broadlink2" : 2.0.3 Adapter "bsblan" : 0.1.2 Adapter "bshb" : 0.1.10 Adapter "chromecast" : 2.3.1 Adapter "cloud" : 3.0.3 , installed 3.0.3 Adapter "comfoair" : 0.3.2 Adapter "contactid" : 1.0.1 Adapter "coronavirus-statistics": 0.5.9 Adapter "countdown" : 1.1.0 Adapter "cul" : 1.2.1 Adapter "daikin" : 1.0.5 Adapter "daswetter" : 3.0.1 Adapter "deconz" : 1.3.9 Adapter "denon" : 1.7.7 Adapter "devices" : 0.3.6 Adapter "digitalstrom" : 0.5.5 Adapter "discovergy" : 0.5.0 Adapter "discovery" : 2.3.7 , installed 2.3.5 [Updateable] Adapter "doorio" : 1.0.7 Adapter "ds18b20" : 1.1.4 Adapter "dwd" : 2.4.10 , installed 2.4.9 [Updateable] Adapter "ebus" : 2.1.0 Adapter "ecovacs-deebot": 1.0.3 , installed 1.0.0 [Updateable] Adapter "egigeozone" : 0.1.2 , installed 0.1.2 Adapter "ekey" : 1.1.0 Adapter "email" : 1.0.7 Adapter "emby" : 1.0.2 Adapter "energymanager" : 1.2.2 Adapter "enet" : 1.0.1 Adapter "epson_stylus_px830": 0.2.1 Adapter "exchangerates" : 0.0.13 Adapter "fakeroku" : 0.2.1 Adapter "fb-checkpresence": 1.0.4 Adapter "feiertage" : 1.0.17 , installed 1.0.17 Adapter "fhem" : 1.3.0 Adapter "find-my-iphone": 0.2.15 Adapter "firetv" : 0.0.27 Adapter "flot" : 1.9.2 , installed 1.9.2 Adapter "foobar2000" : 2.0.3 Adapter "fritzbox" : 0.2.1 , installed 0.2.1 Adapter "fritzdect" : 0.2.4 Adapter "fronius" : 1.0.5 Adapter "fullcalendar" : 1.1.0 Adapter "fullybrowser" : 1.0.3 Adapter "g-homa" : 0.5.3 Adapter "geofency" : 0.3.2 Adapter "gruenbeck" : 0.0.18 Adapter "habpanel" : 0.4.1 Adapter "haier" : 1.0.2 Adapter "ham" : 1.1.2 Adapter "ham-wemo" : 1.0.1 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "heatingcontrol": 0.5.6 Adapter "heytech" : 0.2.0 Adapter "hid" : 0.1.17 Adapter "history" : 1.9.8 Adapter "hm-rega" : 2.6.14 , installed 2.5.5 [Updateable] Adapter "hm-rpc" : 1.14.2 , installed 1.14.2 Adapter "hmip" : 0.0.11 Adapter "homeconnect" : 0.0.30 Adapter "homee" : 1.0.7 Adapter "homepilot" : 1.0.3 Adapter "hp-ilo" : 1.0.6 Adapter "hs100" : 2.0.0 Adapter "hue" : 3.3.5 , installed 3.3.2 [Updateable] Adapter "hue-extended" : 1.3.8 Adapter "ical" : 1.7.0 , installed 1.7.0 Adapter "icons-addictive-flavour-png": 0.1.0 Adapter "icons-fatcow-hosting": 0.1.0 Adapter "icons-icons8" : 0.0.1 Adapter "icons-material-png": 0.1.0 Adapter "icons-material-svg": 0.1.0 Adapter "icons-mfd-png" : 1.0.2 , installed 1.0.2 Adapter "icons-mfd-svg" : 1.0.2 , installed 1.0.2 Adapter "icons-open-icon-library-png": 0.1.2 Adapter "icons-ultimate-png": 1.0.1 Adapter "influxdb" : 1.8.6 Adapter "info" : 1.7.2 , installed 1.7.2 Adapter "innogy-smarthome": 0.3.6 Adapter "iogo" : 0.5.10 Adapter "iot" : 1.5.3 , installed 1.5.3 Adapter "iqontrol" : 1.0.0 Adapter "javascript" : 4.6.17 , installed 4.6.17 Adapter "jeelink" : 0.1.0 Controller "js-controller" : 3.1.6 , installed 3.1.4 [Updateable] Adapter "kecontact" : 0.1.0 Adapter "klf200" : 0.9.5 Adapter "km200" : 1.1.6 Adapter "knmi-weather" : 0.2.0 Adapter "knx" : 1.0.39 Adapter "kodi" : 2.0.4 Adapter "kress" : 2.5.5 Adapter "lametric" : 0.0.9 Adapter "landroid" : 1.0.3 Adapter "lcn" : 0.3.2 Adapter "letrika_comgw" : 0.0.5 Adapter "lgtv" : 1.1.9 Adapter "lgtv-rs" : 0.1.0 Adapter "lgtv11" : 1.0.5 Adapter "lifx" : 0.1.0 Adapter "lightify" : 0.2.16 Adapter "link" : 0.5.9 Adapter "linkeddevices" : 1.1.4 Adapter "logparser" : 1.0.0 Adapter "lovelace" : 1.0.16 Adapter "loxone" : 1.0.0 Adapter "luftdaten" : 0.0.15 Adapter "lupusec" : 1.2.6 Adapter "luxtronik1" : 0.2.2 Adapter "material" : 0.13.8 Adapter "maxcube" : 0.1.2 Adapter "maxcul" : 1.3.0 Adapter "mbus" : 2.2.0 Adapter "mclighting" : 0.1.1 Adapter "megad" : 1.2.1 Adapter "megadd" : 0.2.0 Adapter "megaesp" : 0.1.0 Adapter "melcloud" : 1.0.6 Adapter "mercedesme" : 0.0.21 Adapter "mercury" : 0.1.1 Adapter "meross" : 1.5.0 Adapter "meteoalarm" : 1.0.9 Adapter "midea" : 0.0.6 Adapter "miele" : 0.1.5 Adapter "mielecloudservice": 1.2.4 Adapter "mihome" : 1.3.0 Adapter "mihome-lamp" : 1.1.0 Adapter "mihome-plug" : 0.2.0 Adapter "mihome-vacuum" : 2.0.7 , installed 1.1.5 [Updateable] Adapter "mikrotik" : 1.0.11 Adapter "milight" : 0.3.6 Adapter "milight-smart-light": 0.2.7 Adapter "mobile" : 0.5.0 Adapter "modbus" : 3.1.6 Adapter "moma" : 1.2.6 Adapter "mpd" : 1.0.5 Adapter "mqtt" : 2.1.2 Adapter "mqtt-client" : 1.3.1 Adapter "musiccast" : 0.1.3 Adapter "mysensors" : 2.0.1 Adapter "nanoleaf-lightpanels": 0.8.1 Adapter "nello" : 2.0.6 Adapter "netatmo" : 1.3.1 Adapter "nibeuplink" : 0.3.0 Adapter "nina" : 0.0.22 Adapter "node-red" : 1.17.2 Adapter "nuki" : 1.2.3 Adapter "nuki-extended" : 2.2.5 Adapter "nut" : 1.1.3 Adapter "odl" : 1.0.5 Adapter "oilfox" : 0.0.5 Adapter "onkyo" : 2.0.3 Adapter "onvif" : 0.0.2 Adapter "openhab" : 1.1.0 Adapter "openligadb" : 1.1.0 Adapter "openweathermap": 0.1.0 Adapter "opi" : 0.1.1 Adapter "oppoplayer" : 0.2.1 Adapter "owfs" : 0.6.4 Adapter "owntracks" : 0.6.2 Adapter "panasonic-viera": 1.0.2 Adapter "parser" : 1.0.7 Adapter "paw" : 0.0.7 Adapter "phantomjs" : 1.0.1 Adapter "pi-hole" : 1.2.3 Adapter "piface" : 1.0.0 Adapter "pimatic" : 0.3.0 Adapter "ping" : 1.4.8 , installed 1.4.7 [Updateable] Adapter "places" : 0.7.0 Adapter "plex" : 0.8.11 Adapter "plexconnect" : 0.0.7 Adapter "pollenflug" : 1.0.6 Adapter "proxmox" : 1.0.1 Adapter "proxy" : 1.1.1 Adapter "pushbullet" : 0.0.11 Adapter "pushover" : 2.0.2 , installed 2.0.2 Adapter "pushsafer" : 0.1.8 Adapter "radar2" : 1.0.9 Adapter "radiohead" : 1.0.7 Adapter "rflink" : 2.0.0 Adapter "rickshaw" : 1.0.0 Adapter "ring" : 1.1.3 Adapter "robonect" : 0.1.3 Adapter "roomba" : 1.1.1 Adapter "rpi2" : 1.2.0 Adapter "s7" : 1.1.8 Adapter "samsung" : 0.2.9 Adapter "sayit" : 1.9.4 Adapter "sbfspot" : 3.0.0 Adapter "scenes" : 1.1.0 , installed 1.1.0 Adapter "schoolfree" : 0.6.3 Adapter "shelly" : 3.3.3 Adapter "shuttercontrol": 0.6.2 Adapter "sia" : 1.0.4 Adapter "siegenia" : 1.0.0 Adapter "simple-api" : 2.4.6 , installed 2.4.5 [Updateable] Adapter "smappee" : 0.2.2 Adapter "smartgarden" : 1.0.0 Adapter "smartmeter" : 3.1.2 Adapter "snips" : 1.5.0 Adapter "snmp" : 0.5.0 Adapter "socketio" : 3.0.9 , installed 3.0.7 [Updateable] Adapter "solarlog" : 2.0.0 Adapter "solarwetter" : 1.0.0 Adapter "sonnen" : 1.5.2 Adapter "sonoff" : 2.3.3 Adapter "sonos" : 2.1.0 , installed 2.0.1 [Updateable] Adapter "sony-bravia" : 1.0.1 Adapter "spotify-premium": 1.0.0 Adapter "sql" : 1.12.5 , installed 1.12.5 Adapter "squeezebox" : 1.0.0 Adapter "squeezeboxrpc" : 1.0.0 Adapter "starline" : 1.0.0 Adapter "statistics" : 0.2.2 Adapter "stiebel-isg" : 1.4.11 Adapter "sunnyportal" : 0.1.5 Adapter "swiss-weather-api": 0.2.0 Adapter "synology" : 0.1.18 Adapter "systeminfo" : 0.3.1 Adapter "tahoma" : 0.3.2 Adapter "tankerkoenig" : 2.0.5 Adapter "telegram" : 1.5.9 Adapter "terminal" : 0.1.2 Adapter "tesla-motors" : 0.2.3 Adapter "text2command" : 1.3.0 Adapter "tinker" : 1.1.0 Adapter "tr-064" : 4.0.9 , installed 4.0.3 [Updateable] Adapter "tradfri" : 2.6.3 Adapter "trashschedule" : 0.0.7 Adapter "tunnelbroker-endpoint-updater": 0.0.1 Adapter "tuya" : 3.3.6 Adapter "tvspielfilm" : 1.0.4 Adapter "unifi" : 0.4.3 Adapter "upnp" : 1.0.16 Adapter "vaillant" : 0.0.10 Adapter "valloxmv" : 1.0.3 Adapter "vcard" : 0.0.9 Adapter "velux" : 0.0.5 Adapter "viessmann" : 1.2.4 Adapter "virtualpowermeter": 1.2.1 Adapter "vis" : 1.2.4 , installed 1.2.4 Adapter "vis-bars" : 0.1.4 Adapter "vis-canvas-gauges": 0.1.5 Adapter "vis-colorpicker": 1.1.1 Adapter "vis-fancyswitch": 1.1.0 Adapter "vis-google-fonts": 0.1.0 Adapter "vis-history" : 1.0.0 Adapter "vis-hqwidgets" : 1.1.4 , installed 1.1.4 Adapter "vis-icontwo" : 0.6.0 Adapter "vis-inventwo" : 1.3.8 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 Adapter "vis-keyboard" : 0.0.2 Adapter "vis-lcars" : 1.0.4 Adapter "vis-map" : 1.0.4 Adapter "vis-metro" : 1.1.2 , installed 1.1.2 Adapter "vis-players" : 0.1.6 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7 Adapter "vis-weather" : 2.5.2 Adapter "vr200" : 1.0.0 Adapter "vw-connect" : 0.0.15 Adapter "weatherunderground": 3.2.1 Adapter "web" : 3.0.9 , installed 3.0.8 [Updateable] Adapter "weishaupt-wem" : 0.0.8 Adapter "wiffi-wz" : 2.2.0 Adapter "wifilight" : 1.1.0 Adapter "windows-control": 0.1.3 Adapter "wled" : 0.5.0 Adapter "wm-bus" : 0.1.12 Adapter "wolf" : 0.9.2 Adapter "worx" : 1.0.0 Adapter "xbox" : 0.6.5 Adapter "xs1" : 1.0.2 Adapter "yahka" : 0.11.0 Adapter "yamaha" : 0.3.19 Adapter "yeelight-2" : 1.0.3 Adapter "youtube" : 0.0.11 Adapter "yr" : 2.0.3 Adapter "zigbee" : 1.0.4 , installed 1.0.4 Adapter "zont" : 0.5.3 Adapter "zwave" : 2.0.1 Adapter "zwave2" : 1.0.0 pi@raspberrypi:~ $ iobroker upgrade Adapter "admin" is up to date. Adapter "alarm" is not installed. Update alexa2 from @3.0.5 to @3.2.8 NPM version: 6.11.3 npm install iobroker.alexa2@3.2.8 --loglevel error --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:344:16) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248: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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.17.0 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-18T21_38_21_686Z-debug.log upload [20] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/spot.png icons/spot.png image/png upload [19] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/sonos.png icons/sonos.png image/png upload [18] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/reverb.png icons/reverb.png image/png upload [17] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/raspi.png icons/raspi.png image/png upload [16] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/multiroom.png icons/multiroom.png image/png upload [15] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/microphone.png icons/microphone.png image/png upload [14] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/firetv.png icons/firetv.png image/png upload [13] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/firetab.png icons/firetab.png image/png upload [12] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_sub.png icons/echo_sub.png image/png upload [11] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_studio.png icons/echo_studio.png image/png upload [10] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show5.png icons/echo_show5.png image/png upload [9] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show2.png icons/echo_show2.png image/png upload [8] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show.png icons/echo_show.png image/png upload [7] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_plus2.png icons/echo_plus2.png image/png upload [6] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_dot3.png icons/echo_dot3.png image/png upload [5] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_dot.png icons/echo_dot.png image/png upload [4] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo2.png icons/echo2.png image/png upload [3] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo.png icons/echo.png image/png upload [2] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo-input.png icons/echo-input.png image/png upload [1] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/apps.png icons/apps.png image/png upload [0] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/alexa.png alexa.png image/png Adapter "alexa2" updated Adapter "alpha2" is not installed. Adapter "amazon-dash" is not installed. Adapter "artnet" is not installed. Adapter "asterisk" is not installed. Adapter "asuswrt" is not installed. Adapter "b-control-em" is not installed. Update backitup from @1.4.5 to @1.5.8 host.raspberrypi Adapter "system.adapter.backitup.0" is stopped. NPM version: 6.11.3 npm install iobroker.backitup@1.5.8 --loglevel error --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:344:16) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248: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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.17.0 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-18T21_39_03_266Z-debug.log upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png Adapter "backitup" updated host.raspberrypi Adapter "system.adapter.backitup.0" is started Adapter "beckhoff" is not installed. Adapter "benq" is not installed. Adapter "binance" is not installed. Adapter "ble" is not installed. Adapter "bmw" is not installed. Adapter "bosesoundtouch" is not installed. Adapter "botvac" is not installed. Adapter "bring" is not installed. Adapter "broadlink2" is not installed. Adapter "bsblan" is not installed. Adapter "bshb" is not installed. Adapter "chromecast" is not installed. Adapter "cloud" is up to date. Adapter "comfoair" is not installed. Adapter "contactid" is not installed. Adapter "coronavirus-statistics" is not installed. Adapter "countdown" is not installed. Adapter "cul" is not installed. Adapter "daikin" is not installed. Adapter "daswetter" is not installed. Adapter "deconz" is not installed. Adapter "denon" is not installed. Adapter "devices" is not installed. Adapter "digitalstrom" is not installed. Adapter "discovergy" is not installed. Update discovery from @2.3.5 to @2.3.7 NPM version: 6.11.3 npm install iobroker.discovery@2.3.7 --loglevel error --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:344:16) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248: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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.17.0 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-18T21_39_42_489Z-debug.log upload [6] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/translateTools.js translateTools.js application/javascript upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png Adapter "discovery" updated Adapter "doorio" is not installed. Adapter "ds18b20" is not installed. Update dwd from @2.4.9 to @2.4.10 NPM version: 6.11.3 npm install iobroker.dwd@2.4.10 --loglevel error --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:344:16) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248: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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.17.0 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-18T21_40_20_866Z-debug.log upload [4] dwd.admin /opt/iobroker/node_modules/iobroker.dwd/admin/words.js words.js application/javascript Update "system.adapter.dwd.0" upload [3] dwd.admin /opt/iobroker/node_modules/iobroker.dwd/admin/regions.js regions.js application/javascript upload [2] dwd.admin /opt/iobroker/node_modules/iobroker.dwd/admin/index_m.html index_m.html text/html upload [1] dwd.admin /opt/iobroker/node_modules/iobroker.dwd/admin/index.html index.html text/html upload [0] dwd.admin /opt/iobroker/node_modules/iobroker.dwd/admin/dwd.png dwd.png image/png Adapter "dwd" updated Adapter "ebus" is not installed. Update ecovacs-deebot from @1.0.0 to @1.0.3 NPM version: 6.11.3 npm install iobroker.ecovacs-deebot@1.0.3 --loglevel error --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:344:16) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248: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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.75-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.17.0 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-18T21_40_59_726Z-debug.log host.raspberrypi Cannot install iobroker.ecovacs-deebot@1.0.3: 1
Grüße...
-
@flitzpiepe canvas von Hand installieren.
-
Damit ich mir nicht irgendetwas zerschieße sicherheitshalber nachgefragt. Wenn ich das zu Fuß installiere, dann so?
cd /opt/iobroker npm install canvas --unsafe-perm --production --save --prefix
Habe ich hier gefunden, wo es damit wohl auch bei einigen zu Problemen kam.
-
@flitzpiepe
Ehersudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev cd /opt/iobroker npm install canvas --unsafe-perm=true
-
... danke, hat alles Bestens geklappt und ist nun alles UpToDate!
-
Ich hänge mich hier mal rein.
Ich habe das selbe Problem wie flitzpiepe, kann aber leider nicht seine Erfolgsmeldung teilen. Auch der Tip von Thomas Braun hat nicht weitergeholfen. Im Terminal bekomme ich Fehlermeldungen, mit denen ich aber leider nichts anfangen kann.
Hier ein Auszug:NPM version: 6.14.4 npm install iobroker.socketio@3.0.9 --loglevel error --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:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.118-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-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.21.0 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-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.118-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.21.0 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.
MOD-Edit:Code in code-tags gesetzt!
Vielleicht kann mir jemand sagen, was ich da machen kann.
Danke im Voraus.Gruß aus Thailand
Bodo -
@Thaibodo
Bitte gib mal die von mir genannten Befehle ein und dann postest du bitte die komplette Eingabe von dir und die Rückmeldungen des Systems hier in Gänze. In CodeTags -
Hallo Thomas, Danke für die schnelle Reaktion.
Ich weiß nicht, was du mit CodeTags meinst. Ich kopiere einfach mal alles hier rein.pi@raspbi-iobroker:~ $ sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.6). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: grafana : Depends: libfontconfig1 but it is not going to be installed libcairo2-dev : Depends: libcairo2 (= 1.16.0-4+rpt1) but it is not going to be installed Depends: libcairo-gobject2 (= 1.16.0-4+rpt1) but it is not going to be installed Depends: libcairo-script-interpreter2 (= 1.16.0-4+rpt1) but it is not going to be installed Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed Depends: libx11-dev but it is not going to be installed Depends: libxrender-dev (>= 0.6) but it is not going to be installed Depends: libxext-dev but it is not going to be installed Depends: libsm-dev but it is not going to be installed Depends: libxcb1-dev (>= 1.6) but it is not going to be installed Depends: libxcb-render0-dev (>= 1.6) but it is not going to be installed Depends: libxcb-shm0-dev but it is not going to be installed Depends: libglib2.0-dev but it is not going to be installed libgif-dev : Depends: libgif7 (= 5.1.4-3) but it is not going to be installed libjpeg-dev : Depends: libjpeg62-turbo-dev (>= 1:1.5.2-2) but it is not going to be installed libpango1.0-dev : Depends: gir1.2-pango-1.0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libfontconfig1-dev (>= 2.11.91) but it is not going to be installed Depends: libfribidi-dev (>= 0.19.7) but it is not going to be installed Depends: libglib2.0-dev (>= 2.34.0) but it is not going to be installed Depends: libharfbuzz-dev (>= 0.9.9) but it is not going to be installed Depends: libpango-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libpangocairo-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libpangoft2-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libpangoxft-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libx11-dev but it is not going to be installed Depends: libxft-dev but it is not going to be installed Depends: libxrender-dev but it is not going to be installed Depends: pango1.0-tools (= 1.42.4-8~deb10u1) but it is not going to be installed libpixman-1-dev : Depends: libpixman-1-0 (= 0.36.0-1+rpt1) but it is not going to be installed librsvg2-dev : Depends: gir1.2-rsvg-2.0 (= 2.44.10-2.1+rpi1) but it is not going to be installed Depends: libgdk-pixbuf2.0-dev (>= 2.23.5-2) but it is not going to be installed Depends: libglib2.0-dev (>= 2.24.0) but it is not going to be installed Depends: librsvg2-2 (= 2.44.10-2.1+rpi1) but it is not going to be installed Depends: librsvg2-common (= 2.44.10-2.1+rpi1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). pi@raspbi-iobroker:~ $ cd /opt/iobroker pi@raspbi-iobroker:/opt/iobroker $ npm install canvas --unsafe-perm=true > 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-v64-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.21.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 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:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.118-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-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.21.0 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-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.118-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.21.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=/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-v64' (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.7 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: 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-23T14_59_07_178Z-debug.log pi@raspbi-iobroker:/opt/iobroker $
MOD-Edit: jetzt ist es in code-tags
Viele Grüße
Bodo -
Setze den Text in die CodeTags.
Text markieren und </>-Symbol anklicken im EditorfeldDu hast dir die Paketdatenbank zerschossen. Kann ich aber von hier aus nicht auseinander fummeln, was da klemmt.
apt policy grafana
könnte vielleicht schon mal helfen .
-
Danke für den Hinweis. Ich bin lernfähig.
pi@raspbi-iobroker:/opt/iobroker $ apt policy grafana grafana: Installed: 6.6.2 Candidate: 6.6.2 Version table: *** 6.6.2 100 100 /var/lib/dpkg/status 2.6.0+dfsg-3+b1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Grafana läuft gar nicht mehr auf dem Rasbi. Hat nicht funktioniert. Wie bekomme ich das weg?
Und gibt es eine Möglichkeit, die Paketdatenbank zu erneuern?
Sorry für sie vielen Fragen. -
Ich glaube, da hat sich nichts geändert.
pi@raspbi-iobroker:/ $ sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.6). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: grafana : Depends: libfontconfig1 but it is not going to be installed libcairo2-dev : Depends: libcairo2 (= 1.16.0-4+rpt1) but it is not going to be installed Depends: libcairo-gobject2 (= 1.16.0-4+rpt1) but it is not going to be installed Depends: libcairo-script-interpreter2 (= 1.16.0-4+rpt1) but it is not going to be installed Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed Depends: libx11-dev but it is not going to be installed Depends: libxrender-dev (>= 0.6) but it is not going to be installed Depends: libxext-dev but it is not going to be installed Depends: libsm-dev but it is not going to be installed Depends: libxcb1-dev (>= 1.6) but it is not going to be installed Depends: libxcb-render0-dev (>= 1.6) but it is not going to be installed Depends: libxcb-shm0-dev but it is not going to be installed Depends: libglib2.0-dev but it is not going to be installed libgif-dev : Depends: libgif7 (= 5.1.4-3) but it is not going to be installed libjpeg-dev : Depends: libjpeg62-turbo-dev (>= 1:1.5.2-2) but it is not going to be installed libpango1.0-dev : Depends: gir1.2-pango-1.0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libfontconfig1-dev (>= 2.11.91) but it is not going to be installed Depends: libfribidi-dev (>= 0.19.7) but it is not going to be installed Depends: libglib2.0-dev (>= 2.34.0) but it is not going to be installed Depends: libharfbuzz-dev (>= 0.9.9) but it is not going to be installed Depends: libpango-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libpangocairo-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libpangoft2-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libpangoxft-1.0-0 (= 1.42.4-8~deb10u1) but it is not going to be installed Depends: libx11-dev but it is not going to be installed Depends: libxft-dev but it is not going to be installed Depends: libxrender-dev but it is not going to be installed Depends: pango1.0-tools (= 1.42.4-8~deb10u1) but it is not going to be installed libpixman-1-dev : Depends: libpixman-1-0 (= 0.36.0-1+rpt1) but it is not going to be installed librsvg2-dev : Depends: gir1.2-rsvg-2.0 (= 2.44.10-2.1+rpi1) but it is not going to be installed Depends: libgdk-pixbuf2.0-dev (>= 2.23.5-2) but it is not going to be installed Depends: libglib2.0-dev (>= 2.24.0) but it is not going to be installed Depends: librsvg2-2 (= 2.44.10-2.1+rpi1) but it is not going to be installed Depends: librsvg2-common (= 2.44.10-2.1+rpi1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). pi@raspbi-iobroker:/ $ cd /opt/iobroker pi@raspbi-iobroker:/opt/iobroker $ npm install canvas --unsafe-perm=true > 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-v64-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.21.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 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:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.118-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-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.21.0 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-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-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/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.19.118-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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 v10.21.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=/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-v64' (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.7 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: 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-23T15_17_51_827Z-debug.log pi@raspbi-iobroker:/opt/iobroker $
-
@Thaibodo
Versuch mal mitsudo apt remove grafana
Dann ein
sudo apt update apt policy libcairo2
Ausgabe zeigen...
-
@Thomas-Braun sagte in Nur 1x Update Adapter möglich:
apt policy libcairo2
Sorry für die Verzögerung, aber ich lebe in Thailand und bin euch zurzeit 5 Stunden voraus.
pi@raspbi-iobroker:~ $ sudo apt remove grafana Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: grafana 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 103 MB disk space will be freed. Do you want to continue? [Y/n] perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("de_DE.UTF-8"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden (Reading database ... 47165 files and directories currently installed.) Removing grafana (6.6.2) ... pi@raspbi-iobroker:~ $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:3 https://deb.nodesource.com/node_10.x buster InRelease [4584 B] Get:4 https://repos.influxdata.com/debian buster InRelease [4731 B] Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [330 kB] Get:7 https://repos.influxdata.com/debian buster/stable armhf Packages [929 B] Get:8 https://deb.nodesource.com/node_10.x buster/main armhf Packages [765 B] Fetched 13.4 MB in 14s (989 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 16 packages can be upgraded. Run 'apt list --upgradable' to see them. pi@raspbi-iobroker:~ $ apt policy libcairo2 libcairo2: Installed: (none) Candidate: 1.16.0-4+rpt1 Version table: 1.16.0-4+rpt1 500 500 http://archive.raspberrypi.org/debian buster/main armhf Packages 1.16.0-4 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
sudo apt update sudo apt dist-upgrade sudo reboot
Und dann nochmal die ganzen Pakete:
sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev cd /opt/iobroker npm install canvas --unsafe-perm=true
-
@Thomas-Braun
Hallo Thomas,
ich verneige mich vor dir. Dank Deiner Geduld und Erklärung funktioniert es jetzt wieder. Vielen Dank.
Ich wünsche dir ein sonniges Wochenende.Gruß
Bodo -
@Thaibodo Ich würde den influx-Kram noch aus den Paketquellen löschen.
Irgendwo in /etc/apt/sourceslist.d/ müsste es eine Datei geben, die einen Eintrag dazu hat. Die Zeilen dann mit # als erstem Zeichen in der Zeile auskommentieren.Und deine LOCALES würde ich auch vervollständigen.
-
@Thomas-Braun
Hallo Thomas,
Influx benutze ich.
Bei den LOCALES bekomme ich auch Fehlermeldungen.perl: warning: Falling back to the standard locale ("C"). Reloading keymap. This may take a short while perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("de_DE.UTF-8"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
Keine Ahnung, was er da von mir haben will.