Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. backitup meldet Cannot find module 'fs-constants'

    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

    UNSOLVED backitup meldet Cannot find module 'fs-constants'

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Bernd1971 last edited by

      @Bernd1971 sagte in backitup meldet Cannot find module 'fs-constants':

      Bitte Konsolentext in CodeTags </> packen.

      cd /opt/iobroker
      npm list fs-constants
      
      B 1 Reply Last reply Reply Quote 0
      • B
        Bernd1971 @Thomas Braun last edited by

        @Thomas-Braun
        Ich hoffe das klappt...

        +-- iobroker.backitup@1.8.4
        | `-- targz@1.0.1
        |   `-- tar-fs@1.16.3
        |     `-- tar-stream@1.6.2
        |       `-- fs-constants@1.0.0
        +-- iobroker.discovery@2.4.1
        | `-- serialport@9.0.4
        |   `-- @serialport/bindings@9.0.4
        |     `-- prebuild-install@6.0.0
        |       `-- tar-fs@2.1.1
        |         `-- tar-stream@2.1.4
        |           `-- fs-constants@1.0.0  deduped
        +-- node-red-node-serialport@0.8.8
        | `-- serialport@7.1.5
        |   `-- @serialport/bindings@2.0.8
        |     `-- prebuild-install@5.3.3
        |       `-- tar-fs@2.0.0
        |         `-- tar-stream@2.1.0
        |           `-- fs-constants@1.0.0  deduped
        `-- serialport@8.0.5
          `-- @serialport/bindings@8.0.4
            `-- prebuild-install@5.3.3
              `-- tar-fs@2.0.0
                `-- tar-stream@2.1.0
                  `-- fs-constants@1.0.0  deduped
        
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Bernd1971 last edited by

          @Bernd1971 Eigentlich passt das...

          ls -la /opt/iobroker/node_modules/fs-constants/
          
          B 1 Reply Last reply Reply Quote 0
          • B
            Bernd1971 @Thomas Braun last edited by Homoran

            @Thomas-Braun

            total 28
            drwxrwxrwx+   2 iobroker iobroker  4096 Nov  9  2019 .
            drwxrwxrwx+ 695 iobroker iobroker 20480 Jan 11 19:05 ..
            -rwxrwxrwx+   1 iobroker iobroker  1011 Nov  9  2019 package.json
            

            MOD-Edit: Code-tags gefixt!

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

              @Bernd1971
              Da ist der Fehler.
              Das muss so aussehen:

              pi@raspberrypi:/opt/iobroker $ ls -la /opt/iobroker/node_modules/fs-constants/
              insgesamt 52
              drwxrwxr-x+   2 iobroker iobroker  4096 Aug 28 22:25 .
              drwxrwxr-x+ 656 iobroker iobroker 28672 Jan 11 00:10 ..
              -rw-rwxr--+   1 iobroker iobroker    38 Apr 26  2018 browser.js
              -rw-rwxr--+   1 iobroker iobroker    65 Apr 26  2018 index.js
              -rw-rwxr--+   1 iobroker iobroker  1079 Jan  1  2018 LICENSE
              -rw-rwxr--+   1 iobroker iobroker  1366 Aug 28 22:25 package.json
              -rw-rwxr--+   1 iobroker iobroker   528 Apr 26  2018 README.md
              
              B 1 Reply Last reply Reply Quote 0
              • B
                Bernd1971 @Thomas Braun last edited by

                @Thomas-Braun cool, gibt es dazu ein fixer-fix? soweit ich das verstehe, habe ich gar keinen iobroker user....

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

                  @Bernd1971

                  dmesg | grep -i ext4
                  

                  dann mal

                  iobroker del iobroker.backitup
                  cd /opt/iobroker 
                  npm prune
                  npm cache clean --force
                  iobroker add backitup
                  
                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Bernd1971 last edited by Thomas Braun

                    @Bernd1971 sagte in backitup meldet Cannot find module 'fs-constants':

                    soweit ich das verstehe, habe ich gar keinen iobroker user....

                    Klar...

                    sudo -u iobroker whoami && sudo -u iobroker id
                    

                    Allerdings sind bei dir auch die Rechte verfummelt. Wie haste das denn hinbekommen? Als root rekursiv irgendwelchen Blödsinn auf das System gegossen? Da kommt das nämlich meistens her.

                    Gibt da u. a. so bestimmte Super-Youtuber mit irgendwelchen Blödsinns-Tools, die das empfehlen, sonst würde ihr SuperMEGA-Tool nicht funktionieren.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Bernd1971 @Thomas Braun last edited by

                      @Thomas-Braun ich sag mal so, man fängt am Anfang mit wenig Ahnung an und arbeitet sich dann die Leiter der Kompetenz hoch.

                      B Thomas Braun 2 Replies Last reply Reply Quote 0
                      • B
                        Bernd1971 @Bernd1971 last edited by

                        @Bernd1971 also ... alle befehle abgearbeitet .. allerdings gleiches ergebnis

                        total 28
                        drwxrwxrwx+   2 iobroker iobroker  4096 Nov  9  2019 .
                        drwxrwxrwx+ 680 iobroker iobroker 20480 Jan 11 19:50 ..
                        -rwxrwxrwx+   1 iobroker iobroker  1011 Nov  9  2019 package.json
                        
                        
                        B 1 Reply Last reply Reply Quote 0
                        • B
                          Bernd1971 @Bernd1971 last edited by

                          sudo -u iobroker whoami && sudo -u iobroker id
                          iobroker
                          uid=1000(iobroker) gid=1000(iobroker) groups=1000(iobroker),5(tty),20(dialout),29(audio),44(video)
                          
                          
                          B 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Bernd1971 last edited by

                            @Bernd1971 Man sollte aber bei der Auswahl der Leiterhalter vorsichtig sein. Manche Sprossen sind da etwas morsch.

                            whoami
                            
                            B 1 Reply Last reply Reply Quote 0
                            • B
                              Bernd1971 @Bernd1971 last edited by

                              su iobroker
                              This account is currently not available.
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Bernd1971 last edited by

                                @Bernd1971
                                Du bist permanent als root unterwegs, oder?

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  Bernd1971 @Thomas Braun last edited by

                                  @Thomas-Braun Ja, ich hatte NULL Ahnung am Anfang, aber Hilfe von jemand mit unendlich mal mehr Ahnung...

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Bernd1971 @Thomas Braun last edited by

                                    @Thomas-Braun auf der kiste, leider ja

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

                                      @Bernd1971 Dann brauchen wir gar nicht weiter machen.
                                      Du legst dir jetzt einen user mit einer Mitgliedschaft in der Gruppe 'sudo' an. Und dann meldest du dich nie mehr als root an.

                                      Am besten machst du das System ohnehin komplett neu, wer weiß was du dir da sonst noch zerschossen hast.

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        Bernd1971 @Thomas Braun last edited by

                                        @Thomas-Braun tut mir leid, dass ich das falsch gemacht habe

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

                                          @Bernd1971
                                          Bei mir musst du dich nicht entschuldigen.

                                          Wie gesagt, ICH würde das System jetzt neuaufsetzen und mich bei dem "jemand mit unendlich mal mehr Ahnung" bedanken.

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            Bernd1971 @Thomas Braun last edited by

                                            @Thomas-Braun Okay, danke Dir. Das mache ich dann mal - allerdings nicht mehr heute. Wie sollte ich deiner Meinung nach genau vorgehen? Das komplette Linux neu installieren? gibt es da ein Hau-to? .... damit ich nicht wieder was falsch mache?

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            624
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup fs-constants
                                            4
                                            36
                                            1748
                                            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