Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. iobroker kaputt nach NodeJS Update

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    928

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

iobroker kaputt nach NodeJS Update

Scheduled Pinned Locked Moved Error/Bug
75 Posts 3 Posters 4.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M michaelheiml

    @thomas-braun

    cat: /opt/iobroker/node_modules/jsonwebtoken/index.js: Datei oder Verzeichnis nicht gefunden
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #21

    @michaelheiml

    iob fix
    

    sagt?

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    M 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @michaelheiml

      iob fix
      

      sagt?

      M Offline
      M Offline
      michaelheiml
      wrote on last edited by
      #22

      @thomas-braun

      ==========================================================================
          Installing prerequisites (1/3)
      ==========================================================================
      
      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:2 https://downloads.plex.tv/repo/deb public InRelease                                                
      OK:3 https://linux.teamviewer.com/deb stable InRelease                                                  
      OK:4 http://archive.raspberrypi.org/debian buster InRelease                                             
      OK:5 https://deb.nodesource.com/node_16.x buster InRelease                                   
      Paketlisten werden gelesen... Fertig                                 
      Installed gcc-c++
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/3)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Checking autostart (3/3)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      
      Thomas BraunT 1 Reply Last reply
      0
      • M michaelheiml

        @thomas-braun

        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:2 https://downloads.plex.tv/repo/deb public InRelease                                                
        OK:3 https://linux.teamviewer.com/deb stable InRelease                                                  
        OK:4 http://archive.raspberrypi.org/debian buster InRelease                                             
        OK:5 https://deb.nodesource.com/node_16.x buster InRelease                                   
        Paketlisten werden gelesen... Fertig                                 
        Installed gcc-c++
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/3)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Checking autostart (3/3)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #23

        @michaelheiml

        iob status
        iob setup first
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        M 1 Reply Last reply
        0
        • Thomas BraunT Thomas Braun

          @michaelheiml

          iob status
          iob setup first
          
          M Offline
          M Offline
          michaelheiml
          wrote on last edited by
          #24

          @thomas-braun

          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: []
          }
          
          M Thomas BraunT 2 Replies Last reply
          0
          • M michaelheiml

            @thomas-braun

            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: []
            }
            
            M Offline
            M Offline
            michaelheiml
            wrote on last edited by
            #25

            @michaelheiml

            Im Ordner /opt/iobroker/node_modules/iobroker.js-controller/ gibt es auch keine iobroker.js

            Diese Dateien schon:
            iob.bat
            iobroker.bat
            LICENSE
            _service_iobroker.bat

            -> .bat? Windows? Ist es normal, dass es diese Dateien unter raspbian auch gibt?

            1 Reply Last reply
            0
            • M michaelheiml

              @thomas-braun

              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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #26

              @michaelheiml

              Bitte vollständige Eingabezeile mitposten. Ich weiß jetzt nicht auf welches Kommando das die Ausgabe ist.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              M 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @michaelheiml

                Bitte vollständige Eingabezeile mitposten. Ich weiß jetzt nicht auf welches Kommando das die Ausgabe ist.

                M Offline
                M Offline
                michaelheiml
                wrote on last edited by michaelheiml
                #27

                @thomas-braun

                Auf beide dieselbe Ausgabe:

                iob status
                iob setup first
                
                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 BraunT 1 Reply Last reply
                0
                • M michaelheiml

                  @thomas-braun

                  Auf beide dieselbe Ausgabe:

                  iob status
                  iob setup first
                  
                  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 BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #28

                  @michaelheiml

                  Unabhängig voneinander eingeben, nicht in einem Rutsch...

                  Btw:

                  echad@chet:/opt/iobroker $ ls -la /opt/iobroker/node_modules/iobroker.js-controller/
                  total 392
                  drwxrwxr-x+   7 iobroker iobroker   4096 Oct  9 11:54 .
                  drwxrwxr-x+ 704 iobroker iobroker  36864 Oct 10 17:13 ..
                  drwxrwxr-x+   2 iobroker iobroker   4096 Jul 30 03:42 backups
                  -rw-rwxr--+   1 iobroker iobroker    420 Jul 29 20:20 compactgroupController.js
                  drwxrwxr-x+   2 iobroker iobroker   4096 Jul 29 20:20 conf
                  -rw-rwxr--+   1 iobroker iobroker    158 Jul 29 20:20 controller.js
                  -rwxrwxr-x+   1 iobroker iobroker     34 Jul 29 20:20 iobroker.js
                  -rw-rwxr--+   1 iobroker iobroker  54395 Jul 29 20:20 io-package.json
                  drwxrwxr-x+   9 iobroker iobroker   4096 Jul 29 20:20 lib
                  -rw-rwxr--+   1 iobroker iobroker   1135 Jul 29 20:20 LICENSE
                  -rw-rwxr--+   1 iobroker iobroker 249293 Jul 29 20:20 main.js
                  drwxrwxr-x+   5 iobroker iobroker   4096 Jul 29 20:20 node_modules
                  -rw-rwxr--+   1 iobroker iobroker   3277 Jul 29 20:20 package.json
                  -rw-rw-r--+   1 iobroker iobroker    177 Oct 10 17:14 pids.txt
                  -rw-rwxr--+   1 iobroker iobroker    193 Jul 29 20:20 README.md
                  drwxrwxr-x+   2 iobroker iobroker   4096 Oct 10 03:42 tmp
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  M 2 Replies Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @michaelheiml

                    Unabhängig voneinander eingeben, nicht in einem Rutsch...

                    Btw:

                    echad@chet:/opt/iobroker $ ls -la /opt/iobroker/node_modules/iobroker.js-controller/
                    total 392
                    drwxrwxr-x+   7 iobroker iobroker   4096 Oct  9 11:54 .
                    drwxrwxr-x+ 704 iobroker iobroker  36864 Oct 10 17:13 ..
                    drwxrwxr-x+   2 iobroker iobroker   4096 Jul 30 03:42 backups
                    -rw-rwxr--+   1 iobroker iobroker    420 Jul 29 20:20 compactgroupController.js
                    drwxrwxr-x+   2 iobroker iobroker   4096 Jul 29 20:20 conf
                    -rw-rwxr--+   1 iobroker iobroker    158 Jul 29 20:20 controller.js
                    -rwxrwxr-x+   1 iobroker iobroker     34 Jul 29 20:20 iobroker.js
                    -rw-rwxr--+   1 iobroker iobroker  54395 Jul 29 20:20 io-package.json
                    drwxrwxr-x+   9 iobroker iobroker   4096 Jul 29 20:20 lib
                    -rw-rwxr--+   1 iobroker iobroker   1135 Jul 29 20:20 LICENSE
                    -rw-rwxr--+   1 iobroker iobroker 249293 Jul 29 20:20 main.js
                    drwxrwxr-x+   5 iobroker iobroker   4096 Jul 29 20:20 node_modules
                    -rw-rwxr--+   1 iobroker iobroker   3277 Jul 29 20:20 package.json
                    -rw-rw-r--+   1 iobroker iobroker    177 Oct 10 17:14 pids.txt
                    -rw-rwxr--+   1 iobroker iobroker    193 Jul 29 20:20 README.md
                    drwxrwxr-x+   2 iobroker iobroker   4096 Oct 10 03:42 tmp
                    
                    M Offline
                    M Offline
                    michaelheiml
                    wrote on last edited by
                    #29

                    @thomas-braun

                    pi@raspberrypi:/opt/iobroker $ iob status
                    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: []
                    }
                    pi@raspberrypi:/opt/iobroker $ iob setup first
                    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: []
                    }
                    
                    
                    1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @michaelheiml

                      Unabhängig voneinander eingeben, nicht in einem Rutsch...

                      Btw:

                      echad@chet:/opt/iobroker $ ls -la /opt/iobroker/node_modules/iobroker.js-controller/
                      total 392
                      drwxrwxr-x+   7 iobroker iobroker   4096 Oct  9 11:54 .
                      drwxrwxr-x+ 704 iobroker iobroker  36864 Oct 10 17:13 ..
                      drwxrwxr-x+   2 iobroker iobroker   4096 Jul 30 03:42 backups
                      -rw-rwxr--+   1 iobroker iobroker    420 Jul 29 20:20 compactgroupController.js
                      drwxrwxr-x+   2 iobroker iobroker   4096 Jul 29 20:20 conf
                      -rw-rwxr--+   1 iobroker iobroker    158 Jul 29 20:20 controller.js
                      -rwxrwxr-x+   1 iobroker iobroker     34 Jul 29 20:20 iobroker.js
                      -rw-rwxr--+   1 iobroker iobroker  54395 Jul 29 20:20 io-package.json
                      drwxrwxr-x+   9 iobroker iobroker   4096 Jul 29 20:20 lib
                      -rw-rwxr--+   1 iobroker iobroker   1135 Jul 29 20:20 LICENSE
                      -rw-rwxr--+   1 iobroker iobroker 249293 Jul 29 20:20 main.js
                      drwxrwxr-x+   5 iobroker iobroker   4096 Jul 29 20:20 node_modules
                      -rw-rwxr--+   1 iobroker iobroker   3277 Jul 29 20:20 package.json
                      -rw-rw-r--+   1 iobroker iobroker    177 Oct 10 17:14 pids.txt
                      -rw-rwxr--+   1 iobroker iobroker    193 Jul 29 20:20 README.md
                      drwxrwxr-x+   2 iobroker iobroker   4096 Oct 10 03:42 tmp
                      
                      M Offline
                      M Offline
                      michaelheiml
                      wrote on last edited by
                      #30

                      @thomas-braun

                      Der Ordner sieht bei mir gänzlich anders aus. Keine .js Dateien. Kann es sein, dass durch irgendeinen Fehler von mir ich die Windows Version von iobroker installiert habe?

                      Thomas BraunT 2 Replies Last reply
                      0
                      • M michaelheiml

                        @thomas-braun

                        Der Ordner sieht bei mir gänzlich anders aus. Keine .js Dateien. Kann es sein, dass durch irgendeinen Fehler von mir ich die Windows Version von iobroker installiert habe?

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #31

                        @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                        Kann es sein, dass durch irgendeinen Fehler von mir ich die Windows Version von iobroker installiert habe?

                        Kann ich dir nicht sagen. Ich weiß ja nicht was du da veranstaltet hast.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        M 1 Reply Last reply
                        0
                        • M michaelheiml

                          @thomas-braun

                          Der Ordner sieht bei mir gänzlich anders aus. Keine .js Dateien. Kann es sein, dass durch irgendeinen Fehler von mir ich die Windows Version von iobroker installiert habe?

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #32

                          @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                          Der Ordner sieht bei mir gänzlich anders aus.

                          Wie sieht der denn aus?

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                            Kann es sein, dass durch irgendeinen Fehler von mir ich die Windows Version von iobroker installiert habe?

                            Kann ich dir nicht sagen. Ich weiß ja nicht was du da veranstaltet hast.

                            M Offline
                            M Offline
                            michaelheiml
                            wrote on last edited by
                            #33

                            @thomas-braun

                            Offenbar einen Quark ;)

                            Na jedenfalls.. das ist mein Ordner Inhalt:
                            iob.bat
                            iobroker.bat
                            lib
                            LICENSE
                            node_modules
                            _service_iobroker.bat

                            Mehr nicht.

                            Thomas BraunT M 2 Replies Last reply
                            0
                            • M michaelheiml

                              @thomas-braun

                              Offenbar einen Quark ;)

                              Na jedenfalls.. das ist mein Ordner Inhalt:
                              iob.bat
                              iobroker.bat
                              lib
                              LICENSE
                              node_modules
                              _service_iobroker.bat

                              Mehr nicht.

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #34

                              @michaelheiml

                              Kopier dir doch den Befehl den ich auch verwendet habe. Dann reden wir über das gleiche.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Reply Last reply
                              0
                              • M michaelheiml

                                @thomas-braun

                                Offenbar einen Quark ;)

                                Na jedenfalls.. das ist mein Ordner Inhalt:
                                iob.bat
                                iobroker.bat
                                lib
                                LICENSE
                                node_modules
                                _service_iobroker.bat

                                Mehr nicht.

                                M Offline
                                M Offline
                                michaelheiml
                                wrote on last edited by
                                #35

                                @michaelheiml

                                Zum Installieren habe ich jedenfalls den Befehl aus der Anleitung verwendet.
                                curl -sLf https://iobroker.net/install.sh | bash -

                                pi@raspberrypi:/opt/iobroker/node_modules/iobroker.js-controller $ ls -la /opt/iobroker/node_modules/iobroker.js-controller/
                                insgesamt 96
                                drwxrwxrwx+   4 iobroker iobroker  4096 Okt 10 18:14 .
                                drwxrwxrwx+ 394 iobroker iobroker 69632 Okt 10 21:37 ..
                                -rw-rwxrw-+   1 iobroker iobroker    41 Okt 10 18:14 iob.bat
                                -rw-rwxrw-+   1 iobroker iobroker     0 Okt 10 18:14 iobroker.bat
                                drwxrwxrwx+   2 iobroker iobroker  4096 Okt 10 18:14 lib
                                -rw-rwxrw-+   1 iobroker iobroker  1135 Okt 10 18:14 LICENSE
                                drwxrwxrwx+   5 iobroker iobroker  4096 Okt 10 18:14 node_modules
                                -rw-rwxrw-+   1 iobroker iobroker   144 Okt 10 18:14 _service_iobroker.bat
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • M michaelheiml

                                  @michaelheiml

                                  Zum Installieren habe ich jedenfalls den Befehl aus der Anleitung verwendet.
                                  curl -sLf https://iobroker.net/install.sh | bash -

                                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.js-controller $ ls -la /opt/iobroker/node_modules/iobroker.js-controller/
                                  insgesamt 96
                                  drwxrwxrwx+   4 iobroker iobroker  4096 Okt 10 18:14 .
                                  drwxrwxrwx+ 394 iobroker iobroker 69632 Okt 10 21:37 ..
                                  -rw-rwxrw-+   1 iobroker iobroker    41 Okt 10 18:14 iob.bat
                                  -rw-rwxrw-+   1 iobroker iobroker     0 Okt 10 18:14 iobroker.bat
                                  drwxrwxrwx+   2 iobroker iobroker  4096 Okt 10 18:14 lib
                                  -rw-rwxrw-+   1 iobroker iobroker  1135 Okt 10 18:14 LICENSE
                                  drwxrwxrwx+   5 iobroker iobroker  4096 Okt 10 18:14 node_modules
                                  -rw-rwxrw-+   1 iobroker iobroker   144 Okt 10 18:14 _service_iobroker.bat
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #36

                                  @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                                  Und wie läuft der Installer?

                                  curl -sLf https://iobroker.net/install.sh | bash -
                                  

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  M 1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                                    Und wie läuft der Installer?

                                    curl -sLf https://iobroker.net/install.sh | bash -
                                    
                                    M Offline
                                    M Offline
                                    michaelheiml
                                    wrote on last edited by
                                    #37

                                    @thomas-braun

                                    Hab die Command History durchgesehen.. deutet nichts in Richtung Windows iobroker Installation.

                                    Output Install.sh:

                                    pi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                    library: loaded
                                    Library version=2022-06-15
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installer!
                                        Installer version: 2022-06-03
                                        
                                        You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/4)
                                    ==========================================================================
                                    
                                    OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                    OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                 
                                    OK:3 https://downloads.plex.tv/repo/deb public InRelease                       
                                    OK:4 https://deb.nodesource.com/node_16.x buster InRelease                     
                                    OK:5 https://linux.teamviewer.com/deb stable InRelease               
                                    Paketlisten werden gelesen... Fertig
                                    Changing npm registry to https://registry.npmjs.org
                                    Installed gcc-c++
                                    
                                    ==========================================================================
                                        Creating ioBroker user and directory (2/4)
                                    ==========================================================================
                                    
                                    Created /etc/sudoers.d/iobroker
                                    Directory /opt/iobroker created
                                    
                                    ==========================================================================
                                        Installing ioBroker (3/4)
                                    ==========================================================================
                                    
                                    npm ERR! code 1
                                    npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                    npm ERR! command failed
                                    npm ERR! command sh /tmp/install-f3ce3c9e.sh
                                    npm ERR! node:internal/modules/cjs/loader:372
                                    npm ERR!       throw err;
                                    npm ERR!       ^
                                    npm ERR! 
                                    npm ERR! Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/index.js'. Please verify that the package.json has a valid "main" entry
                                    npm ERR!     at tryPackage (node:internal/modules/cjs/loader:364:19)
                                    npm ERR!     at Function.Module._findPath (node:internal/modules/cjs/loader:577:18)
                                    npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27)
                                    npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                                    npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19)
                                    npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
                                    npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:10:13)
                                    npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1126:14)
                                    npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                                    npm ERR!     at Module.load (node:internal/modules/cjs/loader:1004:32) {
                                    npm ERR!   code: 'MODULE_NOT_FOUND',
                                    npm ERR!   path: '/opt/iobroker/node_modules/jsonwebtoken/package.json',
                                    npm ERR!   requestPath: 'jsonwebtoken'
                                    npm ERR! }
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/pi/.npm/_logs/2022-10-10T20_14_34_985Z-debug-0.log
                                    
                                    ==========================================================================
                                        Finalizing installation (4/4)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Autostart enabled!
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                    
                                        ioBroker was installed successfully
                                        Open http://192.168.1.254:8081 in a browser and start configuring!
                                    
                                    ==========================================================================
                                    
                                    
                                    You need to re-login before doing anything else on the console!
                                    
                                    
                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • M michaelheiml

                                      @thomas-braun

                                      Hab die Command History durchgesehen.. deutet nichts in Richtung Windows iobroker Installation.

                                      Output Install.sh:

                                      pi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
                                      library: loaded
                                      Library version=2022-06-15
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installer!
                                          Installer version: 2022-06-03
                                          
                                          You might need to enter your password a couple of times.
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/4)
                                      ==========================================================================
                                      
                                      OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                 
                                      OK:3 https://downloads.plex.tv/repo/deb public InRelease                       
                                      OK:4 https://deb.nodesource.com/node_16.x buster InRelease                     
                                      OK:5 https://linux.teamviewer.com/deb stable InRelease               
                                      Paketlisten werden gelesen... Fertig
                                      Changing npm registry to https://registry.npmjs.org
                                      Installed gcc-c++
                                      
                                      ==========================================================================
                                          Creating ioBroker user and directory (2/4)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Directory /opt/iobroker created
                                      
                                      ==========================================================================
                                          Installing ioBroker (3/4)
                                      ==========================================================================
                                      
                                      npm ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                      npm ERR! command failed
                                      npm ERR! command sh /tmp/install-f3ce3c9e.sh
                                      npm ERR! node:internal/modules/cjs/loader:372
                                      npm ERR!       throw err;
                                      npm ERR!       ^
                                      npm ERR! 
                                      npm ERR! Error: Cannot find module '/opt/iobroker/node_modules/jsonwebtoken/index.js'. Please verify that the package.json has a valid "main" entry
                                      npm ERR!     at tryPackage (node:internal/modules/cjs/loader:364:19)
                                      npm ERR!     at Function.Module._findPath (node:internal/modules/cjs/loader:577:18)
                                      npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27)
                                      npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                                      npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19)
                                      npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
                                      npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:10:13)
                                      npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1126:14)
                                      npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                                      npm ERR!     at Module.load (node:internal/modules/cjs/loader:1004:32) {
                                      npm ERR!   code: 'MODULE_NOT_FOUND',
                                      npm ERR!   path: '/opt/iobroker/node_modules/jsonwebtoken/package.json',
                                      npm ERR!   requestPath: 'jsonwebtoken'
                                      npm ERR! }
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/pi/.npm/_logs/2022-10-10T20_14_34_985Z-debug-0.log
                                      
                                      ==========================================================================
                                          Finalizing installation (4/4)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                      
                                          ioBroker was installed successfully
                                          Open http://192.168.1.254:8081 in a browser and start configuring!
                                      
                                      ==========================================================================
                                      
                                      
                                      You need to re-login before doing anything else on the console!
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #38

                                      @michaelheiml

                                      ls -lA / | grep tmp
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      M 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @michaelheiml

                                        ls -lA / | grep tmp
                                        
                                        M Offline
                                        M Offline
                                        michaelheiml
                                        wrote on last edited by
                                        #39

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

                                        ls -lA / | grep tmp

                                        pi@raspberrypi:~ $ ls -lA / | grep tmp
                                        drwxrwxrwt  19 root root  4096 Okt 10 22:17 tmp
                                        
                                        
                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • M michaelheiml

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

                                          ls -lA / | grep tmp

                                          pi@raspberrypi:~ $ ls -lA / | grep tmp
                                          drwxrwxrwt  19 root root  4096 Okt 10 22:17 tmp
                                          
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #40

                                          @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                                          ls -lA /tmp/
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          571

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe