Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ich kann nichts mehr installieren / updaten

    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

    Ich kann nichts mehr installieren / updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FISO @FISO last edited by

      @Glasfaser

      pi@iobroker-master:/opt/iobroker $ npm ls | grep -E 'github.com|ERR'
      npm ERR! code ELSPROBLEMS
      npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
      npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
      npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
      npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
      npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
      npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
      npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
      npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
      npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-08-16T09_09_52_991Z-debug-0.log
      
      
      pi@iobroker-master:/opt/iobroker $ iobroker update -i
      Used repository: beta
      Adapter    "admin"        : 6.2.14   , installed 6.2.13 [Updatable]
      Adapter    "alexa2"       : 3.19.5   , installed 3.19.5
      Adapter    "blink4home"   : 0.1.1    , installed 0.1.1
      Adapter    "device-reminder": 1.2.9  , installed 1.2.9
      Adapter    "devices"      : 1.0.12   , installed 1.0.12
      Adapter    "discovery"    : 3.0.5    , installed 3.0.5
      Adapter    "dwd"          : 2.8.3    , installed 2.8.3
      Adapter    "flot"         : 1.11.0   , installed 1.11.0
      Adapter    "followthesun" : 0.3.9    , installed 0.3.9
      Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
      Adapter    "fronius"      : 1.1.3    , installed 1.1.3
      Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
      Adapter    "history"      : 2.2.1    , installed 2.2.1
      Adapter    "hue"          : 3.7.1    , installed 3.7.1
      Adapter    "ical"         : 1.13.1   , installed 1.13.1
      Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
      Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
      Adapter    "info"         : 1.9.19   , installed 1.9.19
      Adapter    "iqontrol"     : 2.0.1    , installed 2.0.1
      Adapter    "jarvis"       : 3.0.13   , installed 3.0.13
      Adapter    "javascript"   : 6.0.0    , installed 6.0.0
      Controller "js-controller": 4.0.23   , installed 4.0.23
      Adapter    "km200"        : 2.0.3    , installed 2.0.3
      Adapter    "mihome-vacuum": 3.6.0    , installed 3.6.0
      Adapter    "modbus"       : 5.0.5    , installed 5.0.4  [Updatable]
      Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
      Adapter    "node-red"     : 4.0.0    , installed 4.0.0
      Adapter    "parser"       : 1.1.8    , installed 1.1.8
      Adapter    "ping"         : 1.5.3    , installed 1.5.3
      Adapter    "pushover"     : 3.0.3    , installed 3.0.3
      Adapter    "shelly"       : 6.0.0    , installed 6.0.0
      Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
      Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
      Adapter    "socketio"     : 6.1.8    , installed 6.1.8
      Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
      Adapter    "sql"          : 2.1.8    , installed 2.1.7  [Updatable]
      Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
      Adapter    "telegram"     : 1.14.1   , installed 1.14.1
      Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
      Adapter    "trashschedule": 2.0.3    , installed 2.0.3
      Adapter    "vis"          : 1.4.15   , installed 1.4.15
      Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
      Adapter    "vis-icontwo"  : 0.89.0   , installed 0.89.0
      Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "vw-connect"   : 0.0.51   , installed 0.0.51
      Adapter    "web"          : 5.2.4    , installed 5.2.4
      Adapter    "ws"           : 2.1.3    , installed 2.1.3
      Adapter    "yahka"        : 0.13.1   , installed 0.13.1
      Adapter    "zigbee"       : 1.7.6    , installed 1.7.6
      
      
      pi@iobroker-master:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs
      ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
      
      
      pi@iobroker-master:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.15.1
      v16.15.1
      8.11.0
      pi
      /opt/iobroker
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Aktualisierung für 103 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
      nodejs:
        Installiert:           16.15.1-deb-1nodesource1
        Installationskandidat: 16.16.0-deb-1nodesource1
        Versionstabelle:
           16.16.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
       *** 16.15.1-deb-1nodesource1 100
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @FISO last edited by

        @fiso sagte in Ich kann nichts mehr installieren / updaten:

        Adapter "admin" : 6.2.14 , installed 6.2.13 [Updatable]

        v16.15.1

        Aktualisierung für 103 Pakete verfügbar.

        als BETA Tester sollte man schon auf den neusten Stand sein !

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

          @fiso

          Aktualisierung für 103 Pakete verfügbar.

          Updaten, schleunigst.

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

            @thomas-braun
            @Glasfaser

            pi@iobroker-master:/opt/iobroker $  uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v16.16.0
            v16.16.0
            8.11.0
            pi
            /opt/iobroker
            OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            OK:2 http://archive.raspberrypi.org/debian buster InRelease
            OK:3 https://deb.nodesource.com/node_16.x buster InRelease
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Alle Pakete sind aktuell.
            nodejs:
              Installiert:           16.16.0-deb-1nodesource1
              Installationskandidat: 16.16.0-deb-1nodesource1
              Versionstabelle:
             *** 16.16.0-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                    100 /var/lib/dpkg/status
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            
            

            erledigt^^

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

              @fiso sagte in Ich kann nichts mehr installieren / updaten:

              erledigt

              Auch einen Reboot?

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

                @thomas-braun

                Ja habe ich, bei dem Befehl kommt keine "Fehlermeldung" mehr. Schonmal ein problem weniger....

                pi@iobroker-master:~ $ npm ls | grep -E 'github.com|ERR'
                pi@iobroker-master:~ $ npm ls | grep -E 'github.com|ERR'
                pi@iobroker-master:~ $ npm ls | grep -E 'github.com|ERR'
                
                

                Weiterhin kann ich Node-Red zb nicht deinstallieren und über Admin kann ich den SQL-Adapter weiterhin nicht deinstallieren.

                pi@iobroker-master:~ $ iobroker del node-red
                Delete adapter "node-red"
                host.iobroker-master Counted 11 states (system.adapter.node-red.*) from states
                host.iobroker-master object node-red deleted
                host.iobroker-master object node-red.admin deleted
                host.iobroker-master Deleting 11 state(s).
                Error deleting adapter node-red from disk: host.iobroker-master: Cannot uninstall iobroker.node-red: 217
                You might have to delete it yourself!
                
                
                $ iobroker upgrade sql@2.1.8 --debug
                Update sql from @2.1.7 to @2.1.8
                NPM version: 8.11.0Installing iobroker.sql@2.1.8... (System call)
                npm ERR! code ENOTEMPTY
                npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-16T09_47_09_038Z-debug-0.log
                host.iobroker-master Cannot install iobroker.sql@2.1.8: 217
                ERROR: Process exited with code 25
                
                Thomas Braun F 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @FISO last edited by Thomas Braun

                  @fiso sagte in Ich kann nichts mehr installieren / updaten:

                  Ja habe ich, bei dem Befehl kommt keine "Fehlermeldung" mehr. Schonmal ein problem weniger....
                  pi@iobroker-master:~ $ npm ls | grep -E 'github.com|ERR'

                  Kein Wunder. Du stehst im falschen Verzeichnis...

                  cd /opt/iobroker
                  npm ls | grep -E 'github.com|ERR'
                  
                  1 Reply Last reply Reply Quote 0
                  • F
                    FISO @FISO last edited by

                    @Thomas-Braun

                    Ups 😄 Sorry 😉

                    pi@iobroker-master:/opt/iobroker $ npm ls | grep -E 'github.com|ERR'
                    npm ERR! code ELSPROBLEMS
                    npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
                    npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
                    npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
                    npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
                    npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
                    npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
                    npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                    npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
                    npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-08-16T09_53_30_961Z-debug-0.log
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @FISO last edited by

                      @fiso

                      Ist das ein Multi-Host-System?

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

                        @thomas-braun Ja, der Raspi steht im Flur und ist der Master. der Slave stehe im Keller

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

                          @fiso

                          cd /opt/iobroker
                          npm ls
                          

                          Hier im Übrigen eine vermutlich ganz ähnliche Konstellation:
                          https://forum.iobroker.net/topic/57175/node-red-4-0-fehler-beim-adapterstart/4

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

                            pi@iobroker-master:/opt/iobroker $ npm ls
                            iobroker.inst@2.0.3 /opt/iobroker
                            ├── @types/caseless@0.12.2 extraneous
                            ├── @types/request@2.48.8 extraneous
                            ├── @types/tough-cookie@4.0.2 extraneous
                            ├── canvas@2.9.3
                            ├── coffeescript@1.12.7 extraneous
                            ├── colors@1.4.0
                            ├── fs-extra@7.0.1
                            ├── iobroker.admin@6.2.13
                            ├── iobroker.alexa2@3.19.5
                            ├── iobroker.blink4home@0.1.1
                            ├── iobroker.device-reminder@1.2.9
                            ├── iobroker.devices@1.0.12
                            ├── iobroker.discovery@3.0.5
                            ├── iobroker.dwd@2.8.3
                            ├── iobroker.flot@1.11.0
                            ├── iobroker.followthesun@0.3.9
                            ├── iobroker.fritzdect@2.2.3
                            ├── iobroker.fronius@1.1.3
                            ├── iobroker.habpanel@0.5.0
                            ├── iobroker.history@2.2.1
                            ├── iobroker.hue@3.7.1
                            ├── iobroker.ical@1.13.1
                            ├── iobroker.icons-icons8@0.0.1
                            ├── iobroker.icons-material-svg@0.1.0
                            ├── iobroker.info@1.9.19
                            ├── iobroker.iqontrol@2.0.1
                            ├── iobroker.jarvis@3.0.13
                            ├── iobroker.javascript@6.0.0
                            ├── iobroker.js-controller@4.0.23
                            ├── iobroker.km200@2.0.3
                            ├── iobroker.mihome-vacuum@3.6.0
                            ├── iobroker.modbus@5.0.4
                            ├── iobroker.mqtt@4.0.7
                            ├── iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project
                            ├── iobroker.parser@1.1.8
                            ├── iobroker.ping@1.5.3
                            ├── iobroker.pushover@3.0.3
                            ├── iobroker.shelly@6.0.0
                            ├── iobroker.simple-api@2.7.0
                            ├── iobroker.smartmeter@3.3.4
                            ├── iobroker.socketio@6.1.8
                            ├── iobroker.sonoff@2.5.1
                            ├── iobroker.sql@2.1.7
                            ├── iobroker.tankerkoenig@2.1.1
                            ├── iobroker.telegram@1.14.1
                            ├── iobroker.tr-064@4.2.16
                            ├── iobroker.trashschedule@2.0.3
                            ├── iobroker.vis-hqwidgets@1.2.0
                            ├── iobroker.vis-icontwo@0.89.0
                            ├── iobroker.vis-inventwo@3.3.3
                            ├── iobroker.vis-timeandweather@1.2.2
                            ├── iobroker.vis@1.4.15
                            ├── iobroker.vw-connect@0.0.51
                            ├── iobroker.web@5.2.4
                            ├── iobroker.ws@2.1.3
                            ├── iobroker.yahka@0.13.1
                            ├── iobroker.zigbee@1.7.6
                            ├── iobroker@2.0.3
                            ├── node-inspect@2.0.0 extraneous
                            ├── picocolors@1.0.0 extraneous
                            ├── semver@5.7.1
                            ├── virtual-tsc@0.6.2 extraneous
                            ├── wake_on_lan@1.0.0 extraneous
                            └── yargs@7.1.1
                            
                            npm ERR! code ELSPROBLEMS
                            npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
                            npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
                            npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
                            npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
                            npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
                            npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
                            npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                            npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
                            npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-08-16T10_51_56_791Z-debug-0.log
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @FISO last edited by

                              @fiso sagte in Ich kann nichts mehr installieren / updaten:

                              Ja, der Raspi steht im Flur und ist der Master. der Slave stehe im Keller

                              bei richtiger Konfiguration wird der slave über den Master administriert.
                              ich weiß nicht ob es eine gute Idee ist/war in der Konsole des Slaves direkt zu arbeiten

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                FISO @Homoran last edited by

                                @homoran Die Probleme sind auf dem Master bzw ich bin per Konsole auf dem Master-System

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

                                  @fiso

                                  iobroker upgrade node-red@3.3.1 --debug
                                  
                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    FISO @Thomas Braun last edited by

                                    @thomas-braun

                                    pi@iobroker-master:/opt/iobroker $ iobroker upgrade node-red@3.3.1 --debug
                                    
                                    This downgrade of "node-red" will remove 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 DOWNGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                                    Would you like to downgrade node-red from @4.0.0 to @3.3.1 now? [(y)es, (n)o]: y
                                    Update node-red from @4.0.0 to @3.3.1
                                    NPM version: 8.11.0
                                    Installing iobroker.node-red@3.3.1... (System call)
                                    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-16T10_55_26_188Z-debug-0.log
                                    host.iobroker-master Cannot install iobroker.node-red@3.3.1: 217
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @FISO last edited by

                                      @fiso

                                      cd /opt/iobroker/node_modules
                                      for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
                                      iobroker upgrade node-red@3.3.1 --debug
                                      
                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        FISO @Thomas Braun last edited by

                                        @thomas-braun

                                        pi@iobroker-master:/opt/iobroker $ cd /opt/iobroker/node_modules
                                        pi@iobroker-master:/opt/iobroker/node_modules $ for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
                                        pi@iobroker-master:/opt/iobroker/node_modules $ iobroker upgrade node-red@3.3.1 --debug
                                        
                                        This downgrade of "node-red" will remove 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 DOWNGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                                        Would you like to downgrade node-red from @4.0.0 to @3.3.1 now? [(y)es, (n)o]: y
                                        Update node-red from @4.0.0 to @3.3.1
                                        NPM version: 8.11.0
                                        Installing iobroker.node-red@3.3.1... (System call)
                                        npm ERR! code ENOTEMPTY
                                        npm ERR! syscall rename
                                        npm ERR! path /opt/iobroker/node_modules/@babel/runtime
                                        npm ERR! dest /opt/iobroker/node_modules/@babel/.runtime-cSN2FFol
                                        npm ERR! errno -39
                                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@babel/runtime' -> '/opt/iobroker/node_modules/@babel/.runtime-cSN2FFol'
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-08-16T10_58_07_136Z-debug-0.log
                                        host.iobroker-master Cannot install iobroker.node-red@3.3.1: 217
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @FISO last edited by

                                          @fiso sagte in Ich kann nichts mehr installieren / updaten:

                                          cd /opt/iobroker/node_modules/@babel
                                          for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
                                          iobroker upgrade node-red@3.3.1 --debug
                                          

                                          Und so weiter für weitere Verzeichnisse mit versteckten Verzeichnissen mit kryptischen Endungen.

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

                                            @thomas-braun

                                            Danke, das hat dann funktioniert. Er konnte Node dann downgraden. Hab dann Node-Red im iobroker deinstalliert (hat auch geklappt), aber ich kann den Adapter nun garnichtmehr installieren. Es kommt immer folgende Fehlermeldung:

                                            $ iobroker add node-red auto --host iobroker-master --debug
                                            
                                            NPM version: 8.11.0Installing iobroker.node-red@4.0.0... (System call)
                                            
                                            npm ERR! code ENOTEMPTY
                                            
                                            host.iobroker-master Cannot install iobroker.node-red@4.0.0: 217
                                            
                                            ERROR: Process exited with code 25
                                            

                                            Was mir aufgefallen ist: Ich kann zumindest wieder neue Adapter installieren, das ging vorher nicht.

                                            den SQL Adapter wollte ich auch upgraden, aber es kommt folgende fehlermeldung:

                                            
                                            
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/mkdirp': '/opt/iobroker/node_modules/node-gyp/node_modules/.mkdirp-MLo1vYTP',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/mkdirp': '/opt/iobroker/node_modules/node-gyp/node_modules/.bin/.mkdirp-Ct4LiqGE',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/is-fullwidth-code-point': '/opt/iobroker/node_modules/node-gyp/node_modules/.is-fullwidth-code-point-9zDQVrU4',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/npmlog': '/opt/iobroker/node_modules/node-gyp/node_modules/.npmlog-8fhQ4cOQ',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/readable-stream': '/opt/iobroker/node_modules/node-gyp/node_modules/.readable-stream-aZybdzCg',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/signal-exit': '/opt/iobroker/node_modules/node-gyp/node_modules/.signal-exit-LQ9rNd2v',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/string-width': '/opt/iobroker/node_modules/node-gyp/node_modules/.string-width-iQNhIdLT',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/strip-ansi': '/opt/iobroker/node_modules/node-gyp/node_modules/.strip-ansi-X1jmnUZh',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/tar': '/opt/iobroker/node_modules/node-gyp/node_modules/.tar-dy93EdLL',
                                            271 silly reify   '/opt/iobroker/node_modules/node-gyp/node_modules/wide-align': '/opt/iobroker/node_modules/node-gyp/node_modules/.wide-align-HvDrjN4p',
                                            271 silly reify   '/opt/iobroker/node_modules/signal-exit': '/opt/iobroker/node_modules/.signal-exit-myKgrl00',
                                            271 silly reify   '/opt/iobroker/node_modules/socks': '/opt/iobroker/node_modules/.socks-Ly3eN6mV',
                                            271 silly reify   '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/agent-base': '/opt/iobroker/node_modules/socks-proxy-agent/node_modules/.agent-base-kgXOEHfK',
                                            271 silly reify   '/opt/iobroker/node_modules/sqlite3': '/opt/iobroker/node_modules/.sqlite3-8qPhwEH9',
                                            271 silly reify   '/opt/iobroker/node_modules/tar': '/opt/iobroker/node_modules/.tar-NeTPgzH9',
                                            271 silly reify   '/opt/iobroker/node_modules/wide-align': '/opt/iobroker/node_modules/.wide-align-CJ7lqbuZ',
                                            271 silly reify   '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/chownr': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.chownr-8LatjZPf',
                                            271 silly reify   '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.mkdirp-zZ32xAdE',
                                            271 silly reify   '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/mkdirp': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/.mkdirp-r2nTdSNU',
                                            271 silly reify   '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/tar': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.tar-MtfJh6vz'
                                            271 silly reify }
                                            272 timing reify:rollback:retireShallow Completed in 13ms
                                            273 timing command:install Completed in 10495ms
                                            274 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar' -> '/opt/iobroker/node_modules/iobroker.js-controller/no$
                                            275 verbose cwd /opt/iobroker
                                            276 verbose Linux 5.10.103-v7l+
                                            277 verbose node v16.16.0
                                            278 verbose npm  v8.11.0
                                            279 error code ENOTEMPTY
                                            280 error syscall rename
                                            281 error path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar
                                            282 error dest /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.tar-k92wKR6q
                                            283 error errno -39
                                            284 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar' -> '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.tar$
                                            285 verbose exit -39
                                            286 timing npm Completed in 10790ms
                                            287 verbose unfinished npm timer reify 1660650749107
                                            288 verbose unfinished npm timer reify:retireShallow 1660650759551
                                            289 verbose code -39
                                            290 error A complete log of this run can be found in:
                                            290 error     /home/iobroker/.npm/_logs/2022-08-16T11_52_28_826Z-debug-0.log
                                            
                                            

                                            nachdem ich die verzeichnisse umbenannt habe erhalte ich noch folgende fehlermeldungen:

                                            $ iobroker upgrade sql@2.1.8 --debug
                                            
                                            Update sql from @2.1.7 to @2.1.8
                                            
                                            NPM version: 8.11.0Installing iobroker.sql@2.1.8... (System call)
                                            
                                            npm ERR! code ENOTEMPTY
                                            
                                            npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-08-16T12_14_18_123Z-debug-0.log
                                            
                                            host.iobroker-master Cannot install iobroker.sql@2.1.8: 217
                                            
                                            ERROR: Process exited with code 25
                                            
                                            Thomas Braun 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

                                            547
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            80
                                            5938
                                            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