Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker kann überhaupt nix mehr installieren oder updaten

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    iobroker kann überhaupt nix mehr installieren oder updaten

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

      @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

      @neinneinhilfe

      Das ist mal eine 'merkwürdige' Installation da...

      iob stop
      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller
      sudo apt update
      sudo apt full-upgrade
      sudo reboot
      

      So soll das jetzt aussehen?

      pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
      npm ERR! builtins is not a function
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-09-04T13_34_17_712Z-debug-0.log
      pi@raspberrypi:/opt/iobroker $ sudo apt update
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 https://repos.influxdata.com/debian buster InRelease                                                      
      Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                 
      Hit:4 https://packages.grafana.com/oss/deb stable InRelease                                                     
      Hit:5 https://deb.nodesource.com/node_16.x buster InRelease                                                     
      Hit:6 https://phoscon.de/apt/deconz buster InRelease                                                     
      Reading package lists... Done               
      Building dependency tree       
      Reading state information... Done
      1 package can be upgraded. Run 'apt list --upgradable' to see it.
      pi@raspberrypi:/opt/iobroker $ sudo apt full-upgrade
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be upgraded:
        libflac8
      1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Need to get 131 kB of archives.
      After this operation, 0 B of additional disk space will be used.
      Do you want to continue? [Y/n] Y
      Get:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libflac8 armhf 1.3.2-3+deb10u2 [131 kB]
      Fetched 131 kB in 0s (452 kB/s)  
      Reading changelogs... Done
      (Reading database ... 68864 files and directories currently installed.)
      Preparing to unpack .../libflac8_1.3.2-3+deb10u2_armhf.deb ...
      Unpacking libflac8:armhf (1.3.2-3+deb10u2) over (1.3.2-3+deb10u1) ...
      Setting up libflac8:armhf (1.3.2-3+deb10u2) ...
      Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...
      pi@raspberrypi:/opt/iobroker $ sudo reboot
      Connection to 192.168.188.49 closed by remote host.
      Connection to 192.168.188.49 closed.
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @neinneinhilfe last edited by

        @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

        npm ERR! builtins is not a function

        Das sollte so nicht aussehen.
        Ich kenne den Fehler aber auch nicht.

        N 1 Reply Last reply Reply Quote 0
        • N
          neinneinhilfe @Thomas Braun last edited by

          @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

          @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

          npm ERR! builtins is not a function

          Das sollte so nicht aussehen.
          Ich kenne den Fehler aber auch nicht.

          Ich komme jetzt nicht mal mehr auf den iobroker mit dem Browser

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

            @neinneinhilfe

            Installier es neu, Backup eingespielt, fertig.

            N 1 Reply Last reply Reply Quote 0
            • N
              neinneinhilfe @Thomas Braun last edited by

              @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

              @neinneinhilfe

              Installier es neu, Backup eingespielt, fertig.

              Hättest du da eine sichere Anleitung für mich?

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

                @neinneinhilfe

                https://www.iobroker.net/#de/documentation

                Im Grunde:

                curl -sLf https://iobroker.net/install.sh | bash -
                
                N 1 Reply Last reply Reply Quote 0
                • N
                  neinneinhilfe @Thomas Braun last edited by

                  @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

                  @neinneinhilfe

                  https://www.iobroker.net/#de/documentation

                  Im Grunde:

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

                  Irgendwie läuft nun nix mehr

                  Thomas Braun 3 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @neinneinhilfe last edited by

                    @neinneinhilfe

                    Schade.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      neinneinhilfe @Thomas Braun last edited by

                      @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

                      @neinneinhilfe

                      Schade.

                      Was mach ich nun?

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

                        @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

                        Irgendwie läuft nun nix mehr

                        Was soll man daraus ableiten?

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          neinneinhilfe @Thomas Braun last edited by

                          @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

                          @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

                          Irgendwie läuft nun nix mehr

                          Was soll man daraus ableiten?

                          Na bekommt man es noch irgendwie hin? Kann jetzt ja nicht mal ein Backup vom iobroker und Blockly machen.

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

                            @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

                            Irgendwie läuft nun nix mehr

                            Was soll das konkret bedeuten?
                            Wie sieht die Installation mit dem Einzeiler aus?
                            Mit 'Irgendwie läuft nun nix mehr' kann man nix anfangen.

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

                              @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

                              Kann jetzt ja nicht mal ein Backup vom iobroker und Blockly machen.

                              Das hast du ja natürlich vorher gemacht und holst das jetzt aus der Schublade.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                neinneinhilfe @Thomas Braun last edited by

                                @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

                                @neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:

                                Kann jetzt ja nicht mal ein Backup vom iobroker und Blockly machen.

                                Das hast du ja natürlich vorher gemacht und holst das jetzt aus der Schublade.

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

                                Das passiert bei jedem befehl

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

                                  @neinneinhilfe

                                  iobroker fix
                                  

                                  Wenn das nix hilft:

                                  curl -sLf https://iobroker.net/install.sh | bash -
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    neinneinhilfe last edited by

                                    @thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:

                                    @neinneinhilfe

                                    iobroker fix
                                    

                                    Wenn das nix hilft:

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

                                    Das hilft leider beides nicht.....

                                    pi@raspberrypi:/ $ iobroker fix
                                    library: loaded
                                    Library version=2022-06-15
                                    ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                    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)
                                    ==========================================================================
                                    
                                    Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                    Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]                                       
                                    Hit:3 https://repos.influxdata.com/debian buster InRelease                                                      
                                    Hit:4 https://phoscon.de/apt/deconz buster InRelease                                                            
                                    Hit:5 https://packages.grafana.com/oss/deb stable InRelease                                                     
                                    Hit:6 https://deb.nodesource.com/node_16.x buster InRelease
                                    Fetched 15.0 kB in 2s (7,596 B/s)
                                    Reading package lists... Done
                                    Changing npm registry to https://registry.npmjs.org
                                    npm ERR! builtins is not a function
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/pi/.npm/_logs/2022-09-04T18_10_06_757Z-debug-0.log
                                    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! builtins is not a function
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/pi/.npm/_logs/2022-09-04T18_10_12_393Z-debug-0.log
                                    
                                    ==========================================================================
                                        Finalizing installation (4/4)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Autostart enabled!
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                    
                                        ioBroker was installed successfully
                                        Open http://192.168.188.49:8081 in a browser and start configuring!
                                    
                                    ==========================================================================
                                    
                                    
                                    You need to re-login before doing anything else on the console!
                                    
                                    pi@raspberrypi:/ $
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active last edited by

                                      Na wenn die package.json noch editierbar ist - würde ich halt meine Methode versuchen - bevor man eh neu installiert. 😉

                                      N 1 Reply Last reply Reply Quote 0
                                      • N
                                        neinneinhilfe @mickym last edited by

                                        @mickym said in iobroker kann überhaupt nix mehr installieren oder updaten:

                                        Na wenn die package.json noch editierbar ist - würde ich halt meine Methode versuchen - bevor man eh neu installiert. 😉

                                        Welche Methode und wie mache ich das?

                                        mickym 1 Reply Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active @neinneinhilfe last edited by

                                          @neinneinhilfe Na poste mal Deine package.json - um zu sehen, was da noch drin ist oder lade die einfach mal hoch. Wenn die nämlich durch das Ruminstallieren schon 10 mal überschrieben ist - dann hilft eh nichts mehr.

                                          Ansonsten wenn Du nicht weisst wie das geht.

                                          cd /opt/iobroker
                                          cat package.json
                                          

                                          aber wie gesagt - ich mach das nur, wenn Du eh neu aufbauen müsstest - denn dann kann ich kein System mehr kaputter als kaputt machen.

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            neinneinhilfe @mickym last edited by

                                            @mickym said in iobroker kann überhaupt nix mehr installieren oder updaten:

                                            cat package.json

                                            Meinst du so?

                                            pi@raspberrypi:/opt/iobroker $ cat package.json
                                            {
                                            "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"
                                            }
                                            }
                                            pi@raspberrypi:/opt/iobroker $ 
                                            
                                            mickym 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            819
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            63
                                            2484
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo