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 @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
                              • Christoph G
                                Christoph G @Thomas Braun last edited by

                                @thomas-braun

                                
                                pi@raspberrypi:~ $ iobroker install mqtt --debug
                                NPM version: 8.11.0
                                Installing iobroker.mqtt@3.0.6... (System call)
                                npm ERR! code ENOTEMPTY
                                npm ERR! syscall rename
                                npm ERR! path /opt/iobroker/node_modules/iobroker.info
                                npm ERR! dest /opt/iobroker/node_modules/.iobroker.info-OtqXm2hx
                                npm ERR! errno -39
                                npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.info' -> '/opt/iobroker/node_modules/.iobroker.info-OtqXm2hx'
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-07-30T14_21_09_190Z-debug-0.log
                                host.raspberrypi Cannot install iobroker.mqtt@3.0.6: 217
                                pi@raspberrypi:~ $ 
                                
                                

                                Das wäre es 🙈

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

                                  @christoph-g sagte in Error 217 / Code 25 bei upgrade von Adaptern:

                                  directory not empty, rename '/opt/iobroker/node_modules/iobroker.info' -> '/opt/iobroker/node_modules/.iobroker.info-OtqXm2hx'

                                  da steht was nicht klappt, aber @Thomas-Braun hat da einen Einzeiler für alle noch kommenden solche Änderungen

                                  Christoph G 2 Replies Last reply Reply Quote 0
                                  • Christoph G
                                    Christoph G @Homoran last edited by

                                    @homoran
                                    Bei der NBM Installation hatte ich ein ähnliches Problem. Da habe ich mit dem Bus jetzt MV die Latein benannt, das habe ich dann zwei dreimal probieren müssen, dann hat es geklappt.

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

                                      @christoph-g said in Error 217 / Code 25 bei upgrade von Adaptern:

                                      @homoran
                                      Bei der NPM Installation hatte ich ein ähnliches Problem. Da habe ich mit dem Befehl MV die Dateien umbenannt, das habe ich dann zwei dreimal probieren müssen, dann hat es geklappt.

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

                                        @homoran
                                        @Thomas-Braun
                                        Welcher einzeiler ist gemeint??

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

                                          @christoph-g

                                          Im Teil 2. :

                                          https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2

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

                                            @glasfaser
                                            Danke!!!
                                            Hat geholfen!!

                                            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

                                            813
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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