Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. iobroker startet nicht mehr

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    iobroker startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BFM last edited by

      Ich Idiot habe es mit Rechtsklick aus Putty probiert. Ok, neuer Versuch

      technikkram@tinkerboard:/opt/iobroker$ node node_modules/iobroker.js-controller/                                                                                        controller.je --logs
      node:internal/modules/cjs/loader:944
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/con                                                                                        troller.je'
          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15                                                                                        )
          at Function.Module._load (node:internal/modules/cjs/loader:774:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma                                                                                        in:76:12)
          at node:internal/main/run_main_module:17:47 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      technikkram@tinkerboard:/opt/iobroker$ iobroker stop
      technikkram@tinkerboard:/opt/iobroker$ npm install iobroker.js-controller
      [sudo] password for technikkram:
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/abort-controller
      npm ERR! dest /opt/iobroker/node_modules/.abort-controller-x3pdLVqa
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abor                                                                                        t-controller' -> '/opt/iobroker/node_modules/.abort-controller-x3pdLVqa'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2021-06-06T08_36_40_161Z-debug.log
      technikkram@tinkerboard:/opt/iobroker$ pm ERR! code ENOTEMPTY
      npm ERR!     /home/iobroker/.npm/_logs/2021-06-06T08_36_40_161Z-debug.log
      technikkram@tinkerboard:/opt/iobrCould not find the database of available applic                                                                                        ations, run update-command-not-found as root to fix this
      pm: command not found
      technikkram@tinkerboard:/opt/iobroker$ npm ERR! syscall rename
      Unknown command: "ERR!"
      
      

      Habe jetzt im Anschluss auch mal probiert den js-controller neu zu installieren. Funktioniert leider auch nicht.

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

        @bfm sagte in iobroker startet nicht mehr:

        rename '/opt/iobroker/node_modules/abort-controller' -> '/opt/iobroker/node_modules/.abort-controller-x3pdLVqa'
        
        1 Reply Last reply Reply Quote 0
        • B
          BFM last edited by

          technikkram@tinkerboard:/opt/iobroker$  rename '/opt/iobroker/node_modules/abort-                                                                                        controller' -> '/opt/iobroker/node_modules/.abort-controller-x3pdLVqa'
          -bash: /opt/iobroker/node_modules/.abort-controller-x3pdLVqa: Is a directory
          technikkram@tinkerboard:/opt/iobroker$ -bash: /opt/iobroker/node_modules/.abort-controller-x3pdLVqa: Is a directory
          Could not find the database of available applications, run update-command-not-found as root to fix this
          -bash:: command not found
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @BFM last edited by

            @bfm

            sudo -u iobroker mv /opt/iobroker/node_modules/abort-controller /opt/iobroker/node_modules/.abort-controller-x3pdLVqa
            
            1 Reply Last reply Reply Quote 0
            • B
              BFM last edited by

              @thomas-braun said in iobroker startet nicht mehr:

              sudo -u iobroker mv /opt/iobroker/node_modules/abort-controller /opt/iobroker/node_modules/.abort-controller-x3pdLVqa

              Ok, hab ich gemacht. Hat keine Meldung gegeben

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

                @bfm
                Keine Rückmeldung heißt das es funktioniert hat.

                B 1 Reply Last reply Reply Quote 0
                • B
                  BFM @Thomas Braun last edited by

                  @thomas-braun
                  Das hört sich gut an. Und du denkst, ioBroker startet jetzt wieder? Trau mich fast nicht...

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @BFM last edited by

                    @bfm sagte in iobroker startet nicht mehr:

                    rauskopieren aus Putty geht leider nicht

                    Richtig, weil Putty nur ein Tool ist das ne Konsole öffnet und aus der Konsole kann man alles kopieren.
                    Putty brauchst somit eigentlich überhaupt nicht, hat nur den Vorteil, dass wenn man viele verschiedene Geräte hat auf die man per Terminal zugreift, dort eben alle hinterlegen kann und somit nicht immer alles tippen muss 😉

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

                      @bfm
                      Der Befehl den js-controller sauber zu installieren ist:

                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.js-controller
                      
                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BFM @Thomas Braun last edited by

                        @thomas-braun

                        npm ERR! code ENOTEMPTY
                        npm ERR! syscall rename
                        npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone
                        npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK
                        npm ERR! errno -39
                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK'
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2021-06-06T10_43_39_320Z-debug.log
                        
                        

                        Ich glaube, da ist ganz schön viel im argen...

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

                          @bfm sagte in iobroker startet nicht mehr:

                          Ich glaube, da ist ganz schön viel im argen...

                          Glaube ich auch. Die ganzen versteckten Odner mit Punkt am Anfang habe ich bei mir in der Installation auch gar nicht.

                          1 Reply Last reply Reply Quote 0
                          • B
                            BFM last edited by

                            Kann ich denn einfach drüberbügeln?

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

                              @bfm
                              Versuch halt mal.
                              Backup hast du ja in der Hinterhand.

                              1 Reply Last reply Reply Quote 0
                              • B
                                BFM last edited by

                                Habe das Backup gerade probiert. Leider ohne Erfolg

                                technikkram@tinkerboard:/opt/iobroker$ sudo iobroker restore 0
                                [sudo] password for technikkram:
                                node:internal/modules/cjs/loader:944
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
                                    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
                                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
                                    at node:internal/main/run_main_module:17:47 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                
                                

                                Das wird langsam echt komisch

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @BFM last edited by Jan1

                                  @bfm
                                  Das macht man auch mit dem Backup Adapter, weils einfach einfacher ist 😉
                                  Und wenn der JS wie bei Dir nicht mehr will, dann löscht man den IOBroker Ordner, installiert IOBroker samt Backitup Adapter neu und restort dann, weil das auf alle Fälle wieder alles gerade zieht.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    BFM last edited by

                                    Auch auf die Gefahr hin dass ich gelyncht werde... Gibts ne Erklärung für Dummies?😖

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jan1 @BFM last edited by Jan1

                                      @bfm
                                      Das war schon die Erklärung, weil mehr is das nicht 😉

                                      Bevor Du natürlich den IOBroker Ordner löschst, sollten die Backups dort raus kopiert werden, wenn das nicht es schon auf ein NAS oder sonst wo automatisch hingelegt wird.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        BFM last edited by

                                        Das mit den Backups rauskopieren macht Sinn!
                                        Leider habe ich ioBroker noch nicht installiert. War bei mir fertig mit im Image drin. Aber ich denke, da wird mit Tante Google sicher helfen

                                        Thomas Braun J 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @BFM last edited by

                                          @bfm
                                          Und man packt iobroker nicht mit sudo an.

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jan1 @BFM last edited by Jan1

                                            @bfm
                                            Ein Blick oben in die Doku und den einen Befehl, dazu brauchst nicht mal Tante Google 😉

                                            https://www.iobroker.net/#de/documentation/install/windows.md

                                            Das mit Node kannst auch vergessen, da IOBroker automatisch Node12 installiert. Es sei denn Du hast da vorher schon was zerfummelt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            796
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            54
                                            2348
                                            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