Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker hängt, Admin nicht erreichbar

    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

    ioBroker hängt, Admin nicht erreichbar

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

      Moin zusammen,

      hoffe jemand kann mich unterstützen.
      ioBroker "hängt". Kein Zugriff auf Admin, Scripte laufen nicht....
      ...da läuft ioBroker lange Zeit super zuverlässig und kaum bin ich mit der Familie in Urlaub gibts Probleme.
      Zugriff auf die Kiste habe ich über SSH....

      Was ich bisher versucht hatte (ist das vorgehen aus der Doku https://www.iobroker.net/docu/index-26.htm?page_id=3928&lang=de) :

      Stopp/Start ioBroker
      Reboot der Kiste 😉

      ioadmin@IO-BROKER-SERVER:~$ ps -A | grep iobroker
       5775 ?        00:00:07 iobroker.js-con
      
      netstat -n -a -p TCP
      (Es konnten nicht alle Prozesse identifiziert werden; Informationen über
      nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
      Aktive Internetverbindungen (Server und stehende Verbindungen)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                  PID/Program name
      tcp        0      0 127.0.0.1:3551          0.0.0.0:*               LISTEN                                                                 -
      tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN                                                                 -
      tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN                                                                 -
      
      
      ioadmin@IO-BROKER-SERVER:~$ cd /opt/iobroker
      ioadmin@IO-BROKER-SERVER:/opt/iobroker$ iobroker list instances
      
      
      

      An dieser Stelle hängt sich die Session auf, komme da auch mit "STRG-C" nicht mehr raus.

      ioadmin@IO-BROKER-SERVER:~$ iobroker list adapters
      Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.
      Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.
      system.adapter.admin                   : admin          - v6.3.5
      system.adapter.alias-manager           : alias-manager  - v1.2.6
      system.adapter.apcups                  : apcups         - v1.0.15
      system.adapter.backitup                : backitup       - v2.6.23
      system.adapter.cameras                 : cameras        - v0.1.8
      system.adapter.discovery               : discovery      - v3.1.0
      system.adapter.feiertage               : feiertage      - v1.1.0
      system.adapter.flot                    : flot           - v1.12.0
      system.adapter.fullcalendar            : fullcalendar   - v1.2.0
      system.adapter.heos                    : heos           - v1.10.0
      
      
      

      Adapter werden wohl nicht alle angezeigt/geladen, da sollte noch Scrip, openknx und etliche andere Adapter geladen sein. An dieser Stelle hängt sich die Session auch auf, komme da auch mit "STRG-C" nicht mehr raus.

      Vielen Dank mal vorab,
      Gruß
      Sascha

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

        @king_knipex

        iob diag
        

        sagt?

        K 1 Reply Last reply Reply Quote 0
        • K
          King_Knipex @Thomas Braun last edited by

          @thomas-braun

          Skript v.2023-04-16
          
          *** BASE SYSTEM ***
          Architecture    : x86_64
          Docker          : false
          Virtualization  : none
          Distributor ID: Debian
          Description:    Debian GNU/Linux 10 (buster)
          Release:        10
          Codename:       buster
          
          PRETTY_NAME="Debian GNU/Linux 10 (buster)"
          NAME="Debian GNU/Linux"
          VERSION_ID="10"
          VERSION="10 (buster)"
          VERSION_CODENAME=buster
          ID=debian
          HOME_URL="https://www.debian.org/"
          SUPPORT_URL="https://www.debian.org/support"
          BUG_REPORT_URL="https://bugs.debian.org/"
          
          Systemuptime and Load:
           09:39:16 up  1:15,  1 user,  load average: 0.02, 0.06, 0.08
          CPU threads: 4
          
          
          *** Time and Time Zones ***
                         Local time: Sun 2023-08-20 09:39:16 CEST
                     Universal time: Sun 2023-08-20 07:39:16 UTC
                           RTC time: Sun 2023-08-20 07:39:16
                          Time zone: Europe/Berlin (CEST, +0200)
          System clock synchronized: yes
                        NTP service: active
                    RTC in local TZ: no
          
          *** User and Groups ***
          ioadmin
          /home/ioadmin
          ioadmin cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner iobroker
          
          *** X-Server-Setup ***
          X-Server:       true
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                        total        used        free      shared  buff/cache   available
          Mem:           7.6G        2.6G        3.6G         46M        1.5G        4.7G
          Swap:          976M          0B        976M
          Total:         8.6G        2.6G        4.5G
          
                   7628 M total memory
                   2556 M used memory
                   2989 M active memory
                    665 M inactive memory
                   3551 M free memory
                    185 M buffer memory
                   1334 M swap cache
                    976 M total swap
                      0 M used swap
                    976 M free swap
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          udev           devtmpfs  3.8G     0  3.8G   0% /dev
          tmpfs          tmpfs     763M  9.3M  754M   2% /run
          /dev/sda2      ext4      116G   71G   40G  65% /
          tmpfs          tmpfs     3.8G     0  3.8G   0% /dev/shm
          tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
          tmpfs          tmpfs     3.8G     0  3.8G   0% /sys/fs/cgroup
          /dev/sda1      vfat      511M   12M  500M   3% /boot/efi
          /dev/sdb       ext4      3.6T  1.1T  2.4T  32% /backup
          tmpfs          tmpfs     763M  4.0K  763M   1% /run/user/115
          tmpfs          tmpfs     763M     0  763M   0% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Sun Aug 20 08:23:26 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
          [Sun Aug 20 08:23:26 2023] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
          [Sun Aug 20 08:23:27 2023] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null)
          
          Show mounted filesystems (real ones only):
          TARGET        SOURCE    FSTYPE OPTIONS
          /             /dev/sda2 ext4   rw,relatime,errors=remount-ro
          |-/sys/fs/bpf bpf       bpf    rw,nosuid,nodev,noexec,relatime,mode=700
          |-/backup     /dev/sdb  ext4   rw,relatime
          `-/boot/efi   /dev/sda1 vfat   rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          27G     /var/
          25G     /var/lib
          24G     /var/lib/docker
          21G     /var/lib/docker/volumes
          16G     /var/lib/docker/volumes/430a4e27409afffc4e1ecae580046386546e72e549bc590394143a748c0b7b69/_data
          
          Hint: You are currently not seeing messages from other users and the system.
                Users in the 'systemd-journal' group can see all messages. Pass -q to
                turn off this notice.
          No journal files were opened due to insufficient permissions.
          
          /opt/iobroker/backups:
          156M    /opt/iobroker/backups/
          4.0K    /opt/iobroker/backups/redistmp
          
          /opt/iobroker/iobroker-data:
          801M    /opt/iobroker/iobroker-data/
          403M    /opt/iobroker/iobroker-data/history
          187M    /opt/iobroker/iobroker-data/files
          129M    /opt/iobroker/iobroker-data/backup-objects
          51M     /opt/iobroker/iobroker-data/files/javascript.admin
          
          The five largest files in iobroker-data are:
          15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
          14M     /opt/iobroker/iobroker-data/objects.jsonl
          13M     /opt/iobroker/iobroker-data/objects.json.migrated
          13M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
          7.2M    /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v14.19.3
          /usr/local/bin/node             v16.15.0
          /usr/local/bin/npm              8.5.5
          /usr/local/bin/npx              8.5.5
          *** nodejs is NOT correctly installed ***
          
          nodejs:
            Installed: 14.19.3-deb-1nodesource1
            Candidate: 14.21.3-deb-1nodesource1
            Version table:
               14.21.3-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_14.x buster/main amd64 Packages
           *** 14.19.3-deb-1nodesource1 100
                  100 /var/lib/dpkg/status
               10.24.0~dfsg-1~deb10u3 500
                  500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
               10.24.0~dfsg-1~deb10u1 500
                  500 http://deb.debian.org/debian buster/main amd64 Packages
               4.8.2~dfsg-1 500
                  500 http://ftp.nl.debian.org/debian stretch/main amd64 Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          MULTIHOSTSERVICE/enabled: false
          
          Core adapters versions
          js-controller:  4.0.23
          admin:          6.3.5
          javascript:     6.1.4
          
          Adapters from github:   0
          
          Adapter State
          

          ...mehr output gabs nicht, da hängt das system dann wieder

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

            @king_knipex sagte in ioBroker hängt, Admin nicht erreichbar:

            nodejs is NOT correctly installed

            K 1 Reply Last reply Reply Quote 0
            • K
              King_Knipex @crunchip last edited by

              @crunchip
              ..ja habe ich auch gesehen, wüsste jetzt aber nicht das ich da aktuell was dran gemacht habe.
              Eine Idee wie man das wieder gerade ziehen kann?
              ...muss jetzt mit der Familie weg, wie gesagt Urlaub. Für weitere Tipps bin weiterhin dankbar.

              Gruß
              Sascha

              crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @King_Knipex last edited by

                @king_knipex sagte in ioBroker hängt, Admin nicht erreichbar:

                wüsste jetzt aber nicht das ich da aktuell was dran gemacht habe

                läuft halt dann schon länger falsch

                @king_knipex sagte in ioBroker hängt, Admin nicht erreichbar:

                Für weitere Tipps bin weiterhin dankbar

                docker keinen Plan, ansonsten zwecks nodejs kannst du die oberen Threads mal betrachten, auf
                https://forum.iobroker.net/user/thomas-braun

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

                  @king_knipex

                  Totes Release, laufender Desktop, schiefe Installation von nodejs.
                  Pack den ioadmin in die Gruppe 'adm'.

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    King_Knipex @Thomas Braun last edited by

                    @thomas-braun

                    ioadmin@IO-BROKER-SERVER:~$ id
                    uid=1000(ioadmin) gid=1000(ioadmin) Gruppen=1000(ioadmin),4(adm),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),114(lpadmin),115(scanner),1001(iobroker)
                    
                    

                    ..ist gemacht
                    Einspielen des Backups von letzter Woche hat leider auch nicht geholfen...

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

                      @king_knipex

                      Das wichtigste dürfte eine ordentliche Installation von nodejs sein

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        King_Knipex @Thomas Braun last edited by

                        @thomas-braun

                        ...die ersten Schritte aus: [HowTo] Nodejs-Installation und Upgrades unter Debian:

                        ioadmin@IO-BROKER-SERVER:/opt/iobroker$ npm ls | grep -E 'github|ERR'
                        

                        liefert nichts

                        ioadmin@IO-BROKER-SERVER:/opt/iobroker$ npm ls
                        

                        bleibt aber hängen

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • K
                          King_Knipex @crunchip last edited by

                          @crunchip

                          Sehe ich das richtig das Teil 2 Deiner Anleitung erst dann durchgeführt werden sollte wenn Teil 1 durchgelaufen ist?
                          Jedenfalls wirft der "Test auf 'ordentliche' Installation" 4 andere Verzeichnisse als /usr/bin.

                          /usr/bin/nodejs
                          /usr/local/bin/node
                          /usr/local/bin/npm
                          /usr/local/bin/npx
                          /usr/local/bin/corepack
                          
                          

                          ..die 4 Dateien wirklich jetzt von Hand löschen?

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

                            @king_knipex

                            Dann ist da wohl bei npm was krumm.
                            Installier nodejs drüber und lösch die falschen Pfade.

                            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

                            735
                            Online

                            32.0k
                            Users

                            80.6k
                            Topics

                            1.3m
                            Posts

                            3
                            12
                            405
                            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