Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker startet nicht nach node-js Update 16.18.1

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker startet nicht nach node-js Update 16.18.1

    This topic has been deleted. Only users with topic management privileges can see it.
    • xxx_turbo_xxx
      xxx_turbo_xxx last edited by

      Vielen Dank schonmal für euren Support! Habt ihr noch ne Idee wie ich bei meinem Problem weiter komme?

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

        @xxx_turbo_xxx

        sudo rm -rf /opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3
        
        1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @xxx_turbo_xxx last edited by

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

          Vielen Dank schonmal für euren Support! Habt ihr noch ne Idee wie ich bei meinem Problem weiter komme?

          Ich hab Dir ja meine Radikallösung schon gepostet - musst halt machen, wenn Du nicht mehr weiter weißt-

          1 Reply Last reply Reply Quote 0
          • xxx_turbo_xxx
            xxx_turbo_xxx last edited by

            Jungs, tausend Dank! Karre läuft wieder!

            Ihr habt mir viel Arbeit erspart 🙂

            K 1 Reply Last reply Reply Quote 0
            • K
              KaFaBe @xxx_turbo_xxx last edited by

              Bei mir funktioniert iobroker nach dem heutigen Update auf 16.18.1 auch nicht mehr.
              Ich hoffe ihr könnt mir helfen.

              cy nodejs
              aarch64
              Kein Docker
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v16.18.1
              v16.18.1
              8.19.2
              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:985:15)
                  at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                  at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                  at node:internal/main/run_main_module:22:47 {
                code: 'MODULE_NOT_FOUND',
                requireStack: []
              }
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active last edited by

                @kafabe

                js-controller nochmal drüber hauen.

                K 1 Reply Last reply Reply Quote 0
                • K
                  KaFaBe @Thomas Braun last edited by

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

                  @kafabe

                  js-controller nochmal drüber hauen.

                  fix Befehl bereits ausgeführt.
                  Auch Rechte Vergabe nochmal geprüft.
                  js npm nochmal komplett gelöscht mit remove Befehl und neu installiert.
                  Alles ohne Erfolg

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

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

                    js npm nochmal komplett gelöscht mit remove Befehl und neu installiert.

                    Was?

                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller
                    
                    K 1 Reply Last reply Reply Quote 0
                    • K
                      KaFaBe @Thomas Braun last edited by KaFaBe

                      sudo apt --purge remove nodejs
                      hatte ich verwendet

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

                        @kafabe
                        Warum?
                        Installier den js-contoller nochmal.

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          KaFaBe @Thomas Braun last edited by

                          @thomas-braun

                          root@odroid:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller
                          npm ERR! code ENOTEMPTY
                          npm ERR! syscall rename
                          npm ERR! path /opt/iobroker/node_modules/agent-base
                          npm ERR! dest /opt/iobroker/node_modules/.agent-base-ZzrsLltQ
                          npm ERR! errno -39
                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/agent-base' -> '/opt/iobroker/node_modules/.agent-base-ZzrsLltQ'
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2022-11-22T12_28_31_995Z-debug-0.log
                          root@odroid:/opt/iobroker#
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active last edited by

                            @kafabe

                            Fehler 25, außerdem root.

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              KaFaBe @Thomas Braun last edited by

                              @thomas-braun
                              und das bedeutet jetzt was für mich?
                              Ist noch etwas zu retten?

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

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

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  KaFaBe @Thomas Braun last edited by

                                  @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 Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @KaFaBe last edited by

                                    @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 1 Reply Last reply Reply Quote 0
                                    • K
                                      KaFaBe @Thomas Braun last edited by

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

                                      Unter root lief das System mehrere Jahre ohne Probleme.

                                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @KaFaBe last edited by

                                        @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

                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @KaFaBe last edited by 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 1 Reply Last reply Reply Quote 1
                                          • K
                                            KaFaBe @Thomas Braun last edited by

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

                                            Support us

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

                                            938
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            error update nodejs
                                            5
                                            55
                                            3097
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo