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 last edited by

      @xxx_turbo_xxx

      Und? Lüppt das nun wieder?

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

        leider nicht. Ich fürchte da ist jetzt alles am A*sch... Komm jetzt plötzlich nicht mal mehr per SSH auf den Raspi 😢

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

          So... Nochmal ab und wieder angestöpselt...

          pi@raspberrypi:~ $ iobroker status
          node:internal/modules/cjs/loader:988
            throw err;
            ^
          
          Error: Cannot find module 'graceful-fs'
          Require stack:
          - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/fs                                     /index.js
          - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/in                                     dex.js
          - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
          - /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 Module.require (node:internal/modules/cjs/loader:1057:19)
              at require (node:internal/modules/cjs/helpers:103:18)
              at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/nod                                     e_modules/fs-extra/lib/fs/index.js:5:12)
              at Module._compile (node:internal/modules/cjs/loader:1155:14)
              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
              at Module.load (node:internal/modules/cjs/loader:1033:32)
              at Function.Module._load (node:internal/modules/cjs/loader:868:12)
              at Module.require (node:internal/modules/cjs/loader:1057:19) {
            code: 'MODULE_NOT_FOUND',
            requireStack: [
              '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib                                     /fs/index.js',
              '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib                                     /index.js',
              '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
              '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            ]
          }
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @xxx_turbo_xxx last edited by

            @xxx_turbo_xxx

            Here we go again.

            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            
            1 Reply Last reply Reply Quote 0
            • mickym
              mickym Most Active last edited by mickym

              Ansonsten falls Du so verzweifelt bist und alles nicht hilft, dass Du Neuaufbauen willst/musst, kannst ja noch meine Radikalmethode verwenden. Hilft natürlich nur, wenn Du nicht versuchst Deinen iobroker neu zu installieren und Deine package.json überschreibst.

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

                                            Support us

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

                                            541
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

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