Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    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.
    • F
      fraso @fastfoot last edited by

      @fastfoot

      Info zum System:

      e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v14.19.0
      v14.19.0
      [sudo] Passwort für e6iob: 
      8.6.0
      nodejs:
        Installiert:           14.19.0-deb-1nodesource1
        Installationskandidat: 14.19.1-deb-1nodesource1
        Versionstabelle:
           14.19.1-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
       *** 14.19.0-deb-1nodesource1 100
              100 /var/lib/dpkg/status
           12.22.5~dfsg-2~11u1 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
              500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
      e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ 
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @fraso last edited by

        @fraso

        npm ist nicht die Version aus dem Paket.
        Und halt nodejs aktuell.

        F 1 Reply Last reply Reply Quote 0
        • F
          fastfoot @fraso last edited by

          @fraso die leeren jsonlOptions sind nicht da, so wie es sein soll. War nur so eine Idee. die js-controller version bekommst du unter Hosts angezeigt oder auf der Konsole mit iob -v

          F 1 Reply Last reply Reply Quote 0
          • F
            fraso @fastfoot last edited by

            @fastfoot sagte in ioBroker startet nicht mehr:

            iob -v

            e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ iob -v
            4.0.21
            
            F 1 Reply Last reply Reply Quote 0
            • F
              fraso @Thomas Braun last edited by

              @thomas-braun

              Hi Thomas,
              habe in Deiner Signatur geschaut aber dort nicht gefunden wie man die npm "korrigiert".

              Gibt es hier eine korrekte Anleitung die ich abarbeiten kann ?

              Danke.

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

                @fraso

                Installier das Update, dann wird npm gleich richtig mitinstalliert.
                Und lass die Finger davon npm global an der Paketverwaltung vorbei ins System zu knüppeln.

                F F 2 Replies Last reply Reply Quote 0
                • apollon77
                  apollon77 @fraso last edited by apollon77

                  @fraso sagte in ioBroker startet nicht mehr:

                  Jemand eine Idee wieso das passiert? Die oben genannten Tips hatte ich umgesetzt.

                  Ja, Bitte js-controller 4.0.23 installieren (ggf states.jsonl einmalig löschen... kannst gern das states.json.migrated_save nach states.json umbenennen dasnn hast du den States stand.

                  EDIT: Da aber bei dir die defekte EInstellung nicht da war ist das komisch. Bitte nach dem contreoller Update beobachten das es nicht wieder sooo grioss wird - ggf melden

                  1 Reply Last reply Reply Quote 0
                  • F
                    fastfoot @fraso last edited by

                    @fraso da gibt es die 4.0.23 welche genau dieses Problem behebt(obwohl das manuelle Entfernen der jsonlOptions das eig. auch behoben haben sollte)

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      fraso @Thomas Braun last edited by

                      @thomas-braun

                      nur damit ich das nicht verschlimmert:

                      iobroker update
                      

                      das machen?

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

                        @fraso

                        Nein. Über die Paketverwaltung. Wie alle andere Updates des Betriebssystems auch.

                        sudo apt upgrade
                        sudo apt full-upgrade
                        

                        Falls das noch nie gemacht wurde...

                        1 Reply Last reply Reply Quote 0
                        • F
                          fastfoot @fraso last edited by

                          @fraso iob update && iob upgrade self für den js-controller
                          apt update && apt upgrade für node. zuvor iobroker natürlich stoppen. iob stop

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fastfoot @Thomas Braun last edited by

                            @thomas-braun sagte in ioBroker startet nicht mehr:

                            Und lass die Finger davon npm global an der Paketverwaltung vorbei ins System zu knüppeln.

                            npm selbst empfiehlt das aber wenn es zB ein minor update gibt. Gibt es da einen Grund für deine Empfehlung?

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • F
                              fraso @fastfoot last edited by

                              @fastfoot sagte in ioBroker startet nicht mehr:

                              iob upgrade self

                              sudo apt upgrade gemacht
                              sudo apt full-upgrade gemacht
                              iob update listet ed mir die "updateable"´s auf aber updated nicht
                              iob upgrade self gemacht

                              e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v14.19.1
                              v14.19.1
                              6.14.16
                              nodejs:
                                Installiert:           14.19.1-deb-1nodesource1
                                Installationskandidat: 14.19.1-deb-1nodesource1
                                Versionstabelle:
                               *** 14.19.1-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
                                      100 /var/lib/dpkg/status
                                   12.22.5~dfsg-2~11u1 500
                                      500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                      500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                              e6iob@NUCioBroker:/opt/iobroker/iobroker-data$ 
                              
                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @fastfoot last edited by

                                @fastfoot sagte in ioBroker startet nicht mehr:

                                npm selbst empfiehlt das aber wenn es zB ein minor update gibt. Gibt es da einen Grund für deine Empfehlung?

                                Die empfehlen das auch für Major Upgrades.
                                Hat in der Vergangenheit regelmäßig für Probleme gesorgt. Upstream wird npm ja auch immer mit einer bestimmten Version von nodejs zusammengepackt.

                                F 1 Reply Last reply Reply Quote 1
                                • F
                                  fraso @fastfoot last edited by fraso

                                  @fastfoot

                                  ... und wie kriege ich die 4.0.23 drauf?

                                  Controller "js-controller": 4.0.21   , installed 4.0.21
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @fraso last edited by

                                    @fraso
                                    4.0.23 ist über das Beta-Repo verfügbar.

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      fraso @Thomas Braun last edited by

                                      @thomas-braun

                                      Ist mir jetzt peinlich zu fragen - aber der Controller wird wie über das Beta-Repo gezogen? Das ist ja kein Adapter den ich updaten kann - oder?

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

                                        @fraso

                                        Ich würde das Repo kurz aktivieren.
                                        Dann

                                        iobroker stop
                                        iobroker update
                                        iobroker upgrade self
                                        iobroker start
                                        

                                        Dann Repo wieder deaktivieren.

                                        Zuvor würde ich aber die allgemeinen Adapter aktualisieren. Das funktioniert aber bei dir auch nicht, wenn ich das oben richtig gelesen habe.

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fastfoot @Thomas Braun last edited by

                                          @thomas-braun sagte in ioBroker startet nicht mehr:

                                          Die empfehlen das auch für Major Upgrades.

                                          du meinst minor? ich sehe das manchmal nach npm Operationen, da meldet npm dann dass es ein Update gäbe und man möge es via npm i -g .... installieren.

                                          Hätte das auch beinahe hier empfohlen, allerdings deinen Unmut gefürchtet 🙂 Zu Recht, wie ich lese, denn ich verlasse mich da lieber auf deine kompetente Aussagen

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

                                            @fastfoot sagte in ioBroker startet nicht mehr:

                                            ich sehe das manchmal nach npm Operationen, da meldet npm dann dass es ein Update gäbe und man möge es via npm i -g .... installieren.

                                            Richtig, diese 'Empfehlung' kommt immer bei höheren Versionen. Egal ob Major oder Minor.
                                            Und mit npm i -g wird das dann global installiert (und sorgt dann u. U. für Probleme). Deswegen trennt man das Paket aus nodejs und npm besser nicht auf. Hier sieht man die von Haus aus vorgesehene Kombination sehr gut:

                                            https://nodejs.org/en/download/releases/

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

                                            Support us

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

                                            492
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            123
                                            11634
                                            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