Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Error 217 / Code 25 bei upgrade von Adaptern

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Error 217 / Code 25 bei upgrade von Adaptern

Scheduled Pinned Locked Moved ioBroker Allgemein
29 Posts 6 Posters 4.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jautze

    @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
    
    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    wrote on last edited by
    #11

    @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
    

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    J 1 Reply Last reply
    0
    • J Jautze

      @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 BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #12

      @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.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Reply Last reply
      0
      • GlasfaserG Glasfaser

        @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 Offline
        J Offline
        Jautze
        wrote on last edited by
        #13

        @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

        MichMeinM 1 Reply Last reply
        0
        • J Jautze

          @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

          MichMeinM Online
          MichMeinM Online
          MichMein
          wrote on last edited by MichMein
          #14

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

          Gruß Michael
          Sofern Beiträge hilfreich für Dich sind, nutze das Voting unten rechts.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jautze
            wrote on last edited by
            #15

            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 BraunT 2 Replies Last reply
            0
            • J Jautze

              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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #16

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

              In welchen Gruppen ist der 'marcel' drin?

              groups
              

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              J 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

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

                In welchen Gruppen ist der 'marcel' drin?

                groups
                
                J Offline
                J Offline
                Jautze
                wrote on last edited by Jautze
                #17

                @thomas-braun

                marcel@IOBroker:/opt/iobroker$ groups
                marcel dialout cdrom floppy audio dip video plugdev netdev iobroker
                
                Thomas BraunT 1 Reply Last reply
                0
                • J Jautze

                  @thomas-braun

                  marcel@IOBroker:/opt/iobroker$ groups
                  marcel dialout cdrom floppy audio dip video plugdev netdev iobroker
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #18

                  @jautze

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

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Reply Last reply
                  0
                  • J Jautze

                    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 BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #19

                    @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...

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    J 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @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 Offline
                      J Offline
                      Jautze
                      wrote on last edited by
                      #20

                      @thomas-braun leider nein

                      1 Reply Last reply
                      0
                      • Christoph GC Offline
                        Christoph GC Offline
                        Christoph G
                        wrote on last edited by
                        #21

                        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 BraunT 1 Reply Last reply
                        0
                        • Christoph GC Christoph G

                          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 BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #22

                          @christoph-g

                          Mit --debug-Option kommt?

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          Christoph GC 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @christoph-g

                            Mit --debug-Option kommt?

                            Christoph GC Offline
                            Christoph GC Offline
                            Christoph G
                            wrote on last edited by
                            #23

                            @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 🙈

                            HomoranH 1 Reply Last reply
                            0
                            • Christoph GC Christoph G

                              @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 🙈

                              HomoranH Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by Homoran
                              #24

                              @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

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              Christoph GC 2 Replies Last reply
                              0
                              • HomoranH 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 GC Offline
                                Christoph GC Offline
                                Christoph G
                                wrote on last edited by
                                #25

                                @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 GC 1 Reply Last reply
                                0
                                • Christoph GC Christoph G

                                  @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 GC Offline
                                  Christoph GC Offline
                                  Christoph G
                                  wrote on last edited by
                                  #26

                                  @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
                                  0
                                  • HomoranH 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 GC Offline
                                    Christoph GC Offline
                                    Christoph G
                                    wrote on last edited by
                                    #27

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

                                    GlasfaserG 1 Reply Last reply
                                    0
                                    • Christoph GC Christoph G

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

                                      GlasfaserG Offline
                                      GlasfaserG Offline
                                      Glasfaser
                                      wrote on last edited by
                                      #28

                                      @christoph-g

                                      Im Teil 2. :

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

                                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                      Christoph GC 1 Reply Last reply
                                      0
                                      • GlasfaserG Glasfaser

                                        @christoph-g

                                        Im Teil 2. :

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

                                        Christoph GC Offline
                                        Christoph GC Offline
                                        Christoph G
                                        wrote on last edited by
                                        #29

                                        @glasfaser
                                        Danke!!!
                                        Hat geholfen!!

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        Support us

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

                                        533

                                        Online

                                        32.7k

                                        Users

                                        82.4k

                                        Topics

                                        1.3m

                                        Posts
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Home
                                        • Recent
                                        • Tags
                                        • Unread 0
                                        • Categories
                                        • Unreplied
                                        • Popular
                                        • GitHub
                                        • Docu
                                        • Hilfe