Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. [gelöst] VIS-2 stürzt laufend ab

    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] VIS-2 stürzt laufend ab

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

      Hallo Leute,

      seit ein paar Monaten bin ich IoBroker-User und bin begeistert von den nahezu unendlichen Möglichkeiten dieses Open-Sources-Projektes. Ein Hoch auf die engagierten Entwickler! Das Forum hat mir auch schon oft weitergeholfen, z.B.
      • beim sehr versteckten Hinweis, dass ein Fritz!Box-WLAN-Name niemals Leerzeichen enthalten darf (das ist die Standardeinstellung!) und damit eine Shelly-Einbindung via WLAN kläglich scheitert
      • beim Hinweis, dass Alias-Objekte mit Struktur der bessere Weg für eine langfristige Visualisierung sind
      • beim Tipp, dass JavaScript sehr viel mehr bietet, als Blockly. Das kommt mir als langjährig Vertrautem mit VBA, SQL, C#, JQuery auch gelegen.

      Seit einigen Wochen plage ich mich allerdings mit VIS-2 herum. Nach mehreren Neuinstallationen des Adapters wegen genau diesem Problem im IoBroker habe ich nach ein paar Tagen immer wieder beim Start der Instanz folgende Fehlermeldungen im Protokoll und die Instanz geht auf den Status rot:

      vis-2.0	2025-01-28 05:47:53.547	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      vis-2.0	2025-01-28 05:47:53.547	debug	Plugin sentry destroyed
      vis-2.0	2025-01-28 05:47:53.545	info	terminating
      vis-2.0	2025-01-28 05:47:53.040	error	Cannot read properties of null (reading 'file')
      vis-2.0	2025-01-28 05:47:53.040	error	TypeError: Cannot read properties of null (reading 'file') at buildHtmlPages (/opt/iobroker/node_modules/iobroker.vis-2/main.js:859:51) at async Object.main [as ready] (/opt/iobroker/node_modules/iobroker.vis-2/main.js:1054:5)
      vis-2.0	2025-01-28 05:47:53.038	error	unhandled promise rejection: Cannot read properties of null (reading 'file')
      vis-2.0	2025-01-28 05:47:53.037	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      
      

      Ich habe im Forum danach gesucht, aber nichts Zielführendes gefunden. Was ist die Ursache dieses Problems und wie kann ich das beheben? Eine Neuinstallation des Adapters im IoBroker möchte ich vermeiden. Das dauert bei meinem Raspi4 immer Stunden (ich weiß nicht, warum).

      Wer kann mich bitte mit Hinweise und Lösungsmöglichkeiten zu diesem Problem unterstützen?

      Vielen Dank im Voraus!

      Schöne Grüße aus dem Mühlviertel (A), hf

      sigi234 Thomas Braun 3 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @fuzzy1955 last edited by sigi234

        @fuzzy1955
        Hallo,
        Welche Vis Version?
        System auf welchen Stand?
        Web Adapter Einstellungen?
        Browser Cache mal komplett geleert?
        Alte Vis1 Widgets installiert?
        Grupierte Widgets vorhanden?

        Grüße aus Linz-Land

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

          @fuzzy1955 sagte in VIS-2 stützt laufend ab:

          Eine Neuinstallation des Adapters im IoBroker möchte ich vermeiden. Das dauert bei meinem Raspi4 immer Stunden (ich weiß nicht, warum).

          Das würde ich mir grundlegend zuerst anschauen.

          iob diag
          

          in der Langfassung kann da u. U. erste Hinweise liefern.

          fuzzy1955 1 Reply Last reply Reply Quote 0
          • fuzzy1955
            fuzzy1955 @sigi234 last edited by

            @sigi234

            VIS-2-Version: v2.9.64
            System ist am letzten Updatestand
            Web Adapter Einstellungen: Standard (nichts verändert)
            Browser Cache des Öfteren komplett geleert
            Alte Vis1 Widgets sind nicht installiert
            Keine gruppierte Widgets vorhanden

            sigi234 1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @fuzzy1955 last edited by sigi234

              @fuzzy1955
              Ok, dann warten wir mal iob diag ab

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

                @thomas-braun sagte in VIS-2 stürzt laufend ab:

                iob diag

                Das Linux-Protokoll ist für mich etwas schwer verdaulich. Siehst du etwas daraus? Danke vorweg!

                ========== Start marking the full check here ===========
                
                ```bash
                Script v.2024-10-19
                
                *** BASE SYSTEM ***
                 Static hostname: raspberrypi
                       Icon name: computer
                Operating System: Debian GNU/Linux 12 (bookworm)
                          Kernel: Linux 6.6.62+rpt-rpi-v8
                    Architecture: arm64
                OS is similar to:
                
                Model           : Raspberry Pi 4 Model B Rev 1.5
                Docker          : false
                Virtualization  : none
                Kernel          : aarch64
                Userland        : 64 bit
                
                Systemuptime and Load:
                 15:46:59 up 11 min,  2 users,  load average: 3.11, 3.85, 2.68
                CPU threads: 4
                
                
                *** LIFE CYCLE STATUS ***
                Operating System is the current Debian stable version codenamed 'bookworm'!
                
                *** RASPBERRY THROTTLING ***
                Current issues:
                No throttling issues detected.
                
                Previously detected issues:
                No throttling issues detected.
                
                *** TIME AND TIMEZONES ***
                               Local time: Tue 2025-01-28 15:46:59 CET
                           Universal time: Tue 2025-01-28 14:46:59 UTC
                                 RTC time: n/a
                                Time zone: Europe/Vienna (CET, +0100)
                System clock synchronized: yes
                              NTP service: active
                          RTC in local TZ: no
                
                *** Users and Groups ***
                User that called 'iob diag':
                pi
                HOME=/home/pi
                GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                
                User that is running 'js-controller':
                iobroker
                HOME=/home/iobroker
                GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
                
                *** DISPLAY-SERVER SETUP ***
                Display-Server: false
                Desktop:
                Terminal:       tty
                
                *** MEMORY ***
                               total        used        free      shared  buff/cache   available
                Mem:            4.0G        877M        2.2G        1.2M        1.0G        3.1G
                Swap:           536M          0B        536M
                Total:          4.5G        877M        2.7G
                
                Active iob-Instances:   7
                
                         3790 M total memory
                          837 M used memory
                         1002 M active memory
                          597 M inactive memory
                         2056 M free memory
                           81 M buffer memory
                          882 M swap cache
                          511 M total swap
                            0 M used swap
                          511 M free swap
                
                *** top - Table Of Processes  ***
                top - 15:46:59 up 11 min,  2 users,  load average: 3.11, 3.85, 2.68
                Tasks: 175 total,   3 running, 172 sleeping,   0 stopped,   0 zombie
                %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                MiB Mem :   3790.9 total,   2056.5 free,    837.3 used,    964.4 buff/cache
                MiB Swap:    512.0 total,    512.0 free,      0.0 used.   2953.6 avail Mem
                
                *** FAILED SERVICES ***
                
                  UNIT LOAD ACTIVE SUB DESCRIPTION
                0 loaded units listed.
                
                
                *** DMESG CRITICAL ERRORS ***
                No critical errors detected
                
                *** FILESYSTEM ***
                Filesystem     Type      Size  Used Avail Use% Mounted on
                udev           devtmpfs  1.6G     0  1.6G   0% /dev
                tmpfs          tmpfs     380M  1.2M  378M   1% /run
                /dev/sda2      ext4      228G  8.2G  208G   4% /
                tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                /dev/sda1      vfat      510M   57M  454M  11% /boot/firmware
                tmpfs          tmpfs     380M     0  380M   0% /run/user/1000
                
                Messages concerning ext4 filesystem in dmesg:
                [Tue Jan 28 15:35:37 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=D8:3A:DD:AF:36:53 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=647b8608-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=AT
                [Tue Jan 28 15:35:45 2025] EXT4-fs (sda2): mounted filesystem ce208fd3-38a8-424a-87a2-cd44114eb820 ro with ordered data mode. Quota mode: none.
                [Tue Jan 28 15:35:46 2025] EXT4-fs (sda2): re-mounted ce208fd3-38a8-424a-87a2-cd44114eb820 r/w. Quota mode: none.
                
                Show mounted filesystems:
                TARGET           SOURCE    FSTYPE OPTIONS
                /                /dev/sda2 ext4   rw,noatime
                `-/boot/firmware /dev/sda1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                
                Files in neuralgic directories:
                
                /var:
                1.5G    /var/
                346M    /var/cache
                343M    /var/lib
                324M    /var/cache/apt
                287M    /var/log
                
                Archived and active journals take up 201.3M in the file system.
                
                /opt/iobroker/backups:
                37M     /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                1.4G    /opt/iobroker/iobroker-data/
                1.3G    /opt/iobroker/iobroker-data/files
                617M    /opt/iobroker/iobroker-data/files/javascript.admin
                560M    /opt/iobroker/iobroker-data/files/javascript.admin/static
                558M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                
                The five largest files in iobroker-data are:
                26M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.41cee985.js.map
                26M     /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.41cee985.js.map
                24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
                24M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map
                24M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.8e80ccb0.js.map
                
                USB-Devices by-id:
                USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                
                No Devices found 'by-id'
                
                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v20.18.1
                /usr/bin/node           v20.18.1
                /usr/bin/npm            10.8.2
                /usr/bin/npx            10.8.2
                /usr/bin/corepack       0.29.4
                
                nodejs:
                  Installed: 20.18.1-1nodesource1
                  Candidate: 20.18.2-1nodesource1
                  Version table:
                     20.18.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                 *** 20.18.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                        100 /var/lib/dpkg/status
                     20.18.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.17.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.16.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.15.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.15.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.14.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.13.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.13.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.12.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.12.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.12.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.11.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.11.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.10.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.9.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.8.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.8.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.7.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.6.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.6.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.5.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.5.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.4.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.3.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.3.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.2.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.1.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     20.0.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                     18.19.0+dfsg-6~deb12u2 500
                        500 http://deb.debian.org/debian bookworm/main arm64 Packages
                     18.19.0+dfsg-6~deb12u1 500
                        500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                
                Temp directories causing deletion problem: 0
                No problems detected
                
                Errors in npm tree: 0
                No problems detected
                
                *** ioBroker-Installation ***
                
                ioBroker Status
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Hosts:
                raspberrypi         raspberrypi (version: 7.0.6, hostname: raspberrypi   , alive, uptime: 660)
                
                Core adapters versions
                js-controller:  7.0.6
                admin:          7.4.10
                javascript:     8.8.3
                
                nodejs modules from github:     0
                
                Adapter State
                  system.adapter.accuweather.0            : accuweather           : raspberrypi                              - disabled
                + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                  system.adapter.deyeidc.0                : deyeidc               : raspberrypi                              - disabled, port: 8899
                  system.adapter.discovery.0              : discovery             : raspberrypi                              - disabled
                  system.adapter.e3dc-rscp.0              : e3dc-rscp             : raspberrypi                              - disabled
                  system.adapter.echarts.0                : echarts               : raspberrypi                              - disabled
                  system.adapter.energiefluss.0           : energiefluss          : raspberrypi                              - disabled
                  system.adapter.iqontrol.0               : iqontrol              : raspberrypi                              - disabled
                  system.adapter.jarvis.0                 : jarvis                : raspberrypi                              - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                + system.adapter.kecontact.0              : kecontact             : raspberrypi                              -  enabled
                  system.adapter.modbus.0                 : modbus                : raspberrypi                              - disabled
                  system.adapter.modbus.1                 : modbus                : raspberrypi                              - disabled
                + system.adapter.sql.0                    : sql                   : raspberrypi                              -  enabled, port: 3306
                  system.adapter.vis-2-widgets-energy.0   : vis-2-widgets-energy  : raspberrypi                              -  enabled
                  system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: raspberrypi                              -  enabled
                  system.adapter.vis-2-widgets-weather-and-heating.0: vis-2-widgets-weather-and-heating: raspberrypi                              -  enabled
                  system.adapter.vis-2.0                  : vis-2                 : raspberrypi                              - disabled
                  system.adapter.vis.0                    : vis                   : raspberrypi                              -  enabled
                + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                + instance is alive
                
                Enabled adapters with bindings
                + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.sql.0                    : sql                   : raspberrypi                              -  enabled, port: 3306
                + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                ioBroker-Repositories
                ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
                │ (index) │ name     │ url                                                     │ auto upgrade │
                ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
                │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ true         │
                │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
                
                Active repo(s): stable
                Upgrade policy: minor
                
                Installed ioBroker-Instances
                Used repository: stable
                Adapter    "accuweather"  : 1.5.0    , installed 1.5.0
                Adapter    "admin"        : 7.4.10   , installed 7.4.10
                Adapter    "backitup"     : 3.0.31   , installed 3.0.31
                Adapter    "deyeidc"      : 0.1.1    , installed 0.1.1
                Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                Adapter    "e3dc-rscp"    : 1.3.1    , installed 1.3.1
                Adapter    "echarts"      : 1.9.2    , installed 1.9.2
                Adapter    "energiefluss" : 3.6.2    , installed 3.6.2
                Adapter    "iqontrol"     : 3.0.0    , installed 3.0.0
                Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
                Adapter    "javascript"   : 8.8.3    , installed 8.8.3
                Controller "js-controller": 7.0.6    , installed 7.0.6
                Adapter    "kecontact"    : 2.3.0    , installed 2.3.0
                Adapter    "modbus"       : 6.3.2    , installed 6.3.2
                Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                Adapter    "socketio"     : 6.7.1    , installed 6.6.1  [Updatable]
                Adapter    "sql"          : 3.0.1    , installed 3.0.1
                Adapter    "vis"          : 1.5.6    , installed 1.5.6
                Adapter    "vis-2"        : 2.9.64   , installed 2.9.64
                Adapter    "vis-2-widgets-energy": 1.0.2, installed 1.0.2
                Adapter    "vis-2-widgets-material": 1.4.10, installed 1.4.10
                Adapter    "vis-2-widgets-weather-and-heating": 0.8.0, installed 0.8.0
                Adapter    "web"          : 6.2.5    , installed 6.2.5
                Adapter    "ws"           : 2.6.2    , installed 2.5.11 [Updatable]
                
                Objects and States
                Please stand by - This may take a while
                Objects:        2280
                States:         2440
                
                *** OS-Repositories and Updates ***
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: https://packages.grafana.com/oss/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                Hit:1 http://deb.debian.org/debian bookworm InRelease
                Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                Hit:6 https://apt.grafana.com stable InRelease
                Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease
                Reading package lists...
                W: https://packages.grafana.com/oss/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                Pending Updates: 5
                
                *** Listening Ports ***
                Active Internet connections (only servers)
                Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       3960       593/iobroker.js-con
                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       5103       593/iobroker.js-con
                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          5669       612/sshd: /usr/sbin
                tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      106        4815       673/mariadbd
                tcp6       0      0 :::3000                 :::*                    LISTEN      107        3997       791/grafana
                tcp6       0      0 :::22                   :::*                    LISTEN      0          5671       612/sshd: /usr/sbin
                tcp6       0      0 :::8082                 :::*                    LISTEN      1001       7511       936/io.web.0
                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       5935       892/io.admin.0
                udp        0      0 0.0.0.0:7090            0.0.0.0:*                           1001       6415       1005/io.kecontact.0
                udp        0      0 0.0.0.0:7092            0.0.0.0:*                           1001       6416       1005/io.kecontact.0
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        3776       465/avahi-daemon: r
                udp        0      0 0.0.0.0:52989           0.0.0.0:*                           1001       6038       1005/io.kecontact.0
                udp        0      0 0.0.0.0:53688           0.0.0.0:*                           104        3778       465/avahi-daemon: r
                udp6       0      0 :::54069                :::*                                104        3779       465/avahi-daemon: r
                udp6       0      0 :::5353                 :::*                                104        3777       465/avahi-daemon: r
                udp6       0      0 fe80::e855:5732:f4a:546 :::*                                0          5100       546/NetworkManager
                
                *** Log File - Last 25 Lines ***
                
                2025-01-28 15:38:33.794  - info: kecontact.0 (1005) config stateEnWG:
                2025-01-28 15:38:33.794  - info: kecontact.0 (1005) config dynamicEnWG: false
                2025-01-28 15:38:33.794  - info: kecontact.0 (1005) config maxPower: 0
                2025-01-28 15:38:33.794  - info: kecontact.0 (1005) config stateEnergyMeter1:
                2025-01-28 15:38:33.794  - info: kecontact.0 (1005) config stateEnergyMeter2:
                2025-01-28 15:38:33.795  - info: kecontact.0 (1005) config stateEnergyMeter3:
                2025-01-28 15:38:33.795  - info: kecontact.0 (1005) config wallboxNotIncluded: false
                2025-01-28 15:39:23.450  - info: admin.0 (892) ==> Connected system.user.admin from ::ffff:192.168.0.20
                2025-01-28 15:39:24.414  - error: host.raspberrypi cannot call visUtils: Not exists
                2025-01-28 15:40:27.989  - error: host.raspberrypi cannot call visUtils: Not exists
                2025-01-28 15:41:26.674  - info: admin.0 (892) ==> Connected system.user.admin from ::ffff:192.168.0.20
                2025-01-28 15:42:35.067  - info: vis.0 (873) Terminated (NO_ERROR): Without reason
                2025-01-28 15:42:35.628  - info: host.raspberrypi instance system.adapter.vis.0 terminated while should be started once
                2025-01-28 15:42:41.822  - info: javascript.0 (903) requesting all states
                2025-01-28 15:42:41.824  - info: javascript.0 (903) requesting all objects
                2025-01-28 15:42:42.769  - info: javascript.0 (903) received all objects
                2025-01-28 15:42:42.845  - info: javascript.0 (903) received all states
                2025-01-28 15:42:42.965  - info: javascript.0 (903) Start JavaScript script.js.common._JobsAutomatisch.StrompreisInsertDB (Javascript/js)
                2025-01-28 15:42:43.030  - info: javascript.0 (903) script.js.common._JobsAutomatisch.StrompreisInsertDB: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                2025-01-28 15:42:43.032  - info: javascript.0 (903) Start JavaScript script.js.common._JobsAutomatisch.StrompreisAbfrage (Javascript/js)
                2025-01-28 15:42:43.041  - info: javascript.0 (903) script.js.common._JobsAutomatisch.StrompreisAbfrage: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                2025-01-28 15:42:43.043  - info: javascript.0 (903) Start JavaScript script.js.common._Tests.Wetterprognose (Blockly)
                2025-01-28 15:42:43.184  - info: javascript.0 (903) script.js.common._Tests.Wetterprognose: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                2025-01-28 15:42:43.590  - info: javascript.0 (903) script.js.common._Tests.Wetterprognose: result
                2025-01-28 15:44:20.586  - error: host.raspberrypi cannot call visUtils: Not exists
                
                

                ============ Mark until here for C&P =============

                iob diag has finished.

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

                  @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                  Siehst du etwas daraus?

                  @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                  load average: 3.11, 3.85, 2.68

                  der Raspi keucht aus dem letzten Loch!

                  @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                  OS-Repositories

                  da ist wohl einiges krumm, kann ich dir aber nicht helfen.

                  @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                                          2025-01-28 15:44:20.586  - error: host.raspberrypi cannot call visUtils: Not exists
                  

                  dazu gibt es bereits Threads

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

                    @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                    load average: 3.11, 3.85, 2.68

                    Roter Bereich. Bei Werten über 4 ist die Kiste mehr als 100% ausgelastet.
                    Da liegt also irgendwas 'schweres' dauerhaft an.
                    Das wird dann auch zu den laufenden 'Abstürzen' führen. Das System knippst solche Prozesse u. U. irgendwann aus.

                    Dein grafana-Repo ist irgendwie schief. Leg das nochmal sauber neu an.
                    Und dann haust du die Updates rein. Sowohl für das OS wie auch für den ioBroker.

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

                      @thomas-braun

                      Danke für die Hinweise! Das letzte Mal hab ich den Raspi vor 14 Tagen komplett neu installiert (das 5.Mal innerhalb von 2 Monaten). Streng nach Anleitung. Kann es sein dass der Raspi4 einen Schaden hat? Nur - nach einer Neuinstallation läuft er wie geschmiert.

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

                        @fuzzy1955

                        Ich vermute da eher ein krummes Skript.

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

                          @fuzzy1955 du kannst uns ja mal due Ausgabe von top zeigen.
                          Dann sieht man hoffentlich zumindest welcher Prozess da die ganze Leistung frisst

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

                            @homoran

                            Ja, klar:

                            top - 16:20:03 up 44 min,  1 user,  load average: 3,02, 2,00, 1,41
                            Tasks: 165 total,   1 running, 164 sleeping,   0 stopped,   0 zombie
                            %CPU(s):  0,2 us,  0,6 sy,  0,0 ni, 63,6 id, 35,7 wa,  0,0 hi,  0,0 si,  0,0 st
                            MiB Spch:   3790,9 total,   2033,0 free,    843,9 used,    981,4 buff/cache
                            MiB Swap:    512,0 total,    512,0 free,      0,0 used.   2947,0 avail Spch
                            
                                PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     ZEIT+ BEFEHL
                               6224 pi        20   0   12224   5120   2944 R   0,7   0,1   0:00.08 top
                                 93 root     -51   0       0      0      0 S   0,3   0,0   0:05.37 irq/37-mmc0
                                593 iobroker  20   0 9572052 281092  40960 S   0,3   7,2   1:41.05 iobroker.js-con
                                892 iobroker  20   0 9524100 168948  47232 S   0,3   4,4   0:39.21 io.admin.0
                               4401 root      20   0       0      0      0 I   0,3   0,0   0:01.55 kworker/2:3-events
                               4434 root      20   0       0      0      0 D   0,3   0,0   0:00.06 kworker/u11:2+flush-8:0
                                  1 root      20   0  317360  12580   8408 S   0,0   0,3   0:05.29 systemd
                                  2 root      20   0       0      0      0 S   0,0   0,0   0:00.01 kthreadd
                                  3 root      20   0       0      0      0 S   0,0   0,0   0:00.00 pool_workqueue_release
                                  4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-rcu_g
                                  5 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-rcu_p
                                  6 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-slub_
                                  7 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-netns
                                  9 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/0:0H-events_highpri
                                 11 root      20   0       0      0      0 I   0,0   0,0   0:00.37 kworker/u8:0-netns
                                 12 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-mm_pe
                                 13 root      20   0       0      0      0 I   0,0   0,0   0:00.00 rcu_tasks_kthread
                                 14 root      20   0       0      0      0 I   0,0   0,0   0:00.00 rcu_tasks_rude_kthread
                                 15 root      20   0       0      0      0 I   0,0   0,0   0:00.00 rcu_tasks_trace_kthread
                                 16 root      20   0       0      0      0 S   0,0   0,0   0:00.07 ksoftirqd/0
                                 17 root      20   0       0      0      0 I   0,0   0,0   0:00.80 rcu_preempt
                                 18 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration/0
                                 19 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/0
                                 20 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/1
                                 21 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration/1
                                 22 root      20   0       0      0      0 S   0,0   0,0   0:00.06 ksoftirqd/1
                                 24 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/1:0H-events_highpri
                                 25 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/2
                                 26 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration/2
                                 27 root      20   0       0      0      0 S   0,0   0,0   0:00.05 ksoftirqd/2
                                 29 root       0 -20       0      0      0 I   0,0   0,0   0:00.21 kworker/2:0H-kblockd
                                 30 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/3
                                 31 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration/3
                                 32 root      20   0       0      0      0 S   0,0   0,0   0:00.05 ksoftirqd/3
                                 34 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/3:0H-events_highpri
                                 36 root      20   0       0      0      0 I   0,0   0,0   0:00.03 kworker/u10:0-events_unbound
                                 37 root      20   0       0      0      0 I   0,0   0,0   0:00.20 kworker/u11:0-events_unbound
                                 38 root      20   0       0      0      0 I   0,0   0,0   0:00.37 kworker/u12:0-events_unbound
                                 39 root      20   0       0      0      0 S   0,0   0,0   0:00.00 kdevtmpfs
                                 40 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-inet_
                                 41 root      20   0       0      0      0 I   0,0   0,0   0:01.11 kworker/u9:1-events_unbound
                                 42 root      20   0       0      0      0 S   0,0   0,0   0:00.00 kauditd
                                 44 root      20   0       0      0      0 S   0,0   0,0   0:00.00 khungtaskd
                                 45 root      20   0       0      0      0 S   0,0   0,0   0:00.00 oom_reaper
                                 46 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-write
                                 47 root      20   0       0      0      0 S   0,0   0,0   0:00.09 kcompactd0
                                 48 root      20   0       0      0      0 I   0,0   0,0   0:00.16 kworker/3:1-mm_percpu_wq
                                 49 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-kinte
                                 50 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-kbloc
                                 51 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-blkcg
                                 52 root      20   0       0      0      0 I   0,0   0,0   0:00.12 kworker/u12:1-events_unbound
                                 53 root     -51   0       0      0      0 S   0,0   0,0   0:00.00 watchdogd
                                 55 root       0 -20       0      0      0 I   0,0   0,0   0:00.09 kworker/3:1H-kblockd
                                 56 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/R-rpcio
                            
                            
                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @fuzzy1955 last edited by

                              @fuzzy1955 Das ist jetzt strange!
                              CPU und MEM passen überhaupt nicht zur load.

                              wo ist das Betriebssystem installiert?
                              SD oder USB?

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

                                @thomas-braun

                                Meinst du ein JavaScript im IoBroker?

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

                                  @homoran

                                  Auf USB 3.0

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

                                    @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                                    Auf USB 3.0

                                    BINGO!
                                    das passt dann.

                                    Herunterfahren!
                                    bitte an USB2 stecken
                                    Neu starten und freuen

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

                                      @homoran

                                      Ich hab übrigens gerade vorher Grafana deinstalliert. War es das vielleicht?

                                      jetzt ist

                                      load average: 0.76, 1.27, 1.28
                                      
                                      
                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @fuzzy1955 last edited by Homoran

                                        @fuzzy1955 sagte in VIS-2 stürzt laufend ab:

                                        War es das vielleicht?

                                        Vielleicht der Auslöser, aber nicht die Ursache.

                                        Beim Pi4 kommt es zu Störstrahlung der CPU auf den USB3.
                                        Wenn dann viele Daten geschaufelt werden, kommen die nicht sauber durch und werden immer wieder neu geschickt, was die load in die Höhe treibt

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

                                          @homoran

                                          Hab ich gemacht und neu gebootet. Leider wieder das Gleiche. Aber der Fehler ist etwas später aufgetaucht:

                                          vis-2.0
                                          2025-01-28 16:35:00.278	info	terminating with timeout
                                          
                                          vis-2.0
                                          2025-01-28 16:34:59.277	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          vis-2.0
                                          2025-01-28 16:34:59.276	debug	Plugin sentry destroyed
                                          
                                          vis-2.0
                                          2025-01-28 16:34:59.275	info	terminating
                                          
                                          vis-2.0
                                          2025-01-28 16:34:58.766	error	Cannot read properties of null (reading 'file')
                                          
                                          vis-2.0
                                          2025-01-28 16:34:58.766	error	TypeError: Cannot read properties of null (reading 'file') at buildHtmlPages (/opt/iobroker/node_modules/iobroker.vis-2/main.js:859:51) at async Object.main [as ready] (/opt/iobroker/node_modules/iobroker.vis-2/main.js:1054:5)
                                          
                                          vis-2.0
                                          2025-01-28 16:34:58.765	error	unhandled promise rejection: Cannot read properties of null (reading 'file')
                                          
                                          vis-2.0
                                          2025-01-28 16:34:58.761	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          
                                          sigi234 1 Reply Last reply Reply Quote 0
                                          • sigi234
                                            sigi234 Forum Testing Most Active @fuzzy1955 last edited by sigi234

                                            @fuzzy1955
                                            Hat dir @Homoran schon geschrieben, suche mal nach visUtils

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            967
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            24
                                            1030
                                            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