Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. mihome-vacuum.0 läd keine Map!

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    mihome-vacuum.0 läd keine Map!

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active last edited by

      hab mal auf debug geschaltet.

      Im log ist eigentlich nur dies ersichtlich / komisch:

      8f06c37b-9223-4bfb-8d1e-8c83957835f0-image.png

      1 Reply Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active last edited by

        und sowas:

        1a143b7f-d738-4ffa-a4e5-f4c46bbd7df8-image.png

        1 Reply Last reply Reply Quote 0
        • bahnuhr
          bahnuhr Forum Testing Most Active last edited by

          soll man so was:

          cd /opt/iobroker
          npm install canvas
          

          mal durchführen.

          Habe ich aus einem anderen thread wo @Thomas-Braun dies geschrieben hatte.
          https://forum.iobroker.net/topic/34945/too-many-symbolic-links-encountered-access-canvas/6

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

            @bahnuhr

            Ich würde das eher in den Unterordner des Adapters setzen.
            Schau mal per

            cd /opt/iobroker 
            npm list canvas
            

            nach wo das liegt.

            bahnuhr 1 Reply Last reply Reply Quote 0
            • bahnuhr
              bahnuhr Forum Testing Most Active @Thomas Braun last edited by

              @thomas-braun sagte in mihome-vacuum.0 läd keine Map!:

              nach wo das liegt.

              927354be-deb1-4c2c-98e2-afea5d25240e-image.png

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

                @bahnuhr

                Dann würde ich das im Ordner des Adapters dann mal neubauen. Wenn es überhaupt daran liegt.

                bahnuhr 1 Reply Last reply Reply Quote 0
                • bahnuhr
                  bahnuhr Forum Testing Most Active @Thomas Braun last edited by

                  @thomas-braun sagte in mihome-vacuum.0 läd keine Map!:

                  Dann würde ich das im Ordner des Adapters dann mal neubauen

                  und wie ?

                  @thomas-braun sagte in mihome-vacuum.0 läd keine Map!:

                  Wenn es überhaupt daran liegt.

                  Wie ist das gemeint?

                  Nach meinem Screenshot müsste es dort doch liegen.

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

                    @bahnuhr sagte in mihome-vacuum.0 läd keine Map!:

                    Wie ist das gemeint?

                    Damit meine ich, dass es vermutlich eher nicht an einer recompilation liegt. Dann sähen die Meldungen im Log glaube ich anders aus.

                    Mit dem Pfad bin ich jetzt gerade überfragt, kann aber auch in meinem System nicht nachschauen.
                    Versuch vielleicht mal

                    cd /opt/iobroker/node_modules/iobroker.mihome-vacuum
                    npm install canvas
                    

                    Oder jemand anderes kommt mit einer gesicherten Idee um's Eck.

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

                      @thomas-braun
                      andreas@iobroker:/opt/iobroker$ npm list canvas
                      iobroker.inst@2.0.3 /opt/iobroker
                      ├─┬ iobroker.iot@1.8.24
                      │ ├── canvas@2.8.0
                      │ └─┬ jsdom@17.0.0
                      │ └── canvas@2.8.0 deduped
                      └─┬ iobroker.mihome-vacuum@3.3.1
                      └── canvas@2.8.0 deduped
                      das kommt bei mir wenn ich npm list canvas eingebe.
                      Was bedeutet das "deduped"?

                      Im Log des Adapters tauchen auch keine Fehler auf,
                      und "actual map" lädt er auch, nur map 64 und mapUrl stehen bei mir auf "null"

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

                        @akuehnemann73 sagte in mihome-vacuum.0 läd keine Map!:

                        Was bedeutet das "deduped"?

                        Das bedeutet, dass es ein Duplikat von der Installation unter iobroker.iot ist und darauf verwiesen wird.

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

                          @thomas-braun

                          ok schon mal danke dafür.
                          Das stellt aber ja wohl kein Problem dann da, oder?

                          Vielleicht noch eine Idee warum dann trotzdem map 64 und mapURL auf "null" steht?

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

                            @akuehnemann73 sagte in mihome-vacuum.0 läd keine Map!:

                            Das stellt aber ja wohl kein Problem dann da, oder?

                            Nein, im Gegenteil.

                            Vielleicht noch eine Idee warum dann trotzdem map 64 und mapURL auf "null" steht?

                            Nein, ich kann aber auch nicht viel dazu sagen, da ich zwar einen V1 Sauger von xiaomi habe, aber keine Visualisierung für die Karte.

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

                              @thomas-braun

                              ok und wie kann ich das beheben?
                              Vielleicht eine Idee?

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

                                @akuehnemann73
                                Nein. Gibt es denn im LogFile keine Meldungen?

                                1 Reply Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active last edited by bahnuhr

                                  @Thomas-Braun
                                  Habe canvas nachinstalliert.
                                  Ging aber nicht als user; musste dies als root machen. Dann klappte es aber.

                                  Es hat sich aber nichts geändert.
                                  Karte wird weiterhin nicht angezeigt.

                                  mfg
                                  Dieter

                                  P.S
                                  Vielleicht liest ja auch @Meistertr hier mit.

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

                                    @bahnuhr sagte in mihome-vacuum.0 läd keine Map!:

                                    Ging aber nicht als user; musste dies als root machen.

                                    Das ist falsch. Das muss auch mit einem (richtig eingestellten) user gehen. Da ist dann noch mehr krumm in dem System.

                                    bahnuhr 1 Reply Last reply Reply Quote 0
                                    • bahnuhr
                                      bahnuhr Forum Testing Most Active @Thomas Braun last edited by bahnuhr

                                      @thomas-braun sagte in mihome-vacuum.0 läd keine Map!:

                                      @bahnuhr sagte in mihome-vacuum.0 läd keine Map!:

                                      Ging aber nicht als user; musste dies als root machen.

                                      Das ist falsch. Das muss auch mit einem (richtig eingestellten) user gehen. Da ist dann noch mehr krumm in dem System.

                                      Ich habe doch letzte Woche erst nach deinen Anweisungen einen neuen user erstellt.
                                      (weiß jetzt nicht mehr welcher thread dies war).
                                      Warum soll dies nun schon wieder falsch sein.

                                      Komisch.
                                      Sorry Thomas,
                                      aber für mich als linux laie war das logisch, dass ich keine Installation außerhalb von iobroker durchführen darf. Und das wollte die Kiste (irgend ein anderes Verzeichnis bei "install canvas".

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

                                        @bahnuhr
                                        user die in der passenden Gruppe sind (iobroker) dürfen npm ausführen, allerdings nur im Pfad /opt/iobroker
                                        Ich meine so sei das in den sudoers angelegt.
                                        Natürlich nicht in den sudoers sondern über das Gruppen-Recht.

                                        In meinem System kann ich das mit meinem Standard-User 'echad' auch einwandfrei machen:

                                        echad@chet:/opt/iobroker $ npm install canvas
                                        
                                        removed 200 packages, and changed 1 package in 19s
                                        
                                        97 packages are looking for funding
                                          run `npm fund` for details
                                        echad@chet:/opt/iobroker $ npm list canvas
                                        iobroker.inst@3.0.0 /opt/iobroker
                                        ├── canvas@2.8.0
                                        ├─┬ iobroker.echarts@1.0.3
                                        │ ├── canvas@2.8.0 deduped
                                        │ └─┬ jsdom@16.7.0
                                        │   └── canvas@2.8.0 deduped
                                        ├─┬ iobroker.iot@1.8.25
                                        │ ├── canvas@2.8.0 deduped
                                        │ └─┬ jsdom@17.0.0
                                        │   └── canvas@2.8.0 deduped
                                        └─┬ iobroker.mihome-vacuum@3.3.1
                                          └── canvas@2.8.0 deduped
                                        

                                        Und wieder weg:

                                        echad@chet:/opt/iobroker $ npm uninstall canvas
                                        
                                        up to date in 14s
                                        
                                        97 packages are looking for funding
                                          run `npm fund` for details
                                        echad@chet:/opt/iobroker $ npm list canvas
                                        iobroker.inst@3.0.0 /opt/iobroker
                                        ├─┬ iobroker.echarts@1.0.3
                                        │ ├── canvas@2.8.0
                                        │ └─┬ jsdom@16.7.0
                                        │   └── canvas@2.8.0 deduped
                                        ├─┬ iobroker.iot@1.8.25
                                        │ ├── canvas@2.8.0 deduped
                                        │ └─┬ jsdom@17.0.0
                                        │   └── canvas@2.8.0 deduped
                                        └─┬ iobroker.mihome-vacuum@3.3.1
                                          └── canvas@2.8.0 deduped
                                        
                                        echad@chet:/opt/iobroker $
                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @bahnuhr last edited by

                                          @bahnuhr sagte in mihome-vacuum.0 läd keine Map!:

                                          Ich habe doch letzte Woche erst nach deinen Anweisungen einen neuen user erstellt.

                                          Haben wir da vergessen den auch in die Gruppe 'iobroker' zu setzen?
                                          Schau mal mit

                                          groups
                                          

                                          nach.

                                          bahnuhr 1 Reply Last reply Reply Quote 0
                                          • bahnuhr
                                            bahnuhr Forum Testing Most Active @Thomas Braun last edited by

                                            @thomas-braun
                                            In groups ist iobroker drin.

                                            trotzdem Fehler:

                                            dieter@VM-iobroker:~$ cd /opt/iobroker
                                            dieter@VM-iobroker:/opt/iobroker$ groups
                                            dieter sudo iobroker
                                            dieter@VM-iobroker:/opt/iobroker$ npm install canvas
                                            npm ERR! code EACCES
                                            npm ERR! syscall unlink
                                            npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@fast-csv/format/node_modules/@types/node/fs/promises.d.ts
                                            npm ERR! errno -13
                                            npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@fast-csv/format/node_modules/@types/node/fs/promises.d.ts'
                                            npm ERR!  [OperationalError: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@fast-csv/format/node_modules/@types/node/fs/promises.d.ts'] {
                                            npm ERR!   cause: [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@fast-csv/format/node_modules/@types/node/fs/promises.d.ts'] {
                                            npm ERR!     errno: -13,
                                            npm ERR!     code: 'EACCES',
                                            npm ERR!     syscall: 'unlink',
                                            npm ERR!     path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@fast-csv/format/node_modules/@types/node/fs/promises.d.ts'
                                            npm ERR!   },
                                            npm ERR!   errno: -13,
                                            npm ERR!   code: 'EACCES',
                                            npm ERR!   syscall: 'unlink',
                                            npm ERR!   path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@fast-csv/format/node_modules/@types/node/fs/promises.d.ts',
                                            npm ERR!   parent: '@fast-csv/format'
                                            npm ERR! }
                                            npm ERR!
                                            npm ERR! The operation was rejected by your operating system.
                                            npm ERR! It is likely you do not have the permissions to access this file as the current user
                                            npm ERR!
                                            npm ERR! If you believe this might be a permissions issue, please double-check the
                                            npm ERR! permissions of the file and its containing directories, or try running
                                            npm ERR! the command again as root/Administrator.
                                            
                                            npm ERR! A complete log of this run can be found in:
                                            npm ERR!     /home/dieter/.npm/_logs/2021-11-29T19_36_07_748Z-debug.log
                                            dieter@VM-iobroker:/opt/iobroker$
                                            
                                            
                                            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

                                            433
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            map roborock s5
                                            7
                                            59
                                            3082
                                            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