Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. npm prune schlägt fehl wegen iobroker.objects-redis

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    npm prune schlägt fehl wegen iobroker.objects-redis

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

      @thomas-braun hat leider nicht geholfen

      iobroker@cerberus:/opt/iobroker$ npm cache clean --force
      npm WARN using --force Recommended protections disabled.
      iobroker@cerberus:/opt/iobroker$
      iobroker@cerberus:/opt/iobroker$
      iobroker@cerberus:/opt/iobroker$ npm prune
      npm WARN skipping integrity check for git dependency ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git
      npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
      npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm ERR! code ENOENT
      npm ERR! syscall open
      npm ERR! path /opt/iobroker/iobroker.objects-redis/package.json
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker.objects-redis/package.json'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-06-21T08_57_28_009Z-debug-0.log
      

      @Homoran welchen komplette Ein- und Ausgabe meinst du?

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

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

        @dqelse sagte in npm prune schlägt fehl wegen iobroker.objects-redis:

        welchen komplette Ein- und Ausgabe meinst du?

        so, wie jetzt, incl prompt, damit man sieht wo du stehst

        dQeLse 1 Reply Last reply Reply Quote 0
        • dQeLse
          dQeLse @Homoran last edited by

          @homoran ok 🙂

          iobroker@cerberus:/opt/iobroker$ npm prune --dry-run
          
          added 94 packages, removed 233 packages, and changed 18 packages in 22s
          
          128 packages are looking for funding
            run `npm fund` for details
          iobroker@cerberus:/opt/iobroker$ npm prune --debug
          npm WARN skipping integrity check for git dependency ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git
          npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
          npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          npm ERR! code ENOENT
          npm ERR! syscall open
          npm ERR! path /opt/iobroker/iobroker.objects-redis/package.json
          npm ERR! errno -2
          npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker.objects-redis/package.json'
          npm ERR! enoent This is related to npm not being able to find a file.
          npm ERR! enoent
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-06-21T09_06_26_065Z-debug-0.log```
          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

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

            @dqelse

            Wird redis verwendet?
            Ich habe jedenfalls bei mir das Verzeichnis iobroker.objects-redis nicht.
            Aber ich fahre auch jsonl/jsonl

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

              @thomas-braun ja redis wird verwendet.
              so wie ich es vestanden habe, wird objects-redis vom js-controller bereitgestellt, ich hatte nie dieses verzeichnis.
              Daher wunder ich mich woher npm die Information nimmt...

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

                @dqelse was sagt iobroker status ?

                dQeLse 1 Reply Last reply Reply Quote 0
                • dQeLse
                  dQeLse @Homoran last edited by

                  @homoran

                  iobroker@cerberus:/opt/iobroker$ iobroker status
                  iobroker is running on this host.
                  
                  At least one iobroker host is running.
                  
                  Objects type: redis
                  States  type: redis
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @dQeLse last edited by

                    @dqelse das ist nicht das interne redis sondern die Datenbank für states und bei dir sogar für Objekte

                    dQeLse 1 Reply Last reply Reply Quote 0
                    • dQeLse
                      dQeLse @Homoran last edited by

                      @homoran d.h.? muss ich die objects-redis per hand installieren? weil das repo existiert ja nicht mehr und ist in iobroker.db enthalten.

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

                        @dqelse sagte in npm prune schlägt fehl wegen iobroker.objects-redis:

                        weil das repo existiert ja nicht mehr

                        welches repo?

                        die Meldung mit dem package-lock hat ichts mit deiner redis db zu tun

                        mit Package lock haben zur Zeit einige User Probleme.
                        Eine allgemeingültige Lösung oder gar Ursache habe ich noch nicht gesehen.

                        Hattest du mal mit root gearbeitet?

                        dQeLse 1 Reply Last reply Reply Quote 0
                        • dQeLse
                          dQeLse @Homoran last edited by dQeLse

                          @homoran nein ich arbeite nur als normaler User und sudo wenn nötig

                          ich meinte dieses repo https://github.com/foxriver76/ioBroker.objects-redis

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

                            @dqelse

                            Das Modul ist ja wohl Bestandteil des js-controllers. Hast du den mal neu 'drüber' installiert?

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

                              @thomas-braun habe ich probiert, geht aber auch nicht wegen genau diesem problem 😞

                              iobroker@cerberus:/opt/iobroker$ iobroker upgrade self --force --debug
                              Update js-controller from @4.0.23 to @4.0.23
                              Stopped Objects DB
                              Stopped States DB
                              NPM version: 8.11.0
                              Installing iobroker.js-controller@4.0.23... (System call)
                              npm WARN skipping integrity check for git dependency ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git
                              npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
                              npm WARN tarball tarball data for iobroker.objects-redis@file:iobroker.objects-redis (null) seems to be corrupted. Trying again.
                              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                              npm ERR! code ENOENT
                              npm ERR! syscall open
                              npm ERR! path /opt/iobroker/iobroker.objects-redis/package.json
                              npm ERR! errno -2
                              npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker.objects-redis/package.json'
                              npm ERR! enoent This is related to npm not being able to find a file.
                              npm ERR! enoent
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-06-21T10_20_32_799Z-debug-0.log
                              host.cerberus Cannot install iobroker.js-controller@4.0.23: 254
                              
                              mikeal created this issue in request/request

                              open Request’s Past, Present and Future #3142

                              dQeLse 1 Reply Last reply Reply Quote 0
                              • dQeLse
                                dQeLse @dQeLse last edited by

                                So, habe wieder einen Downgrade auf die v14.19.3 gemacht, sowie das Repo auf stable umgestellt.
                                npm prune läuft wieder ohne Probleme durch, auch die package.json und die -lock werden erstellt.
                                ebenso zur Sicherheit den JS nochmal neuinstalliert, aber das iobroker.objects-redis verzeichnis wird auch unter der v14. nicht erstellt, allerdings findet man in der packages.json folgendes:

                                   "node_modules/iobroker.objects-redis": {
                                      "resolved": "file:node_modules/iobroker.objects-redis/iobroker.objects-redis"
                                    },
                                

                                jetzt stellt sich die Frage warum das bei v14 funzt aber bei der v16 nicht?

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

                                  @dqelse sagte in npm prune schlägt fehl wegen iobroker.objects-redis:

                                  das bei v14 funzt aber bei der v16 nicht?

                                  weil npmv8 anders tickt

                                  dQeLse 1 Reply Last reply Reply Quote 0
                                  • dQeLse
                                    dQeLse @Homoran last edited by

                                    nun läuft es bei mir, ich habe eine Neuinstallation unter v16 durchgeführt und das ging ohne Probleme.
                                    Vielen Dank für eure Hilfe, aber wahrscheinlich wahr bei mir in der Installation was zerstrubbelt.

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

                                      @dqelse sagte in npm prune schlägt fehl wegen iobroker.objects-redis:

                                      aber wahrscheinlich wahr bei mir in der Installation was zerstrubbelt.

                                      sieht so aus.

                                      Bisher haben alle, die so (massive) Probleme nach dem upgrade hatten, nach einem Restore in einer frischen Basis keine Probleme mehr gehabt.

                                      Frage:
                                      hattest du irgendwann als root oder bei npm mit sudo gearbeitet?

                                      dQeLse 1 Reply Last reply Reply Quote 0
                                      • dQeLse
                                        dQeLse @Homoran last edited by

                                        hmm kann vielleicht ganz am anfang gewesen sein, aber nicht das ich mich erinnern kann.
                                        was mich allerdings auch stutzig machte, das bei mir alles abhängigkeiten zu iobroker.inst@2.0.2 hatte.
                                        ist halt ne ältere installation 🙂 bei der ich immer brav die updates per web ausser dem JS per konsole machte.

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

                                          @dqelse danke!
                                          ich hatte (habe) in den Threads mit den Problemen den Eindruck gewonnen, dass mit npm v8 das rooten härter bestraft wird.
                                          Das würde ich gerne festigen oder ausschließen.

                                          dQeLse crunchip 2 Replies Last reply Reply Quote 0
                                          • dQeLse
                                            dQeLse @Homoran last edited by

                                            @homoran ich habe zu danken 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            752
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            26
                                            1090
                                            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