Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Nur 1x Update Adapter möglich

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    859

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    648

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Nur 1x Update Adapter möglich

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
update adapter
22 Beiträge 4 Kommentatoren 2.3k Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • F flitzpiepe

    @Thomas-Braun

    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.

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #7

    @flitzpiepe
    Eher

    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
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    F 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @flitzpiepe
      Eher

      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
      
      F Offline
      F Offline
      flitzpiepe
      schrieb am zuletzt editiert von
      #8

      @Thomas-Braun

      ... danke, hat alles Bestens geklappt und ist nun alles UpToDate!

      1 Antwort Letzte Antwort
      0
      • T Offline
        T Offline
        Thaibodo
        schrieb am zuletzt editiert von Homoran
        #9

        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

        ioBroker auf Raspi 4

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • T Thaibodo

          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

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #10

          @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

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • T Offline
            T Offline
            Thaibodo
            schrieb am zuletzt editiert von Homoran
            #11

            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

            ioBroker auf Raspi 4

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • T Thaibodo

              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

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #12

              @Thaibodo

              Setze den Text in die CodeTags.
              Text markieren und </>-Symbol anklicken im Editorfeld

              Du 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 .

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              0
              • T Offline
                T Offline
                Thaibodo
                schrieb am zuletzt editiert von Thaibodo
                #13

                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.

                ioBroker auf Raspi 4

                1 Antwort Letzte Antwort
                0
                • T Offline
                  T Offline
                  Thaibodo
                  schrieb am zuletzt editiert von
                  #14

                  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 $ 
                  
                  

                  ioBroker auf Raspi 4

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • T Thaibodo

                    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 $ 
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #15

                    @Thaibodo
                    Versuch mal mit

                    sudo apt remove grafana
                    

                    Dann ein

                    sudo apt update
                    apt policy libcairo2
                    

                    Ausgabe zeigen...

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    1 Antwort Letzte Antwort
                    0
                    • T Offline
                      T Offline
                      Thaibodo
                      schrieb am zuletzt editiert von
                      #16

                      @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
                      

                      ioBroker auf Raspi 4

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • T Thaibodo

                        @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
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #17

                        @Thaibodo

                        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
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        T 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @Thaibodo

                          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
                          
                          T Offline
                          T Offline
                          Thaibodo
                          schrieb am zuletzt editiert von
                          #18

                          @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

                          ioBroker auf Raspi 4

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • T Thaibodo

                            @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

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von Thomas Braun
                            #19

                            @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.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            T 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @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.

                              T Offline
                              T Offline
                              Thaibodo
                              schrieb am zuletzt editiert von
                              #20

                              @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.

                              ioBroker auf Raspi 4

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • T Thaibodo

                                @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.

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #21

                                @Thaibodo sagte in Nur 1x Update Adapter möglich:

                                are 
                                

                                Sorry, ich dachte der Influx-Kram sei für die zerbröselte grafana verantwortlich.

                                Wegen LOCALE:
                                https://www.thomas-krenn.com/de/wiki/Locales_unter_Ubuntu_konfigurieren

                                Funktioiert unter Raspberry OS / Debian genauso.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                1 Antwort Letzte Antwort
                                0
                                • T Offline
                                  T Offline
                                  Thaibodo
                                  schrieb am zuletzt editiert von
                                  #22

                                  Habe ich soweit alles gemacht, hat aber anscheinend nichts geändert.

                                  pi@raspbi-iobroker:/etc/default $ ls
                                  avahi-daemon   dbus                     locale              rpi-eeprom-update
                                  bluetooth      fake-hwclock             networking          rsync
                                  bsdmainutils   grafana-server.dpkg-new  nfs-common          rsyslog
                                  console-setup  hwclock                  nss                 ssh
                                  crda           influxdb                 raspberrypi-kernel  triggerhappy
                                  cron           keyboard                 rng-tools           useradd
                                  pi@raspbi-iobroker:/etc/default $ locale
                                  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
                                  LANG=de_DE.UTF-8
                                  LANGUAGE=
                                  LC_CTYPE=UTF-8
                                  LC_NUMERIC="de_DE.UTF-8"
                                  LC_TIME="de_DE.UTF-8"
                                  LC_COLLATE="de_DE.UTF-8"
                                  LC_MONETARY="de_DE.UTF-8"
                                  LC_MESSAGES="de_DE.UTF-8"
                                  LC_PAPER="de_DE.UTF-8"
                                  LC_NAME="de_DE.UTF-8"
                                  LC_ADDRESS="de_DE.UTF-8"
                                  LC_TELEPHONE="de_DE.UTF-8"
                                  LC_MEASUREMENT="de_DE.UTF-8"
                                  LC_IDENTIFICATION="de_DE.UTF-8"
                                  LC_ALL=
                                  
                                  

                                  In der Datei LOCALE steht nur

                                  LANG=de_DE.UTF-8

                                  drin.

                                  ioBroker auf Raspi 4

                                  1 Antwort Letzte Antwort
                                  0

                                  Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                  Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                  Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                  Registrieren Anmelden
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate
                                  FAQ Cloud / IOT
                                  HowTo: Node.js-Update
                                  HowTo: Backup/Restore
                                  Downloads
                                  BLOG

                                  403

                                  Online

                                  32.8k

                                  Benutzer

                                  82.9k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe