Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION)

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION)

Scheduled Pinned Locked Moved Error/Bug
13 Posts 4 Posters 996 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mimei
    wrote on last edited by mimei
    #1

    Hallo

    Ich habe die Anfrage hier bereits gestellt, jedoch scheint auf Github aktuell nicht viel zu passieren und evtl. kommt ist die Fehlerursache auch woanders.

    Folgender Fall:
    Ich nutze meine IoBroker instanz schon recht lange, auch Yahka hat immer gut funktioniert. Vorgestern habe lediglich einen Shelly Device hinzugefügt und anschliessend festgestellt, dass Yahka nicht mehr gut. Bevor ich an die Fehlersuche ging habe ich Linux, IoBroker und sämtliche Adapter auf den aktuellen Stand gebracht. Das Problem blieb, ich kämpfe mit folgender Fehlermeldung:

    host.jportal1	2023-10-09 23:25:12.265	error	instance system.adapter.yahka.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
    yahka.0	2023-10-09 23:25:12.041	info	terminating
    yahka.0	2023-10-09 23:25:11.539	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
    yahka.0	2023-10-09 23:25:11.538	info	terminating
    yahka.0	2023-10-09 23:25:11.537	info	cleaned up ...
    yahka.0	2023-10-09 23:25:11.537	info	cleaning up ...
    yahka.0	2023-10-09 23:25:11.508	error	Cannot read properties of null (reading 'val')
    yahka.0	2023-10-09 23:25:11.508	error	TypeError: Cannot read properties of null (reading 'val') at TIoBrokerInOutFunction_Homematic_Dimmer_On.cacheChanged (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/iofunc.homematic.dimmer.ts:38:39) at TIoBrokerInOutFunction_Homematic_Dimmer_On.subscriptionEvent (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/functions.base.ts:61:14) at changeInterceptor (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:145:75) at Immediate. (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:160:21) at processImmediate (node:internal/timers:478:21)
    yahka.0	2023-10-09 23:25:11.505	error	uncaught exception: Cannot read properties of null (reading 'val')
    

    Ich habe inzwischen auch schon sämtliche verfügbaren Yahka Versionen durchprobiert, ohne Erfolg.

    Systemdata Bitte Ausfüllen
    Hardwaresystem: Pi40
    Arbeitsspeicher: 4GB
    Festplattenart: SD-Karte
    Betriebssystem: Debian, aktueller Patchstand
    Nodejs-Version: 18.17.1
    NPM-Version: 9.6.7
    Installationsart: Skript
    Image genutzt: weiss nicht mehr
    CodierknechtC 1 Reply Last reply
    0
    • M mimei

      Hallo

      Ich habe die Anfrage hier bereits gestellt, jedoch scheint auf Github aktuell nicht viel zu passieren und evtl. kommt ist die Fehlerursache auch woanders.

      Folgender Fall:
      Ich nutze meine IoBroker instanz schon recht lange, auch Yahka hat immer gut funktioniert. Vorgestern habe lediglich einen Shelly Device hinzugefügt und anschliessend festgestellt, dass Yahka nicht mehr gut. Bevor ich an die Fehlersuche ging habe ich Linux, IoBroker und sämtliche Adapter auf den aktuellen Stand gebracht. Das Problem blieb, ich kämpfe mit folgender Fehlermeldung:

      host.jportal1	2023-10-09 23:25:12.265	error	instance system.adapter.yahka.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      yahka.0	2023-10-09 23:25:12.041	info	terminating
      yahka.0	2023-10-09 23:25:11.539	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      yahka.0	2023-10-09 23:25:11.538	info	terminating
      yahka.0	2023-10-09 23:25:11.537	info	cleaned up ...
      yahka.0	2023-10-09 23:25:11.537	info	cleaning up ...
      yahka.0	2023-10-09 23:25:11.508	error	Cannot read properties of null (reading 'val')
      yahka.0	2023-10-09 23:25:11.508	error	TypeError: Cannot read properties of null (reading 'val') at TIoBrokerInOutFunction_Homematic_Dimmer_On.cacheChanged (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/iofunc.homematic.dimmer.ts:38:39) at TIoBrokerInOutFunction_Homematic_Dimmer_On.subscriptionEvent (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/functions.base.ts:61:14) at changeInterceptor (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:145:75) at Immediate. (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:160:21) at processImmediate (node:internal/timers:478:21)
      yahka.0	2023-10-09 23:25:11.505	error	uncaught exception: Cannot read properties of null (reading 'val')
      

      Ich habe inzwischen auch schon sämtliche verfügbaren Yahka Versionen durchprobiert, ohne Erfolg.

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi40
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Debian, aktueller Patchstand
      Nodejs-Version: 18.17.1
      NPM-Version: 9.6.7
      Installationsart: Skript
      Image genutzt: weiss nicht mehr
      CodierknechtC Online
      CodierknechtC Online
      Codierknecht
      Developer Most Active
      wrote on last edited by
      #2

      @mimei
      Was sagt

      iob diag
      

      Und bitte die Ausgaben aus Log und/oder Konsole hier in Code-Tags </> posten.

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      mcm1957M M 2 Replies Last reply
      0
      • CodierknechtC Codierknecht

        @mimei
        Was sagt

        iob diag
        

        Und bitte die Ausgaben aus Log und/oder Konsole hier in Code-Tags </> posten.

        mcm1957M Online
        mcm1957M Online
        mcm1957
        wrote on last edited by
        #3

        see:
        https://github.com/jensweigele/ioBroker.yahka/issues/452

        Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
        Support Repositoryverwaltung.

        Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

        LESEN - gute Forenbeitrage

        CodierknechtC 1 Reply Last reply
        0
        • mcm1957M mcm1957

          see:
          https://github.com/jensweigele/ioBroker.yahka/issues/452

          CodierknechtC Online
          CodierknechtC Online
          Codierknecht
          Developer Most Active
          wrote on last edited by
          #4

          @mcm57
          Ähh, ja - das ist sein Issue dazu, das er vor 2 Tagen eröffnet hat.
          Sagt aber noch nix zu seinem System.

          "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

          Proxmox 9.1.1 LXC|8 GB|Core i7-6700
          HmIP|ZigBee|Tasmota|Unifi
          Zabbix Certified Specialist
          Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

          1 Reply Last reply
          0
          • CodierknechtC Codierknecht

            @mimei
            Was sagt

            iob diag
            

            Und bitte die Ausgaben aus Log und/oder Konsole hier in Code-Tags </> posten.

            M Offline
            M Offline
            mimei
            wrote on last edited by
            #5

            @codierknecht

            sorry, ist korrigiert.
            genügt das Summary?

            ======================= SUMMARY =======================
                                    v.2023-10-10
            
            
               Static hostname: jportal1
                     Icon name: computer
              Operating System: Raspbian GNU/Linux 10 (buster)
                        Kernel: Linux 5.10.103-v7l+
                  Architecture: arm
            
            Installation:           native
            Kernel:                 armv7l
            Userland:               armhf
            Timezone:               Europe/Zurich (CEST, +0200)
            User-ID:                1000
            X-Server:               false
            Boot Target:            graphical.target
            
            Pending OS-Updates:     0
            Pending iob updates:    1
            
            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 18.18.1 and npm 9.8.1
            Your nodejs installation is correct
            
            MEMORY:
                          total        used        free      shared  buff/cache   available
            Mem:           3.8G        1.6G        736M        6.0M        1.5G        2.1G
            Swap:           99M        4.0M         95M
            Total:         3.9G        1.6G        832M
            
            Active iob-Instances:   27
            Active repo(s): Stable (default)
            
            ioBroker Core:          js-controller           5.0.12
                                    admin                   6.10.1
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : jportal1                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.web.0                    : web                   : jportal1                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            Objects:                10558
            States:                 8763
            
            Size of iob-Database:
            
            25M     /opt/iobroker/iobroker-data/objects.jsonl
            8.8M    /opt/iobroker/iobroker-data/objects.json.migrated
            8.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
            16M     /opt/iobroker/iobroker-data/states.jsonl
            1.2M    /opt/iobroker/iobroker-data/states.json.migrated
            1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
            
            
            
            =================== END OF SUMMARY ====================
            

            was ich sonst grad in iob diag noch gesehen habe:

            Errors in npm tree:
            npm ERR! code ELSPROBLEMS
            npm ERR! missing: jimp@^0.22.10, required by iobroker.javascript@7.1.4
            
            npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-10-11T21_05_40_796Z-debug-0.log
            
            Thomas BraunT 1 Reply Last reply
            0
            • M mimei

              @codierknecht

              sorry, ist korrigiert.
              genügt das Summary?

              ======================= SUMMARY =======================
                                      v.2023-10-10
              
              
                 Static hostname: jportal1
                       Icon name: computer
                Operating System: Raspbian GNU/Linux 10 (buster)
                          Kernel: Linux 5.10.103-v7l+
                    Architecture: arm
              
              Installation:           native
              Kernel:                 armv7l
              Userland:               armhf
              Timezone:               Europe/Zurich (CEST, +0200)
              User-ID:                1000
              X-Server:               false
              Boot Target:            graphical.target
              
              Pending OS-Updates:     0
              Pending iob updates:    1
              
              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 18.18.1 and npm 9.8.1
              Your nodejs installation is correct
              
              MEMORY:
                            total        used        free      shared  buff/cache   available
              Mem:           3.8G        1.6G        736M        6.0M        1.5G        2.1G
              Swap:           99M        4.0M         95M
              Total:         3.9G        1.6G        832M
              
              Active iob-Instances:   27
              Active repo(s): Stable (default)
              
              ioBroker Core:          js-controller           5.0.12
                                      admin                   6.10.1
              
              ioBroker Status:        iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              Status admin and web instance:
              + system.adapter.admin.0                  : admin                 : jportal1                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              + system.adapter.web.0                    : web                   : jportal1                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              
              Objects:                10558
              States:                 8763
              
              Size of iob-Database:
              
              25M     /opt/iobroker/iobroker-data/objects.jsonl
              8.8M    /opt/iobroker/iobroker-data/objects.json.migrated
              8.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
              16M     /opt/iobroker/iobroker-data/states.jsonl
              1.2M    /opt/iobroker/iobroker-data/states.json.migrated
              1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
              
              
              
              =================== END OF SUMMARY ====================
              

              was ich sonst grad in iob diag noch gesehen habe:

              Errors in npm tree:
              npm ERR! code ELSPROBLEMS
              npm ERR! missing: jimp@^0.22.10, required by iobroker.javascript@7.1.4
              
              npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-10-11T21_05_40_796Z-debug-0.log
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #6

              @mimei sagte in yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION):

              buster

              Tot. Muss ersetzt werden

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              M 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @mimei sagte in yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION):

                buster

                Tot. Muss ersetzt werden

                M Offline
                M Offline
                mimei
                wrote on last edited by
                #7

                @thomas-braun
                hab ich mittelfristig vor, aber ist das die Ursache?

                Thomas BraunT 1 Reply Last reply
                0
                • M mimei

                  @thomas-braun
                  hab ich mittelfristig vor, aber ist das die Ursache?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #8

                  @mimei sagte in yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION):

                  mittelfristig

                  Mittelfristig ist vorbei, es gibt mittlerweile den Nach-Nachfolger. Du hinkst komplett hinterher. Also KURZFRISTIG updaten.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  M 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @mimei sagte in yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION):

                    mittelfristig

                    Mittelfristig ist vorbei, es gibt mittlerweile den Nach-Nachfolger. Du hinkst komplett hinterher. Also KURZFRISTIG updaten.

                    M Offline
                    M Offline
                    mimei
                    wrote on last edited by
                    #9

                    @thomas-braun
                    so, ich habs durchgezogen, ging problemlos, insbesondere dank diesem super Forum :+1:

                    yahka.0 2023-10-12 21:59:42.981	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                    yahka.0 2023-10-12 21:59:42.980	info	terminating
                    yahka.0 2023-10-12 21:59:42.979	info	cleaned up ...
                    yahka.0 2023-10-12 21:59:42.979	info	cleaning up ...
                    yahka.0 2023-10-12 21:59:42.943	error	Cannot read properties of null (reading 'val')
                    yahka.0 2023-10-12 21:59:42.943	error	TypeError: Cannot read properties of null (reading 'val') at TIoBrokerInOutFunction_Homematic_Dimmer_On.cacheChanged (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/iofunc.homematic.dimmer.ts:38:39) at TIoBrokerInOutFunction_Homematic_Dimmer_On.subscriptionEvent (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/functions.base.ts:61:14) at changeInterceptor (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:145:75) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:160:21) at processImmediate (node:internal/timers:478:21)
                    yahka.0 2023-10-12 21:59:42.941	error	uncaught exception: Cannot read properties of null (reading 'val')
                    

                    iob diag:

                    ======================= SUMMARY =======================
                                            v.2023-10-10
                    
                    
                     Static hostname: jportal1
                           Icon name: computer
                    Operating System: Debian GNU/Linux 12 (bookworm)
                              Kernel: Linux 5.10.103-v7l+
                        Architecture: arm
                    
                    Installation:           native
                    Kernel:                 armv7l
                    Userland:               armhf
                    Timezone:               Europe/Zurich (CEST, +0200)
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            graphical.target
                    
                    Pending OS-Updates:     0
                    Pending iob updates:    1
                    
                    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 18.18.1 and npm 9.8.1
                    Your nodejs installation is correct
                    
                    MEMORY:
                                   total        used        free      shared  buff/cache   available
                    Mem:            4.0G        1.5G        1.6G        1.2M        1.1G        2.6G
                    Swap:           104M          0B        104M
                    Total:          4.1G        1.5G        1.7G
                    
                    Active iob-Instances:   28
                    Active repo(s): Stable (default)
                    
                    ioBroker Core:          js-controller           5.0.12
                                            admin                   6.10.1
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin and web instance:
                    + system.adapter.admin.0                  : admin                 : jportal1                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    + system.adapter.web.0                    : web                   : jportal1                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    Objects:                10654
                    States:                 8881
                    
                    Size of iob-Database:
                    
                    19M     /opt/iobroker/iobroker-data/objects.jsonl
                    8.8M    /opt/iobroker/iobroker-data/objects.json.migrated
                    8.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                    12M     /opt/iobroker/iobroker-data/states.jsonl
                    1.2M    /opt/iobroker/iobroker-data/states.json.migrated
                    1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                    
                    
                    
                    =================== END OF SUMMARY ====================
                    
                    Thomas BraunT 1 Reply Last reply
                    0
                    • M mimei

                      @thomas-braun
                      so, ich habs durchgezogen, ging problemlos, insbesondere dank diesem super Forum :+1:

                      yahka.0 2023-10-12 21:59:42.981	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                      yahka.0 2023-10-12 21:59:42.980	info	terminating
                      yahka.0 2023-10-12 21:59:42.979	info	cleaned up ...
                      yahka.0 2023-10-12 21:59:42.979	info	cleaning up ...
                      yahka.0 2023-10-12 21:59:42.943	error	Cannot read properties of null (reading 'val')
                      yahka.0 2023-10-12 21:59:42.943	error	TypeError: Cannot read properties of null (reading 'val') at TIoBrokerInOutFunction_Homematic_Dimmer_On.cacheChanged (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/iofunc.homematic.dimmer.ts:38:39) at TIoBrokerInOutFunction_Homematic_Dimmer_On.subscriptionEvent (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.functions/functions.base.ts:61:14) at changeInterceptor (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:145:75) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.yahka/webpack:/yahka.ioBroker-adapter.ts:160:21) at processImmediate (node:internal/timers:478:21)
                      yahka.0 2023-10-12 21:59:42.941	error	uncaught exception: Cannot read properties of null (reading 'val')
                      

                      iob diag:

                      ======================= SUMMARY =======================
                                              v.2023-10-10
                      
                      
                       Static hostname: jportal1
                             Icon name: computer
                      Operating System: Debian GNU/Linux 12 (bookworm)
                                Kernel: Linux 5.10.103-v7l+
                          Architecture: arm
                      
                      Installation:           native
                      Kernel:                 armv7l
                      Userland:               armhf
                      Timezone:               Europe/Zurich (CEST, +0200)
                      User-ID:                1000
                      X-Server:               false
                      Boot Target:            graphical.target
                      
                      Pending OS-Updates:     0
                      Pending iob updates:    1
                      
                      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 18.18.1 and npm 9.8.1
                      Your nodejs installation is correct
                      
                      MEMORY:
                                     total        used        free      shared  buff/cache   available
                      Mem:            4.0G        1.5G        1.6G        1.2M        1.1G        2.6G
                      Swap:           104M          0B        104M
                      Total:          4.1G        1.5G        1.7G
                      
                      Active iob-Instances:   28
                      Active repo(s): Stable (default)
                      
                      ioBroker Core:          js-controller           5.0.12
                                              admin                   6.10.1
                      
                      ioBroker Status:        iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Status admin and web instance:
                      + system.adapter.admin.0                  : admin                 : jportal1                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.web.0                    : web                   : jportal1                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      Objects:                10654
                      States:                 8881
                      
                      Size of iob-Database:
                      
                      19M     /opt/iobroker/iobroker-data/objects.jsonl
                      8.8M    /opt/iobroker/iobroker-data/objects.json.migrated
                      8.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                      12M     /opt/iobroker/iobroker-data/states.jsonl
                      1.2M    /opt/iobroker/iobroker-data/states.json.migrated
                      1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                      
                      
                      
                      =================== END OF SUMMARY ====================
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #10

                      @mimei
                      Ich hätte den Pi4 ja mit einem 64bit-System bestückt.
                      Und nodejs bzw. das nodesource-Repository musst du auch noch anpacken.
                      Siehe Fix-Skript in meiner Signatur.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      M 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @mimei
                        Ich hätte den Pi4 ja mit einem 64bit-System bestückt.
                        Und nodejs bzw. das nodesource-Repository musst du auch noch anpacken.
                        Siehe Fix-Skript in meiner Signatur.

                        M Offline
                        M Offline
                        mimei
                        wrote on last edited by
                        #11

                        @thomas-braun
                        nodefix habe ich gemacht. Ist den 64bit die Ursache? Es hat ja vor kurzem noch funktioniert. Es klingt mir nach irgendeinem Javascript Problem, das ist aber leider nicht mein Spezialgebiet.

                        hier zur Vollständigkeit das aktuelle Summary:

                        ======================= SUMMARY =======================
                                                v.2023-10-10
                        
                        
                         Static hostname: jportal1
                               Icon name: computer
                        Operating System: Debian GNU/Linux 12 (bookworm)
                                  Kernel: Linux 5.10.103-v7l+
                            Architecture: arm
                        
                        Installation:           native
                        Kernel:                 armv7l
                        Userland:               armhf
                        Timezone:               Europe/Zurich (CEST, +0200)
                        User-ID:                1000
                        X-Server:               false
                        Boot Target:            graphical.target
                        
                        Pending OS-Updates:     0
                        Pending iob updates:    0
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v18.18.1
                                                /usr/bin/node           v18.18.1
                                                /usr/bin/npm            9.8.1
                                                /usr/bin/npx            9.8.1
                                                /usr/bin/corepack       0.19.0
                        
                        Recommended versions are nodejs 18.18.1 and npm 9.8.1
                        Your nodejs installation is correct
                        
                        MEMORY:
                                       total        used        free      shared  buff/cache   available
                        Mem:            4.0G        1.4G        1.9G        1.2M        903M        2.6G
                        Swap:           104M          0B        104M
                        Total:          4.1G        1.4G        2.0G
                        
                        Active iob-Instances:   27
                        Active repo(s): Stable (default)
                        
                        ioBroker Core:          js-controller           5.0.12
                                                admin                   6.10.1
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Status admin and web instance:
                        + system.adapter.admin.0                  : admin                 : jportal1                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                        + system.adapter.web.0                    : web                   : jportal1                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                        
                        Objects:                10689
                        States:                 8913
                        
                        Size of iob-Database:
                        
                        24M     /opt/iobroker/iobroker-data/objects.jsonl
                        8.8M    /opt/iobroker/iobroker-data/objects.json.migrated
                        8.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                        19M     /opt/iobroker/iobroker-data/states.jsonl
                        1.2M    /opt/iobroker/iobroker-data/states.json.migrated
                        1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                        
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        Thomas BraunT 1 Reply Last reply
                        0
                        • M mimei

                          @thomas-braun
                          nodefix habe ich gemacht. Ist den 64bit die Ursache? Es hat ja vor kurzem noch funktioniert. Es klingt mir nach irgendeinem Javascript Problem, das ist aber leider nicht mein Spezialgebiet.

                          hier zur Vollständigkeit das aktuelle Summary:

                          ======================= SUMMARY =======================
                                                  v.2023-10-10
                          
                          
                           Static hostname: jportal1
                                 Icon name: computer
                          Operating System: Debian GNU/Linux 12 (bookworm)
                                    Kernel: Linux 5.10.103-v7l+
                              Architecture: arm
                          
                          Installation:           native
                          Kernel:                 armv7l
                          Userland:               armhf
                          Timezone:               Europe/Zurich (CEST, +0200)
                          User-ID:                1000
                          X-Server:               false
                          Boot Target:            graphical.target
                          
                          Pending OS-Updates:     0
                          Pending iob updates:    0
                          
                          Nodejs-Installation:    /usr/bin/nodejs         v18.18.1
                                                  /usr/bin/node           v18.18.1
                                                  /usr/bin/npm            9.8.1
                                                  /usr/bin/npx            9.8.1
                                                  /usr/bin/corepack       0.19.0
                          
                          Recommended versions are nodejs 18.18.1 and npm 9.8.1
                          Your nodejs installation is correct
                          
                          MEMORY:
                                         total        used        free      shared  buff/cache   available
                          Mem:            4.0G        1.4G        1.9G        1.2M        903M        2.6G
                          Swap:           104M          0B        104M
                          Total:          4.1G        1.4G        2.0G
                          
                          Active iob-Instances:   27
                          Active repo(s): Stable (default)
                          
                          ioBroker Core:          js-controller           5.0.12
                                                  admin                   6.10.1
                          
                          ioBroker Status:        iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                          + system.adapter.admin.0                  : admin                 : jportal1                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.web.0                    : web                   : jportal1                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects:                10689
                          States:                 8913
                          
                          Size of iob-Database:
                          
                          24M     /opt/iobroker/iobroker-data/objects.jsonl
                          8.8M    /opt/iobroker/iobroker-data/objects.json.migrated
                          8.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                          19M     /opt/iobroker/iobroker-data/states.jsonl
                          1.2M    /opt/iobroker/iobroker-data/states.json.migrated
                          1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                          
                          
                          
                          =================== END OF SUMMARY ====================
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #12

                          @mimei sagte in yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION):

                          Ist den 64bit die Ursache?

                          Nein, aber Stand der Technik.
                          Und beim Kernel stimmt glaube ich auch was nicht. Da müsste eigentlich ein Kernel 6.1 geladen werden.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          M 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @mimei sagte in yahka adapter: terminated with code 6 (UNCAUGHT_EXCEPTION):

                            Ist den 64bit die Ursache?

                            Nein, aber Stand der Technik.
                            Und beim Kernel stimmt glaube ich auch was nicht. Da müsste eigentlich ein Kernel 6.1 geladen werden.

                            M Offline
                            M Offline
                            mimei
                            wrote on last edited by mimei
                            #13

                            @thomas-braun
                            Kernel wurde auf 6.1 aktualisiert. An 64bit habe ich mich aus Zeitgründen nicht herangewagt. Anyway, aus meiner Sicht immer klar, dass es nicht an einer bestimmten Version liegen kann.

                            Ich konnte es lösen, cacheValue wurde nicht auf null geprüft.

                            das Problem war folgender Schnipsel im main.js

                            if (cacheValue ....
                            
                            cacheChanged(stateName, callback) {
                            // save level if we are switching off
                            if (stateName === this.parameters.levelState) {
                              const cacheValue = this.readValueFromCache(stateName);
                               if (cacheValue && parseFloat(cacheValue.val) > 0) {
                                     this.lastOnLevel = cacheValue;
                               }
                             }
                            super.cacheChanged(stateName, callback);
                            }
                            
                            1 Reply Last reply
                            1
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            623

                            Online

                            32.5k

                            Users

                            81.7k

                            Topics

                            1.3m

                            Posts
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Home
                            • Recent
                            • Tags
                            • Unread 0
                            • Categories
                            • Unreplied
                            • Popular
                            • GitHub
                            • Docu
                            • Hilfe