Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Neuer Node-Red Adapter 3.x in Latest - Repository

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neuer Node-Red Adapter 3.x in Latest - Repository

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

      Bei mir klappt das Update des Adapters leider nicht:

      Adapter    "node-red"     : 3.0.1    , installed 2.4.2  [Updatable]
      

      dann das Update

      root@unless-stopped:/opt/iobroker# iobroker upgrade node-red@3.0.1
      
      [...]
      Would you like to upgrade node-red from @2.4.2 to @3.0.1 now? [(y)es, (n)o]: y
      Update node-red from @2.4.2 to @3.0.1
      host.unless-stopped Adapter "system.adapter.node-red.0" is stopped.
      NPM version: 6.14.16
      Installing iobroker.node-red@3.0.1... (System call)
      [...]
      upload [3] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index.html index.html text/html
      upload [2] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index_m.html index_m.html text/html
      upload [1] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/node-red.png node-red.png image/png
      upload [0] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/words.js words.js application/javascript
      host.unless-stopped Adapter "system.adapter.node-red.0" is started
      root@unless-stopped:/opt/iobroker# iobroker update
      Used repository: beta
      Controller "js-controller": 4.0.21   , installed 4.0.21
      Adapter    "node-red"     : 3.0.1    , installed 2.4.2  [Updatable]
      

      Wie man sehen kann ist das Update nicht dauerhaft installiert worden. Hat irgendjemand eine Idee was da schief läuft?

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

        @emanuel Hast Du auch die npm version installiert - ich kenne nur die 3.0.0 oder hast Du von gitHub installiert?

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

          @mickym

          node-red
          github:	3.0.1
          latest:	3.0.1 for 2 days
          stable:	2.4.2 for 42 days
          
          mickym 1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @Thomas Braun last edited by

            @thomas-braun OK - Danke 🙂 - ist an mir vorbei gegangen. Ich werde mal updaten und schauen, ob ich auch so ein Problem habe.

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

              @emanuel sagte in Neuer Node-Red Adapter 3.0.0 in Latest - Repository:

              root@unless-stopped

              Wie immer: Nicht als root rumhampeln.
              Als user

              iobroker upload all
              iobroker update
              
              E 1 Reply Last reply Reply Quote 1
              • E
                emanuel @Thomas Braun last edited by

                @thomas-braun said in Neuer Node-Red Adapter 3.0.0 in Latest - Repository:

                Wie immer: Nicht als root rumhampeln.

                ich habe das Update natürlich zu erst im Admin-Panel versucht. 😉

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

                  @emanuel Hmm - ich glaube ich bin hier überfragt - bei mir ist das Update auf 3.0.1 von 3.0.0 problemlos durchgelaufen und die 2.4.2 hatte ich nie drauf.

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

                    @emanuel sagte in Neuer Node-Red Adapter 3.0.0 in Latest - Repository:

                    ich habe das Update natürlich zu erst im Admin-Panel versucht.

                    ? NIE als root rumhampeln. Nie.

                    Als user

                    iobroker stop
                    iobroker fix
                    iobroker start
                    
                    1 Reply Last reply Reply Quote 0
                    • F
                      frankyboy73 last edited by frankyboy73

                      Hi, ich habe noch die Node Red Version 2.4.2 drauf, habs gerade mal getestet, wenn ich ein Update über MPN versuche, lande ich wieder bei der Version 2.4.2. Getestet per Installieren aus eigener Url im Admin und per Konsole.

                      $ iobroker url iobroker.node-red --host raspberrypi
                      
                      install iobroker.node-red
                      
                      NPM version: 6.14.16
                      
                      Installing iobroker.node-red... (System call)
                      
                      + iobroker.node-red@2.4.2removed 1 package and updated 1 package in 36.433s
                      
                      45 packages are looking for funding run `npm fund` for details
                      
                      upload [14] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/bcrypt.min.js bcrypt.min.js application/javascript
                      
                      upload [13] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/de/translations.json i18n/de/translations.json application/json
                      
                      upload [12] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/en/translations.json i18n/en/translations.json application/json
                      
                      upload [11] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/es/translations.json i18n/es/translations.json application/json
                      
                      upload [10] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                      
                      upload [9] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/it/translations.json i18n/it/translations.json application/json
                      
                      upload [8] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                      
                      upload [7] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                      
                      upload [6] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                      
                      upload [5] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                      
                      upload [4] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                      
                      upload [3] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index.html index.html text/html
                      
                      upload [2] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index_m.html index_m.html text/html
                      
                      upload [1] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/node-red.png node-red.png image/png
                      
                      upload [0] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/words.js words.js application/javascript
                      
                      Process exited with code 0
                      
                      Schließen wenn fertig
                      
                      pi@raspberrypi:/opt/iobroker $ npm i iobroker.node-red
                      npm WARN deprecated bcrypt@3.0.8: versions < v5.0.0 do not handle NUL in passwords properly
                      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}                                                                             )
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux"                                                                             ,"arch":"arm"})
                      
                      + iobroker.node-red@2.4.2
                      removed 1 package and updated 1 package in 46.696s
                      
                      45 packages are looking for funding
                        run `npm fund` for details
                      
                      
                      mikeal created this issue in request/request

                      open Request’s Past, Present and Future #3142

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

                        @frankyboy73 Na mit install node-red bekommst Du das von Dir präferierte repository (vielleicht hast Du da stable eingestellt).

                        Ich mache das alles über die Admin Oberfläche:

                        5f1823df-d8c2-469b-a6f9-2f462986b12b-image.png

                        Musst aber den Expertenmodus einstellen:

                        63ec412b-b16d-40e7-87b0-98f1f2de8409-image.png

                        Das ist zumindest etwas - was im Admin5 viel besser als in der Vorgängerversion ist.

                        Um das alles über das CLI zu machen, da ist @thomas-braun der Spezialist.

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

                          @mickym Hi, ja über die Admin Oberfäche habe ich es zuerst versucht, genau wie in deinem Screenshot. Im Expertenmodus. Das ist die erste Ausgabe, ohne Fehler durchgelaufen, aber es ist immer noch Version 2.4.2 bei mir drauf.
                          NodeRed2.jpg

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

                            @frankyboy73

                            iobroker repo list
                            

                            Und bitte keine Photos aus der Konsole. Ist immer so trist da.

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

                              @frankyboy73 Hast Du oben das NPM angeklickt und dann aus dem DropDown den NR Adapter ausgewählt?

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

                                @thomas-braun

                                pi@raspberrypi:~ $ iobroker repo list
                                Stable (default): http://download.iobroker.net/sources-dist.json
                                Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
                                
                                Active repo(s): Stable (default)
                                
                                

                                Sorry für das Foto, ich dachte zum markieren und schneller sehen wäre das besser

                                @mickym Ja

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

                                  @frankyboy73
                                  Keine Ahnung ob es eine Rolle spielt, aber Sonderzeichen wie Klammern usw. sind immer ein Quell für unerwartetes Verhalten. Diese Zeichen haben besondere Eigenschaften wenn die in Kommandos enthalten sind.

                                  Hier funktioniert es jedenfalls:

                                  echad@chet:~ $ iobroker add node-red
                                  NPM version: 8.5.5
                                  Installing iobroker.node-red@3.0.1... (System call)
                                  
                                  F 1 Reply Last reply Reply Quote 0
                                  • mickym
                                    mickym Most Active @frankyboy73 last edited by mickym

                                    @frankyboy73 Also ich weiss auch nicht weiter - ich habe mein Repro auch im Stable als Default:

                                    iob repo list
                                    Stable (default): http://download.iobroker.net/sources-dist.json
                                    Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
                                    
                                    Active repo(s): Stable (default)
                                    

                                    aber ich geb zu, ich hatte vorher einige Testversionen über gitHub installiert.

                                    @thomas-braun hat ja geschrieben, dass auf git-hub die gleiche Version installiert ist. Du könntest es ja von dort nochmal probieren und dann nochmal über npm nachinstallieren.

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

                                      @thomas-braun Ok, aber bis jetzt konnte ich über den Admin eigentlich alles per mpn installieren, wenn das mal nötig war, auch die 2.4.2 hatte ich darüber mal installiert. Aber mit der 3.0.0 hat das schon nicht funktioniert und mit der 3.0.1 jetzt auch nicht. Kann ich an den Kommandos was ändern?

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

                                        @frankyboy73

                                        Ich würds über die Kommandzeile versuchen. Die lügt nie.

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

                                          @thomas-braun

                                          pi@raspberrypi:~ $ iobroker add node-red
                                          host.raspberrypi error: this adapter does not allow multiple instances on one host
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @frankyboy73 last edited by

                                            @frankyboy73

                                            iobroker repo set 'Beta (latest)'
                                            iobroker update
                                            iobroker upgrade node-red
                                            

                                            Müssten die Befehle sein. Mit den Klammern muss das irgendwie escaped werden. Deswegen haben die Repos bei mir einfache Namen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            868
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            node-red
                                            14
                                            96
                                            10222
                                            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