Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Warnmeldungen im Javascript Log

    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

    Warnmeldungen im Javascript Log

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

      Hallo, am Samstag hat das JS-Controller-Update auf 6.0.7 mein System komplett zerschossen. Ich habe es dann neu darüber installiert und das Backup von der Nacht eingespielt - danach auf 6.0.8 erhöht. Seitdem macht IOBroker ständig im Log die Warnmeldungen im Javascript Adapter. Hat jemand was Ähnliches bei sich?
      Gruß
      Lothar
      2024-07-15 11 08 31.png

      Bitte ausfüllen:**

      • Adaptername: Javascript
      • Link zu Adapterrepository: http://download.iobroker.net/sources-dist-latest.json
      • Adapterversion: 8.6.0
      • js-controller Version: 6.0.8
      • Admin Version: 7.0.16
      • Hardwaresystem: Linux
      • Arbeitsspeicher: ...8GB
      • Festplattenart: SSD
      • Betriebssystem: Ubuntu 20.04
      • Nodejs-Version: 18.17.1
      • NPM-Version: 9.6.7
      • Installationsart: Skript
      • Image, Docker genutzt: Nein
      • Ort, Name der Imagedatei: ...

      Linux User bitte hier den Output von iob diag einfügen.

      ======================= SUMMARY =======================
                              v.2024-05-22
      
      
         Static hostname: pelo-TECRA-A11
               Icon name: computer-laptop
                 Chassis: laptop
        Operating System: Ubuntu 20.04.6 LTS
                  Kernel: Linux 5.15.0-113-generic
            Architecture: x86-64
      
      Installation:           native
      Kernel:                 x86_64
      Userland:               64 bit
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                1000
      Display-Server:         true
      Boot Target:            graphical.target
      
      Pending OS-Updates:     2
      Pending iob updates:    0
      
      Nodejs-Installation:
      /usr/bin/nodejs         v18.17.1
      /usr/bin/node           v18.17.1
      /usr/bin/npm            9.6.7
      /usr/bin/npx            9.6.7
      /usr/bin/corepack       0.18.0
      
      Recommended versions are nodejs 20.15.1 and npm 10.7.0
      Your nodejs installation is correct
      
      MEMORY:
                    total        used        free      shared  buff/cache   available
      Mem:           7.7G        5.8G        352M         31M        1.5G        1.5G
      Swap:          2.0G        581M        1.5G
      Total:         9.7G        6.4G        1.8G
      
      Active iob-Instances:   67
      Upgrade policy: none
      
      ioBroker Core:          js-controller           6.0.8
                              admin                   7.0.16
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : pelo-TECRA-A11                           -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.web-speedy.0             : web-speedy            : pelo-TECRA-A11                           - disabled
      + system.adapter.web.0                    : web                   : pelo-TECRA-A11                           -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.web.1                    : web                   : pelo-TECRA-A11                           -  enabled, port: 8083, bind: 0.0.0.0, run as: admin
      + system.adapter.web.2                    : web                   : pelo-TECRA-A11                           -  enabled, port: 8182, bind: 0.0.0.0, run as: admin
      + system.adapter.webcal.0                 : webcal                : pelo-TECRA-A11                           -  enabled
        system.adapter.weblogin.0               : weblogin              : pelo-TECRA-A11                           -  enabled
      
      Objects:                30080
      States:                 21755
      
      Size of iob-Database:
      
      63M     /opt/iobroker/iobroker-data/objects.jsonl
      15M     /opt/iobroker/iobroker-data/objects.json.migrated
      15M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
      12M     /opt/iobroker/iobroker-data/states.jsonl
      1.7M    /opt/iobroker/iobroker-data/states.json.migrated
      1.7M    /opt/iobroker/iobroker-data/states.json.bak.migrated
      
      
      
      =================== END OF SUMMARY ====================
      

      === Mark text until here for copying ===

      Samson71 Thomas Braun Asgothian MartinP 4 Replies Last reply Reply Quote 0
      • Samson71
        Samson71 Global Moderator @lhoemberg last edited by

        @lhoemberg
        Logs bitte NICHT als Screenshot, sondern den Inhalt in Code-Tags </> einbetten in den Post. Das ist sonst kaum lesbar, zumindest am Mobilgerät.

        Das 'iob diag' ist nur der Summary. Besser wäre für eine mögliche Fehleranalyse die Langversion.

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

          @lhoemberg sagte in Warnmeldungen im Javascript Log:

          Display-Server: true

          Ausschalten.

          sudo systemctl set-default multi-user.target
          

          nodejs auf Version 20 aus dem entsprechenden Repo bringen:

          iob nodejs-update 20
          
          L 1 Reply Last reply Reply Quote 0
          • Asgothian
            Asgothian Developer @lhoemberg last edited by Asgothian

            @lhoemberg Dein Log sagt dir was falsch ist. Lesen musst du es allerdings noch selber.

            Am Beispiel oben:

            getState "info.0.sysinfo.memory.info.total" not found
            getState "info.0.sysinfo.memory.info.used" not found
            

            Da fragst du also 2 States ab die aktuell nicht existieren. Das wurde früher mal einfach ignoriert - jetzt gibt es Warnmeldungen.

            A.
            Nachtrag: So richtig die Anmerkungen von @Thomas-Braun sind, so wenig haben sie mit den Warnmeldungen zu tun (nix)

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

              @lhoemberg Es geht ja in der Fehlermeldung um zwei Datenpunkte

              "info.0.sysinfo.memory.info.total"

              und

              "info.0.sysinfo.memory.info.used"

              Als Erstes würde ich schauen, ob diese beiden Datenpunkte überhaupt noch vorhanden sind ...

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

                @asgothian sagte in Warnmeldungen im Javascript Log:

                Nachtrag: So richtig die Anmerkungen von @Thomas-Braun sind, so wenig haben sie mit den Warnmeldungen zu tun (nix)

                Die haben aber was mit einem stabilen Grund-System zu tun.
                Das ist dann die Basis, auf der man ggfls. weitere Dinge anschauen kann.

                Und Screenshos von Logs schaue ich mir grundsätzlich erstmal nicht an.

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

                  @martinp sagte in Warnmeldungen im Javascript Log:

                  "info.0.sysinfo.memory.info.total"
                  und
                  "info.0.sysinfo.memory.info.used"
                  Als Erstes würde ich schauen, ob diese beiden Datenpunkte überhaupt noch vorhanden sind ...

                  Der info-Adapter ist obsolet und kann/sollte/muss deinstalliert werden. Da tut niemand mehr was dran.

                  1 Reply Last reply Reply Quote 1
                  • L
                    lhoemberg @Thomas Braun last edited by

                    @thomas-braun Danke, es hat geklappt... Die Meldungen sind weg... info hatte ich schon deinstalliert

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    653
                    Online

                    31.8k
                    Users

                    80.0k
                    Topics

                    1.3m
                    Posts

                    5
                    8
                    272
                    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