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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                          • B
                            BFM last edited by

                            Das mit sudo werde ich beherzigen ;-). Und ich mach ersma ne Pause. Bei mir scheitert es ja schon am kopieren meiner backups. Vielleicht sollte ich ersma ein Bierchen trinken.

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

                              @bfm
                              Hast mit Filezilla noch FTP Zugriff auf die SD Karte? Wenn ja, das ist soooo einfach 😉

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

                                @jan1
                                Ach ja stimmt! Bei uns sagt man: Vater und Mutter so gescheite Leute und der Bub wie ein Depp!
                                Ich habe es kopiert 😉

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

                                  @bfm
                                  Einsicht ist der beste Weg der Besserung 😉

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

                                    technikkram@tinkerboard:/opt/iobroker$ npm install iobroker
                                    [sudo] password for technikkram:
                                    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-06T15_19_17_362Z-debug.log
                                    technikkram@tinkerboard:/opt/iobroker$
                                    
                                    

                                    ich werd wahnsinnig!

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

                                      @bfm Das macht man ja auch nicht so.

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

                                        @thomas-braun
                                        Was auch genau so in der Doku steht die ich verlinkt hatte, bevor er die auch nicht findet

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

                                          Sorry Leute. Aber ich habe iobroker jetzt so installiert:

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

                                          Ist auch sauber durchgelaufen.
                                          Habe dann mal den Status abgefragt (nachdem ich nicht draufgekommen bin im Browser). Folgendes kam heraus:

                                          technikkram@tinkerboard:/opt/iobroker$ iobroker status
                                          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: []
                                          }
                                          technikkram@tinkerboard:/opt/iobroker$
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @BFM last edited by

                                            @bfm

                                            which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            923
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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