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. [gelöst]Probleme mit mihome-vacuum adapter und canvas

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    423

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    817

[gelöst]Probleme mit mihome-vacuum adapter und canvas

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
8 Beiträge 3 Kommentatoren 1.1k 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.
  • M Offline
    M Offline
    Modjo
    schrieb am zuletzt editiert von Modjo
    #1

    Liebe Community,

    leider war ich dazu gezwungen meinen ioBroker über ein Backup wiederherzustellen.
    Nachdem das Backup auch sauber eingespielt wurde, hat auch alles soweit funktioniert, nur mein mihome-vacuum adapter nicht mehr.
    In meinem Adapter oder Instanzen taucht er gar nicht mehr auf. Ich habe versucht ihn manuell zu installieren:

    pi@RPI3:/opt/iobroker $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen.... Fertig
    build-essential ist schon die neueste Version (12.3).
    libgif-dev ist schon die neueste Version (5.1.4-0.4).
    libjpeg-dev ist schon die neueste Version (1:1.5.1-2+deb9u1).
    libpango1.0-dev ist schon die neueste Version (1.40.5-1).
    librsvg2-dev ist schon die neueste Version (2.40.21-0+deb9u1).
    libcairo2-dev ist schon die neueste Version (1.14.8-1+rpi1).
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
    
    

    das war bereits installiert und gab keine Fehler.

    cd /opt/iobroker
    sudo npm install canvas --unsafe-perm=true
    

    Ergebnis ist wie folgt:

    pi@RPI3:/opt/iobroker $ sudo npm install canvas --unsafe-perm=true
    npm WARN deprecated bcrypt@3.0.8: versions < v5.0.0 do not handle NUL in passwords properly
    npm WARN deprecated bcrypt@3.0.6: versions < v5.0.0 do not handle NUL in passwords properly
    npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
    npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
    npm ERR! code 1
    npm ERR! path /opt/iobroker/node_modules/canvas
    npm ERR! command failed
    npm ERR! command sh -c node-pre-gyp install --fallback-to-build
    npm ERR! 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=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
    npm ERR! node-pre-gyp info it worked if it ends with ok
    npm ERR! node-pre-gyp info using node-pre-gyp@1.0.8
    npm ERR! node-pre-gyp info using node@12.22.9 | linux | arm
    npm ERR! node-pre-gyp info check checked for "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" (not found)
    npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
    npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
    npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@12.22.9 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
    npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@8.4.1
    npm ERR! gyp info using node@12.22.9 | linux | arm
    npm ERR! gyp info ok
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@8.4.1
    npm ERR! gyp info using node@12.22.9 | linux | arm
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
    npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
    npm ERR! gyp ERR! find Python checking if "python3" can be used
    npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"
    npm ERR! gyp ERR! find Python - version is "3.5.3"
    npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
    npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm ERR! gyp ERR! find Python checking if "python" can be used
    npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"
    npm ERR! gyp ERR! find Python - version is "2.7.13"
    npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
    npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python You need to install the latest version of Python.
    npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
    npm ERR! gyp ERR! find Python you can try one of the following options:
    npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
    npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
    npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
    npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
    npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
    npm ERR! gyp ERR! find Python For more information consult the documentation at:
    npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
    npm ERR! gyp ERR! find Python **********************************************************
    npm ERR! gyp ERR! find Python
    npm ERR! gyp ERR! configure error
    npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
    npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
    npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
    npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
    npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
    npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:299:7)
    npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
    npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
    npm ERR! gyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:444:11)
    npm ERR! gyp ERR! stack     at Socket.emit (events.js:314:20)
    npm ERR! gyp ERR! stack     at Pipe.<anonymous> (net.js:675:12)
    npm ERR! gyp ERR! System Linux 4.19.66-v7+
    npm ERR! 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=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
    npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/canvas
    npm ERR! gyp ERR! node -v v12.22.9
    npm ERR! gyp ERR! node-gyp -v v8.4.1
    npm ERR! gyp ERR! not ok
    npm ERR! node-pre-gyp ERR! build error
    npm ERR! 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=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
    npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
    npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
    npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
    npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
    npm ERR! node-pre-gyp ERR! System Linux 4.19.66-v7+
    npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
    npm ERR! node-pre-gyp ERR! node -v v12.22.9
    npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.8
    npm ERR! node-pre-gyp ERR! not ok
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2022-01-16T18_46_23_961Z-debug-0.log
    

    npm ls canvas gibt folgendes aus:

    pi@RPI3:/opt/iobroker $ npm ls canvas
    iobroker.inst@3.0.0 /opt/iobroker
    └── (empty)
    

    Weitere Infos:

    pi@RPI3:/opt/iobroker $ node -v
    v12.22.9
    pi@RPI3:/opt/iobroker $ nodejs -v
    v12.22.9
    pi@RPI3:/opt/iobroker $ npm -v
    8.3.1
    pi@RPI3:/opt/iobroker $
    

    Über eure Unterstützung würde ich mich sehr freuen.

    Gruß
    Modjo

    da_WoodyD Thomas BraunT 2 Antworten Letzte Antwort
    0
    • M Modjo

      Liebe Community,

      leider war ich dazu gezwungen meinen ioBroker über ein Backup wiederherzustellen.
      Nachdem das Backup auch sauber eingespielt wurde, hat auch alles soweit funktioniert, nur mein mihome-vacuum adapter nicht mehr.
      In meinem Adapter oder Instanzen taucht er gar nicht mehr auf. Ich habe versucht ihn manuell zu installieren:

      pi@RPI3:/opt/iobroker $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      build-essential ist schon die neueste Version (12.3).
      libgif-dev ist schon die neueste Version (5.1.4-0.4).
      libjpeg-dev ist schon die neueste Version (1:1.5.1-2+deb9u1).
      libpango1.0-dev ist schon die neueste Version (1.40.5-1).
      librsvg2-dev ist schon die neueste Version (2.40.21-0+deb9u1).
      libcairo2-dev ist schon die neueste Version (1.14.8-1+rpi1).
      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
      
      

      das war bereits installiert und gab keine Fehler.

      cd /opt/iobroker
      sudo npm install canvas --unsafe-perm=true
      

      Ergebnis ist wie folgt:

      pi@RPI3:/opt/iobroker $ sudo npm install canvas --unsafe-perm=true
      npm WARN deprecated bcrypt@3.0.8: versions < v5.0.0 do not handle NUL in passwords properly
      npm WARN deprecated bcrypt@3.0.6: versions < v5.0.0 do not handle NUL in passwords properly
      npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
      npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/canvas
      npm ERR! command failed
      npm ERR! command sh -c node-pre-gyp install --fallback-to-build
      npm ERR! 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=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      npm ERR! node-pre-gyp info it worked if it ends with ok
      npm ERR! node-pre-gyp info using node-pre-gyp@1.0.8
      npm ERR! node-pre-gyp info using node@12.22.9 | linux | arm
      npm ERR! node-pre-gyp info check checked for "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" (not found)
      npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
      npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
      npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@12.22.9 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
      npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@8.4.1
      npm ERR! gyp info using node@12.22.9 | linux | arm
      npm ERR! gyp info ok
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@8.4.1
      npm ERR! gyp info using node@12.22.9 | linux | arm
      npm ERR! gyp ERR! find Python
      npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
      npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
      npm ERR! gyp ERR! find Python checking if "python3" can be used
      npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"
      npm ERR! gyp ERR! find Python - version is "3.5.3"
      npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
      npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
      npm ERR! gyp ERR! find Python checking if "python" can be used
      npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"
      npm ERR! gyp ERR! find Python - version is "2.7.13"
      npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
      npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
      npm ERR! gyp ERR! find Python
      npm ERR! gyp ERR! find Python **********************************************************
      npm ERR! gyp ERR! find Python You need to install the latest version of Python.
      npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
      npm ERR! gyp ERR! find Python you can try one of the following options:
      npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
      npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
      npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
      npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
      npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
      npm ERR! gyp ERR! find Python For more information consult the documentation at:
      npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
      npm ERR! gyp ERR! find Python **********************************************************
      npm ERR! gyp ERR! find Python
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
      npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
      npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
      npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
      npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
      npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:299:7)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
      npm ERR! gyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:444:11)
      npm ERR! gyp ERR! stack     at Socket.emit (events.js:314:20)
      npm ERR! gyp ERR! stack     at Pipe.<anonymous> (net.js:675:12)
      npm ERR! gyp ERR! System Linux 4.19.66-v7+
      npm ERR! 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=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/canvas
      npm ERR! gyp ERR! node -v v12.22.9
      npm ERR! gyp ERR! node-gyp -v v8.4.1
      npm ERR! gyp ERR! not ok
      npm ERR! node-pre-gyp ERR! build error
      npm ERR! 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=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
      npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
      npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
      npm ERR! node-pre-gyp ERR! System Linux 4.19.66-v7+
      npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      npm ERR! node-pre-gyp ERR! node -v v12.22.9
      npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.8
      npm ERR! node-pre-gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2022-01-16T18_46_23_961Z-debug-0.log
      

      npm ls canvas gibt folgendes aus:

      pi@RPI3:/opt/iobroker $ npm ls canvas
      iobroker.inst@3.0.0 /opt/iobroker
      └── (empty)
      

      Weitere Infos:

      pi@RPI3:/opt/iobroker $ node -v
      v12.22.9
      pi@RPI3:/opt/iobroker $ nodejs -v
      v12.22.9
      pi@RPI3:/opt/iobroker $ npm -v
      8.3.1
      pi@RPI3:/opt/iobroker $
      

      Über eure Unterstützung würde ich mich sehr freuen.

      Gruß
      Modjo

      da_WoodyD Offline
      da_WoodyD Offline
      da_Woody
      Most Active
      schrieb am zuletzt editiert von
      #2

      @modjo sagte in Probleme mit mihome-vacuum adapter und canvas:

      Über eure Unterstützung würde ich mich sehr freuen.

      und ich mich, wenn du die sufu verwenden würdest. das thema wird in 2 topics diskutiert...

      gruß vom Woody
      HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

      1 Antwort Letzte Antwort
      0
      • M Modjo

        Liebe Community,

        leider war ich dazu gezwungen meinen ioBroker über ein Backup wiederherzustellen.
        Nachdem das Backup auch sauber eingespielt wurde, hat auch alles soweit funktioniert, nur mein mihome-vacuum adapter nicht mehr.
        In meinem Adapter oder Instanzen taucht er gar nicht mehr auf. Ich habe versucht ihn manuell zu installieren:

        pi@RPI3:/opt/iobroker $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        build-essential ist schon die neueste Version (12.3).
        libgif-dev ist schon die neueste Version (5.1.4-0.4).
        libjpeg-dev ist schon die neueste Version (1:1.5.1-2+deb9u1).
        libpango1.0-dev ist schon die neueste Version (1.40.5-1).
        librsvg2-dev ist schon die neueste Version (2.40.21-0+deb9u1).
        libcairo2-dev ist schon die neueste Version (1.14.8-1+rpi1).
        0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
        
        

        das war bereits installiert und gab keine Fehler.

        cd /opt/iobroker
        sudo npm install canvas --unsafe-perm=true
        

        Ergebnis ist wie folgt:

        pi@RPI3:/opt/iobroker $ sudo npm install canvas --unsafe-perm=true
        npm WARN deprecated bcrypt@3.0.8: versions < v5.0.0 do not handle NUL in passwords properly
        npm WARN deprecated bcrypt@3.0.6: versions < v5.0.0 do not handle NUL in passwords properly
        npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
        npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
        npm ERR! code 1
        npm ERR! path /opt/iobroker/node_modules/canvas
        npm ERR! command failed
        npm ERR! command sh -c node-pre-gyp install --fallback-to-build
        npm ERR! 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=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
        npm ERR! node-pre-gyp info it worked if it ends with ok
        npm ERR! node-pre-gyp info using node-pre-gyp@1.0.8
        npm ERR! node-pre-gyp info using node@12.22.9 | linux | arm
        npm ERR! node-pre-gyp info check checked for "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" (not found)
        npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
        npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
        npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.8.0 and node@12.22.9 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
        npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz
        npm ERR! gyp info it worked if it ends with ok
        npm ERR! gyp info using node-gyp@8.4.1
        npm ERR! gyp info using node@12.22.9 | linux | arm
        npm ERR! gyp info ok
        npm ERR! gyp info it worked if it ends with ok
        npm ERR! gyp info using node-gyp@8.4.1
        npm ERR! gyp info using node@12.22.9 | linux | arm
        npm ERR! gyp ERR! find Python
        npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
        npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
        npm ERR! gyp ERR! find Python checking if "python3" can be used
        npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"
        npm ERR! gyp ERR! find Python - version is "3.5.3"
        npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0
        npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
        npm ERR! gyp ERR! find Python checking if "python" can be used
        npm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"
        npm ERR! gyp ERR! find Python - version is "2.7.13"
        npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0
        npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
        npm ERR! gyp ERR! find Python
        npm ERR! gyp ERR! find Python **********************************************************
        npm ERR! gyp ERR! find Python You need to install the latest version of Python.
        npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
        npm ERR! gyp ERR! find Python you can try one of the following options:
        npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
        npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
        npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
        npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
        npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
        npm ERR! gyp ERR! find Python For more information consult the documentation at:
        npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
        npm ERR! gyp ERR! find Python **********************************************************
        npm ERR! gyp ERR! find Python
        npm ERR! gyp ERR! configure error
        npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
        npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
        npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
        npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)
        npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)
        npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:299:7)
        npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
        npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
        npm ERR! gyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:444:11)
        npm ERR! gyp ERR! stack     at Socket.emit (events.js:314:20)
        npm ERR! gyp ERR! stack     at Pipe.<anonymous> (net.js:675:12)
        npm ERR! gyp ERR! System Linux 4.19.66-v7+
        npm ERR! 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=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
        npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/canvas
        npm ERR! gyp ERR! node -v v12.22.9
        npm ERR! gyp ERR! node-gyp -v v8.4.1
        npm ERR! gyp ERR! not ok
        npm ERR! node-pre-gyp ERR! build error
        npm ERR! 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=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
        npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
        npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
        npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
        npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
        npm ERR! node-pre-gyp ERR! System Linux 4.19.66-v7+
        npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
        npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
        npm ERR! node-pre-gyp ERR! node -v v12.22.9
        npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.8
        npm ERR! node-pre-gyp ERR! not ok
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2022-01-16T18_46_23_961Z-debug-0.log
        

        npm ls canvas gibt folgendes aus:

        pi@RPI3:/opt/iobroker $ npm ls canvas
        iobroker.inst@3.0.0 /opt/iobroker
        └── (empty)
        

        Weitere Infos:

        pi@RPI3:/opt/iobroker $ node -v
        v12.22.9
        pi@RPI3:/opt/iobroker $ nodejs -v
        v12.22.9
        pi@RPI3:/opt/iobroker $ npm -v
        8.3.1
        pi@RPI3:/opt/iobroker $
        

        Über eure Unterstützung würde ich mich sehr freuen.

        Gruß
        Modjo

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

        @modjo

        sudo npm
        

        Falsch, npm wird nie als root (per sudo) ausgeführt.
        Dein Python ist zu alt, dein nodeJS ist nicht aktuell, dafür ist dein npm aber ZU aktuell, also krumm installiert. Dann fährst du vermutlich da eine tote Distribution spazieren, vermutlich ein Debian Stretch.

        Kurz: Bei dem Chaos kann das nix werden.

        Wenn die Grundvoraussetzungen erfüllt werden muss auch canvas nicht zu Fuß installiert werden. Das passiert dann automatisch in Hintergrund.

        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
        • M Offline
          M Offline
          Modjo
          schrieb am zuletzt editiert von
          #4

          @da_woody said in Probleme mit mihome-vacuum adapter und canvas:

          @modjo sagte in Probleme mit mihome-vacuum adapter und canvas:

          Über eure Unterstützung würde ich mich sehr freuen.

          und ich mich, wenn du die sufu verwenden würdest. das thema wird in 2 topics diskutiert...

          @da_Woody Grund zur Freude, denn die hatte ich zuvor benutzt. Es hat mich aber leider nicht zur Lösung geführt.

          @thomas-braun said in Probleme mit mihome-vacuum adapter und canvas:

          @modjo

          sudo npm
          

          Falsch, npm wird nie als root (per sudo) ausgeführt.
          Dein Python ist zu alt, dein nodeJS ist nicht aktuell, dafür ist dein npm aber ZU aktuell, also krumm installiert. Dann fährst du vermutlich da eine tote Distribution spazieren, vermutlich ein Debian Stretch.

          Kurz: Bei dem Chaos kann das nix werden.

          Wenn die Grundvoraussetzungen erfüllt werden muss auch canvas nicht zu Fuß installiert werden. Das passiert dann automatisch in Hintergrund.

          @Thomas-Braun Danke für deine Nachricht. Folgende Schritte habe ich nun ausgeführt:

          • Upgrade von Stretch auf Buster -> Kein Erfolg

          • update node auf 17.x -> Kein Erfolg

          • Upgrade von Buster auf Bullseye -> Erfolg! Jetzt konnte ich canvas erfolgreich installieren und meine mihome-vacuum.0 Instanz war wieder verfügbar.

          Demnach ist es nun gelöst.

          Viele Grüße
          Modjo

          da_WoodyD Thomas BraunT 2 Antworten Letzte Antwort
          0
          • M Modjo

            @da_woody said in Probleme mit mihome-vacuum adapter und canvas:

            @modjo sagte in Probleme mit mihome-vacuum adapter und canvas:

            Über eure Unterstützung würde ich mich sehr freuen.

            und ich mich, wenn du die sufu verwenden würdest. das thema wird in 2 topics diskutiert...

            @da_Woody Grund zur Freude, denn die hatte ich zuvor benutzt. Es hat mich aber leider nicht zur Lösung geführt.

            @thomas-braun said in Probleme mit mihome-vacuum adapter und canvas:

            @modjo

            sudo npm
            

            Falsch, npm wird nie als root (per sudo) ausgeführt.
            Dein Python ist zu alt, dein nodeJS ist nicht aktuell, dafür ist dein npm aber ZU aktuell, also krumm installiert. Dann fährst du vermutlich da eine tote Distribution spazieren, vermutlich ein Debian Stretch.

            Kurz: Bei dem Chaos kann das nix werden.

            Wenn die Grundvoraussetzungen erfüllt werden muss auch canvas nicht zu Fuß installiert werden. Das passiert dann automatisch in Hintergrund.

            @Thomas-Braun Danke für deine Nachricht. Folgende Schritte habe ich nun ausgeführt:

            • Upgrade von Stretch auf Buster -> Kein Erfolg

            • update node auf 17.x -> Kein Erfolg

            • Upgrade von Buster auf Bullseye -> Erfolg! Jetzt konnte ich canvas erfolgreich installieren und meine mihome-vacuum.0 Instanz war wieder verfügbar.

            Demnach ist es nun gelöst.

            Viele Grüße
            Modjo

            da_WoodyD Offline
            da_WoodyD Offline
            da_Woody
            Most Active
            schrieb am zuletzt editiert von
            #5

            @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

            Upgrade von Buster auf Bullseye

            aha, meine läuft nach wie vor unter debian10... und ich konnte canvas aktualisieren. seltsam...
            wird bei dir die karte jetzt auch aktualisiert?

            gruß vom Woody
            HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

            1 Antwort Letzte Antwort
            0
            • M Modjo

              @da_woody said in Probleme mit mihome-vacuum adapter und canvas:

              @modjo sagte in Probleme mit mihome-vacuum adapter und canvas:

              Über eure Unterstützung würde ich mich sehr freuen.

              und ich mich, wenn du die sufu verwenden würdest. das thema wird in 2 topics diskutiert...

              @da_Woody Grund zur Freude, denn die hatte ich zuvor benutzt. Es hat mich aber leider nicht zur Lösung geführt.

              @thomas-braun said in Probleme mit mihome-vacuum adapter und canvas:

              @modjo

              sudo npm
              

              Falsch, npm wird nie als root (per sudo) ausgeführt.
              Dein Python ist zu alt, dein nodeJS ist nicht aktuell, dafür ist dein npm aber ZU aktuell, also krumm installiert. Dann fährst du vermutlich da eine tote Distribution spazieren, vermutlich ein Debian Stretch.

              Kurz: Bei dem Chaos kann das nix werden.

              Wenn die Grundvoraussetzungen erfüllt werden muss auch canvas nicht zu Fuß installiert werden. Das passiert dann automatisch in Hintergrund.

              @Thomas-Braun Danke für deine Nachricht. Folgende Schritte habe ich nun ausgeführt:

              • Upgrade von Stretch auf Buster -> Kein Erfolg

              • update node auf 17.x -> Kein Erfolg

              • Upgrade von Buster auf Bullseye -> Erfolg! Jetzt konnte ich canvas erfolgreich installieren und meine mihome-vacuum.0 Instanz war wieder verfügbar.

              Demnach ist es nun gelöst.

              Viele Grüße
              Modjo

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

              @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

              update node auf 17.x -> Kein Erfolg

              Node 17 (inkl dem npm8 das mit kommt) ist zu hoch!
              Installier node14 (inkl. npm6).

              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
              • M Offline
                M Offline
                Modjo
                schrieb am zuletzt editiert von
                #7

                @da_woody said in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                Upgrade von Buster auf Bullseye

                aha, meine läuft nach wie vor unter debian10... und ich konnte canvas aktualisieren. seltsam...
                wird bei dir die karte jetzt auch aktualisiert?

                Ja wird sie.

                @thomas-braun said in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                update node auf 17.x -> Kein Erfolg

                Node 17 (inkl dem npm8 das mit kommt) ist zu hoch!
                Installier node14 (inkl. npm6).

                Kann ich noch machen. Was ergeben sich denn jetzt genau für Nachteile, wenn ich auf der hohen Version bleibe?

                Gruß

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • M Modjo

                  @da_woody said in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                  @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                  Upgrade von Buster auf Bullseye

                  aha, meine läuft nach wie vor unter debian10... und ich konnte canvas aktualisieren. seltsam...
                  wird bei dir die karte jetzt auch aktualisiert?

                  Ja wird sie.

                  @thomas-braun said in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                  @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                  update node auf 17.x -> Kein Erfolg

                  Node 17 (inkl dem npm8 das mit kommt) ist zu hoch!
                  Installier node14 (inkl. npm6).

                  Kann ich noch machen. Was ergeben sich denn jetzt genau für Nachteile, wenn ich auf der hohen Version bleibe?

                  Gruß

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

                  @modjo sagte in [gelöst]Probleme mit mihome-vacuum adapter und canvas:

                  Was ergeben sich denn jetzt genau für Nachteile, wenn ich auf der hohen Version bleibe?

                  'Komisches' Verhalten bei Adapter-Installationen und npm-Aktionen.

                  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

                  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

                  459

                  Online

                  32.9k

                  Benutzer

                  83.0k

                  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