Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Problem beim Löschen von Node Red

    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

    Problem beim Löschen von Node Red

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

      @glasfaser
      Zuerst hab ich das hier gemacht:

      
      This upgrade of "node-red" will introduce the following changes:
      ==========================================================================
      -> 4.0.0:
      IMPORTANT: Node.js 14.x now needed at least
      Upgrade to node-red 3.0.2, enable runtime-state features and switch editor to monaco-editor
      Correctly escape backslashes when writing setting file on Windows
      ==========================================================================
      
      BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
      Would you like to upgrade node-red from @3.3.1 to @4.0.0 now? [(y)es, (n)o]: y
      Update node-red from @3.3.1 to @4.0.0
      NPM version: 8.15.0
      Installing iobroker.node-red@4.0.0... (System call)
      host.raspberrypi Cannot install iobroker.node-red@4.0.0: 217
      
      

      Dann wollte ich wenigstens auf die schon bestehende Version zurück:

      
      i@raspberrypi:~ $ npm install iobroker.node-red@3.3.1
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size
      npm ERR! code EACCES
      npm ERR! syscall open
      npm ERR! path /home/pi/package.json
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, open '/home/pi/package.json'
      npm ERR!  [Error: EACCES: permission denied, open '/home/pi/package.json'] {
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'open',
      npm ERR!   path: '/home/pi/package.json'
      npm ERR! }
      npm ERR! 
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR! 
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-08-19T14_11_02_986Z-debug-0.log
      
      

      Und dann dachte ich mir, dass ich Node Red sowieso nie gebraucht hab, also weg damit (jetzt über :8081, das ging Dank deiner Hilfe ja dann wieder):

      host.raspberrypi
      2022-08-19 16:33:25.069	info	iobroker exit 0
      host.raspberrypi
      2022-08-19 16:33:24.030	error	iobroker You might have to delete it yourself!
      host.raspberrypi
      2022-08-19 16:33:24.028	error	iobroker Error deleting adapter node-red from disk: host.raspberrypi: Cannot uninstall iobroker.node-red: 217
      host.raspberrypi
      2022-08-19 16:33:14.861	info	iobroker host.raspberrypi object node-red.admin deleted
      host.raspberrypi
      2022-08-19 16:33:14.855	info	iobroker host.raspberrypi object node-red deleted
      host.raspberrypi
      2022-08-19 16:33:12.792	info	iobroker Delete adapter "node-red"
      host.raspberrypi
      2022-08-19 16:33:10.688	info	iobroker del node-red
      
      
      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @guitardoc last edited by

        @guitardoc sagte in Problem beim Löschen von Node Red:

        Jetzt ist der Adapter immer noch installiert, es wird mir ein Update dafür angezeigt,

        sudo reboot
        

        was ist dann !?

        G 1 Reply Last reply Reply Quote 1
        • G
          guitardoc @Glasfaser last edited by

          @glasfaser

          Hat leider nichts gebracht - Adapter ist immer noch da und beim Entfernen sagt der ioBroker:

          
          $ iobroker del node-red
          Delete adapter "node-red"
          host.raspberrypi object node-red deleted
          host.raspberrypi object node-red.admin deleted
          Error deleting adapter node-red from disk: host.raspberrypi: Cannot uninstall iobroker.node-red: 217You might have to delete it yourself!
          Process exited with code 0
          
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @guitardoc last edited by

            @guitardoc

            Du springst da in den falschen Verzeichnissen herum.

            npm ERR! Error: EACCES: permission denied, open '/home/pi/package.json'
            
            1 Reply Last reply Reply Quote 1
            • Glasfaser
              Glasfaser @guitardoc last edited by

              @guitardoc sagte in Problem beim Löschen von Node Red:

              pi@raspberrypi:~ $ npm install iobroker.node-red@3.3.1

              Das meint Thomas

              cd /opt/iobroker
              

              dann

              npm install iobroker.node-red@3.3.1
              
              G 1 Reply Last reply Reply Quote 1
              • G
                guitardoc @Glasfaser last edited by

                @glasfaser

                Bringt leider nichts. Hab es ausgeführt, dann reboot. Dann im Admin noch mal den Adapter gelöscht:

                
                $ iobroker del node-red
                Delete adapter "node-red"
                host.raspberrypi object node-red.admin deleted
                You might have to delete it yourself!
                Process exited with code 0
                
                
                Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @guitardoc last edited by

                  @guitardoc

                  Die Ausgabe sagt gelöscht Code 0

                  Browser refresh !?

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

                    @guitardoc sagte in Problem beim Löschen von Node Red:

                    Bringt leider nichts.

                    Bitte vollständige Ein- und Ausgabezeilen zeigen. Damit man evtl. sehen kann warum 'es nichts bringt'.

                    G 1 Reply Last reply Reply Quote 1
                    • G
                      guitardoc @Thomas Braun last edited by

                      @thomas-braun

                      
                      pi@raspberrypi:~ $ cd /opt/iobroker
                      pi@raspberrypi:/opt/iobroker $ npm install iobroker.node-red@3.3.1
                      
                      up to date in 10s
                      
                      117 packages are looking for funding
                        run `npm fund` for details
                      pi@raspberrypi:/opt/iobroker $ 
                      
                      

                      63D1BCCA-320B-432B-B9A7-0F04D5869468.png D66B47E9-7870-441F-A493-59D3FC2A5B81.png

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

                        @guitardoc

                        Was hast du eigentlich jetzt genau vor? node-red installieren? node-red deinstallieren?

                        G 1 Reply Last reply Reply Quote 1
                        • G
                          guitardoc @Thomas Braun last edited by

                          @thomas-braun

                          Eigentlich deinstallieren.

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

                            @guitardoc

                            iob update -i
                            
                            G 1 Reply Last reply Reply Quote 1
                            • G
                              guitardoc @Thomas Braun last edited by

                              @thomas-braun

                              
                              i@raspberrypi:/opt/iobroker $ iob update -i
                              Used repository: Latest
                              Adapter    "admin"        : 6.2.17   , installed 6.2.17
                              Adapter    "backitup"     : 2.4.12   , installed 2.4.12
                              Adapter    "cloud"        : 4.2.1    , installed 4.2.1
                              Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                              Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                              Adapter    "email"        : 1.1.3    , installed 1.1.3
                              Adapter    "eusec"        : 0.9.4    , installed 0.9.4
                              Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                              Adapter    "flot"         : 1.11.0   , installed 1.11.0
                              Adapter    "info"         : 1.9.19   , installed 1.9.19
                              Adapter    "javascript"   : 6.0.0    , installed 6.0.0
                              Controller "js-controller": 4.0.23   , installed 4.0.23
                              Adapter    "logparser"    : 1.1.0    , installed 1.1.0
                              Adapter    "node-red"     : 4.0.0    , installed 3.3.1  [Updatable]
                              Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                              Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                              Adapter    "shuttercontrol": 1.4.14  , installed 1.4.14
                              Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                              Adapter    "socketio"     : 6.1.8    , installed 6.1.8
                              Adapter    "sql"          : 2.1.8    , installed 2.1.8
                              Adapter    "telegram"     : 1.14.1   , installed 1.14.1
                              Adapter    "vis"          : 1.4.15   , installed 1.4.15
                              Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
                              Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                              Adapter    "vw-connect"   : 0.0.51   , installed 0.0.51
                              Adapter    "web"          : 5.2.4    , installed 5.2.4
                              Adapter    "wiffi-wz"     : 2.2.1    , installed 2.2.1
                              Adapter    "ws"           : 2.1.3    , installed 2.1.3
                              Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                              pi@raspberrypi:/opt/iobroker $ 
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @guitardoc last edited by Thomas Braun

                                @guitardoc

                                iobroker stop node-red.0
                                iobroker del node-red
                                
                                G 1 Reply Last reply Reply Quote 1
                                • G
                                  guitardoc @Thomas Braun last edited by

                                  @thomas-braun

                                  
                                  pi@raspberrypi:/opt/iobroker $ iobroker del node-red
                                  Delete adapter "node-red"
                                  host.raspberrypi object node-red deleted
                                  host.raspberrypi object node-red.admin deleted
                                  Error deleting adapter node-red from disk: host.raspberrypi: Cannot uninstall iobroker.node-red: 217
                                  You might have to delete it yourself!
                                  pi@raspberrypi:/opt/iobroker $ 
                                  
                                  
                                  Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @guitardoc last edited by

                                    @guitardoc sagte in Problem beim Löschen von Node Red:

                                    iobroker del node-red

                                    iobroker del node-red --debug
                                    
                                    1 Reply Last reply Reply Quote 1
                                    • Thomas Braun
                                      Thomas Braun Most Active @guitardoc last edited by

                                      @guitardoc sagte in Problem beim Löschen von Node Red:

                                      iobroker del node-red --debug
                                      
                                      G Glasfaser 2 Replies Last reply Reply Quote 1
                                      • G
                                        guitardoc @Thomas Braun last edited by

                                        @thomas-braun

                                        
                                        pi@raspberrypi:/opt/iobroker $ iobroker del node-red --debug
                                        Delete adapter "node-red"
                                        host.raspberrypi object node-red deleted
                                        host.raspberrypi object node-red.admin deleted
                                        Error deleting adapter node-red from disk: host.raspberrypi: Cannot uninstall iobroker.node-red: 217
                                        You might have to delete it yourself!
                                        pi@raspberrypi:/opt/iobroker $ 
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Thomas Braun last edited by Glasfaser

                                          @thomas-braun

                                          ist der gleich Käse wie hier :

                                          https://forum.iobroker.net/topic/57172/ich-kann-nichts-mehr-installieren-updaten/15?_=1660922486510

                                          EDIT :

                                          Ergebnis zum Schluss

                                          @fiso sagte in Ich kann nichts mehr installieren / updaten:
                                          Ich glaubs kaum, Node-Red ließ sich jetzt wieder installieren.....

                                          G 1 Reply Last reply Reply Quote 1
                                          • G
                                            guitardoc @Glasfaser last edited by

                                            @glasfaser

                                            Naja, da hat der TE aber irgendwie wild rumgefrickelt und dabei an irgendeiner Stelle vermutlich irgendwas richtig gemacht - wobei zwischendurch das System kurz vorm Verschrotten war. Ich würde gern herausfinden, was der eine richtige Befehl war ohne mein System dabei zu zerschießen… 🙂

                                            Danke übrigens auch an euch beide dass ihr mir hier helft, das ist bei Weitem nicht selbstverständlich!

                                            Glasfaser Thomas Braun 2 Replies 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

                                            468
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            56
                                            3313
                                            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