Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Guest last edited by

      @Boogie2005

      sudo systemctl set-default multi-user.target
      sudo reboot
      
      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Thomas Braun last edited by

        @Thomas-Braun auch erledigt, IoBroker aber unter 8081 nicht erreichbar.

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

          @Boogie2005

          who -r
          iobroker status
          iobroker list instances
          
          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Thomas Braun last edited by

            @Thomas-Braun bei Status kommt:
            No IoBroker host is running

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

              @Boogie2005
              Bitte die komplette Ausgabe aller drei Befehle als Text hier rein.
              Muss dann so aussehen:

              pi@raspberrypi:~ $ iobroker status
              iobroker is running on this host.
              
              At least one iobroker host is running.
              
              Objects type: file
              States  type: redis
              
              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Thomas Braun last edited by

                @Thomas-Braun

                
                georg@nucserver:~$ iobroker status
                iobroker is not running on this host.
                
                No iobroker host is running.
                
                Objects type: file
                States  type: file
                
                
                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Guest last edited by

                  WHO r runlevel 3
                  
                  georg@nucserver:~$ iobroker list instances
                    system.adapter.admin.0                 : admin                 - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                    system.adapter.backitup.0              : backitup              -  enabled
                    system.adapter.coronavirus-statistics.0: coronavirus-statistics -  enabled
                    system.adapter.discovery.0             : discovery             -  enabled
                    system.adapter.dwd.0                   : dwd                   -  enabled
                    system.adapter.fritzdect.0             : fritzdect             -  enabled
                    system.adapter.harmony.0               : harmony               -  enabled
                    system.adapter.info.0                  : info                  -  enabled
                    system.adapter.javascript.0            : javascript            -  enabled
                    system.adapter.lgtv.0                  : lgtv                  -  enabled
                    system.adapter.netatmo.0               : netatmo               -  enabled
                    system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                    system.adapter.squeezebox.0            : squeezebox            -  enabled, port: 9000
                    system.adapter.tankerkoenig.0          : tankerkoenig          -  enabled
                    system.adapter.tr-064.0                : tr-064                -  enabled
                    system.adapter.vis.0                   : vis                   -  enabled
                    system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  
                  + instance is alive
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Guest last edited by

                    @Boogie2005 sagte in (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl:

                    admin - disabled

                    iobroker start admin
                    

                    Reagiert das System immer noch so träge?

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Thomas Braun last edited by

                      @Thomas-Braun sagte in (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl:

                      iobroker start admin

                      
                      georg@nucserver:~$ iobroker start admin
                      The adapter "admin.0" was started.
                      georg@nucserver:~$
                      
                      

                      Bis das zu sehen war, hat 65 Sekunden gedauert! Ja noch immer lahm. Und auch nicht erreichbar.

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

                        @Boogie2005
                        Mach mal eine zweite Session auf dem Server auf.
                        Und dann beobachtest du das log file:

                        tail -f /opt/iobroker/log/iobroker.current.log
                        

                        Irgendwas sollte da drin stehen.

                        free -h
                        df -h
                        
                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Thomas Braun last edited by

                          @Thomas-Braun was bedeutet zweite Session? Zweites Terminal?

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

                            @Boogie2005
                            Ja, damit du in Echtzeit schauen kannst was da für Meldungen geloggt werden.

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @Thomas Braun last edited by

                              @Thomas-Braun

                              ok Fenster 1 dann die log aufrufen.
                              im 2. Fenster, was da?

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @Guest last edited by

                                Bisher sieht das log so aus:

                                georg@nucserver:~$ tail -f /opt/iobroker/log/iobroker.current.log
                                2020-09-21 13:33:22.920  - info: dwd.0 (2134) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6
                                2020-09-21 13:33:23.672  - info: dwd.0 (2134) Terminated (NO_ERROR): Without reason
                                2020-09-21 13:33:24.192  - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
                                2020-09-21 13:33:28.113  - info: coronavirus-statistics.0 (2145) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                2020-09-21 13:33:28.626  - info: host.nucserver instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2020-09-21 13:35:00.116  - info: host.nucserver instance system.adapter.dwd.0 started with pid 2204
                                2020-09-21 13:35:03.002  - warn: dwd.0 (2204) slow connection to states DB. Still waiting ...
                                2020-09-21 13:37:35.251  - info: dwd.0 (2204) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6
                                2020-09-21 13:37:35.994  - info: dwd.0 (2204) Terminated (NO_ERROR): Without reason
                                2020-09-21 13:37:36.520  - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
                                2020-09-21 13:40:00.114  - info: host.nucserver instance system.adapter.dwd.0 started with pid 2397
                                2020-09-21 13:40:02.998  - warn: dwd.0 (2397) slow connection to states DB. Still waiting ...
                                2020-09-21 13:41:54.031  - info: dwd.0 (2397) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6
                                2020-09-21 13:41:54.806  - info: dwd.0 (2397) Terminated (NO_ERROR): Without reason
                                2020-09-21 13:41:55.327  - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
                                
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Guest last edited by Thomas Braun

                                  @Boogie2005
                                  Im zweiten Fenster mit dem System 'rumspielen', z. B.

                                  iobroker start admin
                                  

                                  slow connection to states DB. Still waiting ...
                                  sieht aber schon mal seltsam aus.

                                  df -h
                                  free -h 
                                  

                                  liefert?

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @Thomas Braun last edited by

                                    @Thomas-Braun

                                    georg@nucserver:~$ iobroker start admin
                                    The adapter "admin.0" was started.
                                    georg@nucserver:~$
                                    

                                    Das in einem Fenster, dann kommt

                                    2020-09-21 13:41:54.806  - info: dwd.0 (2397) Terminated (NO_ERROR): Without reason
                                    2020-09-21 13:41:55.327  - info: host.nucserver instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
                                    2020-09-21 13:45:43.350  - info: host.nucserver instance system.adapter.dwd.0 started with pid 2512
                                    2020-09-21 13:45:47.596  - info: host.nucserver instance system.adapter.coronavirus-statistics.0 started with pid 2523
                                    2020-09-21 13:45:49.697  - warn: dwd.0 (2512) slow connection to states DB. Still waiting ...
                                    2020-09-21 13:45:54.528  - warn: coronavirus-statistics.0 (2523) slow connection to objects DB. Still waiting ...
                                    2020-09-21 13:47:15.035  - warn: coronavirus-statistics.0 (2523) slow connection to states DB. Still waiting ...
                                    2020-09-21 13:48:38.777  - info: coronavirus-statistics.0 (2523) starting. Version 0.6.0 in /opt/iobroker/node_modules/iobroker.coronavirus-stati        stics, node: v12.18.4, js-controller: 3.1.6
                                    2020-09-21 13:49:44.775  - error: dwd.0 (2512) uncaught exception: adapter.stop is not a function
                                    2020-09-21 13:49:44.778  - error: dwd.0 (2512) TypeError: adapter.stop is not a function
                                        at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.dwd/main.js:245:24)
                                        at listOnTimeout (internal/timers.js:549:17)
                                        at processTimers (internal/timers.js:492:7)
                                    2020-09-21 13:49:45.783  - warn: dwd.0 (2512) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                    2020-09-21 13:49:54.238  - error: host.nucserver instance system.adapter.dwd.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                    2020-09-21 13:49:57.537  - info: coronavirus-statistics.0 (2523) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                    2020-09-21 13:49:58.056  - info: host.nucserver instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                    2020-09-21 13:50:00.119  - info: host.nucserver instance system.adapter.dwd.0 started with pid 2616
                                    2020-09-21 13:50:03.347  - warn: dwd.0 (2616) slow connection to states DB. Still waiting ...
                                    

                                    Das im anderen Fenster

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

                                      @Boogie2005

                                      iobroker stop dwd
                                      

                                      Und sag mir mal bitte die Ausgabe zu

                                      df -h
                                      free -h
                                      
                                      ? 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @Thomas Braun last edited by

                                        @Thomas-Braun sagte in (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl:

                                        df -h

                                        georg@nucserver:~$ df -h
                                        Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                                        udev            3,9G       0  3,9G    0% /dev
                                        tmpfs           783M    8,7M  774M    2% /run
                                        /dev/sda2       102G    5,7G   91G    6% /
                                        tmpfs           3,9G    7,6M  3,9G    1% /dev/shm
                                        tmpfs           5,0M       0  5,0M    0% /run/lock
                                        tmpfs           3,9G       0  3,9G    0% /sys/fs/cgroup
                                        /dev/sda1       511M     13M  499M    3% /boot/efi
                                        tmpfs           783M       0  783M    0% /run/user/998
                                        tmpfs           783M       0  783M    0% /run/user/1000
                                        georg@nucserver:~$ free -h
                                                      total        used        free      shared  buff/cache   available
                                        Mem:          7,6Gi       2,7Gi       4,3Gi        35Mi       674Mi       4,7Gi
                                        Swap:         7,8Gi       319Mi       7,5Gi
                                        

                                        Sieht so aus!

                                        Ich finde es super, wie du mir versuchst zu helfen. Aber wäre es nicht einfacher, alles neu zu installieren? Dann müsste ich wohl auch Debian neu installieren?

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

                                          @Boogie2005

                                          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                          

                                          Neu drüberbügeln würde ich mit

                                          cd  /opt/iobroker 
                                          sudo -H -u iobroker npm install iobroker.js-controller
                                          

                                          mal versuchen. Aber irgendwas ist mit der states DB komisch, scheint mir.

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @Thomas Braun last edited by

                                            @Thomas-Braun sagte in (Gelöst, wechsel auf Debian)Neuinstallation schlägt fehl:

                                            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                                            Also Das ergibt nun folgendes:

                                            georg@nucserver:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                            /usr/bin/nodejs
                                            v12.18.4
                                            /usr/bin/node
                                            v12.18.4
                                            /usr/bin/npm
                                            6.14.6
                                            nodejs:
                                              Installiert:           12.18.4-1nodesource1
                                              Installationskandidat: 12.18.4-1nodesource1
                                              Versionstabelle:
                                             *** 12.18.4-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                                                    100 /var/lib/dpkg/status
                                                 10.21.0~dfsg-1~deb10u1 500
                                                    500 http://deb.debian.org/debian buster/main amd64 Packages
                                                    500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                            georg@nucserver:~$
                                            
                                            Thomas Braun 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

                                            812
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            einrichtungsfehler 404 lizenz
                                            6
                                            140
                                            5193
                                            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