Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IObroker lässt sich nach Update nicht mehr starten

    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 lässt sich nach Update nicht mehr starten

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

      @dfz das kann niemand lesen.

      Bitte packe die Angaben hier rein:
      342502dc-7986-4718-9a1b-7ca9c151270d-grafik.png

      D 1 Reply Last reply Reply Quote 0
      • D
        dfz @BBTown last edited by

        @BBTown Sorry - hab's geändert

        1 Reply Last reply Reply Quote 0
        • FredF
          FredF Most Active Forum Testing @dfz last edited by

          @dfz sagte in IObroker lässt sich nach Update nicht mehr starten:

          npm ERR! Make sure you have the latest version of node.js and npm installed.

          Könnte es daran liegen?

          Zeig mal was in der Konsole kommt wenn du eingibst:
          node -v
          nodejs -v
          npm -v

          1 Reply Last reply Reply Quote 0
          • D
            dfz last edited by

            v6.17.1
            root@iobroker:/home/io# nodejs -v
            v6.17.1
            root@iobroker:/home/io# npm -v
            3.10.10
            
            
            FredF BBTown 2 Replies Last reply Reply Quote 0
            • D
              darkiop Most Active last edited by

              Und da hast du dein Problem gefunden. Node/NPM aktualisieren. Mindestens auf Node v8.

              1 Reply Last reply Reply Quote 0
              • FredF
                FredF Most Active Forum Testing @dfz last edited by

                @dfz sagte in IObroker lässt sich nach Update nicht mehr starten:

                v6.17.1
                root@iobroker:/home/io# nodejs -v
                v6.17.1
                root@iobroker:/home/io# npm -v
                3.10.10
                
                

                Dann mach erst mal da die Updates:
                Update nodejs

                1 Reply Last reply Reply Quote 0
                • BBTown
                  BBTown @dfz last edited by BBTown

                  @dfz am einfachsten so:

                  cd /opt/iobroker
                  sudo iobroker stop
                  

                  Die existierenden node & node.js Versionen deinstallieren

                  sudo apt-get --purge remove node
                  sudo apt-get --purge remove nodejs
                  sudo apt-get autoremove
                  sudo reboot
                  

                  Node.js neu installieren für Linux und Raspberry 2/3 (hier ist es entsprechend v.10.x)

                  curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                  sudo apt install -y nodejs
                  sudo reboot
                  

                  anschließend wie zuvor prüfen:

                  node -v
                  nodejs -v
                  npm -v
                  

                  Stand heute sollte folgendes dabei rauskommen:

                  node = v10.16.3
                  nodejs = v10.16.3
                  npm = v6.9.0
                  

                  Merke:

                  1. node und nodejs müssen identische Versionen sein
                  2. ausschließlich gerade node Versionnummern verwenden (v.8.x, v10.x (empfohlen), v12.x, usw)
                  3. ergo = alle ungeraden Versionen (v.7, v9,.x, v11.x usw) sind bei Höchststrafe verboten 😎
                  D 2 Replies Last reply Reply Quote 0
                  • D
                    dfz @BBTown last edited by dfz

                    @BBTown Danke!
                    Das habe ich zuvor bereits gemacht und im Nachgang dann noch:

                    node reinstall.js
                    

                    ausgeführt...

                    Die gute Nachricht ist -> der IObroker lebt wieder!

                    root@iobroker:/opt/iobroker# node -v
                    v10.16.3
                    root@iobroker:/opt/iobroker# nodejs -v
                    v10.16.3
                    root@iobroker:/opt/iobroker# npm -v
                    6.9.0
                    

                    Semi gut sind aus meiner Sicht allerdings nachfolgende Fehlermeldungen, die mich bei Updates von Adaptern gefühlt schon eine Ewigkeit begleiten:

                    
                    make: *** [Release/obj.target/validation/src/validation.o] Error 1
                    gyp
                     ERR! build error 
                    gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                    
                    gyp ERR! System Linux 4.9.0-11-amd64
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
                    gyp ERR! node -v v10.16.3
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok 
                    

                    Du hast dies betreffend nicht zufällig auch noch ne Idee ?! ✌

                    1 Reply Last reply Reply Quote 0
                    • D
                      dfz @BBTown last edited by

                      @BBTown ergänzend noch:
                      Update auf 2.0.25 hat nun geklappt aber auch wieder mit Fehlermeldungen:

                      validation.target.mk:103: recipe for target 'Release/obj.target/validation/src/validation.o' failed
                      make: *** [Release/obj.target/validation/src/validation.o] Error 1
                      make: Leaving directory '/opt/iobroker/node_modules/utf-8-validate/build'
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.9.0-11-amd64
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
                      gyp ERR! node -v v10.16.3
                      gyp ERR! node-gyp -v v3.8.0
                      gyp ERR! not ok
                      
                      BBTown 1 Reply Last reply Reply Quote 0
                      • BBTown
                        BBTown @dfz last edited by BBTown

                        @dfz hast Du mal den fixer drüber laufen lassen?

                        cd /opt/iobroker
                        sudo iobroker stop
                        curl -sL https://iobroker.net/fix.sh | bash -
                        sudo iobroker start
                        
                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dfz @BBTown last edited by

                          @BBTown soeben gestartet aber wurde nichts gefunden.
                          Wie kann ich prüfen ob das Problem behoben wurde?

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

                            @dfz
                            der findet auch nichts, sondern behebt und ändert

                            1 Reply Last reply Reply Quote 0
                            • D
                              dfz last edited by

                              Ich habe mal zum Test den BMW Adapter installiert und erhalte leider weiterhin Fehlermeldungen:

                              make: *** [Release/obj.target/validation/src/validation.o] Error 1
                              gyp
                               ERR! build error 
                              gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.9.0-11-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validategyp ERR! node -v v10.16.3gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok 
                              host.iobroker install adapter bmw
                              

                              Hat sonst noch jmd. einen Tipp?
                              Euch ein schönes WE!

                              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

                              865
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              update error
                              5
                              15
                              769
                              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