Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ERROR: Process exited with code 25 NPM Update usw

    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: Process exited with code 25 NPM Update usw

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      n811e @mickym last edited by

      @mickym said in ERROR: Process exited with code 25 NPM Update usw:

      @n811e schau mal welche Themen oben im Forum angepinnt sind.vSind so 3 umrahmte Kästchen über den Threads. Oben drüber steht: „News“

      Vielen Dank, dass hatte ich wirklich nicht gefunden, trotz Suche.

      Allerdings hilft mir das überhaupt nicht weiter, da mir schon die Grundlegenden Dinge fehlen.
      Da steht:
      Um hier Details zum Fehle zu finden bitte den Installations- bzw. Update Befehl bitte mit "--debug" neu ausführen.

      Wie genau lautet denn der Update Befehl, an den ich --debug dran hängen soll?
      Ich habe da viel zu viel schiss, dass ich einen falschen Befehl an einem falschen Ort ausführe.

      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @n811e last edited by Homoran

        @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

        Update Befehl bitte mit "--debug" neu ausführen.

        iobroker upgrade adapterName --debug wobei adapterName natürlich gegen den Namen des upzudatenden Adapters auszutauschen ist.

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

          @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

          Ich habe da viel zu viel schiss, dass ich einen falschen Befehl an einem falschen Ort ausführe.

          Och, ist dir schon passiert.

          Nie, nie, nie sudo vor iobroker schreiben.

          iobroker stop
          iobroker fix
          iobroker start
          
          N 1 Reply Last reply Reply Quote 0
          • N
            n811e @Homoran last edited by

            @homoran said in ERROR: Process exited with code 25 NPM Update usw:

            @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

            Update Befehl bitte mit "--debug" neu ausführen.

            iobroker upgrade adapterName --debug wobei adapterName natürlich gegen den Namen des upzudatenden Adapters auszutauschen ist.

            Ich habe jetzt mal diesen Befehl versucht:
            iobroker upgrade device-watcher --debug

            Das scheint aber auch in einem Error zu enden:

            pi@raspberrypi:~ $ iobroker upgrade device-watcher --debug
            
            This upgrade of "device-watcher" will introduce the following changes:
            ==========================================================================
            -> 2.0.2:
            added status to battery list
            batt devices which are offline are now still included in the battery list
            small improvements of translations
            offline time settings: you can use 0 instead of -1 (it will be the new standard)
            improvements of adaptername
            fixed issues [#66](https://github.com/ciddi89/ioBroker.device-watcher/issues/66) & [#67](https://github.com/ciddi89/ioBroker.device-watcher/issues/67)
            repaired blacklist notifications
            added handling for blacklist object
            
            -> 2.0.1:
            If the device is offline, set signal strength to '0%'
            If the device is offline, set battery to ' - '
            repair some small issues in the lists
            
            -> 2.0.0:
            added Lupusec, HS100 adapter, Zigbee2MQTT and MaxCube
            changed name of Homematic to HM-RPC
            made a completly makeover of the blacklist
            clean up the code and shorten some
            
            -> 1.1.0:
            removed indicatoren for daily sent messages
            changed selector for shelly devices
            added Zigbee2MQTT adapter
            added cron function to use own time for daily overview messages
            
            -> 1.0.1:
            added WLED, Ikea Tradfri, Roomba, HmIp, Tado, Netatmo, Yeelight-2, Unifi, Nut and Meross adapter
            fixed battery message
            corrected and repaired some issues of last contact time
            added support for old HM devices
            some small refactoring of code
            changed shelly selector from dp rssi to dp online
            ==========================================================================
            
            BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
            Would you like to upgrade device-watcher from @1.0.0 to @2.0.2 now? [(y)es, (n)o]: y
            Update device-watcher from @1.0.0 to @2.0.2
            NPM version: 8.19.2
            Installing iobroker.device-watcher@2.0.2... (System call)
            npm ERR! code ENOTEMPTY
            npm ERR! syscall rename
            npm ERR! path /opt/iobroker/node_modules/acorn
            npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH
            npm ERR! errno -39
            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH'
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-11-20T10_18_17_328Z-debug-0.log
            host.raspberrypi Cannot install iobroker.device-watcher@2.0.2: 217
            
            

            Oder muss ich zuerst den Admin Adapter auf diese Art und Weise updaten?

            TyrionWarMage created this issue in ciddi89/ioBroker.device-watcher

            closed Exception on instance start #66

            crunchip77 created this issue in ciddi89/ioBroker.device-watcher

            closed warn, error: [[createDataOfAllAdapter]] error: Cannot read properties of undefined (reading 'de') #67

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

              @thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:

              @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

              Ich habe da viel zu viel schiss, dass ich einen falschen Befehl an einem falschen Ort ausführe.

              Och, ist dir schon passiert.

              Nie, nie, nie sudo vor iobroker schreiben.

              iobroker stop
              iobroker fix
              iobroker start
              

              Kannst Du mir den Unterschied erklären?

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

                @n811e

                Mit sudo vorweg agierst du als root und die damit angelegten Dateien bekommen falsche Rechte.

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

                  @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

                  Kannst Du mir den Unterschied erklären?

                  mit sudo arbeitest du mit anderen/falschen Rechten! iobroker fix richtet das wieder

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

                    @homoran said in ERROR: Process exited with code 25 NPM Update usw:

                    iobroker fix
                    @Thomas-Braun

                    Vielen Dank für die Erklärung, das habe ich verstanden und iobroker fix ausgeführt (iobroker vorher gestoppt mit iobroker stop)

                    Mein grundsätzliches Problem, löst das leider trotzdem nicht.

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

                      @n811e

                      iobroker update
                      

                      sagt?

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

                        @thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:

                        iobroker update

                        Das kommt als Rückmeldung

                        pi@raspberrypi:~ $ iobroker update
                        Used repository: stable
                        Adapter    "admin"        : 6.2.23   , installed 6.2.22 [Updatable]
                        Adapter    "alexa2"       : 3.21.0   , installed 3.19.9 [Updatable]
                        Adapter    "alias-manager": 1.2.4    , installed 1.2.4
                        Adapter    "backitup"     : 2.5.4    , installed 2.4.12 [Updatable]
                        Adapter    "chromecast"   : 2.3.1    , installed 2.3.1
                        Adapter    "cloud"        : 4.2.2    , installed 4.2.2
                        Adapter    "device-watcher": 2.0.2   , installed 1.0.0  [Updatable]
                        Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                        Adapter    "ecovacs-deebot": 1.4.4   , installed 1.4.4
                        Adapter    "firetv"       : 1.0.0    , installed 1.0.0
                        Adapter    "history"      : 2.2.0    , installed 2.2.0
                        Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                        Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                        Adapter    "homeconnect"  : 1.1.0    , installed 1.0.1  [Updatable]
                        Adapter    "influxdb"     : 3.1.8    , installed 3.1.8
                        Adapter    "iot"          : 1.11.9   , installed 1.11.9
                        Adapter    "jarvis"       : 3.0.15   , installed 3.0.13 [Updatable]
                        Adapter    "javascript"   : 6.0.3    , installed 6.0.0  [Updatable]
                        Controller "js-controller": 4.0.23   , installed 4.0.23
                        Adapter    "material"     : 1.1.2    , installed 1.1.2
                        Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                        Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                        Adapter    "node-red"     : 4.0.0    , installed 4.0.0
                        Adapter    "onvif"        : 0.4.4    , installed 0.4.4
                        Adapter    "ping"         : 1.5.3    , installed 1.5.3
                        Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                        Adapter    "samsung"      : 0.5.8    , installed 0.5.8
                        Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                        Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                        Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                        Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                        Adapter    "synology"     : 2.1.13   , installed 2.1.9  [Updatable]
                        Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                        Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                        Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                        Adapter    "vis"          : 1.4.15   , installed 1.4.15
                        Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                        Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                        Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                        Adapter    "vis-icontwo"  : 0.89.0   , installed 0.89.0
                        Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                        Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                        Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                        Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                        Adapter    "web"          : 4.3.0    , installed 4.3.0
                        Adapter    "worx"         : 2.0.3    , installed 1.6.6  [Updatable]
                        Adapter    "ws"           : 1.3.0    , installed 1.3.0
                        Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                        Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
                        pi@raspberrypi:~ $
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @n811e last edited by Thomas Braun

                          @n811e

                          iobroker upgrade admin --debug
                          

                          Ist das Ding hier:

                          https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

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

                            @thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:

                            iobroker ugrade admin --debug

                            Ich habe den iobroker gestoppt und dann folgendes ausgeführt:

                            pi@raspberrypi:~ $ iobroker stop
                            pi@raspberrypi:~ $ iobroker ugrade admin --debug
                            iobroker [command]
                            
                            Commands:
                              iobroker setup                                               Setup ioBroker
                              iobroker start [all|<adapter>.<instance>]                    Starts the js-controller or a specified adapter instance
                              iobroker stop [<adapter>.<instance>]                         stops the js-controller or a specified adapter instance
                              iobroker restart [<adapter>.<instance>]                      Restarts js-controller or a specified adapter instance  [aliases: r]
                              iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
                              iobroker info                                                Shows the host info
                              iobroker logs [<adapter>]                                    Monitor log
                              iobroker add <adapter> [desiredNumber]                       Add instance of adapter  [aliases: a]
                              iobroker install <adapter>                                   Installs a specified adapter  [aliases: i]
                              iobroker rebuild [<module>]                                  Rebuild all native modules or path
                              iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
                              iobroker del <adapter>                                       Remove adapter and all instances from this host  [aliases: delete]
                              iobroker del <adapter>.<instance>                            Remove adapter instance  [aliases: delete]
                              iobroker update [<repositoryUrl>]                            Update repository and list adapters
                              iobroker upgrade                                             Upgrade management
                              iobroker upload [all|<adapter>]                              Upload management  [aliases: u]
                              iobroker object                                              Object management  [aliases: o]
                              iobroker state                                               State management  [aliases: s]
                              iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
                              iobroker list <type> [<filter>]                              List all entries, like objects
                              iobroker chmod <mode> <file>                                 Change file rights
                              iobroker chown <user> <group> <file>                         Change file ownership
                              iobroker touch <file>                                        Touch file
                              iobroker rm <file>                                           Remove file
                              iobroker file                                                File management
                              iobroker user                                                User commands
                              iobroker group                                               group management
                              iobroker host <hostname>                                     Set host to given hostname
                              iobroker set <adapter>.<instance>                            Change settings of adapter config
                              iobroker license <license.file or license.text>              Update license by given file
                              iobroker cert                                                Certificate management
                              iobroker clean <yes>                                         Clears all objects and states
                              iobroker backup                                              Create backup
                              iobroker restore <backup name or path>                       Restore a specified backup
                              iobroker validate <backup name or path>                      Validate a specified backup
                              iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance  [aliases: isrun]
                              iobroker repo [<name>]                                       Show repo information
                              iobroker uuid                                                Show uuid of the installation  [aliases: id]
                              iobroker unsetup                                             Reset license, installation secret and language
                              iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
                              iobroker multihost                                           Multihost management
                              iobroker compact                                             compact group management
                              iobroker plugin                                              Plugin management
                              iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
                            
                            Options:
                              --help  Show help  [boolean]
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @n811e last edited by

                              @n811e

                              iobroker upgrade admin --debug
                              

                              Da fehlt ein p

                              N 2 Replies Last reply Reply Quote 0
                              • N
                                n811e @Thomas Braun last edited by

                                @thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:

                                @n811e

                                iobroker upgrade admin --debug
                                

                                Da fehlt ein p

                                Vielen Dank für den Hinweis.

                                Jetzt habe ich wieder keinen Webzugriff auf ioBroker.

                                Wenn ich jetzt iobroker add admin --enabled --port 8089 ausführen würde, käme ich wieder drauf, hätte aber eine neu Admin Instanz und das Thema ginge von vorn los

                                Was kann ich jetzt am besten machen?

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

                                  @thomas-braun said in ERROR: Process exited with code 25 NPM Update usw:

                                  @n811e

                                  iobroker upgrade admin --debug
                                  

                                  Da fehlt ein p

                                  Ausgeworfen hat er:

                                  pi@raspberrypi:~ $ iobroker upgrade admin --debug
                                  
                                  This upgrade of "admin" will introduce the following changes:
                                  ==========================================================================
                                  -> 6.2.23:
                                  Prepare for future js-controller versions
                                  Corrected deletion of objects
                                  ==========================================================================
                                  
                                  Would you like to upgrade admin from @6.2.22 to @6.2.23 now? [(y)es, (n)o]: y
                                  Update admin from @6.2.22 to @6.2.23
                                  host.raspberrypi Adapter "system.adapter.admin.3" is stopped.
                                  NPM version: 8.19.2
                                  Installing iobroker.admin@6.2.23... (System call)
                                  npm ERR! code ENOTEMPTY
                                  npm ERR! syscall rename
                                  npm ERR! path /opt/iobroker/node_modules/acorn
                                  npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH
                                  npm ERR! errno -39
                                  npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH'
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-11-20T15_39_58_825Z-debug-0.log
                                  host.raspberrypi Cannot install iobroker.admin@6.2.23: 217
                                  
                                  
                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @n811e last edited by

                                    @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

                                    217

                                    hier ist es zwar ein 217, aber ich denke du solltest mal das oben angepinnte Procedere für Error 25 durchgehen

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

                                      @homoran said in ERROR: Process exited with code 25 NPM Update usw:

                                      @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

                                      217

                                      hier ist es zwar ein 217, aber ich denke du solltest mal das oben angepinnte Procedere für Error 25 durchgehen

                                      Ja, aber genau da bin ich ja dran. Der erste Schritt war das mit dem --debug und hier gehts ja dann schon nicht weiter

                                      Oder habe ich etwas falsch verstanden?

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

                                        @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

                                        Oder habe ich etwas falsch verstanden?

                                        Das meint @Homoran

                                        555e886d-d605-4235-ad32-57ba84f6fb0c-grafik.png

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

                                          @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

                                          Oder habe ich etwas falsch verstanden?

                                          was definierst du mit falsch!

                                          der Befehl mit angehängtem --debug ist ja nur dazu da, um die mögliche Ursache zu finden, indem detailliertere Fehlermeldungen ausgeworfen werden.

                                          Dies ist z.B. die Info mit ENOTEMPTY und der dazu gehörenden Aufforderung, ein Verzeichnis mit einer kryptischen Bezeichnung umzubenennen.

                                          üblicherweise käme jetzt noch der ERROR25, bei dir aber der 217

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

                                            @glasfaser said in ERROR: Process exited with code 25 NPM Update usw:

                                            @n811e sagte in ERROR: Process exited with code 25 NPM Update usw:

                                            Oder habe ich etwas falsch verstanden?

                                            Das meint @Homoran

                                            555e886d-d605-4235-ad32-57ba84f6fb0c-grafik.png

                                            Ja, dass ist doch das, was ich versuche abzuarbeiten. Aber da steht doch nur das mit dem --debug drin.
                                            Danach wird es so kryptisch, dass ich kein Wort verstehe geschweige denn umzusetzen.

                                            Thomas Braun Glasfaser 2 Replies 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

                                            556
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            42
                                            2566
                                            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