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 @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
                                      • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            689
                                            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