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.
    • Homoran
      Homoran Global Moderator Administrators @stoffel67 last edited by

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

      Model : Raspberry Pi 2 Model B Rev 1.1

      ernsthaft?

      mit nur 1GB RAM?

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

      Mem: 921M 379M 219M 7.0M 322M 475M

      und vollkommen verbrauchtem SWAP

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

      Swap: 99M 99M 0.0K

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

      Some problems detected, please run iob fix

      wird zwar nicht mehr viel reißen können, aber musst du mal machen!

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

        @stoffel67

        Den JS-Controller sollte auch auf Version 6.0.9 angepasst werden.

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

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

          Boot Target: graphical.target

          Schalt den Desktop aus... (Inkl. VNC-Server und Drucker-Server und so einem Quark...)

          sudo systemctl set-default multi-user.target
          

          Some problems detected, please run iob fix

          iob stop
          iob fix
          

          Schmeiß das Modul mime-db mal aus dem javascript-Adapter raus. Wozu wird das benötigt?

          Dann die
          Pending iob updates: 5
          auf 0 bringen.

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

            @tt-tom
            js-controller auf 6.0.9 … was muss ich da eingeben, ist dan npm install…

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

              @thomas-braun
              mime-db ist doch da garnicht drin…

              Thomas Braun 2 Replies Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            921
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

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