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.
    • 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
                      • Glasfaser
                        Glasfaser @guitardoc last edited by

                        @guitardoc

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

                          @guitardoc

                          Versuch mal node-red upzugraden, vielleicht kommt da mehr ums Eck.

                          iobroker upgrade node-red --debug
                          
                          1 Reply Last reply Reply Quote 1
                          • G
                            guitardoc last edited by

                            @thomas-braun

                            
                            pi@raspberrypi:/opt/iobroker $ iobroker upgrade node-red --debug
                            
                            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)
                            npm ERR! code ENOTEMPTY
                            npm ERR! syscall rename
                            npm ERR! path /opt/iobroker/node_modules/addressparser
                            npm ERR! dest /opt/iobroker/node_modules/.addressparser-qF9vtHFg
                            npm ERR! errno -39
                            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/addressparser' -> '/opt/iobroker/node_modules/.addressparser-qF9vtHFg'
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-08-19T15_50_47_992Z-debug-0.log
                            host.raspberrypi Cannot install iobroker.node-red@4.0.0: 217
                            pi@raspberrypi:/opt/iobroker $ 
                            
                            

                            Ich sehe schon, da müssen die Verzeichnisse gelöscht werden, richtig?

                            rm -rf /opt/iobroker/node_modules/.addressparser-qF9vtHFg
                            
                            Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @guitardoc last edited by

                              @guitardoc

                              Jippp 🙂

                              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:

                                Ich sehe schon, da müssen die Verzeichnisse gelöscht werden, richtig?

                                Geht am schnellsten mit dem 'Lösch-Einzeiler', ausgeführt im jeweiligen Verzeichnis:

                                cd /opt/iobroker/node_modules
                                
                                for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
                                
                                G 1 Reply Last reply Reply Quote 1
                                • G
                                  guitardoc @Thomas Braun last edited by guitardoc

                                  @thomas-braun

                                  Arrrghhh - ich hab die alle per Hand gelöscht jetzt… 🙂 Es hat zwar ein bisschen was gebracht, aber noch nicht komplett - der Adapter ist wohl jetzt auf 4.0.0, aber er lässt sich nicht löschen:

                                  P i@raspberrypi:~ $ iobroker update
                                  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 4.0.0
                                  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:~ $ 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:~ $ iobroker upgrade node-red --debug
                                  Adapter "node-red"       is up to date.
                                  pi@raspberrypi:~ $ 
                                  
                                  

                                  EDIT: reboot hatte ich schon gemacht vorher.

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

                                    @guitardoc

                                    Stopp den node-red-Adapter.
                                    Dann

                                    iobroker stop
                                    iobroker fix
                                    cd /opt/iobroker
                                    sudo -H -u iobroker npm uninstall iobroker.node-red
                                    
                                    G 1 Reply Last reply Reply Quote 1
                                    • G
                                      guitardoc @Thomas Braun last edited by

                                      @thomas-braun

                                      In den Instanzen ist er nicht mehr zu finden.

                                      Dann kommt:

                                      
                                      pi@raspberrypi:~ $ cd /opt/iobroker
                                      pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm uninstall iobroker.node-red
                                      
                                      npm ERR! code ENOTEMPTY
                                      npm ERR! syscall rename
                                      npm ERR! path /opt/iobroker/node_modules/acorn
                                      npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH
                                      npm ERR! errno -39
                                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH'
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-08-19T16_43_43_723Z-debug-0.log
                                      pi@raspberrypi:/opt/iobroker $ 
                                      pi@raspberrypi:/opt/iobroker $ 
                                      
                                      

                                      Ich vermute, die Verzeichnisse müssen wieder gelöscht werden?

                                      Thomas Braun 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:

                                        Ich vermute, die Verzeichnisse müssen wieder gelöscht werden?

                                        Ja. Wo auch immer die jetzt wieder herkommen.
                                        Aber mit dem Einzeiler ist das nicht mehr viel arbeit.

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

                                          @thomas-braun Jetzt erscheint der Adapter unter iobroker update nicht mehr. Dafür komme ich jetzt bei :8081 nicht mehr auf den Admin - URL kann nicht angezeigt werden…

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

                                            @guitardoc

                                            iobroker update
                                            iobroker list adapters
                                            iobroker list instances
                                            
                                            G 1 Reply 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

                                            650
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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