Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. buanet docker image & update mihome vacuum scheitert

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED buanet docker image & update mihome vacuum scheitert

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ts020339 last edited by

      Hallo Zusammen,

      ich versuche aktuell meinen mihome vacuum adapter von 1.1.5 auf 2.0.7 upzudaten. Dies scheitert mit dem hier im Forum und auch auf GitHub im Readme erwähnten Fehler bei der Installation von canvas@2.6.1. Ich habe dann versucht nach der im Readme beschriebenen MEthode canvas von Hand zu installieren:

      Error at installation
      
      if your installation runs in error. The canvas package could not be install
      
      npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1
      
      Please install canvas and the libs manually with:
      
      sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
      
      sudo npm install canvas --unsafe-perm=true
      

      Die Installation der diverse neuen Pakete funktioniert, leider scheitert dann aber die manuelle Installation von canvas per npm.

      root@ioBroker-Host:/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 Pre-built binaries not installable for canvas@2.6.1 and node@10.19.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
      node-pre-gyp WARN Hit error write EPROTO 140108339488576:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
      
      gyp WARN install got an error, rolling back install
      gyp ERR! configure error
      gyp ERR! stack Error: write EPROTO 139700418410304:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
      gyp ERR! stack
      gyp ERR! stack     at WriteWrap.afterWrite [as oncomplete] (net.js:789:14)
      gyp ERR! System Linux 4.14.24-qnap
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v10.19.0
      gyp ERR! node-gyp -v v5.0.5
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      node-pre-gyp ERR! System Linux 4.14.24-qnap
      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.19.0
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
      npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN eslint-plugin-mocha@4.12.1 requires a peer of eslint@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      
      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!     /opt/iobroker/.npm/_logs/2020-03-16T19_17_28_309Z-debug.log
      root@ioBroker-Host:/opt/iobroker#
      

      Kann mir jemand eventuell einen Tip geben, der sich mit dem Docker-Image von buanet auskennt? Wenn ich das Error Log richtig verstehe, findet er irgendwelche binaries nicht für meine Systemkombination?

      Ein weiterer Punkt: Gefühlt wäre diese Art von Installation vermutlich gar nicht persistent, oder? Die ganzen neu installierten Pakete landen ja nicht alle im gemounteten iobroker Verzeichnis? Und damit wären sie beim pull eines neuen Image verloren?

      Danke für eure Hilfe!
      Tim


      System Qnap Nas HS-453DX, Docker buanet/iobroker:latest
      Betriebssystem linux
      Architektur x64
      CPUs 4
      Geschwindigkeit 2296 MHz
      Modell Intel(R) Celeron(R) J4105 CPU @ 1.50GHz
      RAM 7.68 GB
      Node.js v10.19.0
      NPM 6.13.4

      1 Reply Last reply Reply Quote 0
      • Tomasz Nowak
        Tomasz Nowak last edited by

        Have you sorted this somehow?
        I have similar problem (just another vacuum cleaner). New adapter requires canvas. Have no idea how to add it to docker image and if this will be permanent..

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        901
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        buanet docker mihome vacuum
        2
        2
        319
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo