Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Error 217 / Code 25 bei upgrade von Adaptern

    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

    Error 217 / Code 25 bei upgrade von Adaptern

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

      @thomas-braun
      Dann kommt das :

      root@IOBroker:/opt/iobroker# iobroker upgrade history --debug
      
      This upgrade of "history" will introduce the following changes:
      ==========================================================================
      -> 2.2.0:
      make sure getHistory works for all cases
      Add option to add comment and user info to results
      ==========================================================================
      
      Would you like to upgrade history from @2.1.7 to @2.2.0 now? [(y)es, (n)o]: y
      Update history from @2.1.7 to @2.2.0
      NPM version: 8.11.0
      Installing iobroker.history@2.2.0... (System call)
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/abab
      npm ERR! dest /opt/iobroker/node_modules/.abab-bvmibCm3
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abab' -> '/opt/iobroker/node_modules/.abab-bvmibCm3'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-07-25T09_35_57_948Z-debug-0.log
      host.IOBroker Cannot install iobroker.history@2.2.0: 217
      
      Homoran Glasfaser 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Jautze last edited by Homoran

        @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

        root@IOBroker:/opt/iobroker# iobroker upgrade history --debug

        noch besser als sudo 😡

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

          @homoran sorry aber wie sonst.
          Benutze seit 2 Jahren oder so sudo. Hat bis jetzt bestens funktioniert.

          Wie kann ich es besser machen?

          Viele Grüße
          Marcel

          Glasfaser Homoran 2 Replies Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Jautze last edited by

            @jautze

            Es geht darum ,das vor ioBroker Befehlen ,KEIN Sudo gehört ....!!

            J 1 Reply Last reply Reply Quote 0
            • J
              Jautze @Glasfaser last edited by

              @glasfaser
              ah ok. jetzt verstanden.

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Jautze last edited by

                @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                ah ok. jetzt verstanden.

                Hast du schon viel im Vorfeld mit root gemacht !?

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

                  @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                  Hat bis jetzt bestens funktioniert.

                  sicher?
                  keine Rechte innerhalb iobroker verbogen, die als Zeitbombe schlummern und irgendwann zu Problemen führen?
                  Auch wenn das jetzige Problem möglicherweise nicht damit zu tun haben muss (aber könnte).

                  @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                  Wie kann ich es besser machen?

                  als normaler User arbeiten, der in der Gruppe iobroker sein müsste

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

                    @homoran
                    nein nie als root. Wie gesagt normal als user mit sudo.

                    Jetzt habe ich aber meinen user zu der Gruppe iobroker hinzugefügt.

                    Danke und viele Grüße
                    Marcel

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

                      @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abab' -> '/opt/iobroker/node_modules/.abab-bvmibCm3'

                      Dann viel Spaß beim löschen ... ich denke mal ist erst der Anfang :

                      rm -rf /opt/iobroker/node_modules/.abab-bvmibCm3
                      
                      J 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Jautze last edited by

                        @jautze

                        Nie als root?
                        Soso...

                        root@IOBroker:/opt/iobroker# iobroker upgrade history --debug
                        

                        Du kannst mal das probieren:

                        cd /opt/iobroker/node_modules
                        for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
                        

                        Bitte EXAKT so eingeben, am besten kopieren.

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jautze @Glasfaser last edited by

                          @glasfaser und das muss ich bei allen machen die bei

                          iobroker upgrade history --debug
                          
                          npm ERR! dest /opt/iobroker/node_modules/.accepts-rBwU1CL7
                          

                          einen Fehler bringen!?
                          Richtig?

                          Danke und viele Grüße
                          Marcel

                          MichMein 1 Reply Last reply Reply Quote 0
                          • MichMein
                            MichMein @Jautze last edited by MichMein

                            @jautze
                            Vielleicht ist dieser Beitrag hilfreich, insbesondere Beitrag 46.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jautze last edited by

                              Hallo,

                              ich habe jetzt den kompletten Ordner /opt/iobroker/node_modules/ gelöscht.

                              Ich wollte jetzt mit:

                              marcel@IOBroker:/opt/iobroker$ npm install iobroker.js-controller
                              [sudo] Passwort für marcel: 
                              Leider darf der Benutzer marcel »/usr/bin/npm install iobroker.js-controller« als iobroker auf IOBroker nicht ausführen.
                              

                              alles neu aufbauen aber ich weiß nicht wie ich das hier gelöst bekomme.

                              Viele Grüße
                              Marcel

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

                                @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                                In welchen Gruppen ist der 'marcel' drin?

                                groups
                                
                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jautze @Thomas Braun last edited by Jautze

                                  @thomas-braun

                                  marcel@IOBroker:/opt/iobroker$ groups
                                  marcel dialout cdrom floppy audio dip video plugdev netdev iobroker
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Jautze last edited by

                                    @jautze

                                    Der gehört auch in die Gruppe ''sudo'' rein.

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

                                      @jautze sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                                      ich habe jetzt den kompletten Ordner /opt/iobroker/node_modules/ gelöscht.

                                      Warum hast du eigentlich die Abrissbirne benutzt und nicht das Skalpell?

                                      cd /opt/iobroker/node_modules
                                      for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
                                      

                                      wäre viel filigraner gewesen. Und vermutlich hätte das auch eher funktioniert...

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

                                        @thomas-braun leider nein

                                        1 Reply Last reply Reply Quote 0
                                        • Christoph G
                                          Christoph G last edited by

                                          habe leider eine ähnliche Meldung bei der installation von mqtt

                                          NPM version: 8.11.0
                                          Installing iobroker.mqtt@3.0.6... (System call)
                                          host.raspberrypi Cannot install iobroker.mqtt@3.0.6: 217
                                          

                                          bei einigen Adaptern kommt diese Meldung 😞

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

                                            @christoph-g

                                            Mit --debug-Option kommt?

                                            Christoph G 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

                                            506
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            29
                                            2674
                                            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