Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. iobroker kaputt nach NodeJS Update

    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

    iobroker kaputt nach NodeJS Update

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

      @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

      aber es sind nur 4 meiner früheren Adapter sichtbar.

      Hau dein Backup rein.

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

        @thomas-braun

        Moment, da muss ich jetzt nur noch rausfinden, wie das geht, mach ich zum ersten Mal.

        Ok, läuft..

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

          @thomas-braun

          Schlägt fehl.

          [ERROR] [iobroker] host.raspberrypi Cannot extract from file "/opt/iobroker/backups/iobroker_2022_10_10-02_00_10_backupiobroker.tar.gz": ENOENT: Cannot cd into '/opt/iobroker/node_modules/iobroker.js-controller/tmp'
          

          Außerdem versucht iobroker jetzt, alle Adapter nachzuinstallieren, aber wieder mit den Fehlermeldungen dass das nicht geht (da war ich heute auch schon mal):

          iobroker npm-install: host.raspberrypi Cannot install iobroker.weatherunderground@3.4.2: 217
          

          Fehler 217 erscheint bei jedem Modul

          iobroker npm-install: exit 25
          

          zumindest sind meine gesamten Instanzen und Objekte wieder da, trotz des Log Eintrag Fehlers von BackItUp

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

            @michaelheiml

            
            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
            

            again...

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

              @thomas-braun

              Gemacht, und dann? iob stop und iob start zum Neustarten?

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

                @michaelheiml

                Läuft das Backup noch im Hintergrund?

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

                  @thomas-braun

                  Wie sehe ich das? (Ob das Backup im Hintergrund noch läuft)

                  Im Übrigen, nach iob stop hätte ich jetzt eben iob update eingegeben, mit dem Ergebnis

                  pi@raspberrypi:/opt/iobroker $ iob stop
                  pi@raspberrypi:/opt/iobroker $ iob update
                  node:internal/modules/cjs/loader:959
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                      at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                      at node:internal/main/run_main_module:17:47 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  
                  

                  iob start -> startet aber iobroker wieder..

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

                    @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                    Wie sehe ich das?

                    Nach iob stop gar nicht mehr, das hast du weggeknallt, wenn es denn noch lief.

                    Im Log File sieht man, ob da noch was läuft.

                    iobroker logs --watch
                    

                    in einem zweiten Terminal mitlaufen lassen.

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

                      @thomas-braun

                      ok.. nevermind. iob start startet den Webservice jetzt auch nicht mehr neu. Keine Ahnung was da schief läuft.

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

                        @thomas-braun said in iobroker kaputt nach NodeJS Update:

                        pi@raspberrypi:/opt/iobroker $ iobroker logs --watch
                        node:internal/modules/cjs/loader:959
                          throw err;
                          ^
                        
                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                            at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                            at node:internal/main/run_main_module:17:47 {
                          code: 'MODULE_NOT_FOUND',
                          requireStack: []
                        }
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @michaelheiml last edited by

                          @michaelheiml

                          Ich bin jetzt weg.
                          Installier es neu, das wird vermutlich nix gescheites mehr geben.

                          M 3 Replies Last reply Reply Quote 0
                          • M
                            michaelheiml @Thomas Braun last edited by

                            @thomas-braun

                            npm list
                            
                            ├── UNMET DEPENDENCY iobroker.admin@stable
                            ├── UNMET DEPENDENCY iobroker.backitup@stable
                            ├── UNMET DEPENDENCY iobroker.discovery@stable
                            ├── iobroker.flot@1.11.0
                            ├── iobroker.habpanel@0.5.0
                            ├── UNMET DEPENDENCY iobroker.js-controller@stable
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • M
                              michaelheiml @Thomas Braun last edited by

                              @thomas-braun

                              OK danke trotzdem für deine Bemühungen.

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

                                @thomas-braun

                                Ich hätte es nicht mehr für möglich gehalten, aber mithilfe des Backups konnte ich alles wiederherstellen 🙂

                                Jetzt funktionieren auch die Adapter Updates mit npm 8.15

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                737
                                Online

                                31.8k
                                Users

                                80.0k
                                Topics

                                1.3m
                                Posts

                                3
                                75
                                3721
                                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