Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. nach nodeJs update auf 20.16.0 keine Skrpt seite mehr

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    185

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    12
    1
    572

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.8k

nach nodeJs update auf 20.16.0 keine Skrpt seite mehr

Geplant Angeheftet Gesperrt Verschoben Error/Bug
54 Beiträge 5 Kommentatoren 4.9k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T TT-Tom

    @stoffel67
    Nix mit npm install machen, sondern über

    iob upgrade self
    
    S Offline
    S Offline
    stoffel67
    schrieb am zuletzt editiert von
    #21

    @tt-tom
    OK werden den JS-controller updaten

    Mein Adapter: JUNG/GIRA eNet-Adapter

    S Thomas BraunT T 3 Antworten Letzte Antwort
    0
    • S stoffel67

      @tt-tom
      OK werden den JS-controller updaten

      S Offline
      S Offline
      stoffel67
      schrieb am zuletzt editiert von
      #22

      @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 $
      
      

      Mein Adapter: JUNG/GIRA eNet-Adapter

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • S stoffel67

        @tt-tom
        OK werden den JS-controller updaten

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #23

        @stoffel67

        Hau den javascript-Adapter nochmal drüber.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        1 Antwort Letzte Antwort
        0
        • S stoffel67

          @tt-tom
          OK werden den JS-controller updaten

          T Offline
          T Offline
          TT-Tom
          schrieb am zuletzt editiert von
          #24

          @stoffel67

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

          Gruß Tom
          https://github.com/tt-tom17
          Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

          NSPanel Script Wiki
          https://github.com/joBr99/nspanel-lovelace-ui/wiki

          NSPanel Adapter Wiki
          https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

          1 Antwort Letzte Antwort
          0
          • S stoffel67

            @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 BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #25

            @stoffel67

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

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            S 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @stoffel67

              iob stop 
              iob fix
              iob update
              iob upgrade all -y
              iob upgrade self
              
              S Offline
              S Offline
              stoffel67
              schrieb am zuletzt editiert von
              #26

              @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
              
              

              Mein Adapter: JUNG/GIRA eNet-Adapter

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • S stoffel67

                @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 BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #27

                @stoffel67

                iob delete ble
                iob fix
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                S 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @stoffel67

                  iob delete ble
                  iob fix
                  
                  S Offline
                  S Offline
                  stoffel67
                  schrieb am zuletzt editiert von
                  #28

                  @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!
                  
                  

                  Mein Adapter: JUNG/GIRA eNet-Adapter

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • S stoffel67

                    @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 BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #29

                    @stoffel67

                    iob list adapters
                    iob fix
                    

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    S 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @stoffel67

                      iob list adapters
                      iob fix
                      
                      S Offline
                      S Offline
                      stoffel67
                      schrieb am zuletzt editiert von
                      #30

                      @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!
                      
                      ==========================================================================
                      
                      

                      Mein Adapter: JUNG/GIRA eNet-Adapter

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • S stoffel67

                        @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 BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #31

                        @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
                        

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        HomoranH S 2 Antworten Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @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
                          
                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von
                          #32

                          @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!

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          1 Antwort Letzte Antwort
                          1
                          • Thomas BraunT Thomas Braun

                            @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
                            
                            S Offline
                            S Offline
                            stoffel67
                            schrieb am zuletzt editiert von
                            #33

                            @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…

                            Mein Adapter: JUNG/GIRA eNet-Adapter

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • S stoffel67

                              @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 BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #34

                              @stoffel67

                              Du sollst die Befehle einzeln, zeilenweise eingeben.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              S 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @stoffel67

                                Du sollst die Befehle einzeln, zeilenweise eingeben.

                                S Offline
                                S Offline
                                stoffel67
                                schrieb am zuletzt editiert von
                                #35

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

                                Mein Adapter: JUNG/GIRA eNet-Adapter

                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @stoffel67

                                  Du sollst die Befehle einzeln, zeilenweise eingeben.

                                  S Offline
                                  S Offline
                                  stoffel67
                                  schrieb am zuletzt editiert von
                                  #36

                                  @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
                                  

                                  Mein Adapter: JUNG/GIRA eNet-Adapter

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • S stoffel67

                                    @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 BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #37

                                    @stoffel67

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

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    S 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @stoffel67

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

                                      S Offline
                                      S Offline
                                      stoffel67
                                      schrieb am zuletzt editiert von
                                      #38

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

                                      Mein Adapter: JUNG/GIRA eNet-Adapter

                                      Thomas BraunT mcm1957M 2 Antworten Letzte Antwort
                                      0
                                      • S stoffel67

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

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #39

                                        @stoffel67

                                        Ja natürlich den Adapter.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        1 Antwort Letzte Antwort
                                        0
                                        • S stoffel67

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

                                          mcm1957M Online
                                          mcm1957M Online
                                          mcm1957
                                          schrieb am zuletzt editiert von
                                          #40

                                          @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.

                                          Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                                          Support Repositoryverwaltung.

                                          Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                                          LESEN - gute Forenbeitrage

                                          S 1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          928

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe