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

      pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
      npm ERR! code Unknown system error -117
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/graceful-fs
      npm ERR! dest /opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3
      npm ERR! errno -117
      npm ERR! Unknown system error -117: Unknown system error -117, rename '/opt/iobroker/node_modules/graceful-fs' -> '/opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-11-11T11_20_41_275Z-debug-0.log
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @xxx_turbo_xxx last edited by

        @xxx_turbo_xxx

        Das hatten wir doch alles schon...

        Die Verzeichnisse löschen.

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

          habe ich ja versucht, bzw. gemacht... Ändert aber anscheinend nix. Oder hab ich da was falsch verstanden?

          pi@raspberrypi:~ $ cd /opt/iobroker
          pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
          npm ERR! code Unknown system error -117
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/graceful-fs
          npm ERR! dest /opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3
          npm ERR! errno -117
          npm ERR! Unknown system error -117: Unknown system error -117, rename '/opt/iobroker/node_modules/graceful-fs' -> '/opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-11-11T11_20_41_275Z-debug-0.log
          pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker/node_modules
          pi@raspberrypi:/opt/iobroker/node_modules $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
          pi@raspberrypi:/opt/iobroker/node_modules $ ^C
          pi@raspberrypi:/opt/iobroker/node_modules $ cd /opt/iobroker
          pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
          npm ERR! code Unknown system error -117
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/graceful-fs
          npm ERR! dest /opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3
          npm ERR! errno -117
          npm ERR! Unknown system error -117: Unknown system error -117, rename '/opt/iobroker/node_modules/graceful-fs' -> '/opt/iobroker/node_modules/.graceful-fs-i6Qs7iN3'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-11-11T11_26_35_301Z-debug-0.log
          pi@raspberrypi:/opt/iobroker $
          
          
          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @xxx_turbo_xxx last edited by Thomas Braun

            @xxx_turbo_xxx

            Ah, ich glaube da hast du einen 'Fehler' in der RegEx aufgestöbert.
            Komplette Ausgabe zu

            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done 
            

            bitte.

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

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

              Und auch mal bitte

              find /opt/iobroker/node_modules -type d -iname '.*-????????' ! -iname '.local-chromium' | wc -l
              
              1 Reply Last reply Reply Quote 0
              • xxx_turbo_xxx
                xxx_turbo_xxx last edited by

                Beim ersten Befehl passiert nichts (zumindest nicht offensichtlich..
                der Zweite gibt 0 zurück

                pi@raspberrypi:/opt/iobroker/node_modules $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done
                pi@raspberrypi:/opt/iobroker/node_modules $ find /opt/iobroker/node_modules -type d -iname '.*-????????' ! -iname '.local-chromium' | wc -l
                0
                pi@raspberrypi:/opt/iobroker/node_modules $
                
                
                Thomas Braun 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @xxx_turbo_xxx last edited by

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

                  Okay, muss ich mal was überlegen...

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

                    @Homoran
                    Du bist doch so'n RegExer...
                    Was filtert denn das so hin:
                    Das erste Zeichen ist immer ein Punkt, das neunte Zeichen von hinten ist immer ein - und die letzten acht Zeichen sind immer alphanumerisch. Und dazwischen kann alles mögliche sein.

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

                      @thomas-braun Probier das mal

                      \..*-\w{8}$
                      

                      Kannst ja hier ausprobieren: https://regex101.com/r/0A3FpP/1

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

                                            Support us

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

                                            602
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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