Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter mihome-vacuum v2.0.x

    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

    Test Adapter mihome-vacuum v2.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sweatchuck @Freaknet last edited by

      @Freaknet

      Kannst du dein Vorgehen vielleicht beschreiben.

      Kämpfe mich durch den Wiki-Eintrag, komme aber nicht weiter.

      Habe allerdings eine Docker-Installation auf einer Synology DS

      Danke

      Kevin K 2 Replies Last reply Reply Quote 0
      • Kevin
        Kevin @Sweatchuck last edited by

        @Sweatchuck geht mir auch so. Habe versucht canvas neu zu installieren, ging aber trotzdem nicht

        1 Reply Last reply Reply Quote 0
        • K
          K_o_bold @Sweatchuck last edited by K_o_bold

          @Sweatchuck ,

          falls du den Container von Buanet nutzt, dann nimm die neue Version 5 davon. Das ist eine saubere Installation mit node 12 und der aktuellste js-controller..

          Ich empfehle ich dir folgende Vorgehensweise:

          1. Backup von Iobroker mit z.B. backitup.
          2. neues leeres Volume anlegen.
          3. Container Image V 5 stable laden und starten
          4. In den container wechseln und das backup einspielen.

          Dann sollte alles laufen

          S 1 Reply Last reply Reply Quote 0
          • X
            xADDRx last edited by

            Also ich habe jetzt alles versucht. Habe auch den robi zurückgesetzt wieder verbunden.

            Trotzdem werden sowohl die Räume als auch die Karte nicht geladen...

            Kann es an Node 12 liegen??

            Jemand eine Anleitung?

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @xADDRx last edited by

              @xADDRx Liegt nicht an node12, aber vielleicht an eine falschen Installation von node oder canvas.
              Ohne Meldungen im Log kann man da aber nichts zu sagen.

              Kevin 1 Reply Last reply Reply Quote 0
              • Kevin
                Kevin @Thomas Braun last edited by

                @Thomas-Braun

                Also ich hab es nun gefixed bekommen.

                Node12 installieren
                IoBroker fix
                npm rebuild im IoBroker Verzeichnis
                npm rebuild --build-from-source canvas
                Iobroker fix

                Seitdem funktioniert es auch mit node 12

                Thomas Braun X 3 Replies Last reply Reply Quote 1
                • Thomas Braun
                  Thomas Braun Most Active @Kevin last edited by

                  @Kevin Mein reden...

                  1 Reply Last reply Reply Quote 0
                  • X
                    xADDRx @Kevin last edited by

                    @Kevin verändert es irgendwas am System?

                    Nicht das dann gar nichts mehr geht.

                    Kevin 1 Reply Last reply Reply Quote 0
                    • Kevin
                      Kevin @xADDRx last edited by

                      @xADDRx kann nur von meiner Erfahrung sprechen. Bei mir lief dannach immer noch alles wie davor.

                      1 Reply Last reply Reply Quote 0
                      • X
                        xADDRx @Kevin last edited by

                        @Kevin IObroker fix ging durch..

                        beim npm Fehler:

                        root@debian:/opt/iobroker# npm rebuild
                        
                        > iobroker@1.0.6 install /opt/iobroker/node_modules/iobroker
                        > node lib/setup.js
                        
                        NPM version: 6.13.4
                        
                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                        NPM 5 is currently NOT supported!
                        Please use "npm install -g npm@4" to downgrade npm to 4.x and try again.
                        You need to make sure to downgrade again with the above command after you
                        installed an update to nodejs/npm!
                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! iobroker@1.0.6 install: `node lib/setup.js`
                        npm ERR! Exit status 1
                        npm ERR! 
                        npm ERR! Failed at the iobroker@1.0.6 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-08-07T09_32_00_912Z-debug.log
                        root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
                        
                        > 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 
                        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:310:20)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                        gyp ERR! System Linux 4.9.0-4-amd64
                        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-v72"
                        gyp ERR! cwd /opt/iobroker/node_modules/canvas
                        gyp ERR! node -v v12.16.3
                        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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
                        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                        node-pre-gyp ERR! System Linux 4.9.0-4-amd64
                        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 v12.16.3
                        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-v72' (1)
                        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-08-07T09_32_42_894Z-debug.log
                        root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
                        
                        > 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 
                        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:310:20)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                        gyp ERR! System Linux 4.9.0-4-amd64
                        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-v72"
                        gyp ERR! cwd /opt/iobroker/node_modules/canvas
                        gyp ERR! node -v v12.16.3
                        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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
                        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                        node-pre-gyp ERR! System Linux 4.9.0-4-amd64
                        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 v12.16.3
                        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-v72' (1)
                        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-08-07T09_36_07_361Z-debug.log
                        
                        Kevin Thomas Braun 2 Replies Last reply Reply Quote 0
                        • Kevin
                          Kevin @xADDRx last edited by

                          @xADDRx

                          ist deine npm version aktuell?

                          X 1 Reply Last reply Reply Quote 0
                          • X
                            xADDRx @Kevin last edited by

                            @Kevin Wenn ich das richtig sehe habe ich Version : NPM version: 6.13.4 drauf...

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @xADDRx last edited by Thomas Braun

                              @xADDRx Docker auf einer Synology? Ansonsten: Meld dich nicht als root an!

                              Da scheint mir die Installation von node mal wieder in die Hose gegangen zu sein.

                              Schau hier rein:
                              https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                              X 1 Reply Last reply Reply Quote 0
                              • X
                                xADDRx @Thomas Braun last edited by

                                @Thomas-Braun Keine Synology! Node habe ich nach der Anleitung damals ohne Fehler installiert gehabt.

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @xADDRx last edited by Thomas Braun

                                  @xADDRx
                                  Dann ist da wohl alles mögliche verfummelt. Deine Version vom js-controller ist auch uralt. Jedenfalls lt. Log.
                                  root-Login ist jedenfalls absoluter Quark. Kannste Mal den @Freaknet fragen. Nur ein paar Postings zuvor.

                                  Wenn du Hilfe beim glattziehen möchtest mach am besten einen neuen, eigenen Thread dafür auf. Hier führt das zu weit.

                                  X 1 Reply Last reply Reply Quote 0
                                  • X
                                    xADDRx @Thomas Braun last edited by xADDRx

                                    @Thomas-Braun Hmmm. Also JS Controller ist aug 3.1.6. Auch habe ich sonst keine Porbleme. Sowohl die Karte als auch die Räume haben ja vorm Adapter Update funktionert und wurden geladen sobald man auf dem Button geklickt hat...

                                    9ad298e1-60bc-4dbc-a2b5-1814d0e3b996-grafik.png

                                    Thomas Braun X 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @xADDRx last edited by

                                      @xADDRx Das Install-Log zeigt was anderes an.

                                      X 1 Reply Last reply Reply Quote 0
                                      • X
                                        xADDRx @Thomas Braun last edited by

                                        @Thomas-Braun Was sollte ich am besten tun??

                                        Kevin Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Kevin
                                          Kevin @xADDRx last edited by Kevin

                                          @xADDRx

                                          Versuch mal das:

                                          iobroker stop
                                          sudo apt-get update
                                          sudo apt-get upgrade
                                          
                                          sudo apt-get --purge remove nodejs -y
                                          sudo apt-get autoremove -y
                                          sudo reboot
                                          
                                          curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                          sudo sh -c "echo deb https://deb.nodesource.com/node_12.x disco main \> /etc/apt/sources.list.d/nodesource.list"
                                          
                                          sudo apt-get update
                                          sudo apt-get install nodejs -y
                                          npm install -g npm@6
                                          
                                          sudo reboot
                                          
                                          iobroker update
                                          iobroker upgrade self
                                          iobroker fix
                                          
                                          cd /opt/iobroker/
                                          
                                          npm rebuild
                                          
                                          
                                          
                                          
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Kevin last edited by Thomas Braun

                                            @Kevin Woher weißt du dass da Disco läuft?
                                            So wird das mutmaßliche Installationschaos doch nur noch größer...
                                            Da dürfte eher ein Debian laufen, kein Ubuntu.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            848
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            map mihome-vacuum roborock xiaomi
                                            144
                                            1474
                                            440349
                                            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