Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Hilfe aus Karlsruhe und Umgebung

    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

    Hilfe aus Karlsruhe und Umgebung

    This topic has been deleted. Only users with topic management privileges can see it.
    • Asgothian
      Asgothian Developer @liv-in-sky last edited by Asgothian

      @liv-in-sky wie @Homoran geschrieben hat.. zur Sicherheit vorher noch die Shepherd.dB sichern, für den Fall das da doch etwas war. Wenn das nicht geht, einfach per rm das Verzeichnis /opt/iobroker/node-modules/iobroker.zigbee löschen

      1 Reply Last reply Reply Quote 1
      • liv-in-sky
        liv-in-sky last edited by

        jetzt nochmal das thema:

        @thomas-braun sagte in Hilfe aus Karlsruhe und Umgebung:

        rm -rf /opt/iobroker/node_modules/iobroker.type-detector

        kann ich das ausführen ohne gleich alles mögliche zu löschen - ich weiß ja nicht, welche links da drin sind

        Thomas Braun liv-in-sky 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @liv-in-sky last edited by Thomas Braun

          @liv-in-sky
          Schau doch vorher mal ob es da nicht selbstreferenzielle Links gibt.
          Siehe weiter oben.

          ls -la /opt/iobroker/node_modules/iobroker.type-detector
          ls -la /opt/iobroker/node_modules/
          

          Bei mir kommt der vom iot-Adapter:

          echad@chet:/opt/iobroker $ npm ls iobroker.type-detector
          iobroker.inst@3.0.0 /opt/iobroker
          └─┬ iobroker.iot@1.8.25
            └── iobroker.type-detector@1.0.15
          

          Wenn du den iot-Adapter mal neu drüberbügelst? Oder die de/re-Installation?

          Der iot dürfte ohnehin etwas Liebe benötigen, mindestens aber wohl frische Zertifikate.

          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @liv-in-sky last edited by

            @Thomas-Braun

            habe es so gelöscht:

            unlink iobroker.type-detector

            habe mal ping installiert und deinstalliert

            jetzt kommt das: da scheint im home noch was zu liegen 😞 siehe zeile 25

            Delete adapter "ping"
            
            host.ioBroker-Rock64 Counted 1 instances of ping
            
            host.ioBroker-Rock64 Counted 1 meta of ping
            
            host.ioBroker-Rock64 Counted 1 adapter for ping
            
            host.ioBroker-Rock64 Counted 14 states of system.adapter.ping
            
            host.ioBroker-Rock64 file ping.admin deleted
            
            host.ioBroker-Rock64 object ping deleted
            
            host.ioBroker-Rock64 object ping.admin deleted
            
            host.ioBroker-Rock64 Deleting 17 object(s).
            
            npm uninstall iobroker.ping --loglevel error --prefix "/opt/iobroker" (System call)
            
            npm ERR! code ENOLOCAL
            
            npm ERR! Could not install from "node_modules/iobroker.type-detector" as it does not contain a package.json file.
            
            npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-01-14T19_07_01_277Z-debug.log
            
            Error deleting adapter ping from disk: Error: host.ioBroker-Rock64: Cannot uninstall iobroker.ping: 1
            
            You might have to delete it yourself!
            
            Process exited with code 0
            

            ich mache morgen weiter - jetzt ist feierabend

            Homoran 1 Reply Last reply Reply Quote 1
            • Homoran
              Homoran Global Moderator Administrators @liv-in-sky last edited by

              @liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:

              jetzt ist feierabend

              Hast du dir verdient
              🍻

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Thomas Braun last edited by

                @thomas-braun

                wollte nochmal nachfragen wegen dem pam fehler. mittlerweile habe ich ja im home etwas gefunden

                root@ioBroker-Rock64:~# ls
                iobroker-data  killall.sh  log  node_modules  package-lock.json.3159939790  reinstall.sh
                root@ioBroker-Rock64:~#
                
                

                der fehler beim adapter installieren ist ja dieser - besonders zeile 23:

                root@ioBroker-Rock64:~# iobroker upgrade
                
                This upgrade of "fritzdect" will introduce the following changes:
                ==========================================================================
                -> 2.2.3:
                default time setting in admin config for open window or boost activation, setmodeon/off/auto initial value= false
                ==========================================================================
                
                Would you like to upgrade fritzdect from @2.2.2 to @2.2.3 now? [(y)es, (n)o]: y
                Update fritzdect from @2.2.2 to @2.2.3
                NPM version: 6.14.15
                npm install iobroker.fritzdect@2.2.3 --loglevel error --prefix "/opt/iobroker" (System call)
                In file included from ../../nan/nan_converters.h:67,
                                 from ../../nan/nan.h:222,
                                 from ../authenticate_pam.cc:23:
                ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                ../../nan/nan_converters_43_inl.h:18:51: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Local<v8::Context>)’
                       val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                   ^
                ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                 X(Boolean)
                 ^
                In file included from /home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:67,
                                 from ../../nan/nan.h:53,
                                 from ../authenticate_pam.cc:23:
                /home/iobroker/.cache/node-gyp/14.18.3/include/node/v
                

                weißt du, wie man das evtl gerade biegen kann

                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @liv-in-sky last edited by Thomas Braun

                  @liv-in-sky
                  Lösch den Cache

                  npm cache clear --force
                  

                  glaube ich war der Befehl dazu.

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @Thomas Braun last edited by

                    @thomas-braun

                    das andere thema

                    diesen type-detector hatte ich auch gelöscht - kann ich den über npm wieder bekommen - siehe zeile 6

                    
                    63 silly saveTree │   ├── inherits@2.0.4
                    63 silly saveTree │   ├── is-generator-function@1.0.10
                    63 silly saveTree │   └── safe-buffer@5.2.1
                    63 silly saveTree └── iobroker.zigbee@0.11.5
                    64 verbose stack Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.type-detector/package.json'
                    65 verbose cwd /opt/iobroker
                    66 verbose Linux 4.17.0-rc6-rk3328
                    67 verbose argv "/usr/bin/node" "/usr/bin/npm" "uninstall" "iobroker.ping" "--loglevel" "error" "--prefix" "/opt/iobroker"
                    68 verbose node v14.18.3
                    69 verbose npm  v6.14.15
                    70 error code ENOLOCAL
                    71 error Could not install from "node_modules/iobroker.type-detector" as it does not contain a package.json file.
                    72 verbose exit [ 1, true ]
                    
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @liv-in-sky last edited by

                      @liv-in-sky Zimmer den iot-Adapter nochmal drauf. Der schleppt den typedingens als Dependency mit.

                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @Thomas Braun last edited by

                        @thomas-braun

                        das mit dem cache löschen hat leider nix gebracht - fehler immer noch da

                        was genau meint du mit zimmern ? löschen wil ich den nicht, da die settings sonst weg sind - geht das auch über downgrade version und wieder update version

                        Homoran Asgothian Thomas Braun 3 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @liv-in-sky last edited by

                          @liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:

                          das mit dem cache löschen hat leider nix gebracht - fehler immer noch da

                          dann lösch mal die package-lock.json

                          liv-in-sky 1 Reply Last reply Reply Quote 0
                          • Asgothian
                            Asgothian Developer @liv-in-sky last edited by

                            @liv-in-sky du solltest in der Lage sein die identische Version per iobroker install iot Zu installieren- auch wenn er schon da ist.

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @liv-in-sky last edited by

                              @liv-in-sky
                              Ich vermute, mit

                              iobroker upgrade iot@letzteversionsnummer
                              

                              wird der nochmal draufgebügelt. Hab ich aber noch nie gemacht.

                              1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Homoran last edited by

                                @homoran im /opt/iobroker verzeichnis ?

                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

                                  @liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:

                                  root@ioBroker-Rock64:~# ls iobroker-data killall.sh log node_modules package-lock.json.3159939790 reinstall.sh

                                  müsste es sein

                                  neee - STOP

                                  müsste in /opt/iobroker liegen

                                  liv-in-sky 2 Replies Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Homoran last edited by

                                    @homoran

                                    ok - die im home verzeichnis

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @Homoran last edited by

                                      @homoran da steht viel drin - kann ich die wirklich löschen

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @liv-in-sky last edited by

                                        @liv-in-sky nee , /opt/iobroker

                                        liv-in-sky 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @liv-in-sky last edited by

                                          @liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:

                                          kann ich die wirklich löschen

                                          benenn sie um

                                          liv-in-sky 3 Replies Last reply Reply Quote 0
                                          • liv-in-sky
                                            liv-in-sky @Homoran last edited by

                                            @homoran habe es gesehen - ich meine die im 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

                                            462
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            166
                                            12086
                                            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