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. ioBroker Allgemein
  4. iobroker startet nicht nach node-js Update 16.18.1

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

iobroker startet nicht nach node-js Update 16.18.1

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
errorupdate nodejs
55 Beiträge 5 Kommentatoren 5.4k Aufrufe 4 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.
  • K KaFaBe

    @thomas-braun sagte in iobroker startet nicht nach node-js Update 16.18.1:

    @kafabe

    Zunächst mal ordentlich mit dem System agieren.
    Leg dir einen User für das tägliche Geschäft an.

    Zu Fehler 25: Ist oben angepinnt.

    Ok, werde einen normalen User anlegen.

    Hatte versucht Fehler 25 zu beheben. Scheinbar ohne Erfolg.
    Oder liegt es am Benutzer?

    root@odroid:/opt/iobroker/node_modules# for i in $(find /opt/iobroker/node_m                                                                                                                         odules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf $                                                                                                                         {i%%/}; done
    root@odroid:/opt/iobroker/node_modules# cd
    root@odroid:~# iobroker start
    root@odroid:~# iobroker status
    node:internal/modules/cjs/loader:988
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller                                                                                                                         /iobroker.js'
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:98                                                                                                                         5:15)
        at Function.Module._load (node:internal/modules/cjs/loader:833:27)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/ru                                                                                                                         n_main:81:12)
        at node:internal/main/run_main_module:22:47 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    root@odroid:~# sudo -H -u iobroker npm install iobroker.js-controller
    npm ERR! code EACCES
    npm ERR! syscall mkdir
    npm ERR! path /root/node_modules/iobroker.js-controller
    npm ERR! errno -13
    npm ERR! Error: EACCES: permission denied, mkdir '/root/node_modules/iobroke                                                                                                                         r.js-controller'
    npm ERR!  [Error: EACCES: permission denied, mkdir '/root/node_modules/iobro                                                                                                                         ker.js-controller'] {
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'mkdir',
    npm ERR!   path: '/root/node_modules/iobroker.js-controller'
    npm ERR! }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as                                                                                                                          the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-che                                                                                                                         ck the
    npm ERR! permissions of the file and its containing directories, or try runn                                                                                                                         ing
    npm ERR! the command again as root/Administrator.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2022-11-22T12_55_45_027Z-debug-0.log
    root@odroid:~#
    
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #44

    @kafabe

    Natürlich liegt es am Nutzer. Und daran, dass du im falschen Verzeichnis stehst.

    UND LEG DIR EINEN USER AN UND LASS DEN root IN RUHE!!!!!

    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

    K 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @kafabe

      Natürlich liegt es am Nutzer. Und daran, dass du im falschen Verzeichnis stehst.

      UND LEG DIR EINEN USER AN UND LASS DEN root IN RUHE!!!!!

      K Offline
      K Offline
      KaFaBe
      schrieb am zuletzt editiert von
      #45

      @thomas-braun
      Hab es leider nicht geschafft, auch nicht mit einem anderen Benutzer.

      Unter root lief das System mehrere Jahre ohne Probleme.

      iobroker und Homeassistent auf Fujitsu 740. KNX für Licht+Steckdose+Rollladen, Homematic für Thermostate und Rauchmelder, Zigbee. Zwei SMA Wechselrichter und drei Hoymiles Wechselrichter

      HomoranH Thomas BraunT 2 Antworten Letzte Antwort
      0
      • K KaFaBe

        @thomas-braun
        Hab es leider nicht geschafft, auch nicht mit einem anderen Benutzer.

        Unter root lief das System mehrere Jahre ohne Probleme.

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #46

        @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

        mehrere Jahre ohne Probleme.

        und hat die Rechte mittlerweile dermaßen verbogen dass

        @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

        npm ERR! code EACCES

        der arme user iobroker natürlich nicht an

        @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

        path /root/node_modules/iobroker.js-controller

        heran darf.

        nicht nur root, auch noc sudo!
        beides nogo

        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
        0
        • K KaFaBe

          @thomas-braun
          Hab es leider nicht geschafft, auch nicht mit einem anderen Benutzer.

          Unter root lief das System mehrere Jahre ohne Probleme.

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

          @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

          Unter root lief das System mehrere Jahre ohne Probleme.

          Das sehe ich...
          Mein System ohne aktivem root läuft auch seit Jahren ohne Probleme. Ich würde behaupten mit weniger Problemen als dein System.

          Und was kommt jetzt mit einem Standarduser bei

          cd /opt/iobroker
          sudo -H -u iobroker npm install iobroker.js-controller
          

          um die Ecke?

          Danach die Installation reparieren.

          iob stop
          iob fix
          iob start
          

          Künftig nicht per Dauer-root das System schleichend wegkippen lassen.

          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

          K 1 Antwort Letzte Antwort
          1
          • Thomas BraunT Thomas Braun

            @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

            Unter root lief das System mehrere Jahre ohne Probleme.

            Das sehe ich...
            Mein System ohne aktivem root läuft auch seit Jahren ohne Probleme. Ich würde behaupten mit weniger Problemen als dein System.

            Und was kommt jetzt mit einem Standarduser bei

            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            

            um die Ecke?

            Danach die Installation reparieren.

            iob stop
            iob fix
            iob start
            

            Künftig nicht per Dauer-root das System schleichend wegkippen lassen.

            K Offline
            K Offline
            KaFaBe
            schrieb am zuletzt editiert von
            #48

            @thomas-braun sagte in iobroker startet nicht nach node-js Update 16.18.1:

            @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

            Unter root lief das System mehrere Jahre ohne Probleme.

            Das sehe ich...
            Mein System ohne aktivem root läuft auch seit Jahren ohne Probleme. Ich würde behaupten mit weniger Problemen als dein System.

            Und was kommt jetzt mit einem Standarduser bei

            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            

            um die Ecke?

            npm ERR! code ENOTEMPTY
            npm ERR! syscall rename
            npm ERR! path /opt/iobroker/node_modules/node-dht-sensor
            npm ERR! dest /opt/iobroker/node_modules/.node-dht-sensor-QmYjQqky
            npm ERR! errno -39
            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-dht-sensor' -> '/opt/iobroker/node_modules/.node-dht-sensor-QmYjQqky'
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-11-28T10_08_51_377Z-debug-0.log
            $

            iobroker und Homeassistent auf Fujitsu 740. KNX für Licht+Steckdose+Rollladen, Homematic für Thermostate und Rauchmelder, Zigbee. Zwei SMA Wechselrichter und drei Hoymiles Wechselrichter

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • K KaFaBe

              @thomas-braun sagte in iobroker startet nicht nach node-js Update 16.18.1:

              @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

              Unter root lief das System mehrere Jahre ohne Probleme.

              Das sehe ich...
              Mein System ohne aktivem root läuft auch seit Jahren ohne Probleme. Ich würde behaupten mit weniger Problemen als dein System.

              Und was kommt jetzt mit einem Standarduser bei

              cd /opt/iobroker
              sudo -H -u iobroker npm install iobroker.js-controller
              

              um die Ecke?

              npm ERR! code ENOTEMPTY
              npm ERR! syscall rename
              npm ERR! path /opt/iobroker/node_modules/node-dht-sensor
              npm ERR! dest /opt/iobroker/node_modules/.node-dht-sensor-QmYjQqky
              npm ERR! errno -39
              npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-dht-sensor' -> '/opt/iobroker/node_modules/.node-dht-sensor-QmYjQqky'
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-11-28T10_08_51_377Z-debug-0.log
              $
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #49

              @kafabe

              https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

              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

              K 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @kafabe

                https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

                K Offline
                K Offline
                KaFaBe
                schrieb am zuletzt editiert von
                #50

                @thomas-braun sagte in iobroker startet nicht nach node-js Update 16.18.1:

                @kafabe

                https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

                Danke habe ich ausgeführt.
                Hat wohl nichts gebracht.

                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                
                $ iob start
                $ iob status
                node:internal/modules/cjs/loader:988
                  throw err;
                  ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                                     roker.js'
                    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15                                     )
                    at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma                                     in:81:12)
                    at node:internal/main/run_main_module:22:47 {
                  code: 'MODULE_NOT_FOUND',
                  requireStack: []
                }
                $ sudo -H -u iobroker npm install iobroker.js-controller
                npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
                npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated later@1.2.0: Please upgrade to the maintained and new drop-in replacement @breejs/later at https://github.com/breejs/later 🚀 Thanks and happy hacking! 🚀  @niftylettuce
                npm WARN cleanup Failed to remove some directories [
                npm WARN cleanup   [
                npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                npm WARN cleanup       errno: -39,
                npm WARN cleanup       code: 'ENOTEMPTY',
                npm WARN cleanup       syscall: 'rmdir',
                npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                npm WARN cleanup     }
                npm WARN cleanup   ],
                npm WARN cleanup   [
                npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                npm WARN cleanup       errno: -39,
                npm WARN cleanup       code: 'ENOTEMPTY',
                npm WARN cleanup       syscall: 'rmdir',
                npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                npm WARN cleanup     }
                npm WARN cleanup   ],
                npm WARN cleanup   [
                npm WARN cleanup     '/opt/iobroker/node_modules/node-dht-sensor',
                npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-dht-sensor'] {
                npm WARN cleanup       errno: -39,
                npm WARN cleanup       code: 'ENOTEMPTY',
                npm WARN cleanup       syscall: 'rmdir',
                npm WARN cleanup       path: '/opt/iobroker/node_modules/node-dht-sensor'
                npm WARN cleanup     }
                npm WARN cleanup   ],
                npm WARN cleanup   [
                npm WARN cleanup     '/opt/iobroker/node_modules/node-dht-sensor',
                npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-dht-sensor'] {
                npm WARN cleanup       errno: -39,
                npm WARN cleanup       code: 'ENOTEMPTY',
                npm WARN cleanup       syscall: 'rmdir',
                npm WARN cleanup       path: '/opt/iobroker/node_modules/node-dht-sensor'
                npm WARN cleanup     }
                npm WARN cleanup   ]
                npm WARN cleanup ]
                npm ERR! code 24
                npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                npm ERR! command failed
                npm ERR! command sh -c node iobroker.js setup first
                npm ERR! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-11-28T10_19_20_911Z-debug-0.log
                $ pwd
                /opt/iobroker
                $
                
                

                iobroker und Homeassistent auf Fujitsu 740. KNX für Licht+Steckdose+Rollladen, Homematic für Thermostate und Rauchmelder, Zigbee. Zwei SMA Wechselrichter und drei Hoymiles Wechselrichter

                HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                0
                • K KaFaBe

                  @thomas-braun sagte in iobroker startet nicht nach node-js Update 16.18.1:

                  @kafabe

                  https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

                  Danke habe ich ausgeführt.
                  Hat wohl nichts gebracht.

                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  $ iob start
                  $ iob status
                  node:internal/modules/cjs/loader:988
                    throw err;
                    ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                                     roker.js'
                      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15                                     )
                      at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma                                     in:81:12)
                      at node:internal/main/run_main_module:22:47 {
                    code: 'MODULE_NOT_FOUND',
                    requireStack: []
                  }
                  $ sudo -H -u iobroker npm install iobroker.js-controller
                  npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
                  npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                  npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                  npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                  npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                  npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                  npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                  npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                  npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                  npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                  npm WARN deprecated later@1.2.0: Please upgrade to the maintained and new drop-in replacement @breejs/later at https://github.com/breejs/later 🚀 Thanks and happy hacking! 🚀  @niftylettuce
                  npm WARN cleanup Failed to remove some directories [
                  npm WARN cleanup   [
                  npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                  npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                  npm WARN cleanup       errno: -39,
                  npm WARN cleanup       code: 'ENOTEMPTY',
                  npm WARN cleanup       syscall: 'rmdir',
                  npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                  npm WARN cleanup     }
                  npm WARN cleanup   ],
                  npm WARN cleanup   [
                  npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                  npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                  npm WARN cleanup       errno: -39,
                  npm WARN cleanup       code: 'ENOTEMPTY',
                  npm WARN cleanup       syscall: 'rmdir',
                  npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                  npm WARN cleanup     }
                  npm WARN cleanup   ],
                  npm WARN cleanup   [
                  npm WARN cleanup     '/opt/iobroker/node_modules/node-dht-sensor',
                  npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-dht-sensor'] {
                  npm WARN cleanup       errno: -39,
                  npm WARN cleanup       code: 'ENOTEMPTY',
                  npm WARN cleanup       syscall: 'rmdir',
                  npm WARN cleanup       path: '/opt/iobroker/node_modules/node-dht-sensor'
                  npm WARN cleanup     }
                  npm WARN cleanup   ],
                  npm WARN cleanup   [
                  npm WARN cleanup     '/opt/iobroker/node_modules/node-dht-sensor',
                  npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-dht-sensor'] {
                  npm WARN cleanup       errno: -39,
                  npm WARN cleanup       code: 'ENOTEMPTY',
                  npm WARN cleanup       syscall: 'rmdir',
                  npm WARN cleanup       path: '/opt/iobroker/node_modules/node-dht-sensor'
                  npm WARN cleanup     }
                  npm WARN cleanup   ]
                  npm WARN cleanup ]
                  npm ERR! code 24
                  npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                  npm ERR! command failed
                  npm ERR! command sh -c node iobroker.js setup first
                  npm ERR! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2022-11-28T10_19_20_911Z-debug-0.log
                  $ pwd
                  /opt/iobroker
                  $
                  
                  
                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #51

                  @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

                  Danke habe ich ausgeführt.

                  wo?

                  on deinem Output seh ich nichts davon

                  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 -

                  K 1 Antwort Letzte Antwort
                  0
                  • K KaFaBe

                    @thomas-braun sagte in iobroker startet nicht nach node-js Update 16.18.1:

                    @kafabe

                    https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

                    Danke habe ich ausgeführt.
                    Hat wohl nichts gebracht.

                        Your installation was fixed successfully
                        Run iobroker start to start ioBroker again!
                    
                    ==========================================================================
                    
                    $ iob start
                    $ iob status
                    node:internal/modules/cjs/loader:988
                      throw err;
                      ^
                    
                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                                     roker.js'
                        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15                                     )
                        at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma                                     in:81:12)
                        at node:internal/main/run_main_module:22:47 {
                      code: 'MODULE_NOT_FOUND',
                      requireStack: []
                    }
                    $ sudo -H -u iobroker npm install iobroker.js-controller
                    npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
                    npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                    npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                    npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                    npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                    npm WARN deprecated later@1.2.0: Please upgrade to the maintained and new drop-in replacement @breejs/later at https://github.com/breejs/later 🚀 Thanks and happy hacking! 🚀  @niftylettuce
                    npm WARN cleanup Failed to remove some directories [
                    npm WARN cleanup   [
                    npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                    npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                    npm WARN cleanup       errno: -39,
                    npm WARN cleanup       code: 'ENOTEMPTY',
                    npm WARN cleanup       syscall: 'rmdir',
                    npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                    npm WARN cleanup     }
                    npm WARN cleanup   ],
                    npm WARN cleanup   [
                    npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                    npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                    npm WARN cleanup       errno: -39,
                    npm WARN cleanup       code: 'ENOTEMPTY',
                    npm WARN cleanup       syscall: 'rmdir',
                    npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                    npm WARN cleanup     }
                    npm WARN cleanup   ],
                    npm WARN cleanup   [
                    npm WARN cleanup     '/opt/iobroker/node_modules/node-dht-sensor',
                    npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-dht-sensor'] {
                    npm WARN cleanup       errno: -39,
                    npm WARN cleanup       code: 'ENOTEMPTY',
                    npm WARN cleanup       syscall: 'rmdir',
                    npm WARN cleanup       path: '/opt/iobroker/node_modules/node-dht-sensor'
                    npm WARN cleanup     }
                    npm WARN cleanup   ],
                    npm WARN cleanup   [
                    npm WARN cleanup     '/opt/iobroker/node_modules/node-dht-sensor',
                    npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/node-dht-sensor'] {
                    npm WARN cleanup       errno: -39,
                    npm WARN cleanup       code: 'ENOTEMPTY',
                    npm WARN cleanup       syscall: 'rmdir',
                    npm WARN cleanup       path: '/opt/iobroker/node_modules/node-dht-sensor'
                    npm WARN cleanup     }
                    npm WARN cleanup   ]
                    npm WARN cleanup ]
                    npm ERR! code 24
                    npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                    npm ERR! command failed
                    npm ERR! command sh -c node iobroker.js setup first
                    npm ERR! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-11-28T10_19_20_911Z-debug-0.log
                    $ pwd
                    /opt/iobroker
                    $
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #52

                    @kafabe

                    Bitte VOLLSTÄNDIG posten. Inkl. LogIn prompt. Damit man sich da zurechtfindet.

                    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
                    • HomoranH Homoran

                      @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

                      Danke habe ich ausgeführt.

                      wo?

                      on deinem Output seh ich nichts davon

                      K Offline
                      K Offline
                      KaFaBe
                      schrieb am zuletzt editiert von
                      #53

                      @homoran sagte in iobroker startet nicht nach node-js Update 16.18.1:

                      @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

                      Danke habe ich ausgeführt.

                      wo?

                      on deinem Output seh ich nichts davon

                      Last login: Mon Nov 28 11:08:23 2022 from 192.168.0.42
                      $ cd /opt/iobroker/node_modules
                      $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -ina                                     me ".local-chromium"); do rm -rf ${i%%/}; done
                      $ cd
                      $ cd /opt/iobroker
                      $ iob stop
                      $ iob fix
                      
                      

                      iobroker und Homeassistent auf Fujitsu 740. KNX für Licht+Steckdose+Rollladen, Homematic für Thermostate und Rauchmelder, Zigbee. Zwei SMA Wechselrichter und drei Hoymiles Wechselrichter

                      Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                      0
                      • K KaFaBe

                        @homoran sagte in iobroker startet nicht nach node-js Update 16.18.1:

                        @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

                        Danke habe ich ausgeführt.

                        wo?

                        on deinem Output seh ich nichts davon

                        Last login: Mon Nov 28 11:08:23 2022 from 192.168.0.42
                        $ cd /opt/iobroker/node_modules
                        $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -ina                                     me ".local-chromium"); do rm -rf ${i%%/}; done
                        $ cd
                        $ cd /opt/iobroker
                        $ iob stop
                        $ iob fix
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #54

                        @kafabe

                        Warum hast du kein Login prompt?

                        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
                        • K KaFaBe

                          @homoran sagte in iobroker startet nicht nach node-js Update 16.18.1:

                          @kafabe sagte in iobroker startet nicht nach node-js Update 16.18.1:

                          Danke habe ich ausgeführt.

                          wo?

                          on deinem Output seh ich nichts davon

                          Last login: Mon Nov 28 11:08:23 2022 from 192.168.0.42
                          $ cd /opt/iobroker/node_modules
                          $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -ina                                     me ".local-chromium"); do rm -rf ${i%%/}; done
                          $ cd
                          $ cd /opt/iobroker
                          $ iob stop
                          $ iob fix
                          
                          
                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von Homoran
                          #55

                          @kafabe wo bist du da?
                          ich sehe den vollständigen Prompt nicht

                          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
                          0
                          Antworten
                          • In einem neuen Thema antworten
                          Anmelden zum Antworten
                          • Älteste zuerst
                          • Neuste zuerst
                          • Meiste Stimmen


                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          889

                          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