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

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    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

      /opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/db.json
      Ich würde sagen, das Ding spukt da herum.

      cd /opt/iobroker
      npm ls mime-db
      

      sagt?

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

        @thomas-braun

        
        pi@ /home/pi
        └── (empty)
        
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @stoffel67 last edited by

          @stoffel67

          Du sollst ja auch zuvor in das richtige Verzeichnis wechseln...
          Deswegen gebe ich das sogar an.

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

            @thomas-braun
            sorry, hab ich übersehen…

            
            pi@raspberrypi:~ $ cd /opt/iobroker/
            pi@raspberrypi:/opt/iobroker $ npm ls mime-db
            iobroker.inst@3.0.0 /opt/iobroker
            ├─┬ iobroker.admin@7.0.22
            │ └─┬ compression@1.7.4
            │   └─┬ compressible@2.0.18
            │     └── mime-db@1.52.0 deduped
            ├─┬ iobroker.javascript@8.7.6
            │ └─┬ axios@1.7.2
            │   └─┬ form-data@4.0.0
            │     └─┬ mime-types@2.1.35
            │       └── mime-db@ invalid: "1.52.0" from node_modules/iobroker.javascript/node_modules/mime-types
            └─┬ iobroker.web@6.2.5
              └─┬ mime-types@2.1.35
                └── mime-db@1.52.0
            
            npm error code ELSPROBLEMS
            npm error invalid: mime-db@ /opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db
            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_22_41_904Z-debug-0.log
            pi@raspberrypi:/opt/iobroker $
            
            

            die mime-types werden soweitz ich weiß für ein SH1106 Display gebraucht

            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:

              mime-db ist doch da garnicht drin…

              Was ist denn drin?

              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:

                Was ist denn drin?

                lass mich raten...

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

                mime-types

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

                  @thomas-braun
                  ich versteh’s aktuell nicht so richtig…
                  im javascript adapter habe ich zusätzlich npm module
                  „modbus-seriell,i2c-bus,oled-font-5x7,ms5611,basic-ftp“

                  1 Reply Last reply Reply Quote 0
                  • T
                    TT-Tom last edited by

                    @stoffel67
                    Nix mit npm install machen, sondern über

                    iob upgrade self
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      stoffel67 @TT-Tom last edited by

                      @tt-tom
                      OK werden den JS-controller updaten

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

                        @stoffel67

                        
                        pi@raspberrypi:/opt/iobroker $ iob stop
                        pi@raspberrypi:/opt/iobroker $ 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/iobroker.javascript/node_modules/@iobroker/types
                        npm error dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/.types-YI5CT0ue
                        npm error errno -39
                        npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/types' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/.types-YI5CT0ue'
                        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_32_43_299Z-debug-0.log
                        host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217
                        pi@raspberrypi:/opt/iobroker $
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @stoffel67 last edited by

                          @stoffel67

                          Hau den javascript-Adapter nochmal drüber.

                          1 Reply Last reply Reply Quote 0
                          • T
                            TT-Tom @stoffel67 last edited by

                            @stoffel67

                            Das mine-db Problem löst du damit aber nicht.

                            1 Reply Last reply Reply Quote 0
                            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            850
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

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