Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Canvas Package korrekt installieren

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Canvas Package korrekt installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Damrak2022 last edited by

      @damrak2022 Hinter dem Kommando cd (Change directory) kommt ein Leerzeichen.

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

        @thomas-braun So jetzt richtig:

        pi@homebridge:~ $ cd /opt/iobroker
        pi@homebridge:/opt/iobroker $ npm ls canvas
        iobroker.inst@3.0.0 /opt/iobroker
        ├─┬ iobroker.echarts@1.0.12
        │ ├── canvas@2.9.3
        │ └─┬ jsdom@19.0.0
        │   └── canvas@2.9.3 deduped
        ├─┬ iobroker.iot@1.11.8
        │ └── canvas@2.9.3
        └─┬ iobroker.mihome-vacuum@3.4.2
          └── canvas@2.9.3
        
        pi@homebridge:/opt/iobroker $
        
        1 Reply Last reply Reply Quote 0
        • Damrak2022
          Damrak2022 @Thomas Braun last edited by Damrak2022

          @thomas-braun Ich muss mal nachfragen da im Protokoll stand das kein Canvas installiert ist. Also habe ich es nach Deiner Anleitung nachinstalliert und vorher alles aktualisiert und auch einen fix durchgeführt.
          Nun bekomme ich diese Ausgabe:

          pi@homebridge:~ $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          build-essential is already the newest version (12.9).
          libgif-dev is already the newest version (5.1.9-2).
          libjpeg-dev is already the newest version (1:2.0.6-4).
          librsvg2-dev is already the newest version (2.50.3+dfsg-1).
          libpango1.0-dev is already the newest version (1.46.2-3).
          libcairo2-dev is already the newest version (1.16.0-5+rpt1).
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          pi@homebridge:~ $ cd /opt/iobroker/node_modules/iobroker.mihome-vacuum
          pi@homebridge:/opt/iobroker/node_modules/iobroker.mihome-vacuum $ npm install canvas --unsafe-perm=true
          npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
          npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
          npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
          npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
          npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          
          added 678 packages, and audited 679 packages in 2m
          
          55 packages are looking for funding
            run `npm fund` for details
          
          6 high severity vulnerabilities
          
          To address issues that do not require attention, run:
            npm audit fix
          
          To address all issues (including breaking changes), run:
            npm audit fix --force
          
          Run `npm audit` for details.
          pi@homebridge:/opt/iobroker/node_modules/iobroker.mihome-vacuum $
          

          Ist das jetzt alles korrekt oder muss ich hier irgendwo Hand anlegen. Falls ja, was muss ich genau eingeben?

          Im Log steht allerdings immer noch:

          2022-10-13 22:54:21.038	warn	CANVAS package not installed....please install Canvas package manually or disable Map in config see also https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/blob/master/lib/canvaserror.md
          
          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

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

            @damrak2022

            cd /opt/iobroker
            npm ls canvas
            
            Damrak2022 1 Reply Last reply Reply Quote 0
            • Damrak2022
              Damrak2022 @Thomas Braun last edited by Damrak2022

              @thomas-braun sagte in (Gelöst) Canvas Package korrekt installieren:

              npm ls canvas

              pi@homebridge:~ $ cd /opt/iobroker
              pi@homebridge:/opt/iobroker $ npm ls canvas
              iobroker.inst@3.0.0 /opt/iobroker
              ├─┬ iobroker.echarts@1.0.12
              │ ├── canvas@2.9.3
              │ └─┬ jsdom@19.0.0
              │   └── canvas@2.9.3 deduped
              ├─┬ iobroker.iot@1.11.9
              │ └── canvas@2.9.3 deduped
              ├─┬ iobroker.mihome-vacuum@3.4.2
              │ └── canvas@2.10.1
              └─┬ iobroker.parcel@0.0.23
                └─┬ jsdom@20.0.1
                  └── canvas@2.9.3 deduped
              
              pi@homebridge:/opt/iobroker $
              

              Aber weiterhin die Meldung im Log:

              2022-10-14 00:36:14.562	warn	CANVAS package not installed....please install Canvas package manually or disable Map in config see also https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/blob/master/lib/canvaserror.md
              

              Wieso habe ich immer noch diese Warnmeldung und was kann ich jetzt noch machen?

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

                @damrak2022 sagte in Canvas Package korrekt installieren:

                ioBroker.mihome-vacuum

                Installier den mal neu. Log File beobachten.

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

                  @thomas-braun Sorry Thomas, wie muss ich da vorgehen?

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

                    @damrak2022

                    In einem Terminal:

                    iob logs --watch | uniq
                    

                    Dann den Adapter rauswerfen und neuinstallieren.

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

                      @thomas-braun sagte in Canvas Package korrekt installieren:

                      iob logs --watch | uniq

                      Der Befehl läuft im Terminal ewig. Aber ich muss wahrscheinlich warten bis der fertig ist, oder?
                      Und dann soll ich den mihome Adapter löschen und neu installieren, richtig?

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

                        @damrak2022 sagte in Canvas Package korrekt installieren:

                        Der Befehl läuft im Terminal ewig. Aber ich muss wahrscheinlich warten bis der fertig ist, oder?

                        Natürlich läuft der 'ewig', der schaut permanent in das Log File. Der wird nie 'fertig'.
                        Mit STRG-C kommst du da wieder raus.

                        Aber du sollst ja beobachten, was im LogFile passiert, wenn du den Adapter reinstallierst.

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

                          @thomas-braun Das steht im Log

                          2022-10-14 22:01:30.464  - error: host.homebridge instance system.adapter.mihome-vacuum.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
                          2022-10-14 22:01:30.465  - info: host.homebridge Do not restart adapter system.adapter.mihome-vacuum.0 because desired by instance
                          2022-10-14 22:01:45.190  - info: host.homebridge iobroker removed 3 packages in 14s179 packages are looking for funding  run `npm fund` for details
                          2022-10-14 22:01:46.272  - info: host.homebridge iobroker exit 0
                          2022-10-14 22:01:59.641  - info: host.homebridge iobroker add mihome-vacuum --host homebridge
                          2022-10-14 22:02:03.199  - info: host.homebridge iobroker NPM version: 8.15.0
                          2022-10-14 22:02:03.205  - info: host.homebridge iobroker Installing iobroker.mihome-vacuum@3.4.2... (System call)
                          2022-10-14 22:02:03.199  - info: host.homebridge iobroker NPM version: 8.15.0
                          2022-10-14 22:02:03.205  - info: host.homebridge iobroker Installing iobroker.mihome-vacuum@3.4.2... (System call)
                          2022-10-14 22:02:17.622  - info: host.homebridge iobroker
                          2022-10-14 22:02:17.626  - info: host.homebridge iobroker added 3 packages in 13s179 packages are looking for funding  run `npm fund` for details
                          2022-10-14 22:02:17.683  - info: host.homebridge iobroker host.homebridge install adapter mihome-vacuum
                          2022-10-14 22:02:17.854  - info: host.homebridge iobroker These apt-get packages were already installed: libcairo2-dev, libpango1.0-dev, libjpeg-dev, libgif-dev, librsvg2-dev
                          2022-10-14 22:02:17.917  - info: host.homebridge iobroker upload [20] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/S5.png S5.png image/png
                          2022-10-14 22:02:18.142  - info: host.homebridge iobroker upload [19] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/de/translations.json i18n/de/translations.json application/json
                          2022-10-14 22:02:18.166  - info: host.homebridge iobroker upload [18] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/en/translations.json i18n/en/translations.json application/json
                          2022-10-14 22:02:18.182  - info: host.homebridge iobroker upload [17] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/es/translations.json i18n/es/translations.json application/json
                          2022-10-14 22:02:18.195  - info: host.homebridge iobroker upload [16] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                          2022-10-14 22:02:18.208  - info: host.homebridge iobroker upload [15] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/it/translations.json i18n/it/translations.json application/json
                          2022-10-14 22:02:18.220  - info: host.homebridge iobroker upload [14] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                          2022-10-14 22:02:18.233  - info: host.homebridge iobroker upload [13] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                          2022-10-14 22:02:18.248  - info: host.homebridge iobroker upload [12] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                          2022-10-14 22:02:18.262  - info: host.homebridge iobroker upload [11] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                          2022-10-14 22:02:18.278  - info: host.homebridge iobroker upload [10] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                          2022-10-14 22:02:18.298  - info: host.homebridge iobroker upload [9] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index.html index.html text/html
                          2022-10-14 22:02:18.308  - info: host.homebridge iobroker upload [8] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index_m.html index_m.html text/html
                          2022-10-14 22:02:18.321  - info: host.homebridge iobroker upload [7] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/mihome-vacuum.png mihome-vacuum.png image/png
                          2022-10-14 22:02:18.336  - info: host.homebridge iobroker upload [6] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot.png robot.png image/png
                          2022-10-14 22:02:18.367  - info: host.homebridge iobroker upload [5] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot1.png robot1.png image/png
                          2022-10-14 22:02:18.382  - info: host.homebridge iobroker upload [4] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/spaceship.png spaceship.png image/png
                          2022-10-14 22:02:18.395  - info: host.homebridge iobroker upload [3] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/tank.png tank.png image/png
                          2022-10-14 22:02:18.409  - info: host.homebridge iobroker upload [2] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_conf.png valetudo_conf.png image/png
                          2022-10-14 22:02:18.426  - info: host.homebridge iobroker upload [1] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_logo_small.svg valetudo_logo_small.svg image/svg+xml
                          2022-10-14 22:02:18.453  - info: host.homebridge iobroker upload [0] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/words.js words.js application/javascript
                          2022-10-14 22:02:18.611  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum created/updated
                          2022-10-14 22:02:18.774  - info: host.homebridge iobroker host.homebridge create instance mihome-vacuum
                          2022-10-14 22:02:18.789  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.alive created
                          2022-10-14 22:02:18.804  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.connected created
                          2022-10-14 22:02:18.820  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.compactMode created
                          2022-10-14 22:02:18.838  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.cpu created
                          2022-10-14 22:02:18.856  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.cputime created
                          2022-10-14 22:02:18.875  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.memHeapUsed created
                          2022-10-14 22:02:18.894  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.memHeapTotal created
                          2022-10-14 22:02:18.920  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.memRss created
                          2022-10-14 22:02:18.948  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.uptime created
                          2022-10-14 22:02:18.971  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.inputCount created
                          2022-10-14 22:02:18.995  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.outputCount created
                          2022-10-14 22:02:19.015  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.eventLoopLag created
                          2022-10-14 22:02:19.033  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.sigKill created
                          2022-10-14 22:02:19.050  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.logLevel created
                          2022-10-14 22:02:19.063  - info: host.homebridge iobroker host.homebridge object mihome-vacuum.0.info created
                          2022-10-14 22:02:19.076  - info: host.homebridge iobroker host.homebridge object mihome-vacuum.0.info.connection created
                          2022-10-14 22:02:19.089  - info: host.homebridge iobroker host.homebridge object mihome-vacuum.0 created
                          2022-10-14 22:02:19.113  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0 created
                          2022-10-14 22:02:17.622  - info: host.homebridge iobroker
                          2022-10-14 22:02:17.626  - info: host.homebridge iobroker added 3 packages in 13s179 packages are looking for funding  run `npm fund` for details
                          2022-10-14 22:02:17.683  - info: host.homebridge iobroker host.homebridge install adapter mihome-vacuum
                          2022-10-14 22:02:17.854  - info: host.homebridge iobroker These apt-get packages were already installed: libcairo2-dev, libpango1.0-dev, libjpeg-dev, libgif-dev, librsvg2-dev
                          2022-10-14 22:02:17.917  - info: host.homebridge iobroker upload [20] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/S5.png S5.png image/png
                          2022-10-14 22:02:18.142  - info: host.homebridge iobroker upload [19] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/de/translations.json i18n/de/translations.json application/json
                          2022-10-14 22:02:18.166  - info: host.homebridge iobroker upload [18] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/en/translations.json i18n/en/translations.json application/json
                          2022-10-14 22:02:18.182  - info: host.homebridge iobroker upload [17] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/es/translations.json i18n/es/translations.json application/json
                          2022-10-14 22:02:18.195  - info: host.homebridge iobroker upload [16] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                          2022-10-14 22:02:18.208  - info: host.homebridge iobroker upload [15] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/it/translations.json i18n/it/translations.json application/json
                          2022-10-14 22:02:18.220  - info: host.homebridge iobroker upload [14] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                          2022-10-14 22:02:18.233  - info: host.homebridge iobroker upload [13] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                          2022-10-14 22:02:18.248  - info: host.homebridge iobroker upload [12] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                          2022-10-14 22:02:18.262  - info: host.homebridge iobroker upload [11] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                          2022-10-14 22:02:18.278  - info: host.homebridge iobroker upload [10] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                          2022-10-14 22:02:18.298  - info: host.homebridge iobroker upload [9] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index.html index.html text/html
                          2022-10-14 22:02:18.308  - info: host.homebridge iobroker upload [8] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index_m.html index_m.html text/html
                          2022-10-14 22:02:18.321  - info: host.homebridge iobroker upload [7] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/mihome-vacuum.png mihome-vacuum.png image/png
                          2022-10-14 22:02:18.336  - info: host.homebridge iobroker upload [6] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot.png robot.png image/png
                          2022-10-14 22:02:18.367  - info: host.homebridge iobroker upload [5] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot1.png robot1.png image/png
                          2022-10-14 22:02:18.382  - info: host.homebridge iobroker upload [4] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/spaceship.png spaceship.png image/png
                          2022-10-14 22:02:18.395  - info: host.homebridge iobroker upload [3] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/tank.png tank.png image/png
                          2022-10-14 22:02:18.409  - info: host.homebridge iobroker upload [2] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_conf.png valetudo_conf.png image/png
                          2022-10-14 22:02:18.426  - info: host.homebridge iobroker upload [1] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_logo_small.svg valetudo_logo_small.svg image/svg+xml
                          2022-10-14 22:02:18.453  - info: host.homebridge iobroker upload [0] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/words.js words.js application/javascript
                          2022-10-14 22:02:18.611  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum created/updated
                          2022-10-14 22:02:18.774  - info: host.homebridge iobroker host.homebridge create instance mihome-vacuum
                          2022-10-14 22:02:18.789  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.alive created
                          2022-10-14 22:02:18.804  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.connected created
                          2022-10-14 22:02:18.820  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.compactMode created
                          2022-10-14 22:02:18.838  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.cpu created
                          2022-10-14 22:02:18.856  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.cputime created
                          2022-10-14 22:02:18.875  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.memHeapUsed created
                          2022-10-14 22:02:18.894  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.memHeapTotal created
                          2022-10-14 22:02:18.920  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.memRss created
                          2022-10-14 22:02:18.948  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.uptime created
                          2022-10-14 22:02:18.971  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.inputCount created
                          2022-10-14 22:02:18.995  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.outputCount created
                          2022-10-14 22:02:19.015  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.eventLoopLag created
                          2022-10-14 22:02:19.033  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.sigKill created
                          2022-10-14 22:02:19.050  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0.logLevel created
                          2022-10-14 22:02:19.063  - info: host.homebridge iobroker host.homebridge object mihome-vacuum.0.info created
                          2022-10-14 22:02:19.076  - info: host.homebridge iobroker host.homebridge object mihome-vacuum.0.info.connection created
                          2022-10-14 22:02:19.089  - info: host.homebridge iobroker host.homebridge object mihome-vacuum.0 created
                          2022-10-14 22:02:19.113  - info: host.homebridge iobroker host.homebridge object system.adapter.mihome-vacuum.0 created
                          2022-10-14 22:02:20.246  - info: host.homebridge iobroker exit 0
                          2022-10-14 22:02:23.581  - info: admin.0 (3554) ==> Connected system.user.admin from ::ffff:192.168.178.22
                          
                          

                          Und so sieht es bei Canvas aus:

                          pi@homebridge:~ $ cd /opt/iobroker
                          pi@homebridge:/opt/iobroker $ npm ls canvas
                          iobroker.inst@3.0.0 /opt/iobroker
                          ├─┬ iobroker.echarts@1.0.12
                          │ ├── canvas@2.9.3
                          │ └─┬ jsdom@19.0.0
                          │   └── canvas@2.9.3 deduped
                          ├─┬ iobroker.iot@1.11.9
                          │ └── canvas@2.9.3 deduped
                          ├─┬ iobroker.mihome-vacuum@3.4.2
                          │ └── canvas@2.9.3 deduped
                          └─┬ iobroker.parcel@0.0.23
                            └─┬ jsdom@20.0.1
                              └── canvas@2.9.3 deduped
                          
                          pi@homebridge:/opt/iobroker $
                          

                          Aber nach dem aktivieren der Karte kommt wieder der Fehler im Log:

                          2022-10-14 22:09:37.199	warn	CANVAS package not installed....please install Canvas package manually or disable Map in config see also https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/blob/master/lib/canvaserror.md
                          
                          mihome-vacuum.0
                          2022-10-14 22:09:37.014	warn	CANVAS package not installed....please install Canvas package manually or disable Map in config see also https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/blob/master/lib/canvaserror.md
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Damrak2022 last edited by

                            @damrak2022

                            Keine Ahnung.

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

                              @thomas-braun Okay, ich hate irgendwo was von dem Befehl "npm -i" gelesen. Kann ich den bedenkenlos ausführen?

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

                                @damrak2022

                                Kommt drauf an wo.
                                Aber besser von 'npm' direkt die Finger lassen.

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

                                  @thomas-braun Okay, danke

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

                                    @thomas-braun sagte in Canvas Package korrekt installieren:

                                    npm install canvas --unsafe-perm=true

                                    Nachdem ich jetzt Canvas auf dem neuen System aufspielen wollte, bekomme ich diese Meldungen:

                                    Andy@homebridge:~ $ 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… Fertig
                                    Statusinformationen werden eingelesen… Fertig
                                    build-essential ist schon die neueste Version (12.9).
                                    libgif-dev ist schon die neueste Version (5.1.9-2).
                                    libjpeg-dev ist schon die neueste Version (1:2.0.6-4).
                                    librsvg2-dev ist schon die neueste Version (2.50.3+dfsg-1).
                                    libpango1.0-dev ist schon die neueste Version (1.46.2-3).
                                    libcairo2-dev ist schon die neueste Version (1.16.0-5+rpt1).
                                    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                    Andy@homebridge:~ $ cd /opt/iobroker/node_modules/iobroker.mihome-vacuum
                                    Andy@homebridge:/opt/iobroker/node_modules/iobroker.mihome-vacuum $ npm install canvas --unsafe-perm=true
                                    npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
                                    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                                    npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
                                    npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
                                    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                    
                                    added 655 packages, and audited 656 packages in 2m
                                    
                                    54 packages are looking for funding
                                      run `npm fund` for details
                                    
                                    7 vulnerabilities (1 moderate, 6 high)
                                    
                                    To address issues that do not require attention, run:
                                      npm audit fix
                                    
                                    To address all issues possible (including breaking changes), run:
                                      npm audit fix --force
                                    
                                    Some issues need review, and may require choosing
                                    a different dependency.
                                    
                                    Run `npm audit` for details.
                                    Andy@homebridge:/opt/iobroker/node_modules/iobroker.mihome-vacuum $
                                    

                                    Ich habe das mal abgefragt. Also ist es anscheinend doch sauber installiert, oder?

                                    Andy@homebridge:~ $ cd /opt/iobroker
                                    Andy@homebridge:/opt/iobroker $ npm ls canvas
                                    iobroker.inst@3.0.0 /opt/iobroker
                                    ├─┬ iobroker.iot@1.14.2
                                    │ ├── canvas@2.11.2
                                    │ └─┬ jsdom@20.0.3
                                    │   └── canvas@2.11.2 deduped
                                    └─┬ iobroker.mihome-vacuum@3.9.5
                                      └── canvas@2.11.2
                                    
                                    Andy@homebridge:/opt/iobroker $
                                    
                                    mikeal created this issue in request/request

                                    open Request’s Past, Present and Future #3142

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

                                      @damrak2022 sagte in Canvas Package korrekt installieren:

                                      Ich habe das mal abgefragt. Also ist es anscheinend doch sauber installiert, oder?

                                      Ja.

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

                                        @thomas-braun Okay, danke

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

                                        Support us

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

                                        914
                                        Online

                                        32.0k
                                        Users

                                        80.5k
                                        Topics

                                        1.3m
                                        Posts

                                        3
                                        32
                                        1479
                                        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