Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. nach nodeJs update auf 20.16.0 keine Skrpt seite mehr

    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

    nach nodeJs update auf 20.16.0 keine Skrpt seite mehr

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

      @stoffel67

      iob stop 
      iob fix
      iob update
      iob upgrade all -y
      iob upgrade self
      
      S 1 Reply Last reply Reply Quote 0
      • S
        stoffel67 @Thomas Braun last edited by

        @thomas-braun
        es wird immer schlimmer

        
        aspberrypi:/opt/iobroker $ iob stop 
        iob fix
        iob update
        iob upgrade all -y
        iob upgrade self
        library: loaded
        Library version=2024-05-24
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2024-01-04
            
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/5)
        ==========================================================================
        
        Holen:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
        OK:2 http://archive.raspberrypi.org/debian bullseye InRelease                                                      
        OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease                          
        Holen:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13,2 MB]
        Es wurden 13,3 MB in 15 s geholt (855 kB/s).                                                                                                                       
        Paketlisten werden gelesen… Fertig
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/5)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Check and cleanup npm temporary directories (3/5)
        ==========================================================================
        
        Done.
        
        ==========================================================================
            Database maintenance (4/5)
        ==========================================================================
        
        Checking for uncompressed JSONL databases... This might take a while!
        
        Compressing /opt/iobroker/iobroker-data/states.jsonl
        Compressing /opt/iobroker/iobroker-data/objects.jsonl
        Compressed 2 JSONL files. Done
        
        ==========================================================================
            Checking autostart (5/5)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        
        Used repository: stable
        Adapter    "admin"        : 7.0.22   , installed 7.0.22
        Adapter    "backitup"     : 2.11.0   , installed 2.11.0
        Adapter    "ble"          : 0.14.0   , installed 0.14.0
        Adapter    "discovery"    : 4.5.0    , installed 4.5.0
        Adapter    "ds18b20"      : 2.0.5    , installed 2.0.5
        Adapter    "enet"         : 1.0.1    , installed 1.0.1
        Adapter    "javascript"   : 8.7.6    , installed 8.7.6
        Controller "js-controller": 6.0.9    , installed 5.0.12 [Updatable]
        Adapter    "linkeddevices": 1.5.5    , installed 1.5.5
        Adapter    "modbus"       : 6.2.3    , installed 6.1.0  [Updatable]
        Adapter    "node-red"     : 5.2.1    , installed 5.2.1
        Adapter    "proxy"        : 1.3.2    , installed 1.3.2
        Adapter    "radar2"       : 2.2.0    , installed 2.1.0  [Updatable]
        Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
        Adapter    "shelly"       : 7.0.0    , installed 7.0.0
        Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
        Adapter    "smartmeter"   : 3.4.0    , installed 3.4.0
        Adapter    "socketio"     : 6.7.0    , installed 6.7.0
        Adapter    "sonoff"       : 3.1.0    , installed 3.0.3  [Updatable]
        Adapter    "tr-064"       : 4.3.0    , installed 4.2.18 [Updatable]
        Adapter    "vis"          : 1.5.6    , installed 1.5.6
        Adapter    "web"          : 6.2.5    , installed 6.2.5
        Adapter    "withings"     : 0.0.13   , installed 0.0.13
        Adapter    "ws"           : 2.6.1    , installed 2.6.1
        Adapter    "yahka"        : 1.0.3    , installed 1.0.3
        Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19
        Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19
        Update radar2 from @2.1.0 to @2.2.0
        NPM version: 10.8.1
        Installing iobroker.radar2@2.2.0... (System call)
        npm error code 7
        npm error path /opt/iobroker/node_modules/@abandonware/noble
        npm error command failed
        npm error command sh -c node-gyp-build
        npm error gyp ERR! UNCAUGHT EXCEPTION 
        npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
        npm error gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
        npm error gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
        npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
        npm error gyp ERR! System Linux 6.1.21-v7+
        npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
        npm error gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble
        npm error gyp ERR! node -v v20.16.0
        npm error gyp ERR! node-gyp -v v7.1.2
        npm error gyp ERR! Node-gyp failed to build your package.
        npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_39_25_194Z-debug-0.log
        host.raspberrypi Cannot install iobroker.radar2@2.2.0: 7
        Update js-controller from @5.0.12 to @6.0.9
        Stopped Objects DB
        Stopped States DB
        NPM version: 10.8.1
        Installing iobroker.js-controller@6.0.9... (System call)
        Try to solve ENOTEMPTY error automatically
        Could not handle ENOTEMPTY, because no deletable files were found
        npm error code ENOTEMPTY
        npm error syscall rename
        npm error path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
        npm error dest /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo
        npm error errno -39
        npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket' -> '/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo'
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_40_47_269Z-debug-0.log
        host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @stoffel67 last edited by Thomas Braun

          @stoffel67

          iob delete ble
          iob fix
          
          S 1 Reply Last reply Reply Quote 0
          • S
            stoffel67 @Thomas Braun last edited by

            @thomas-braun

            
            pi@raspberrypi:/opt/iobroker $ iob delete  ble
            Delete adapter "ble"
            host.raspberrypi Counted 1 instances of ble
            host.raspberrypi Counted 1 meta of ble
            host.raspberrypi Counted 1 adapter for ble
            host.raspberrypi Counted 2 channels of ble
            host.raspberrypi Counted 3 states of ble
            host.raspberrypi Counted 14 states of system.adapter.ble
            host.raspberrypi Counted 1 states (system.adapter.ble.*) from states
            host.raspberrypi file ble.admin deleted
            host.raspberrypi object ble deleted
            host.raspberrypi object ble.admin deleted
            host.raspberrypi Deleting 22 object(s).
            host.raspberrypi Deleting 1 state(s).
            Error deleting adapter ble from disk: host.raspberrypi: Cannot uninstall iobroker.ble: 217
            You might have to delete it yourself!
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @stoffel67 last edited by Thomas Braun

              @stoffel67

              iob list adapters
              iob fix
              
              S 1 Reply Last reply Reply Quote 0
              • S
                stoffel67 @Thomas Braun last edited by

                @thomas-braun
                der fix läuft eigentlich immer durch

                
                pi@raspberrypi:/opt/iobroker $ iob list adapters 
                iob fix
                system.adapter.admin                   : admin          - v7.0.22
                system.adapter.backitup                : backitup       - v2.11.0
                system.adapter.discovery               : discovery      - v4.5.0
                system.adapter.ds18b20                 : ds18b20        - v2.0.5
                system.adapter.enet                    : enet           - v1.0.1
                system.adapter.info                    : info           - v1.9.26
                system.adapter.javascript              : javascript     - v8.7.6
                system.adapter.linkeddevices           : linkeddevices  - v1.5.5
                system.adapter.modbus                  : modbus         - v6.1.0
                system.adapter.node-red                : node-red       - v5.2.1
                system.adapter.palazzetti              : palazzetti     - v0.0.6
                system.adapter.proxy                   : proxy          - v1.3.2
                system.adapter.radar2                  : radar2         - v2.1.0
                system.adapter.rpi2                    : rpi2           - v1.3.2
                system.adapter.shelly                  : shelly         - v7.0.0
                system.adapter.simple-api              : simple-api     - v2.8.0
                system.adapter.slideshow               : slideshow      - v0.1.4
                system.adapter.smartmeter              : smartmeter     - v3.4.0
                system.adapter.socketio                : socketio       - v6.7.0
                system.adapter.sonoff                  : sonoff         - v3.0.3
                system.adapter.terminal                : terminal       - v0.2.2
                system.adapter.tr-064                  : tr-064         - v4.2.18
                system.adapter.vis                     : vis            - v1.5.6
                system.adapter.vw-connect              : vw-connect     - v0.0.67
                system.adapter.web                     : web            - v6.2.5
                system.adapter.withings                : withings       - v0.0.13
                system.adapter.ws                      : ws             - v2.6.1
                system.adapter.yahka                   : yahka          - v1.0.3
                pi@raspberrypi:/opt/iobroker $ iob fix
                library: loaded
                Library version=2024-05-24
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2024-01-04
                    
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/5)
                ==========================================================================
                
                OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                      
                OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease                          
                Paketlisten werden gelesen… Fertig                            
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/5)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Check and cleanup npm temporary directories (3/5)
                ==========================================================================
                
                Done.
                
                ==========================================================================
                    Database maintenance (4/5)
                ==========================================================================
                
                Checking for uncompressed JSONL databases... This might take a while!
                
                Compressing /opt/iobroker/iobroker-data/states.jsonl
                Compressing /opt/iobroker/iobroker-data/objects.jsonl
                Compressed 2 JSONL files. Done
                
                ==========================================================================
                    Checking autostart (5/5)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @stoffel67 last edited by

                  @stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:

                  der fix läuft eigentlich immer durch

                  Soll es ja auch. Muss da ja aufräumen.

                  iob stop 
                  iob fix
                  iob update
                  iob upgrade all -y
                  iob upgrade self
                  
                  Homoran S 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Thomas Braun last edited by

                    @thomas-braun sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:

                    @stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:

                    der fix läuft eigentlich immer durch

                    Soll es ja auch. Muss da ja aufräumen.

                    iob stop 
                    iob fix
                    iob update
                    iob upgrade all -y
                    iob upgrade self
                    

                    @stoffel67

                    bitte einzeln aufrufen!

                    1 Reply Last reply Reply Quote 1
                    • S
                      stoffel67 @Thomas Braun last edited by

                      @thomas-braun

                      
                      i@raspberrypi:/opt/iobroker $ 
                      pi@raspberrypi:/opt/iobroker $ iob stop 
                      iob fix
                      iob update
                      iob upgrade all -y
                      iob upgrade self
                      library: loaded
                      Library version=2024-05-24
                      
                      ==========================================================================
                      
                          Welcome to the ioBroker installation fixer!
                          Script version: 2024-01-04
                          
                          You might need to enter your password a couple of times.
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/5)
                      ==========================================================================
                      
                      OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      OK:2 http://archive.raspberrypi.org/debian bullseye InRelease                         
                      OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease                          
                      Paketlisten werden gelesen… Fertig                            
                      
                      ==========================================================================
                          Checking ioBroker user and directory permissions (2/5)
                      ==========================================================================
                      
                      Created /etc/sudoers.d/iobroker
                      Fixing directory permissions...
                      
                      ==========================================================================
                          Check and cleanup npm temporary directories (3/5)
                      ==========================================================================
                      
                      Done.
                      
                      ==========================================================================
                          Database maintenance (4/5)
                      ==========================================================================
                      
                      Checking for uncompressed JSONL databases... This might take a while!
                      
                      Compressing /opt/iobroker/iobroker-data/states.jsonl
                      Compressing /opt/iobroker/iobroker-data/objects.jsonl
                      Compressed 2 JSONL files. Done
                      
                      ==========================================================================
                          Checking autostart (5/5)
                      ==========================================================================
                      
                      Enabling autostart...
                      Autostart enabled!
                      
                      ==========================================================================
                      
                          Your installation was fixed successfully
                          Run iobroker start to start ioBroker again!
                      
                      ==========================================================================
                      
                      Used repository: stable
                      Adapter    "admin"        : 7.0.22   , installed 7.0.22
                      Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                      Adapter    "ble"          : 0.14.0   , installed 0.14.0
                      Adapter    "discovery"    : 4.5.0    , installed 4.5.0
                      Adapter    "ds18b20"      : 2.0.5    , installed 2.0.5
                      Adapter    "enet"         : 1.0.1    , installed 1.0.1
                      Adapter    "javascript"   : 8.7.6    , installed 8.7.6
                      Controller "js-controller": 6.0.9    , installed 5.0.12 [Updatable]
                      Adapter    "linkeddevices": 1.5.5    , installed 1.5.5
                      Adapter    "modbus"       : 6.2.3    , installed 6.1.0  [Updatable]
                      Adapter    "node-red"     : 5.2.1    , installed 5.2.1
                      Adapter    "proxy"        : 1.3.2    , installed 1.3.2
                      Adapter    "radar2"       : 2.2.0    , installed 2.1.0  [Updatable]
                      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                      Adapter    "shelly"       : 7.0.0    , installed 7.0.0
                      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                      Adapter    "smartmeter"   : 3.4.0    , installed 3.4.0
                      Adapter    "socketio"     : 6.7.0    , installed 6.7.0
                      Adapter    "sonoff"       : 3.1.0    , installed 3.0.3  [Updatable]
                      Adapter    "tr-064"       : 4.3.0    , installed 4.2.18 [Updatable]
                      Adapter    "vis"          : 1.5.6    , installed 1.5.6
                      Adapter    "web"          : 6.2.5    , installed 6.2.5
                      Adapter    "withings"     : 0.0.13   , installed 0.0.13
                      Adapter    "ws"           : 2.6.1    , installed 2.6.1
                      Adapter    "yahka"        : 1.0.3    , installed 1.0.3
                      Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19
                      Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19
                      Update radar2 from @2.1.0 to @2.2.0
                      NPM version: 10.8.1
                      Installing iobroker.radar2@2.2.0... (System call)
                      npm error code 7
                      npm error path /opt/iobroker/node_modules/@abandonware/noble
                      npm error command failed
                      npm error command sh -c node-gyp-build
                      npm error gyp ERR! UNCAUGHT EXCEPTION 
                      npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                      npm error gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                      npm error gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                      npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                      npm error gyp ERR! System Linux 6.1.21-v7+
                      npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                      npm error gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble
                      npm error gyp ERR! node -v v20.16.0
                      npm error gyp ERR! node-gyp -v v7.1.2
                      npm error gyp ERR! Node-gyp failed to build your package.
                      npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                      npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T19_07_10_998Z-debug-0.log
                      host.raspberrypi Cannot install iobroker.radar2@2.2.0: 7
                      Update js-controller from @5.0.12 to @6.0.9
                      Stopped Objects DB
                      Stopped States DB
                      NPM version: 10.8.1
                      Installing iobroker.js-controller@6.0.9... (System call)
                      Try to solve ENOTEMPTY error automatically
                      Could not handle ENOTEMPTY, because no deletable files were found
                      npm error code ENOTEMPTY
                      npm error syscall rename
                      npm error path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                      npm error dest /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo
                      npm error errno -39
                      npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket' -> '/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo'
                      npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T19_08_31_744Z-debug-0.log
                      host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217
                      pi@raspberrypi:/opt/iobroker $ 
                      
                      

                      sollte ich das ganze evtl. einfach neu aufsetzen…
                      es ist wohl „nur“ meine Testumgebung, aber wenn da schon Probleme bekomme, trau ich mich nicht an meine Produktivumgebung, die muss laufen sonst gibts hier zuhause Ärger,
                      der Auslöser war eigentlich ein Anwender meines Adapters, der upgegradet hat und darauf Problem bekam…

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

                        @stoffel67

                        Du sollst die Befehle einzeln, zeilenweise eingeben.

                        S 2 Replies Last reply Reply Quote 0
                        • S
                          stoffel67 @Thomas Braun last edited by

                          @thomas-braun
                          ich muss hier unterbrechen… sonst bekomm ich Ärger, werden morgen weiter machen,
                          vielen Dank für deine Hilfe!!!!super

                          1 Reply Last reply Reply Quote 0
                          • S
                            stoffel67 @Thomas Braun last edited by

                            @thomas-braun
                            so ich versuch es nochmal
                            Zeilen einzeln... und es kommt das:

                            pi@raspberrypi:~ $ iob fix
                            library: loaded
                            Library version=2024-05-24
                            
                            ==========================================================================
                            
                                Welcome to the ioBroker installation fixer!
                                Script version: 2024-01-04
                            
                                You might need to enter your password a couple of times.
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/5)
                            ==========================================================================
                            
                            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                            Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
                            OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease
                            Es wurden 15,0 kB in 2 s geholt (7.092 B/s).
                            Paketlisten werden gelesen… Fertig
                            
                            ==========================================================================
                                Checking ioBroker user and directory permissions (2/5)
                            ==========================================================================
                            
                            Created /etc/sudoers.d/iobroker
                            Fixing directory permissions...
                            
                            ==========================================================================
                                Check and cleanup npm temporary directories (3/5)
                            ==========================================================================
                            
                            Done.
                            
                            ==========================================================================
                                Database maintenance (4/5)
                            ==========================================================================
                            
                            Checking for uncompressed JSONL databases... This might take a while!
                            
                            Compressing /opt/iobroker/iobroker-data/states.jsonl
                            Compressing /opt/iobroker/iobroker-data/objects.jsonl
                            Compressed 2 JSONL files. Done
                            
                            ==========================================================================
                                Checking autostart (5/5)
                            ==========================================================================
                            
                            Enabling autostart...
                            Autostart enabled!
                            
                            ==========================================================================
                            
                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                            
                            ==========================================================================
                            
                            pi@raspberrypi:~ $
                            pi@raspberrypi:~ $ iob update
                            Used repository: stable
                            Adapter    "admin"        : 7.0.22   , installed 7.0.22
                            Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                            Adapter    "ble"          : 0.14.0   , installed 0.14.0
                            Adapter    "discovery"    : 4.5.0    , installed 4.5.0
                            Adapter    "ds18b20"      : 2.0.5    , installed 2.0.5
                            Adapter    "enet"         : 1.0.1    , installed 1.0.1
                            Adapter    "javascript"   : 8.7.6    , installed 8.7.6
                            Controller "js-controller": 6.0.9    , installed 5.0.12 [Updatable]
                            Adapter    "linkeddevices": 1.5.5    , installed 1.5.5
                            Adapter    "modbus"       : 6.2.3    , installed 6.1.0  [Updatable]
                            Adapter    "node-red"     : 5.2.1    , installed 5.2.1
                            Adapter    "proxy"        : 1.3.2    , installed 1.3.2
                            Adapter    "radar2"       : 2.2.0    , installed 2.1.0  [Updatable]
                            Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                            Adapter    "shelly"       : 7.0.0    , installed 7.0.0
                            Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                            Adapter    "smartmeter"   : 3.4.0    , installed 3.4.0
                            Adapter    "socketio"     : 6.7.0    , installed 6.7.0
                            Adapter    "sonoff"       : 3.1.0    , installed 3.0.3  [Updatable]
                            Adapter    "tr-064"       : 4.3.0    , installed 4.2.18 [Updatable]
                            Adapter    "vis"          : 1.5.6    , installed 1.5.6
                            Adapter    "web"          : 6.2.5    , installed 6.2.5
                            Adapter    "withings"     : 0.0.13   , installed 0.0.13
                            Adapter    "ws"           : 2.6.1    , installed 2.6.1
                            Adapter    "yahka"        : 1.0.3    , installed 1.0.3
                            pi@raspberrypi:~ $ iob upgrade all -y
                            Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19
                            Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19
                            Update radar2 from @2.1.0 to @2.2.0
                            NPM version: 10.8.1
                            Installing iobroker.radar2@2.2.0... (System call)
                            npm error code 7
                            npm error path /opt/iobroker/node_modules/@abandonware/noble
                            npm error command failed
                            npm error command sh -c node-gyp-build
                            npm error gyp ERR! UNCAUGHT EXCEPTION
                            npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                            npm error gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                            npm error gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                            npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                            npm error gyp ERR! System Linux 6.1.21-v7+
                            npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            npm error gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble
                            npm error gyp ERR! node -v v20.16.0
                            npm error gyp ERR! node-gyp -v v7.1.2
                            npm error gyp ERR! Node-gyp failed to build your package.
                            npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-03T05_13_06_761Z-debug-0.log
                            host.raspberrypi Cannot install iobroker.radar2@2.2.0: 7
                            pi@raspberrypi:~ $ iob upgrade self
                            Update js-controller from @5.0.12 to @6.0.9
                            Stopped Objects DB
                            Stopped States DB
                            NPM version: 10.8.1
                            Installing iobroker.js-controller@6.0.9... (System call)
                            Try to solve ENOTEMPTY error automatically
                            Could not handle ENOTEMPTY, because no deletable files were found
                            npm error code ENOTEMPTY
                            npm error syscall rename
                            npm error path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                            npm error dest /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo
                            npm error errno -39
                            npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket' -> '/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo'
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-03T05_14_51_457Z-debug-0.log
                            host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @stoffel67 last edited by

                              @stoffel67

                              Schmeiß den radar2-Adapter mal raus.
                              Dann nochmal wie zuvor.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                stoffel67 @Thomas Braun last edited by

                                @thomas-braun
                                das hab ich gemacht… Instanz gelöscht, muss ich noch den Adapter (unter Adapter) löschen?

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

                                  @stoffel67

                                  Ja natürlich den Adapter.

                                  1 Reply Last reply Reply Quote 0
                                  • mcm1957
                                    mcm1957 @stoffel67 last edited by

                                    @stoffel67 said in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:

                                    @thomas-braun
                                    das hab ich gemacht… Instanz gelöscht, muss ich noch den Adapter (unter Adapter) löschen?

                                    Instanz löschen:
                                    löscht im wesentlichen die Konfigurationsdaten und States einer Instanz. Der Code des Adapetrs wird dabei nicht gelöscht.

                                    Adapter löschen:
                                    Löscht den Adaptercode und seine Dependencies
                                    Löscht auch alle Instanzen.

                                    S 1 Reply Last reply Reply Quote 1
                                    • S
                                      stoffel67 @mcm1957 last edited by

                                      @mcm1957
                                      es ist seltsam, ichbekomm den Adapter nicht weg....

                                      $ iobroker del radar2 --debug
                                      Delete adapter "radar2"
                                      host.raspberrypi Counted 1 meta of radar2
                                      host.raspberrypi Counted 1 adapter for radar2
                                      host.raspberrypi Counted 1 states (io.radar2.*) from states
                                      host.raspberrypi Counted 1 states (system.adapter.radar2.*) from states
                                      host.raspberrypi file radar2.admin deleted
                                      host.raspberrypi object radar2 deleted
                                      host.raspberrypi object radar2.admin deleted
                                      host.raspberrypi Deleting 2 object(s).
                                      host.raspberrypi Deleting 2 state(s).
                                      Error deleting adapter radar2 from disk: host.raspberrypi: Cannot uninstall iobroker.radar2: 217
                                      You might have to delete it yourself!
                                      Process exited with code 0
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @stoffel67 last edited by

                                        @stoffel67

                                        iob fix
                                        iob list adapters
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          stoffel67 @Thomas Braun last edited by stoffel67

                                          @thomas-braun
                                          auf ein neues...

                                          pi@raspberrypi:/opt/iobroker $ iob fix
                                          library: loaded
                                          Library version=2024-05-24
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2024-01-04
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/5)
                                          ==========================================================================
                                          
                                          Holen:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
                                          OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                                          OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease
                                          Es wurden 15,0 kB in 2 s geholt (6.669 B/s).
                                          Paketlisten werden gelesen… Fertig
                                          
                                          ==========================================================================
                                              Checking ioBroker user and directory permissions (2/5)
                                          ==========================================================================
                                          
                                          Created /etc/sudoers.d/iobroker
                                          Fixing directory permissions...
                                          
                                          ==========================================================================
                                              Check and cleanup npm temporary directories (3/5)
                                          ==========================================================================
                                          
                                          Done.
                                          
                                          ==========================================================================
                                              Database maintenance (4/5)
                                          ==========================================================================
                                          
                                          Checking for uncompressed JSONL databases... This might take a while!
                                          
                                          Compressing /opt/iobroker/iobroker-data/states.jsonl
                                          Compressing /opt/iobroker/iobroker-data/objects.jsonl
                                          Compressed 2 JSONL files. Done
                                          
                                          ==========================================================================
                                              Checking autostart (5/5)
                                          ==========================================================================
                                          
                                          Enabling autostart...
                                          Autostart enabled!
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          pi@raspberrypi:/opt/iobroker $ iob list adapters
                                          system.adapter.admin                   : admin          - v7.0.22
                                          system.adapter.backitup                : backitup       - v2.11.0
                                          system.adapter.discovery               : discovery      - v4.5.0
                                          system.adapter.ds18b20                 : ds18b20        - v2.0.5
                                          system.adapter.enet                    : enet           - v1.0.1
                                          system.adapter.info                    : info           - v1.9.26
                                          system.adapter.javascript              : javascript     - v8.7.6
                                          system.adapter.linkeddevices           : linkeddevices  - v1.5.5
                                          system.adapter.modbus                  : modbus         - v6.1.0
                                          system.adapter.node-red                : node-red       - v5.2.1
                                          system.adapter.palazzetti              : palazzetti     - v0.0.6
                                          system.adapter.proxy                   : proxy          - v1.3.2
                                          system.adapter.rpi2                    : rpi2           - v1.3.2
                                          system.adapter.shelly                  : shelly         - v7.0.0
                                          system.adapter.simple-api              : simple-api     - v2.8.0
                                          system.adapter.slideshow               : slideshow      - v0.1.4
                                          system.adapter.smartmeter              : smartmeter     - v3.4.0
                                          system.adapter.socketio                : socketio       - v6.7.0
                                          system.adapter.sonoff                  : sonoff         - v3.0.3
                                          system.adapter.terminal                : terminal       - v0.2.2
                                          system.adapter.tr-064                  : tr-064         - v4.2.18
                                          system.adapter.vis                     : vis            - v1.5.6
                                          system.adapter.vw-connect              : vw-connect     - v0.0.67
                                          system.adapter.web                     : web            - v6.2.5
                                          system.adapter.withings                : withings       - v0.0.13
                                          system.adapter.ws                      : ws             - v2.6.1
                                          system.adapter.yahka                   : yahka          - v1.0.3
                                          pi@raspberrypi:/opt/iobroker $
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @stoffel67 last edited by

                                            @stoffel67
                                            Also ist sowohl ble wie auch radar2 nun weg.

                                            iob update
                                            iog upgrade all -y
                                            iob stop 
                                            iob upgrade self
                                            iob start
                                            
                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            654
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            54
                                            2676
                                            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