Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [Problem]Fehler nach Update. Nichts geht 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

    [Problem]Fehler nach Update. Nichts geht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @nevs84 last edited by Homoran

      @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

      WTF? Iobroker is not installed?????

      das steht da nicht!
      bitte zu Ende lesen

      @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

      ioBroker is not installed in /opt/iobroker! Cannot fix anything...

      wo hast du es denn installiert?


      wenn du schreibst

      @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

      ich habe die letzten Jahre viele Informationen aus diesem Forum ziehen können

      sowie

      @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

      Hardwaresystem:
      Pi3

      Arbeitsspeicher:
      1GB

      Festplattenart:
      SD-Karte

      frage ich mich ob das noch die erste SD ist. auch wenn du schreibst "funktioniert"
      Wie hast du das geprüft, dass die keinen Schuss hat?

      N 2 Replies Last reply Reply Quote 0
      • N
        nevs84 @Homoran last edited by

        @homoran
        Ich habe den Pfad nicht explizit angepasst...deswegen gehe ich vom Standardpfad /opt/iobroker aus!?

        Grüße

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @nevs84 last edited by

          @nevs84 ich hab gerade nioch was editiert. wusste ja nicht dasss du so schnell bist 😉

          hast du eine Backup?

          N 1 Reply Last reply Reply Quote 0
          • N
            nevs84 @Homoran last edited by

            @homoran
            Ich bin mir sicher dass die Karte i.o. ist....habe sie zwischenzeitlich auch ausgetauscht um nicht in ein Problem zu laufen. Die Karte ist jetzt ca. 1 Jahr alt..ist bisher ohne Probleme gelaufen und parallel läuft die WebUi CCMU einwandfrei....

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

              @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

              10 verbose node v14.20.1
              11 verbose npm v4.6.1

              Die Kombination ist nicht richtig, denn es müsste ein npm@6 installiert sein:

              d3d7dbb6-29d3-4e5e-aaf9-ad7ce7189cd5-grafik.png

              Räum das zuerst mal auf, in Zuge dessen am besten auch gleich auf nodejs@16 hüpfen.

              1 Reply Last reply Reply Quote 0
              • N
                nevs84 @Homoran last edited by

                @homoran Ja ein Backup ist vorhanden!!

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @nevs84 last edited by

                  @nevs84 dann würde ich komplett neu aufsetzen. Bringt dann auch das von @Thomas-Braun erwähnte node 16 mit, und dann Backup wieder herstellen. (falls du vis nutzt dieses vor dem Restore installieren

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    nevs84 last edited by

                    @thomas-braun Danke für den Input! Den Gedanken hatte ich.....jedoch:

                    pi@iobroker:/opt/iobroker $ npm update npm -g
                    npm ERR! cb.apply is not a function
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-10-04T11_33_36_471Z-debug.log
                    
                    

                    Was ist denn bitte immer cb.apply is not a function!?

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

                      @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

                      npm update npm -g

                      NEIN!!! NICHT SO!!!!

                      Installier es ordentlich über den Paketmanager. Siehe in meiner Signatur wie es richtig gemacht wird.

                      N 2 Replies Last reply Reply Quote 0
                      • N
                        nevs84 @Homoran last edited by

                        @homoran Ok 😢 😖

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

                          @thomas-braun Ok! Wird gemacht..Danke

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

                            Lies halt mal im Forum, was es noch für Möglichkeiten gibt, wenn Du Deine nodejs Installation gerade gezogen hast. Ich bewundere langsam die Leute hier, die Support leisten und immer wieder das Gleiche schreiben.

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

                              @thomas-braun

                              pi@iobroker:/opt/iobroker $ npm ls | grep -E 'github|ERR'
                              npm ERR! cb.apply is not a function
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-10-04T11_40_22_205Z-debug.log
                              

                              Im Idealfall wird nichts zurückgeliefert....

                              @mickym : Wie du meinem Post entnehmen kannst habe ich bereits versucht im Forum zu lesen..hat leider nichts gebracht. Aber denn "Lies halt mal das Forum" gibt es vermutlich in jedem Fred. Danke dir trotzdem.

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

                                @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

                                Im Idealfall wird nichts zurückgeliefert....

                                Im Idealfall hast du ja auch eine gesunde Basis-Installation. npm ist aber ja kaputt bei dir. Dann musst du ohne vorherigen Check installieren.
                                Der ist eigentlich eh mittlerweile entbehrlich.

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

                                  @thomas-braun Dankeschön:

                                  
                                  pi@iobroker:~ $ nodejs -v
                                  v16.17.1
                                  pi@iobroker:~ $ npm -v
                                  8.15.0
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @nevs84 last edited by

                                    @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

                                    pi@iobroker:/opt/iobroker $ npm update npm -g

                                    NIEMALS npm manuell anfassen!
                                    so etwas führt zu solchen Problemen

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nevs84 @Homoran last edited by

                                      @homoran Verstanden! Also komme ich um eine "Neuinstallation" nicht herum....

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

                                        @nevs84

                                        Zeig mal den vollständigen Check auf 'senkrechte Installation' aus dem HowTo.

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

                                          @thomas-braun

                                          pi@iobroker:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && n                                  pm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && su                                  do apt update && apt policy nodejs
                                          armv7l
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v16.17.1
                                          v16.17.1
                                          8.15.0
                                          node:internal/modules/cjs/loader:959
                                            throw err;
                                            ^
                                          
                                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                                  roker.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_ma                                  in:81:12)
                                              at node:internal/main/run_main_module:17:47 {
                                            code: 'MODULE_NOT_FOUND',
                                            requireStack: []
                                          }
                                          pi@iobroker:~ $
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • mickym
                                            mickym Most Active @nevs84 last edited by

                                            @nevs84 sagte in [Problem]Fehler nach Update. Nichts geht mehr:

                                            @mickym : Wie du meinem Post entnehmen kannst habe ich bereits versucht im Forum zu lesen..hat leider nichts gebracht. Aber denn "Lies halt mal das Forum" gibt es vermutlich in jedem Fred. Danke dir trotzdem.

                                            Ich bin wirklich der Letzte - der pro Forum einfach sagt, die Suchfunktion zu nutzen - aber ich denke die Anzahl der Threads seit dem nodejs 16 und npm 8 Update gehen langsam in hohe zweistellige Werte. Was @thomas-braun meist versucht, ist dass man die bestehenden System - versucht zu retten - ohne dass Du es neu aufbauen musst.

                                            Wie gesagt ich hatte hier auch schon ein System vor dem Neuaufbau gerettet (das Backup spielt in manchen Fällen eben nicht alles zurück und man hat ja auch meist noch Datenbank und anderes auf dem System am Laufen).

                                            Schmeiss Deine Nodejs und NPM Installation weg - mach sie neu - das sie auf dem aktuellen Stand ist und dann lass das node_modules Verzeichnis neu aufbauen, wie ich das nun schon mehrfach empfohlen habe.

                                            https://forum.iobroker.net/topic/57278/absturz-beim-update-admin-adapter-6-2-14-auf-6-2-17/10?_=1664884443776

                                            N Thomas Braun 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            730
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            cb.apply is not a function
                                            4
                                            68
                                            3173
                                            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