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
    3.4k

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

iobroker kaputt nach NodeJS Update

Scheduled Pinned Locked Moved Error/Bug
75 Posts 3 Posters 4.4k 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

    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
              • Thomas BraunT Thomas Braun

                @michaelheiml sagte in iobroker kaputt nach NodeJS Update:

                ls -lA /tmp/
                
                M Offline
                M Offline
                michaelheiml
                wrote on last edited by
                #41

                @thomas-braun

                pi@raspberrypi:~ $ ls -lA /tmp/
                insgesamt 72
                drwx------ 2 pi   pi   4096 Okt 10 18:21 dhcpcd-pi
                drwxrwxrwt 2 root root 4096 Okt 10 18:20 .font-unix
                srw------- 1 pi   pi      0 Okt 10 22:03 geany_socket.c2929e62
                drwxrwxrwt 2 root root 4096 Okt 10 18:20 .ICE-unix
                drwxr-xr-x 2 plex plex 4096 Okt 10 18:21 pms-783b7fb9-1920-49f3-b817-a0f35a1c9c16
                drwx------ 2 root root 4096 Okt 10 18:20 pulse-PKdhtXMmr18n
                drwx------ 2 pi   pi   4096 Okt 10 18:21 ssh-KmHKgJxQRO9T
                drwx------ 2 pi   pi   4096 Okt 10 18:21 ssh-q5LDIGBGNjQc
                drwx------ 3 root root 4096 Okt 10 18:20 systemd-private-d0c16273df82407fb538677a9af079b6-colord.service-GtnKyq
                drwx------ 3 root root 4096 Okt 10 18:21 systemd-private-d0c16273df82407fb538677a9af079b6-rtkit-daemon.service-5ugbb2
                drwx------ 3 root root 4096 Okt 10 18:20 systemd-private-d0c16273df82407fb538677a9af079b6-systemd-timesyncd.service-u0sQmX
                drwxrwxrwt 2 root root 4096 Okt 10 18:20 .Test-unix
                drwx------ 3 root root 4096 Okt 10 21:17 .vnc-0
                drwx------ 3 pi   pi   4096 Okt 10 18:21 .vnc-1000
                drwxrwxrwt 2 root root 4096 Okt 10 18:20 .vncserver-license
                drwx------ 2 root root 4096 Okt 10 18:20 .vnc-vncservice
                -r--r--r-- 1 root root   11 Okt 10 18:20 .X0-lock
                drwxrwxrwt 2 root root 4096 Okt 10 18:20 .X11-unix
                drwxrwxrwt 2 root root 4096 Okt 10 18:20 .XIM-unix
                
                Thomas BraunT 1 Reply Last reply
                0
                • M michaelheiml

                  @thomas-braun

                  pi@raspberrypi:~ $ ls -lA /tmp/
                  insgesamt 72
                  drwx------ 2 pi   pi   4096 Okt 10 18:21 dhcpcd-pi
                  drwxrwxrwt 2 root root 4096 Okt 10 18:20 .font-unix
                  srw------- 1 pi   pi      0 Okt 10 22:03 geany_socket.c2929e62
                  drwxrwxrwt 2 root root 4096 Okt 10 18:20 .ICE-unix
                  drwxr-xr-x 2 plex plex 4096 Okt 10 18:21 pms-783b7fb9-1920-49f3-b817-a0f35a1c9c16
                  drwx------ 2 root root 4096 Okt 10 18:20 pulse-PKdhtXMmr18n
                  drwx------ 2 pi   pi   4096 Okt 10 18:21 ssh-KmHKgJxQRO9T
                  drwx------ 2 pi   pi   4096 Okt 10 18:21 ssh-q5LDIGBGNjQc
                  drwx------ 3 root root 4096 Okt 10 18:20 systemd-private-d0c16273df82407fb538677a9af079b6-colord.service-GtnKyq
                  drwx------ 3 root root 4096 Okt 10 18:21 systemd-private-d0c16273df82407fb538677a9af079b6-rtkit-daemon.service-5ugbb2
                  drwx------ 3 root root 4096 Okt 10 18:20 systemd-private-d0c16273df82407fb538677a9af079b6-systemd-timesyncd.service-u0sQmX
                  drwxrwxrwt 2 root root 4096 Okt 10 18:20 .Test-unix
                  drwx------ 3 root root 4096 Okt 10 21:17 .vnc-0
                  drwx------ 3 pi   pi   4096 Okt 10 18:21 .vnc-1000
                  drwxrwxrwt 2 root root 4096 Okt 10 18:20 .vncserver-license
                  drwx------ 2 root root 4096 Okt 10 18:20 .vnc-vncservice
                  -r--r--r-- 1 root root   11 Okt 10 18:20 .X0-lock
                  drwxrwxrwt 2 root root 4096 Okt 10 18:20 .X11-unix
                  drwxrwxrwt 2 root root 4096 Okt 10 18:20 .XIM-unix
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #42

                  @michaelheiml

                  Keine Ahnung. Sind mir auch zu viele Dateien mit X drin.

                  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

                    Keine Ahnung. Sind mir auch zu viele Dateien mit X drin.

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

                    @thomas-braun

                    Was müsste ich denn löschen, um die aktuelle Installation los zu werden? /opt/iobroker /* ?

                    Und wenn ich iobroker_data gesichert habe und zurückspiele nach einer Neuinstallation, würde ich dann meine vorherige Konfiguration wieder haben? Oder ist das zu kurz gegriffen?

                    Thomas BraunT 1 Reply Last reply
                    0
                    • M michaelheiml

                      @thomas-braun

                      Was müsste ich denn löschen, um die aktuelle Installation los zu werden? /opt/iobroker /* ?

                      Und wenn ich iobroker_data gesichert habe und zurückspiele nach einer Neuinstallation, würde ich dann meine vorherige Konfiguration wieder haben? Oder ist das zu kurz gegriffen?

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

                      @michaelheiml

                      Ich würde mal

                      rm -rf /opt/iobroker/
                      

                      versuchen.

                      Und wenn ich iobroker_data gesichert habe und zurückspiele nach einer Neuinstallation, würde ich dann meine vorherige Konfiguration wieder haben?

                      Möglich. Besser ist aber ein Backup via Backitup.

                      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
                      • JLegJ Offline
                        JLegJ Offline
                        JLeg
                        wrote on last edited by
                        #45

                        @michaelheiml
                        bevor du alles löschst, würde ich nochmal die „Rosskur“ versuchen - hat bei mir prima funktioniert:

                        cd /opt/iobroker
                        mv node_modules node_modules.old
                        mv package-lock.json package-lock.json.old
                        npm cache clean --force
                        npm install
                        npm list
                        
                        
                        M 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @michaelheiml

                          Ich würde mal

                          rm -rf /opt/iobroker/
                          

                          versuchen.

                          Und wenn ich iobroker_data gesichert habe und zurückspiele nach einer Neuinstallation, würde ich dann meine vorherige Konfiguration wieder haben?

                          Möglich. Besser ist aber ein Backup via Backitup.

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

                          @thomas-braun

                          An diesem Thread hast du mitgeschrieben:
                          https://forum.iobroker.net/topic/55683/kein-update-mehr-möglich-mit-node-js-16/303

                          Ich bin gerade per Google darauf gestoßen, weil mir

                          npm ls
                          

                          ausspuckt:

                          ├── iobroker.backitup@ invalid: "stable" from the root project
                          

                          Vielleicht ein Hinweis, wo es hakt?

                          Thomas BraunT 1 Reply Last reply
                          0
                          • M michaelheiml

                            @thomas-braun

                            An diesem Thread hast du mitgeschrieben:
                            https://forum.iobroker.net/topic/55683/kein-update-mehr-möglich-mit-node-js-16/303

                            Ich bin gerade per Google darauf gestoßen, weil mir

                            npm ls
                            

                            ausspuckt:

                            ├── iobroker.backitup@ invalid: "stable" from the root project
                            

                            Vielleicht ein Hinweis, wo es hakt?

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

                            @michaelheiml
                            Das bezieht sich auf die package.json

                            cat /opt/iobroker/package.json | jq
                            

                            Da steht allerdings gemeinhin nicht stable sondern eine Versionsnummer für die Module drin.

                            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
                              Das bezieht sich auf die package.json

                              cat /opt/iobroker/package.json | jq
                              

                              Da steht allerdings gemeinhin nicht stable sondern eine Versionsnummer für die Module drin.

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

                              @thomas-braun

                              {
                              "name": "iobroker.inst",
                              "version": "3.0.0",
                              "private": true,
                              "description": "Automate your Life",
                              "engines": {
                              "node": ">=10.0.0"
                              },
                              "dependencies": {
                              "iobroker.js-controller": "stable",
                              "iobroker.admin": "stable",
                              "iobroker.discovery": "stable",
                              "iobroker.backitup": "stable"
                              }
                              }
                              
                              Thomas BraunT 1 Reply Last reply
                              0
                              • M michaelheiml

                                @thomas-braun

                                {
                                "name": "iobroker.inst",
                                "version": "3.0.0",
                                "private": true,
                                "description": "Automate your Life",
                                "engines": {
                                "node": ">=10.0.0"
                                },
                                "dependencies": {
                                "iobroker.js-controller": "stable",
                                "iobroker.admin": "stable",
                                "iobroker.discovery": "stable",
                                "iobroker.backitup": "stable"
                                }
                                }
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #49

                                @michaelheiml

                                Das dürfte vom ersten setup noch drin sein. Der Installer schaut nach den als 'stable' getaggten Versionen, später wird das mit den Versionsnummern überschrieben.

                                iobroker repo list
                                

                                sagt noch was?

                                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
                                • JLegJ JLeg

                                  @michaelheiml
                                  bevor du alles löschst, würde ich nochmal die „Rosskur“ versuchen - hat bei mir prima funktioniert:

                                  cd /opt/iobroker
                                  mv node_modules node_modules.old
                                  mv package-lock.json package-lock.json.old
                                  npm cache clean --force
                                  npm install
                                  npm list
                                  
                                  
                                  M Offline
                                  M Offline
                                  michaelheiml
                                  wrote on last edited by
                                  #50

                                  @jleg

                                  Fertig:

                                  pi@raspberrypi:/opt/iobroker $ mv node_modules node_modules.old
                                  pi@raspberrypi:/opt/iobroker $ mv package-lock.json package-lock.json.old
                                  pi@raspberrypi:/opt/iobroker $ npm cache clean --force
                                  npm WARN using --force Recommended protections disabled.
                                  pi@raspberrypi:/opt/iobroker $ npm install
                                  npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                  npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                  npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                  
                                  added 516 packages in 7m
                                  
                                  38 packages are looking for funding
                                    run `npm fund` for details
                                  pi@raspberrypi:/opt/iobroker $ npm list
                                  iobroker.inst@3.0.0 /opt/iobroker
                                  ├── iobroker.admin@6.2.22 invalid: "stable" from the root project
                                  ├── iobroker.backitup@2.4.12 invalid: "stable" from the root project
                                  ├── iobroker.discovery@3.0.3 invalid: "stable" from the root project
                                  ├── iobroker.flot@1.11.0
                                  └── iobroker.js-controller@4.0.23 invalid: "stable" from the root project
                                  
                                  npm ERR! code ELSPROBLEMS
                                  npm ERR! invalid: iobroker.admin@6.2.22 /opt/iobroker/node_modules/iobroker.admin
                                  npm ERR! invalid: iobroker.backitup@2.4.12 /opt/iobroker/node_modules/iobroker.backitup
                                  npm ERR! invalid: iobroker.discovery@3.0.3 /opt/iobroker/node_modules/iobroker.discovery
                                  npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-10-10T20_50_38_406Z-debug-0.log
                                  
                                  1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @michaelheiml

                                    Das dürfte vom ersten setup noch drin sein. Der Installer schaut nach den als 'stable' getaggten Versionen, später wird das mit den Versionsnummern überschrieben.

                                    iobroker repo list
                                    

                                    sagt noch was?

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

                                    @thomas-braun

                                    pi@raspberrypi:/opt/iobroker $ iobroker repo list
                                    stable        : http://download.iobroker.net/sources-dist.json
                                    beta          : http://download.iobroker.net/sources-dist-latest.json
                                    
                                    Active repo(s): stable
                                    
                                    M Thomas BraunT 2 Replies Last reply
                                    0
                                    • M michaelheiml

                                      @thomas-braun

                                      pi@raspberrypi:/opt/iobroker $ iobroker repo list
                                      stable        : http://download.iobroker.net/sources-dist.json
                                      beta          : http://download.iobroker.net/sources-dist-latest.json
                                      
                                      Active repo(s): stable
                                      
                                      M Offline
                                      M Offline
                                      michaelheiml
                                      wrote on last edited by
                                      #52

                                      @michaelheiml

                                      Hab wie im anderen Thread nach

                                      npm install
                                      

                                      noch

                                      npm prune
                                      

                                      ausgeführt, mit dem Ergebnis

                                      npm ERR! code ENOTEMPTY
                                      npm ERR! syscall rename
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.admin
                                      npm ERR! dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igk
                                      npm ERR! errno -39
                                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-10-10T20_52_25_777Z-debug-0.log
                                      
                                      
                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • M michaelheiml

                                        @thomas-braun

                                        pi@raspberrypi:/opt/iobroker $ iobroker repo list
                                        stable        : http://download.iobroker.net/sources-dist.json
                                        beta          : http://download.iobroker.net/sources-dist-latest.json
                                        
                                        Active repo(s): stable
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #53

                                        @michaelheiml

                                        Ergänz die Rosskur noch um die package.json

                                        cd /opt/iobroker
                                        mv node_modules node_modules.old
                                        mv package.json package.json.old
                                        mv package-lock.json package-lock.json.old
                                        npm cache clean --force
                                        npm install
                                        npm list
                                        

                                        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

                                          Ich würde mal

                                          rm -rf /opt/iobroker/
                                          

                                          versuchen.

                                          Und wenn ich iobroker_data gesichert habe und zurückspiele nach einer Neuinstallation, würde ich dann meine vorherige Konfiguration wieder haben?

                                          Möglich. Besser ist aber ein Backup via Backitup.

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

                                          @thomas-braun

                                          rm -rf /opt/iobroker/
                                          

                                          Das BackItUp Backup sollte ich danach wieder einspielen können, wenn ich den BackItUp Adapter installiere?

                                          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

                                          645

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          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