Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Update von admin fehlgeschlagen! Admin startet nicht mehr

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Update von admin fehlgeschlagen! Admin startet nicht mehr

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

      Hallo zusammen,

      Ich wollte vorhin die Adapter nach längerem mal wieder Updaten.
      Bei dem Update vom Admin hat sich aller aufgehangen und ist eingefrohren.
      Nach 30 min musste ich den Stecker ziehen.
      Jetzt startet Admin nicht mehr.

      node node_modules/iobroker.admin/admin.js --logs
      

      Führt zu

      node:internal/modules/cjs/loader:959
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.admin/admin.js'
          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
          at Function.Module._load (node:internal/modules/cjs/loader:804:27)
          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
          at node:internal/main/run_main_module:17:47 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      
      

      kann mir einer sagen wie ich das wieder gefixt bekomme?

      Gruß
      Dirk

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

        @dihe85 sagte in Update von admin fehlgeschlagen! Admin startet nicht mehr:

        Bei dem Update vom Admin hat sich aller aufgehangen und ist eingefrohren.
        Nach 30 min musste ich den Stecker ziehen.

        Vermutlich eine Fehleinschätzung von dir...

        Wie bist du da unterwegs?

        sudo ln -s /usr/bin/node /usr/bin/nodejs
        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        
        D 1 Reply Last reply Reply Quote 0
        • D
          dihe85 @Thomas Braun last edited by

          @thomas-braun

          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          

          spuckt das aus

          armv7l
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v16.17.0
          v16.17.0
          8.15.0
          root
          /opt/iobroker
          OK:1 http://phoscon.de/apt/deconz bullseye InRelease
          OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          OK:3 http://archive.raspberrypi.org/debian bullseye InRelease
          OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
          Paketlisten werden gelesen… Fertig
          Abhängigkeitsbaum wird aufgebaut… Fertig
          Statusinformationen werden eingelesen… Fertig
          Alle Pakete sind aktuell.
          nodejs:
            Installiert:           16.17.0-deb-1nodesource1
            Installationskandidat: 16.17.0-deb-1nodesource1
            Versionstabelle:
           *** 16.17.0-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                  100 /var/lib/dpkg/status
               12.22.12~dfsg-1~deb11u1 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
          
          

          Gruß
          Dirk

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

            @dihe85 sagte in Update von admin fehlgeschlagen! Admin startet nicht mehr:

            Jetzt startet Admin nicht mehr.

            zeigen :

            iobroker list instances
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @dihe85 last edited by

              @dihe85

              Warum kasperst du da als root herum?
              Lass das bleiben!!!

              iobroker status
              iobroker update 
              iobroker list instances
              
              D 1 Reply Last reply Reply Quote 0
              • D
                dihe85 @Thomas Braun last edited by

                Homeserv:/opt/iobroker# iobroker status
                iobroker is running on this host.
                
                
                Objects type: file
                States  type: file
                
                Homeserv:/opt/iobroker# iobroker update
                Used repository: stable
                hash unchanged, use cached sources
                update done
                Adapter    "backitup"      : 2.4.10   , installed 2.4.9 [Updateable]
                Adapter    "daswetter"     : 3.1.2    , installed 3.1.2
                Adapter    "discovery"     : 3.0.5    , installed 3.0.3 [Updateable]
                Adapter    "dwd"           : 2.8.3    , installed 2.8.3
                Adapter    "fhem"          : 1.6.3    , installed 1.6.3
                Adapter    "history"       : 2.2.0    , installed 1.11.1 [Updateable]
                Adapter    "icons-mfd-svg" : 1.1.0    , installed 1.1.0
                Adapter    "icons-open-icon-library-png": 0.1.2   , installed 0.1.2
                Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
                Adapter    "info"          : 1.9.19   , installed 1.9.19
                Adapter    "javascript"    : 6.0.0    , installed 5.7.0 [Updateable]
                Controller "js-controller" : 4.0.23   , installed 3.3.22 [Updateable]
                Adapter    "musiccast"     : 0.1.5    , installed 0.1.5
                Adapter    "ping"          : 1.5.3    , installed 1.5.3
                Adapter    "simple-api"    : 2.7.0    , installed 2.7.0
                Adapter    "socketio"      : 4.2.0    , installed 4.2.0
                Adapter    "tr-064"        : 4.2.16   , installed 4.2.16
                Adapter    "vis"           : 1.4.15   , installed 1.4.15
                Adapter    "vis-hqwidgets" : 1.2.0    , installed 1.2.0
                Adapter    "vis-inventwo"  : 3.3.1    , installed 3.3.1
                Adapter    "vis-timeandweather": 1.2.2   , installed 1.1.7 [Updateable]
                Adapter    "vis-weather"   : 2.5.5    , installed 2.5.5
                Adapter    "weatherunderground": 3.4.2   , installed 3.4.2
                Adapter    "web"           : 4.3.0    , installed 4.3.0
                Adapter    "ws"            : 1.3.0    , installed 1.3.0
                
                Homeserv:/opt/iobroker# iobroker list instances
                  system.adapter.admin.0                  : admin                 : Homeserv                                 - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.backitup.0               : backitup              : Homeserv                                 -  enabled
                  system.adapter.daswetter.0              : daswetter             : Homeserv                                 -  enabled
                  system.adapter.dwd.0                    : dwd                   : Homeserv                                 -  enabled
                + system.adapter.fhem.0                   : fhem                  : Homeserv                                 -  enabled, port: 7072
                + system.adapter.history.0                : history               : Homeserv                                 -  enabled
                  system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : Homeserv                                 -  enabled
                  system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: Homeserv                                 -  enabled
                  system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : Homeserv                                 -  enabled
                + system.adapter.info.0                   : info                  : Homeserv                                 -  enabled
                + system.adapter.javascript.0             : javascript            : Homeserv                                 -  enabled
                + system.adapter.javascript.1             : javascript            : Homeserv                                 -  enabled
                + system.adapter.musiccast.0              : musiccast             : Homeserv                                 -  enabled
                + system.adapter.ping.0                   : ping                  : Homeserv                                 -  enabled
                + system.adapter.simple-api.0             : simple-api            : Homeserv                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                + system.adapter.socketio.0               : socketio              : Homeserv                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                + system.adapter.tr-064.0                 : tr-064                : Homeserv                                 -  enabled
                + system.adapter.tr-064.1                 : tr-064                : Homeserv                                 -  enabled
                + system.adapter.tr-064.2                 : tr-064                : Homeserv                                 -  enabled
                + system.adapter.tr-064.3                 : tr-064                : Homeserv                                 -  enabled
                + system.adapter.tr-064.4                 : tr-064                : Homeserv                                 -  enabled
                  system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : Homeserv                                 -  enabled
                + system.adapter.vis-inventwo.0           : vis-inventwo          : Homeserv                                 -  enabled
                  system.adapter.vis-timeandweather.0     : vis-timeandweather    : Homeserv                                 -  enabled
                  system.adapter.vis-weather.0            : vis-weather           : Homeserv                                 -  enabled
                  system.adapter.vis.0                    : vis                   : Homeserv                                 -  enabled
                  system.adapter.weatherunderground.0     : weatherunderground    : Homeserv                                 -  enabled
                + system.adapter.web.0                    : web                   : Homeserv                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                + instance is alive
                
                

                Gruß
                Dirk

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

                  @dihe85

                  Noch root?
                  Dann bin ich raus.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dihe85 @Thomas Braun last edited by

                    @thomas-braun

                    ne wieso sollte ich noch root sein?
                    Ich hab mich als root vorhin eingeloggt für die ganzen systemupdates und so
                    (bin zu Faul immer Sudo zu schreiben)

                    Gruß
                    Dirk

                    Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @dihe85 last edited by Glasfaser

                      @dihe85 sagte in Update von admin fehlgeschlagen! Admin startet nicht mehr:

                      @thomas-braun

                      ne wieso sollte ich noch root sein?
                      Ich hab mich als root vorhin eingeloggt für die ganzen systemupdates und so
                      (bin zu Faul immer Sudo zu schreiben)

                      Gruß
                      Dirk

                      Das habe ich hier noch nie gehört ......

                      Ich hab mich als root vorhin eingeloggt für die ganzen systemupdates

                      falsch ...

                      User immer nutzen
                      und Finger weg von root.

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

                        @dihe85

                        Weil der LoginPrompt dich 'verrät'.

                        Du bist zu faul sudo zu tippen, ich bin zu faul mich mit solchen 'verrooteten' Systemen zu beschäftigen.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        463
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        3
                        10
                        380
                        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