Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

    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

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Siggi0904 last edited by

      @siggi0904 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

      Sieht ganz sauber aus:

      Bis auf den ungeschickten username 'iobroker'.

      S 1 Reply Last reply Reply Quote 0
      • S
        Siggi0904 @Thomas Braun last edited by

        @thomas-braun

        Jo, das will ich aber ungern angehen.
        Solange da keiner meckert, würd ich das so lassen.

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

          @siggi0904

          Leg dir halt einen user 'siggi' oder sowas an und lass den 'iobroker' in Ruh.

          S 1 Reply Last reply Reply Quote 0
          • S
            Siggi0904 @Thomas Braun last edited by

            @thomas-braun
            da muss ich auch bei den Gruppen und Rechten aufpassen, dass der alles erhält.
            Wüsste nicht, wo ich da überall drauf achten muss.

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

              @siggi0904

              Die Gruppen kommen im Standard mit, es muss dann nur noch die Gruppe 'sudo' dem neuen user hinzugefügt werden.

              Geht in einer Zeile:

              sudo adduser siggi -G sudo
              

              In die Gruppe 'iobroker' würde ich den neuen user dann auch noch packen.

              1 Reply Last reply Reply Quote 0
              • E
                e-i-k-e @apollon77 last edited by

                @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                @e-i-k-e sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                /opt/iobroker/node_modules/epoll

                cd /opt/iobroker/node_modules/epollund dann npm install

                Ich habe bei zwei Slave ein anderes problem mit dem rpi2 Adapter.

                
                rpi2.1
                2022-06-19 18:25:19.807	error	cannot use GPIO: TypeError: Cannot read properties of null (reading 'setMode')
                
                rpi2.1
                2022-06-19 18:25:19.800	error	Cannot initialize GPIO: Error: Cannot find module 'rpi-gpio'Require stack:- /opt/iobroker/node_modules/iobroker.rpi2/main.js
                
                rpi2.1
                2022-06-19 18:25:19.441	info	starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v16.15.1, js-controller: 4.0.23
                

                DIesmal brachte das up-/downgraden nichts.

                Und wenn ich deinen genannten Befehl versuch, verläuft dieser ins nichts. 😕

                pi@raspberrypi-display1:~ $ cd /opt/iobroker/node_modules/epoll
                -bash: cd: /opt/iobroker/node_modules/epoll: Datei oder Verzeichnis nicht gefund                                                                                                             en
                
                

                Hast du noch eine Idee?

                Liebe Grüße

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @e-i-k-e last edited by

                  @e-i-k-e naja in deinem Gehör steht auch nix von Epoll … bei dir steht rpi-gpio .. also schau mal einsam liegt

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

                    @apollon77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                    @mickym Hast DU dann jetzt eine neue package-lock?

                    Ich wollte nochmal fragen - ist das schlimm, dass ich keine package-lock habe?

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

                      @mickym

                      Bist du sicher?
                      Meine wird regelmäßig angepackt:

                      ls -la /opt/iobroker/package-lock.json
                      -rw-rwxr--+ 1 iobroker iobroker 772814 Jun 19 06:31 /opt/iobroker/package-lock.json
                      
                      mickym 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by A Former User

                        Bei npm sagt iobroker dass es die Version 8.12.1 gibt:
                        IMG_20220619_214904.jpg
                        Muss/sollte man das auch updaten?

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

                          @thomas-braun Ja wie gesagt - meine alte war uralt von 2019 und die habe ich nun gelöscht und wird aber keine neue erstellt.

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

                            @mickym sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                            meine alte war uralt von 2019

                            und seitdem nicht geändert?
                            dann war bei der Installation schon was faul

                            Chaot mickym 2 Replies Last reply Reply Quote 0
                            • Chaot
                              Chaot @Homoran last edited by

                              @homoran Meine ist seltsamerweise auch so alt:

                              ls -la /opt/iobroker/package-lock.json
                              -rwxrwxrwx+ 1 iobroker iobroker 165242 Mar  5  2019 /opt/iobroker/package-lock.json
                              
                              mickym crunchip N 3 Replies Last reply Reply Quote 0
                              • mickym
                                mickym Most Active @Chaot last edited by

                                @chaot Und wie gesagt wenn Du die löscht geht insallation sehr viel schneller.

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

                                  @brainbug sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                  Muss/sollte man das auch updaten?

                                  Nein. Man packt npm nicht separat an. Das kommt mit dem Paket nodejs mit.

                                  1 Reply Last reply Reply Quote 0
                                  • Chaot
                                    Chaot @mickym last edited by

                                    @mickym Danke. Das Löschen der Datei und danach noch ein npm prune haben bei mir scheinbar alles zurechtgedengelt.
                                    Zumindest habe ich aktuell keine Error mehr bei NPM und der ioBroker scheint zu laufen.

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

                                      @homoran Meine Installation ist genauso alt wie die Datei. 😉 - und ich kann nichts negatives feststellen.

                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @Guest last edited by apollon77

                                        @brainbug Nein! Ich habe mal https://github.com/iobroker-community-adapters/ioBroker.info/issues/458 angelegt das der Info Adapter diese Empfehlung lässt

                                        Apollon77 created this issue in iobroker-community-adapters/ioBroker.info

                                        closed Do not recomment newer npm versions (unless should be with node.js version) #458

                                        1 Reply Last reply Reply Quote 1
                                        • crunchip
                                          crunchip Forum Testing Most Active @Chaot last edited by

                                          @chaot sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                          ls -la /opt/iobroker/package-lock.json

                                          dito, meine vom 3.Juni 2019

                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            Wie gesagt früher haben wir die package-lock Nutzung deaktiviert ... Wer eine solch "alte" Installation hat der hat das noch so ... geht auch alles - dauert manchmal länger bei npm Installs. Es hat noch keiner wirklich getestet was passiert wenn man in all möglichen Konstellationen diese Einstellung nachträglich ändert. Wenn dazu jemand Lust hat bitte melden dann gehen wir das mal Strukturiert an 🙂

                                            mickym 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

                                            847
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            812
                                            318465
                                            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