Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Node-Red - rbe

    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

    Node-Red - rbe

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

      @LaBamba

      Schau mal in den Verzeichnissen in den Du vorher (übergeordnet die Verzeichnisse entdeckt hast), die entsprechenden pacakage.json Dateien an.

      Zum Beispiel unter

      /opt/iobroker/iobroker-data/node-red $ nano package.json
      

      da darf dann kein Verweise mehr auf die alte node-red-node-rbe vorhanden sein. Genauso in der package.json in /opt/iobroker

      {
          "name": "node-red-project",
          "description": "A Node-RED Project",
          "version": "0.0.1",
          "private": true,
          "dependencies": {
              "@mdi/font": "^5.9.55",
              "node-red-contrib-bigtimer": "~2.8.1",
              "node-red-contrib-buffer-parser": "~3.2.2",
              "node-red-contrib-cron-plus": "~1.5.6",
              "node-red-contrib-crypto-js": "~0.1.1",
              "node-red-contrib-fs-ops": "~1.6.0",
              "node-red-contrib-harmony-websocket": "~2.2.6",
              "node-red-contrib-light-scheduler": "0.0.18",
              "node-red-contrib-tail-file": "^1.2.6",
              "node-red-contrib-ui-contextmenu": "~2.0.1",
              "node-red-contrib-ui-time-scheduler": "~1.16.2",
              "node-red-contrib-whin": "~0.1.13",
              "node-red-dashboard": "~3.1.6",
              "node-red-node-email": "~1.14.0",
              "node-red-node-feedparser": "~0.2.2",
              "node-red-node-mysql": "~1.0.1",
              "node-red-node-ping": "~0.3.1",
              "node-red-node-snmp": "0.0.25",
              "node-red-node-tail": "~0.3.2",
              "node-red-node-ui-table": "~0.3.12"
          }
      }
      

      @Thomas-Braun Was bedeutet denn wenn in der Meldung steht, dass man package-lock.json commited werden soll?

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

        @LaBamba

        node-red-node-rbe

        Ist das Ding noch eingetragen?

        cd /opt/iobroker
        npm ls node-red-node-rbe
        
        mickym L 2 Replies Last reply Reply Quote 0
        • mickym
          mickym Most Active @Thomas Braun last edited by mickym

          @LaBamba Dir Frage von @thomas-braun musst Du beantworten. Ich kann nicht in Dein System schauen - meines ist sauber. 😉

          den gleichen Befehl, den @thomas-braun Dir genannt hat auch noch im Node-Red Verzeichnis ausführen:

          pi@MWHome:/opt/iobroker $ cd /opt/iobroker/iobroker-data/node-red
          pi@MWHome:/opt/iobroker/iobroker-data/node-red $ npm ls node-red-node-rbe
          node-red-project@0.0.1 /opt/iobroker/iobroker-data/node-red
          └── (empty)
          
          1 Reply Last reply Reply Quote 0
          • L
            LaBamba @Thomas Braun last edited by LaBamba

            @thomas-braun
            @mickym

            Schaut so aus, als das es raus ist.

            ecfe8696-c169-4fc3-b7db-fdaf93e2c38a-image.png

            bce2e808-3d49-4245-94b3-6b2cefe97a2b-image.png

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

              @labamba
              Keine Bilder, Text in CodeTags einbetten.

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

                @labamba dann sollte aber auch im log nichts mehr auftauchen

                1 Reply Last reply Reply Quote 0
                • L
                  LaBamba @Thomas Braun last edited by LaBamba

                  @thomas-braun

                  Ich habe gesehen node-red-node-rbe ist wieder in Node-RED.

                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm remove node-red-node-rbe
                  npm notice created a lockfile as package-lock.json. You should commit this file.
                  added 179 packages from 197 contributors and audited 186 packages in 16.307s
                  
                  25 packages are looking for funding
                    run `npm fund` for details
                  
                  found 1 high severity vulnerability
                    run `npm audit fix` to fix them, or `npm audit` for details
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ ^C
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm remove node-red-node-rbe
                  audited 186 packages in 5.086s
                  
                  25 packages are looking for funding
                    run `npm fund` for details
                  
                  found 1 high severity vulnerability
                    run `npm audit fix` to fix them, or `npm audit` for details
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm ls node-red-node-rbe
                  @node-red/nodes@2.2.2 /opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes
                  └── (empty)
                  
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ ^C
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm audit fix
                  up to date in 2.97s
                  
                  25 packages are looking for funding
                    run `npm fund` for details
                  
                  fixed 0 of 1 vulnerability in 186 scanned packages
                    1 vulnerability required manual review and could not be updated
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ /opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function
                  bash: /opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function: Ist ein Verzeichnis
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm remove node-red-node-rbe
                  
                  audited 186 packages in 4.282s
                  
                  25 packages are looking for funding
                    run `npm fund` for details
                  
                  found 1 high severity vulnerability
                    run `npm audit fix` to fix them, or `npm audit` for details
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ 
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm audit fix
                  up to date in 3.152s
                  
                  25 packages are looking for funding
                    run `npm fund` for details
                  
                  fixed 0 of 1 vulnerability in 186 scanned packages
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ 
                  
                  
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ npm audit
                                                                                                  
                                         === npm audit security report ===                        
                                                                                                  
                  ┌──────────────────────────────────────────────────────────────────────────────┐
                  │                                Manual Review                                 │
                  │            Some vulnerabilities require your attention to resolve            │
                  │                                                                              │
                  │         Visit https://go.npm.me/audit-guide for additional guidance          │
                  └──────────────────────────────────────────────────────────────────────────────┘
                  ┌───────────────┬──────────────────────────────────────────────────────────────┐
                  │ High          │ Prototype Pollution in async                                 │
                  ├───────────────┼──────────────────────────────────────────────────────────────┤
                  │ Package       │ async                                                        │
                  ├───────────────┼──────────────────────────────────────────────────────────────┤
                  │ Patched in    │ >=2.6.4                                                      │
                  ├───────────────┼──────────────────────────────────────────────────────────────┤
                  │ Dependency of │ fs.notify                                                    │
                  ├───────────────┼──────────────────────────────────────────────────────────────┤
                  │ Path          │ fs.notify > async                                            │
                  ├───────────────┼──────────────────────────────────────────────────────────────┤
                  │ More info     │ https://github.com/advisories/GHSA-fwr7-v2mv-hh25            │
                  └───────────────┴──────────────────────────────────────────────────────────────┘
                  found 1 high severity vulnerability in 186 scanned packages
                    1 vulnerability requires manual review. See the full report for details.
                  pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function $ 
                  

                  Da kenne ich mich nicht aus.

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

                    @labamba Keine Ahnung was Du machst - in diesem von Dir angegebenen Verzeichnis darf kein Unterverzeichnis existieren und da sind nur die core Nodes - wozu auch die rbe Nodes dazugehören. Falls da ein Verzeichnis existiert unter functions würde ich das löschen. Bei mir sieht die Struktur so aus - und inhaltlich sind da natürlich die core Nodes enthalten:

                    b13c3670-f78a-4bbb-ac82-bdbfeb075d9b-image.png

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

                      @labamba sagte in Node-Red - rbe:

                      npm audit fix

                      Lass die Finger davon!

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

                        @mickym

                        Ich kenne mich da gar nicht aus. Folglich habe ich da auch nichts dran gemacht.

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

                          @mickym

                          Ist auch nichts drin
                          bfab60d1-0cd8-4751-8457-96de84b399bd-image.png

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

                            @labamba Na dann passt das doch - weil Du geschrieben hast:

                            node-red-node-rbe ist wieder in Node-RED.

                            und dann auf dieses Verzeichnis verwiesen hast. Gibts denn wieder Fehler im Log oder sind die rbe Nodes wieder extra im Palettenmanager registriert?

                            1 Reply Last reply Reply Quote 0
                            • L
                              LaBamba @Thomas Braun last edited by

                              @thomas-braun

                              Ich finde 2 Dateien
                              2a986352-8f8b-465d-b6e3-9628a00f95c8-image.png

                              beide mit dem Pfad:
                              /opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function

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

                                @labamba Das ist doch OK - da gehören sie hin. Das sind die neuen rbe/filter Nodes - die nun Bestandteil der Core Nodes sind. Die Nodes soll es ja noch weiter geben, nur sind sie eben nun Bestandteil der Core-Nodes.

                                Also passt alles!!!

                                Siehe mein Screenshot:

                                https://forum.iobroker.net/topic/54583/node-red-rbe/40?_=1651841208467

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

                                  @mickym
                                  Davor hatte ich wieder die Palette rbe in node-red drin und bei der suche mindestens 10 Dateien mit rbe in verschiedenen Verzeichnissen.
                                  Kann die Ursache sein, das ich den Adapter von Node-Red neu installiert habe.

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

                                    @labamba Wie gesagt wo anders dürfen sie nicht auftauchen, aber da wo Du gepostet (/opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function) hast, da gehören sie hin - und wie Du an meinen Screenshot siehst, habe ich die dort auch.

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

                                      @mickym
                                      @Thomas-Braun

                                      Bildschirmfoto 2022-05-06 um 16.14.57.png

                                      ...und wieder ist es da!

                                      Bildschirmfoto 2022-05-06 um 16.29.48.png

                                      Nichts gemacht und wieder da!

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

                                        @labamba Ok dann musst Du wieder nach einem Verzeichnis suchen. Aber dort wo Du gepostet hattest, da ist es OK - also unter den Core Nodes. Du musst wieder nach einem node-red-node-rbe Verzeichnis suchen.

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

                                          @mickym

                                          f95b2cd8-d2fb-406d-87fd-b8d090dfae16-image.png

                                          Alles wieder da!
                                          js-Dateien in
                                          /opt/iobroker/node_modules/node-red-node-rbe
                                          /opt/iobroker/node_modules/iobroker.node-red/node_modules/@node-red/nodes/core/function

                                          ..und die json in
                                          /opt/iobroker/node_modules/node-red-node-rbe/locales/ja
                                          /opt/iobroker/node_modules/node-red-node-rbe/locales/en-US

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

                                            @labamba OK - wie gesagt, dann muss das wieder weg - wie Du es schon mal gemacht hast. Wie das wieder dahin gekommen ist, kann ich Dir nicht beantworten. Falls Du nicht was zurückgeladen hast und Du meinst es ist durch die Installation gekommen, dann musst Du Dich an die Adapterentwickler wenden, da kann ich dann nicht helfen.

                                            Also einfach wieder den npm remove node-red-node-rbe in

                                            /opt/iobroker/node_modules/iobroker.node-red

                                            und in

                                            /opt/iobroker

                                            ausführen

                                            L 3 Replies 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

                                            916
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            64
                                            2498
                                            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