Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Update nicht möglich / Error: Cannot find module

    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

    [gelöst] Update nicht möglich / Error: Cannot find module

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

      @thorkillar

      1.JPG

      bash

      T 1 Reply Last reply Reply Quote 0
      • T
        thorkillar @Glasfaser last edited by

        @Glasfaser

        71cfc294-47dd-40ad-bd2a-a8d3f5bf1373-image.png

        Nach dem Klick auf OK, passiert nichts

        haselchen 1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @thorkillar last edited by

          @thorkillar

          Stopp den Container und starte ihn neu

          T 1 Reply Last reply Reply Quote 0
          • T
            thorkillar @haselchen last edited by

            @haselchen

            75f58749-d63b-4d93-8bab-fbde3a015fd6-image.png

            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @thorkillar last edited by

              @thorkillar

              jetzt mach mal ein sudo davor .

              Da stimmt doch was nicht !!?? 😞

              T 1 Reply Last reply Reply Quote 0
              • T
                thorkillar @Glasfaser last edited by

                @Glasfaser muss gerade meinen kleinen Sohn versorgen . Meld mich in Kürze .

                1 Reply Last reply Reply Quote 0
                • T
                  thorkillar last edited by

                  das gleich mit sudo.

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @thorkillar last edited by Glasfaser

                    @thorkillar

                    Dann noch zwei versuche , ansonsten ist @haselchen drann 🙂 mit seinem Vorschlag

                    Er merkert bei js

                    npm i iobroker.javascript --unsafe-perm
                    
                    T 1 Reply Last reply Reply Quote 0
                    • T
                      thorkillar @Glasfaser last edited by

                      @Glasfaser sagte in Update nicht möglich / Error: Cannot find module:

                      npm i iobroker.javascript --unsafe-perm

                      9020d75d-ca2b-42d3-8310-ea2b0a9ef995-image.png

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @thorkillar last edited by

                        @thorkillar

                        Zugriff verweigert !! 😞

                        Das ist nicht normal ... hier stoppen wir .

                        @haselchen dein Vorschlag

                        haselchen 1 Reply Last reply Reply Quote 0
                        • haselchen
                          haselchen Most Active @Glasfaser last edited by

                          @thorkillar

                          Kannst du andere Versionen abfragen?

                          nodejs -v
                          npm -v

                          T Glasfaser 2 Replies Last reply Reply Quote 0
                          • T
                            thorkillar @haselchen last edited by

                            @haselchen sagte in Update nicht möglich / Error: Cannot find module:

                            nodejs -v
                            npm -v

                            root@buanet-iobroker1:/opt/iobroker# nodejs -v
                            v10.19.0

                            root@buanet-iobroker1:/opt/iobroker# npm -v
                            sudo: Hostname buanet-iobroker1 kann nicht aufgelöst werden
                            6.13.4

                            haselchen 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @haselchen last edited by

                              @haselchen

                              Da ist was mit den Rechten vermurkst , von den einzelnen Modulen .

                              1 Reply Last reply Reply Quote 0
                              • haselchen
                                haselchen Most Active @thorkillar last edited by haselchen

                                @thorkillar

                                Das sieht sauber aus. Versuch mal das:

                                iobroker stop

                                sudo -H -u iobroker npm install iobroker.js-controller@2.1.0

                                hilft das nicht dann die Reihenfolge

                                pkill.io

                                npm install iobroker.js-controller@2.1.0

                                Will erstmal mit ner kleine JS Version anfangen obs geht.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  thorkillar @haselchen last edited by

                                  @haselchen

                                  iobroker stop
                                  geht schon nicht.

                                  habe jetzt

                                  pkill io
                                  sudo -H -u iobroker npm install iobroker.js-controller@2.1.0

                                  versucht, mit dem ergebnis:
                                  7ded4877-85a4-4ad2-ae9b-eeea479c066e-image.png

                                  zweiter versuch:
                                  f3e7b686-3578-410d-82c1-2c434a798fa0-image.png

                                  1f53ab4e-9305-4a8c-871b-de93ec79d844-image.png

                                  Glasfaser 2 Replies Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @thorkillar last edited by

                                    @haselchen

                                    ich sage ja ... laut Log immer noch Rechte Probleme

                                    haselchen 1 Reply Last reply Reply Quote 0
                                    • haselchen
                                      haselchen Most Active @Glasfaser last edited by

                                      @Glasfaser
                                      @thorkillar

                                      Tja, da bin ich auch am Ende.
                                      Das System scheint völlig breit zu sein.
                                      Ich hoffe, es gibt ein Backup oder dergleichen.
                                      So hart das klingt, aber ich sehe keine andere Möglichkeit als neu anzufangen,

                                      1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @thorkillar last edited by

                                        @thorkillar

                                        gehe mal aus dem Verzeichniss und dann die Befehle absetzen .

                                        .
                                        1.JPG

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          thorkillar last edited by thorkillar

                                          mmm. gibt es denn eine möglichkeit, den container zu erneuern, und die alten Daten reinzukopieren?
                                          f98a760a-eaa2-47f1-b259-128790d5e939-image.png

                                          Liegen die nicht im Ordner iobroker-data ?

                                          Das komische ist ja, dass das System startet und auch läuft. alle 3-4 Tage stirbt der Container und ich muss ihn neue starten.
                                          Und das Update wollte ich auch machen.

                                          Kann ich im laufenden Zustand irgendwie meine Daten sichern und in eine neue Version einspielen?

                                          Habe sehr viele Skripte (Javascipt) , Datenpunkte und noch mehr Vis erstellt, die ich nicht erneut erstellen möchte/kann (zeitlich)

                                          Glasfaser 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @thorkillar last edited by

                                            @thorkillar sagte in Update nicht möglich / Error: Cannot find module:

                                            Liegen die nicht im Ordner iobroker-data ?

                                            Richtig , das ist der wichtigste Ordner .

                                            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

                                            661
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            cannot find module iobroker update
                                            4
                                            114
                                            9281
                                            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