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.
    • Thomas Braun
      Thomas Braun Most Active @mickym last edited by Thomas Braun

      @mickym

      Bin ich zu doof für. Wobei eigentlich auch die ursprüngliche Version das finden muss. Tut es zumindest bei mir im Test-Setup:

      echad@chet:~ $ for i in $(find /home/echad/testverzeichnis -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done
      /home/echad/testverzeichnis/test1/.test-mit-2bindest
      /home/echad/testverzeichnis/test1/.test2-lokali2i
      /home/echad/testverzeichnis/test1/.graceful-fs-i6Qs7iN3
      
      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @xxx_turbo_xxx last edited by

        @xxx_turbo_xxx

        Ich finde in der Abfrage keinen Fehler.

        sudo rm -rf /opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3
        

        sagt?

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

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

          Ich vermute sogar, dass du da versucht hast sharp zu installieren und das komplett daneben gegangen ist.

          Da muss ich zurückrudern, die Dateien hab ich auch:

          echad@chet:~ $ locate gdk-pixbuf-loader.h
          /opt/iobroker/node_modules/sharp/vendor/8.12.2/linux-arm64v8/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h
          /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h
          

          Allerdings mit den korrekten Rechten...

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

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

            Das erste Zeichen ist immer ein Punkt,

            dann würde ich den Punkt escapen \. ein normaler Punkt steht für "beliebiges Zeichen"

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

              @homoran

              Danke.
              Aber der Befehl funktioniert auch mit Wildcards statt RegEx. Keine Ahnung wo es da beim OP klemmt.

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

                                            Support us

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

                                            446
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            error update nodejs
                                            5
                                            55
                                            3123
                                            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