Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Admin Adapter Update fehlgeschlagen

    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

    [gelöst] Admin Adapter Update fehlgeschlagen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Almixx
      Almixx last edited by Almixx

      Hallo. Habe eben den Admin Adapter, wie angezeigt versucht upzudaten. Doch nach einer Stunde drehte sich immer noch der Kreis... Habe dann das Fenster geschlossen. Jetzt geht Iobroker natürlich nicht mehr.
      Wer könnte mir da weiterhelfen, was zu machen wäre? Vielen Dank schonmal... MfG Micha

      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Almixx last edited by crunchip

        @almixx per Konsole nachsehen, um welche Version handelt es sich?

        iob list instances
        
        iobroker status
        

        ins log sehen

        iob logs --watch
        
        AlexAtHome Almixx 2 Replies Last reply Reply Quote 0
        • AlexAtHome
          AlexAtHome @crunchip last edited by AlexAtHome

          Bei mir führt das Update auf die admin-adapter-version 6.3.5 dazu, dass ich nicht mehr daruf zugreifen kann: connection refused. Ich sehe aber, dass der iobroker startet, und die VIS ist auch erreichbar.

          "iob list instances" zeigt den admin-adapter als disabled...

          Ein manueller Start des Adapters per "iob start admin" hat das Zugriffs-Problem glücklicherweise behoben 🙂

          Der Admin-Adapter wird mir allerdings nach wie vor als v6.3.4 angezeigt, das Update ist also nicht durchgeführt worden.

          Im log sehe ich folgende Einträge:

          host.iobroker-pi
          2022-12-23 09:51:10.870	info	iobroker exit 25
          host.iobroker-pi
          2022-12-23 09:51:09.817	error	iobroker host.iobroker-pi Cannot install iobroker.admin@6.3.5: 217
          host.iobroker-pi
          2022-12-23 09:50:58.571	info	iobroker Installing iobroker.admin@6.3.5... (System call)
          host.iobroker-pi
          2022-12-23 09:50:58.566	info	iobroker NPM version: 8.19.2
          host.iobroker-pi
          2022-12-23 09:50:57.511	info	instance system.adapter.admin.0 terminated with code 0 (NO_ERROR)
          host.iobroker-pi
          2022-12-23 09:50:56.741	info	stopInstance system.adapter.admin.0 send kill signal
          
          Glasfaser 2 Replies Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @AlexAtHome last edited by

            wie soll man hier ohne weitere Info´s helfen !?

            ausgabe von

            iobroker upgrade admin --debug
            
            AlexAtHome 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @AlexAtHome last edited by

              @alexathome sagte in Admin Adapter Update fehlgeschlagen:

              2022-12-23 09:51:10.870 info iobroker exit 25
              2022-12-23 09:51:09.817 error iobroker host.iobroker-pi Cannot install iobroker.admin@6.3.5: 217

              ist oben angepinnt !

              ..

              596a9fef-55bd-47c9-a0e7-69c3c21f2c9e-grafik.png

              1 Reply Last reply Reply Quote 1
              • Almixx
                Almixx @crunchip last edited by Almixx

                @crunchip said in Admin Adapter Update fehlgeschlagen:

                iobroker status

                Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                permitted by applicable law.
                Last login: Fri Dec 23 09:25:03 2022 from 192.168.178.13
                pi@raspberrypi:~ $ iob list instances
                node:internal/modules/cjs/loader:998
                  throw err;
                  ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                                                                                                                                                             roker.js'
                    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15                                                                                                                                                             )
                    at Function.Module._load (node:internal/modules/cjs/loader:841:27)
                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma                                                                                                                                                             in:81:12)
                    at node:internal/main/run_main_module:22:47 {
                  code: 'MODULE_NOT_FOUND',
                  requireStack: []
                }
                pi@raspberrypi:~ $ iobroker status
                node:internal/modules/cjs/loader:998
                  throw err;
                  ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                                                                                                                                                             roker.js'
                    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15                                                                                                                                                             )
                    at Function.Module._load (node:internal/modules/cjs/loader:841:27)
                    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma                                                                                                                                                             in:81:12)
                    at node:internal/main/run_main_module:22:47 {
                  code: 'MODULE_NOT_FOUND',
                  requireStack: []
                
                
                Glasfaser 2 Replies Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Almixx last edited by

                  @almixx

                  Bitte keine Screenshots !!! kann man nicht lesen !

                  Ausgabe in Code-Tags </>

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

                    @glasfaser Ich habe eigentlich erstmal keine Hilfe erwartet...

                    Ich habe mitlerweile aber auch weitere Infos hinzugefügt.

                    EDIT: Ich sehe, Du hast sie gesehen 🙂 Danke für den Hinweis, ich schaue mir das an!

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

                      @almixx

                      cd /opt/iobroker
                      
                      sudo -H -u iobroker npm install iobroker.js-controller
                      
                      Almixx 1 Reply Last reply Reply Quote 0
                      • Almixx
                        Almixx @Glasfaser last edited by Almixx

                        @glasfaser said in Admin Adapter Update fehlgeschlagen:

                        sudo -H -u iobroker npm install iobroker.js-controller

                        Ich verstehe leider nichts davon 😞

                        pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
                        npm ERR! code EACCES
                        npm ERR! syscall mkdir
                        npm ERR! path /home/pi/node_modules
                        npm ERR! errno -13
                        npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/node_modules'
                        npm ERR!  [Error: EACCES: permission denied, mkdir '/home/pi/node_modules'] {
                        npm ERR!   errno: -13,
                        npm ERR!   code: 'EACCES',
                        npm ERR!   syscall: 'mkdir',
                        npm ERR!   path: '/home/pi/node_modules'
                        npm ERR! }
                        npm ERR!
                        npm ERR! The operation was rejected by your operating system.
                        npm ERR! It is likely you do not have the permissions to access this file as the current user
                        npm ERR!
                        npm ERR! If you believe this might be a permissions issue, please double-check the
                        npm ERR! permissions of the file and its containing directories, or try running
                        npm ERR! the command again as root/Administrator.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-12-23T09_19_13_403Z-debug-0.log
                        pi@raspberrypi:~ $
                        
                        
                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Almixx last edited by

                          @almixx

                          Hallo ...

                          du stehst falsch 🙂

                          cd /opt/iobroker
                          
                          Almixx 1 Reply Last reply Reply Quote 0
                          • Almixx
                            Almixx @Glasfaser last edited by

                            @glasfaser , das wird jetzt angezeigt

                            pi@raspberrypi:~ $ cd /opt/iobroker
                            pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                            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-12-23T09_21_41_354Z-debug-0.log
                            
                            
                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Almixx last edited by

                              @almixx sagte in Admin Adapter Update fehlgeschlagen:

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

                              Habe ich schon oben geschrieben :

                              https://forum.iobroker.net/post/915125

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

                                @glasfaser
                                was muss ich denn eingeben statt den Fragezeichen?

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

                                  @almixx sagte in Admin Adapter Update fehlgeschlagen:

                                  @glasfaser
                                  was muss ich denn eingeben statt den Fragezeichen?

                                  Nichts .. so lassen !!!!

                                  for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                                  
                                  Almixx 1 Reply Last reply Reply Quote 0
                                  • Almixx
                                    Almixx @Glasfaser last edited by

                                    @glasfaser , hab ich gemacht

                                    pi@raspberrypi:~ $ cd /opt/Iobroker/node_modules
                                    -bash: cd: /opt/Iobroker/node_modules: Datei oder Verzeichnis nicht gefunden
                                    pi@raspberrypi:~ $ cd /opt/iobroker/node_modules
                                    pi@raspberrypi:/opt/iobroker/node_modules $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                                    pi@raspberrypi:/opt/iobroker/node_modules $
                                    
                                    
                                    Glasfaser 1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @Almixx last edited by Glasfaser

                                      @almixx

                                      ja ... alles gut .. ist richtig

                                      jetzt nochmal von oben mit JS

                                      EDIT :

                                      Warum steht du dort im Verzeichniss

                                      /opt/iobroker/node_modules
                                      
                                      Almixx 1 Reply Last reply Reply Quote 0
                                      • Almixx
                                        Almixx @Glasfaser last edited by

                                        @glasfaser es steht so im Text:

                                        Bitte Befehl unbedingt!! im Verzeichnis /opt/iobroker/node_modules ausführen; Befehl KOPIEREN, nicht eintippen, ein Vertipper kann und wird da 'tödlich' sein).
                                        
                                        Ingo
                                        

                                        hab alles so gemacht. Iobroker läuft aber noch nicht

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

                                          @almixx sagte in Admin Adapter Update fehlgeschlagen:

                                          hab alles so gemacht. Iobroker läuft aber noch nicht

                                          Dann bitte mehr Input ... was läuft nicht .

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

                                            @glasfaser , wenn ich Iobroker öffnen möchte über meineIP:8081, wird nichts geöffnet.

                                            Glasfaser 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

                                            864
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            admin adapter läuft nicht admin adapter update iobroker startet nicht update fehler
                                            4
                                            25
                                            1415
                                            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