Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 5.0.x jetzt für alle User im STABLE!

    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

    js-controller 5.0.x jetzt für alle User im STABLE!

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

      @ingenii said in js-controller 5.0.x jetzt für alle User im STABLE!:

      hab schon paar mal gepostet das ich das VIS beim aufhängt. Mit iob diag alles gepostet.

      Wo, links bitte

      Heute hab ich am Proxmox DEB12 ein sauberes IOB installiert und nur VIS installiert: selber Fehler Meldung.

      Was genau hast du getan? IOB Neuinstallation und dann VIS installiert?
      Welche Fehlermeldung kommt da wo?

      Dann Downgrade JS controler auf 4.0.24 und Fehler sind weg und VIS lauf normal.

      Dann ist ziemlich sicher was an deiner VIS nicht in Ordnung. Eventuell ein faclhes Bindug wo eingetragen, Dazu gibts im Forum einige Topics.

      Ich werde gerne eine normale Antwort bekommen Zb. warte einfach und schreib nichts und gib ruhe.

      Was ist für dich eine normale Antwort? Warte einfach oder Gib Ruhe sehe ich nicht als normale Antwort - warum führst du die da als Beispiel an?

      I 2 Replies Last reply Reply Quote 0
      • I
        ingenii @mcm1957 last edited by

        @mcm57
        Hallo,
        als erste Danke für deine interesse.
        Hier ist mein erste Problem mit meinem Iob was im betrieb ist:

        https://forum.iobroker.net/topic/69692/js-controller-fehler

        und Test Proxmox Instalation kann ich nachträglich posten.
        Nochmal vielen dank.

        1 Reply Last reply Reply Quote 0
        • I
          ingenii @mcm1957 last edited by ingenii

          @mcm57

          Hallo,
          hier ist log vom meinem Proxmox Test Iob:

          host.debian
          	2023-12-02 21:00:19.341	error	instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.debian
          	2023-12-02 21:00:19.341	error	Caught by controller[0]: at processTicksAndRejections (node:internal/process/task_queues:77:11)
          host.debian
          	2023-12-02 21:00:19.341	error	Caught by controller[0]: at /opt/iobroker/node_modules/socket.io/lib/socket.js:531:14
          host.debian
          	2023-12-02 21:00:19.341	error	Caught by controller[0]: at Socket.emit (node:domain:489:12)
          host.debian
          	2023-12-02 21:00:19.340	error	Caught by controller[0]: at Socket.emit (node:events:517:28)
          host.debian
          	2023-12-02 21:00:19.340	error	Caught by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:1786:43)
          host.debian
          	2023-12-02 21:00:19.340	error	Caught by controller[0]: at Object.commands.logout (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:863:26)
          host.debian
          	2023-12-02 21:00:19.340	error	Caught by controller[0]: at AdapterClass.destroySession (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:1336:19)
          host.debian
          	2023-12-02 21:00:19.340	error	Caught by controller[0]: at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
          host.debian
          	2023-12-02 21:00:19.339	error	Caught by controller[0]: Error: Parameter "id" needs to be of type "string" but type "undefined" has been passed
          web.0
          	2023-12-02 21:00:19.276	error	Parameter "id" needs to be of type "string" but type "undefined" has been passed
          web.0
          	2023-12-02 21:00:19.276	error	Error: Parameter "id" needs to be of type "string" but type "undefined" has been passed at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19) at AdapterClass.destroySession (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:1336:19) at Object.commands.logout (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:863:26) at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:1786:43) at Socket.emit (node:events:517:28) at Socket.emit (node:domain:489:12) at /opt/iobroker/node_modules/socket.io/lib/socket.js:531:14 at processTicksAndRejections (node:internal/process/task_queues:77:11)
          web.0
          	2023-12-02 21:00:19.275	error	uncaught exception: Parameter "id" needs to be of type "string" but type "undefined" has been passed
          

          und Iob diag:

          Skript v.2023-10-10
          
          *** BASE SYSTEM ***
           Static hostname: debian
                 Icon name: computer-vm
                   Chassis: vm 🖴
            Virtualization: kvm
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.1.0-13-amd64
              Architecture: x86-64
           Hardware Vendor: QEMU
            Hardware Model: Standard PC _i440FX + PIIX, 1996_
          Firmware Version: rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org
          
          model name      : Common KVM processor
          Docker          : false
          Virtualization  : kvm
          Kernel          : x86_64
          Userland        : amd64
          
          Systemuptime and Load:
           21:15:34 up 1 day, 22:13,  2 users,  load average: 0.26, 0.17, 0.10
          CPU threads: 8
          
          
          *** Time and Time Zones ***
                         Local time: Sat 2023-12-02 21:15:34 CET
                     Universal time: Sat 2023-12-02 20:15:34 UTC
                           RTC time: Sat 2023-12-02 20:15:34
                          Time zone: Europe/Vienna (CET, +0100)
          System clock synchronized: yes
                        NTP service: active
                    RTC in local TZ: no
          
          *** User and Groups ***
          jozef
          /home/jozef
          jozef cdrom floppy audio dip video plugdev users netdev bluetooth lpadmin scanner
          
          *** X-Server-Setup ***
          X-Server:       false
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:            4.1G        1.5G        1.7G        7.4M        1.2G        2.6G
          Swap:           1.0G          0B        1.0G
          Total:          5.1G        1.5G        2.7G
          
                   3914 M total memory
                   1397 M used memory
                    548 M active memory
                   1403 M inactive memory
                   1639 M free memory
                    207 M buffer memory
                    965 M swap cache
                    974 M total swap
                      0 M used swap
                    974 M free swap
          
          *** FAILED SERVICES ***
          
            UNIT LOAD ACTIVE SUB DESCRIPTION
          0 loaded units listed.
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          udev           devtmpfs  1.9G     0  1.9G   0% /dev
          tmpfs          tmpfs     392M  1.1M  391M   1% /run
          /dev/sda1      ext4       31G  5.8G   24G  20% /
          tmpfs          tmpfs     2.0G     0  2.0G   0% /dev/shm
          tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
          tmpfs          tmpfs     392M   60K  392M   1% /run/user/113
          tmpfs          tmpfs     392M   52K  392M   1% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Thu Nov 30 23:01:44 2023] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
          [Thu Nov 30 23:01:45 2023] EXT4-fs (sda1): re-mounted. Quota mode: none.
          
          Show mounted filesystems \(real ones only\):
          TARGET SOURCE    FSTYPE OPTIONS
          /      /dev/sda1 ext4   rw,relatime,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          175M    /var/
          104M    /var/lib
          60M     /var/lib/dpkg
          56M     /var/lib/dpkg/info
          40M     /var/log
          
          Hint: You are currently not seeing messages from other users and the system.
                Users in groups 'adm', 'systemd-journal' can see all messages.
                Pass -q to turn off this notice.
          Archived and active journals take up 8.0M in the file system.
          
          /opt/iobroker/backups:
          34M     /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          218M    /opt/iobroker/iobroker-data/
          175M    /opt/iobroker/iobroker-data/files
          37M     /opt/iobroker/iobroker-data/files/vis
          30M     /opt/iobroker/iobroker-data/files/web.admin/static
          30M     /opt/iobroker/iobroker-data/files/web.admin
          
          The five largest files in iobroker-data are:
          21M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
          8.3M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js
          7.8M    /opt/iobroker/iobroker-data/objects.jsonl
          6.7M    /opt/iobroker/iobroker-data/states.jsonl
          6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
          
          USB-Devices by-id:
          USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
          
          find: '/dev/serial/by-id/': No such file or directory
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v18.19.0
          /usr/bin/node           v18.19.0
          /usr/bin/npm            10.2.3
          /usr/bin/npx            10.2.3
          /usr/bin/corepack       0.22.0
          
          
          nodejs:
            Installed: 18.19.0-1nodesource1
            Candidate: 18.19.0-1nodesource1
            Version table:
           *** 18.19.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                  100 /var/lib/dpkg/status
               18.18.2-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.15.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.2-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.13.0+dfsg1-1 500
                  500 cdrom://[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm/main amd64 Packages
               18.13.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.12.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.11.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.10.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.8.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.7.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.6.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.5.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.4.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.3.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.2.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.1.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.0.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          Errors in npm tree:
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Core adapters versions
          js-controller:  5.0.16
          admin:          6.10.1
          javascript:     "javascript" not found
          
          Adapters from github:   0
          
          Adapter State
          + system.adapter.admin.0                  : admin                 : debian                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.backitup.0               : backitup              : debian                                   -  enabled
          + system.adapter.discovery.0              : discovery             : debian                                   -  enabled
            system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: debian                                   -  enabled
            system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : debian                                   -  enabled
            system.adapter.icons-icons8.0           : icons-icons8          : debian                                   -  enabled
            system.adapter.icons-material-png.0     : icons-material-png    : debian                                   -  enabled
            system.adapter.icons-material-svg.0     : icons-material-svg    : debian                                   -  enabled
            system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : debian                                   -  enabled
            system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : debian                                   -  enabled
            system.adapter.vis-bars.0               : vis-bars              : debian                                   -  enabled
            system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : debian                                   -  enabled
            system.adapter.vis-colorpicker.0        : vis-colorpicker       : debian                                   -  enabled
            system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : debian                                   -  enabled
            system.adapter.vis-google-fonts.0       : vis-google-fonts      : debian                                   -  enabled
            system.adapter.vis-history.0            : vis-history           : debian                                   -  enabled
            system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : debian                                   -  enabled
            system.adapter.vis-icontwo.0            : vis-icontwo           : debian                                   -  enabled
          + system.adapter.vis-inventwo.0           : vis-inventwo          : debian                                   -  enabled
            system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : debian                                   -  enabled
            system.adapter.vis-justgage.0           : vis-justgage          : debian                                   -  enabled
            system.adapter.vis-lcars.0              : vis-lcars             : debian                                   -  enabled
            system.adapter.vis-material-advanced.0  : vis-material-advanced : debian                                   -  enabled
            system.adapter.vis-material.0           : vis-material          : debian                                   -  enabled
            system.adapter.vis-metro.0              : vis-metro             : debian                                   -  enabled
            system.adapter.vis-plumb.0              : vis-plumb             : debian                                   -  enabled
            system.adapter.vis-rgraph.0             : vis-rgraph            : debian                                   -  enabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : debian                                   -  enabled
            system.adapter.vis-weather.0            : vis-weather           : debian                                   -  enabled
            system.adapter.vis.0                    : vis                   : debian                                   -  enabled
          + system.adapter.web.0                    : web                   : debian                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : debian                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : debian                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          ioBroker-Repositories
          stable        : http://download.iobroker.net/sources-dist.json
          beta          : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo(s): stable
          
          Installed ioBroker-Instances
          Used repository: stable
          Adapter    "admin"        : 6.12.0   , installed 6.10.1 [Updatable]
          Adapter    "backitup"     : 2.8.7    , installed 2.8.7
          Adapter    "discovery"    : 4.2.0    , installed 4.2.0
          Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
          Adapter    "icons-fatcow-hosting": 0.1.0, installed 0.1.0
          Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
          Adapter    "icons-material-png": 0.1.0, installed 0.1.0
          Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
          Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
          Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
          Controller "js-controller": 5.0.16   , installed 5.0.16
          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
          Adapter    "socketio"     : 6.6.0    , installed 6.6.0
          Adapter    "vis"          : 1.4.16   , installed 1.4.16
          Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
          Adapter    "vis-canvas-gauges": 1.0.1, installed 1.0.1
          Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
          Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
          Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
          Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
          Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
          Adapter    "vis-icontwo"  : 0.97.1   , installed 0.97.1
          Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
          Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
          Adapter    "vis-justgage" : 2.0.2    , installed 2.0.2
          Adapter    "vis-lcars"    : 1.1.1    , installed 1.1.1
          Adapter    "vis-material" : 0.1.3    , installed 0.1.3
          Adapter    "vis-material-advanced": 1.7.4, installed 1.7.4
          Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
          Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
          Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
          Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
          Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
          Adapter    "web"          : 6.1.10   , installed 6.1.10
          Adapter    "ws"           : 2.5.8    , installed 2.5.8
          
          Objects and States
          Please stand by - This may take a while
          Objects:        291
          States:         181
          
          *** OS-Repositories and Updates ***
          E: The repository 'cdrom://[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm Release' does not have a Release file.
          Pending Updates: 0
          
          *** Listening Ports ***
          sudo: netstat: command not found
          
          *** Log File - Last 25 Lines ***
          
              at Object.commands.logout (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:863:26)
              at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:1786:43)
              at Socket.emit (node:events:517:28)
              at Socket.emit (node:domain:489:12)
              at /opt/iobroker/node_modules/socket.io/lib/socket.js:531:14
              at processTicksAndRejections (node:internal/process/task_queues:77:11)
          2023-12-02 21:00:19.276  - error: web.0 (13802) Parameter "id" needs to be of type "string" but type "undefined" has been passed
          2023-12-02 21:00:19.339  - error: host.debian Caught by controller[0]: Error: Parameter "id" needs to be of type "string" but type "undefined" has been passed
          2023-12-02 21:00:19.340  - error: host.debian Caught by controller[0]:     at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:241:19)
          2023-12-02 21:00:19.340  - error: host.debian Caught by controller[0]:     at AdapterClass.destroySession (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:1336:19)
          2023-12-02 21:00:19.340  - error: host.debian Caught by controller[0]:     at Object.commands.logout (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:863:26)
          2023-12-02 21:00:19.340  - error: host.debian Caught by controller[0]:     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/node_modules/@iobroker/socket-classes/lib/socketCommands.js:1786:43)
          2023-12-02 21:00:19.340  - error: host.debian Caught by controller[0]:     at Socket.emit (node:events:517:28)
          2023-12-02 21:00:19.341  - error: host.debian Caught by controller[0]:     at Socket.emit (node:domain:489:12)
          2023-12-02 21:00:19.341  - error: host.debian Caught by controller[0]:     at /opt/iobroker/node_modules/socket.io/lib/socket.js:531:14
          2023-12-02 21:00:19.341  - error: host.debian Caught by controller[0]:     at processTicksAndRejections (node:internal/process/task_queues:77:11)
          2023-12-02 21:00:19.341  - error: host.debian instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2023-12-02 21:00:19.341  - info: host.debian Restart adapter system.adapter.web.0 because enabled
          2023-12-02 21:00:49.355  - info: host.debian instance system.adapter.web.0 started with pid 13864
          2023-12-02 21:00:49.998  - info: web.0 (13864) starting. Version 6.1.10 in /opt/iobroker/node_modules/iobroker.web, node: v18.19.0, js-controller: 5.0.16
          2023-12-02 21:00:50.063  - info: web.0 (13864) socket.io server listening on port 8082
          2023-12-02 21:00:50.065  - info: web.0 (13864) http server listening on port 8082
          2023-12-02 21:00:50.195  - info: web.0 (13864) ==> Connected system.user.admin from ::ffff:192.168.178.35
          2023-12-02 21:00:50.480  - info: web.0 (13864) ==> Connected system.user.admin from ::ffff:192.168.178.35
          2023-12-02 21:03:20.192  - info: web.0 (13864) <== Disconnect system.user.admin from ::ffff:192.168.178.35
          
          ======================= SUMMARY =======================
                                  v.2023-10-10
          
          
           Static hostname: debian
                 Icon name: computer-vm
                   Chassis: vm 🖴
            Virtualization: kvm
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.1.0-13-amd64
              Architecture: x86-64
           Hardware Vendor: QEMU
            Hardware Model: Standard PC _i440FX + PIIX, 1996_
          Firmware Version: rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org
          
          Installation:           kvm
          Kernel:                 x86_64
          Userland:               amd64
          Timezone:               Europe/Vienna (CET, +0100)
          User-ID:                1000
          X-Server:               false
          Boot Target:            graphical.target
          
          Pending OS-Updates:     0
          Pending iob updates:    1
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                  /usr/bin/node           v18.19.0
                                  /usr/bin/npm            10.2.3
                                  /usr/bin/npx            10.2.3
                                  /usr/bin/corepack       0.22.0
          
          Recommended versions are nodejs 18.19.0 and npm 10.2.3
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            4.1G        1.5G        1.7G        7.4M        1.2G        2.6G
          Swap:           1.0G          0B        1.0G
          Total:          5.1G        1.5G        2.7G
          
          Active iob-Instances:   6
          Active repo(s): stable
          
          ioBroker Core:          js-controller           5.0.16
                                  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                 : debian                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : debian                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects:                291
          States:                 181
          
          Size of iob-Database:
          
          7.8M    /opt/iobroker/iobroker-data/objects.jsonl
          6.8M    /opt/iobroker/iobroker-data/states.jsonl
          
          
          
          =================== END OF SUMMARY ====================
          
          
          ============ Mark until here for C&P =============
          
          iob diag has finished.
          
          ======================= SUMMARY =======================
                                  v.2023-10-10
          
          
           Static hostname: debian
                 Icon name: computer-vm
                   Chassis: vm 🖴
            Virtualization: kvm
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.1.0-13-amd64
              Architecture: x86-64
           Hardware Vendor: QEMU
            Hardware Model: Standard PC _i440FX + PIIX, 1996_
          Firmware Version: rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org
          
          Installation:           kvm
          Kernel:                 x86_64
          Userland:               amd64
          Timezone:               Europe/Vienna (CET, +0100)
          User-ID:                1000
          X-Server:               false
          Boot Target:            graphical.target
          
          Pending OS-Updates:     0
          Pending iob updates:    1
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                  /usr/bin/node           v18.19.0
                                  /usr/bin/npm            10.2.3
                                  /usr/bin/npx            10.2.3
                                  /usr/bin/corepack       0.22.0
          
          Recommended versions are nodejs 18.19.0 and npm 10.2.3
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            4.1G        1.5G        1.7G        7.4M        1.2G        2.6G
          Swap:           1.0G          0B        1.0G
          Total:          5.1G        1.5G        2.7G
          
          Active iob-Instances:   6
          Active repo(s): stable
          
          ioBroker Core:          js-controller           5.0.16
                                  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                 : debian                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : debian                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects:                291
          States:                 181
          
          Size of iob-Database:
          
          7.8M    /opt/iobroker/iobroker-data/objects.jsonl
          6.8M    /opt/iobroker/iobroker-data/states.jsonl
          
          
          
          =================== END OF SUMMARY ====================
          

          Danke

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

            @ingenii sagte in js-controller 5.0.x jetzt für alle User im STABLE!:

            E: The repository 'cdrom://[Debian GNU/Linux 12.2.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm Release' does not have a Release file.

            Lösch den entsprechenden Eintrag in der /etc/apt/sources.list

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

              @thomas-braun
              Hallo,
              ja ich weis, das Sol noch weg kommen .
              angepasst aber das hat nicht geholfen.
              Was mach ich noch falsch?
              Danke

              foxriver76 1 Reply Last reply Reply Quote 0
              • mcm1957
                mcm1957 @ingenii last edited by

                @ingenii
                Also die Fehler kommen mal aus dem web Adapter. Da ist der js-controller unschuldig. Das einzige was der js-controller ab 5.x.x macht ist genauer auf ungültige Parameter zu prüfen. Das ist aber kein Fehler.

                Ok, da nutzt dir mal so nichts.

                Eigentliche Ursache ist, dass "irgendwer" im bzw. via web Adapter versucht einen State mit einer 'undefined'id anzusprechen. Das kann nicht funktionieren. Wahrscheinlich ist igrndwo in deiner vis ein (alter) "Unsinn" eingetragen. Im Moment weiß ich nicht wie das am besten einzugrenzen wäre.

                Deine Logs sind (auf Grund des Datums) aktuell und Versionen sind im diag enthalten. DANKE
                Ich werd mal versuchen jemadn zu kontaktieren der sich bei vis/web besser auskennt.

                mcm1957 1 Reply Last reply Reply Quote 0
                • mcm1957
                  mcm1957 @mcm1957 last edited by mcm1957

                  @ingenii

                  Ich hab mal erste Rückmeldung.
                  Leider wurde die Fehlerkonstellation noch nie beobachtet. ABer natürlcih soll sie gelöst / behoben werden.

                  Bitte daher noch ein paar Auskünfte:

                  • Kannst du sagen bei welcher Aktion / Eingabe / ... das Problem auftritt. Je genauer das bekannt ist desto eher läßt sich was eingrenzen.
                  • Tritt das Problem reprodizierbar immer auf oder "nur" sporadisch und nicht wirklich vrohersagbar ?
                  • Und zu SIcherheit: Hast du den Compact Mode ein- oder ausgeschaltet?
                  I 1 Reply Last reply Reply Quote 1
                  • foxriver76
                    foxriver76 Developer @ingenii last edited by

                    @ingenii zeig mal bitte die Einstellungen vom Web Adapter über den du die vis nutzt

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      ingenii @mcm1957 last edited by

                      @mcm57

                      Hallo,

                      Problem auftaucht jedes mal wen ich im VIS von eine Seite springe in andere.
                      Dieser Compact Mode kännte ich nicht bist jetzt und sicher ist er AUS.

                      1 Reply Last reply Reply Quote 1
                      • I
                        ingenii @foxriver76 last edited by

                        @foxriver76
                        Hallo, hier hab ich nie was umgestellt.
                        Reicht die Erste Seite ?

                        web.JPG

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

                          @ingenii

                          Haken rein bei Reine-WEB Sockets

                          I 1 Reply Last reply Reply Quote 0
                          • mcm1957
                            mcm1957 last edited by

                            @ingenii

                            Danke mal für die Infos.
                            Falls das aus irgeneinem Grund hier untergehen sollte undkeine Lösung auftritt, mach bitte ein Issue auf. Das ereeicht dann development direct (obwohl @foxriver hier eh schon aktiv ist)

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

                              @sigi234
                              Danke für dein Typ aber es hat nicht geholfen.

                              1 Reply Last reply Reply Quote 0
                              • P
                                peppino last edited by

                                Hallo,

                                Ich habe mit js-controller 5.0.x ähnliche/selbe Probleme.
                                Nach einem reload der vis1 habe ich bei Datenpunkte die nicht von einem "alias.0 Datenpunkt" kommen "NaN" oder "null". Die Werte werden erst angezeigt wenn diese aktualisiert werden (z.B.: Temperaturwert ändert sich) nach einem View wechsel steht dann wieder "NaN" oder "null" bis zur nächsten Wertänderung.
                                Die selbe Vis konvertiert auf vis2 macht hingegen keine Probleme.

                                BG
                                Joe

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sonnenfreund @foxriver76 last edited by sonnenfreund

                                  @foxriver76 sagte in js-controller 5.0.x jetzt für alle User im STABLE!:

                                  Wer sich unsicher ist, ob ein Fehler vorliegt, sollte am besten hier im Thread das Problem beschreiben. So können wir alle versuchen, das Problem nachzuvollziehen und ggf. einzugrenzen.

                                  Hallo zusammen,
                                  wollte nun endlich mal meinen uralten js controller aktualisieren.

                                  Habe die Schritte

                                  • iobroker stop
                                  • cd /opt/iobroker

                                  abgearbeitet.

                                  Leider läuft aber iob upgrade self nicht durch.
                                  Es kommen folgende Fehlermeldungen. Woran kann das liegen / wie kann ich das lösen?

                                  pi@raspberrypi4-iob:/ $ iobroker upgrade self
                                  Update js-controller from @3.1.6 to @5.0.16
                                  NPM version: 10.2.3
                                  npm install iobroker.js-controller@5.0.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                   Objects 127.0.0.1:58398 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                   States 127.0.0.1:35658 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                                   Objects 127.0.0.1:58398 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                                   States 127.0.0.1:35658 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                                   Objects 127.0.0.1:58398 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                                   Objects 127.0.0.1:58398 Error from InMemDB: Error: scan NOT SUPPORTED
                                  npm ERR! code 1
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                  npm ERR! command failed
                                  npm ERR! command sh -c node iobroker.js setup first
                                  npm ERR! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                  npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                                  npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                  npm ERR!         throw e;
                                  npm ERR!         ^
                                  npm ERR!
                                  npm ERR! ReplyError: Error scan NOT SUPPORTED
                                  npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                  npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                  npm ERR! Emitted 'error' event on ScanStream instance at:
                                  npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                  npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                  npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                  npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                                  npm ERR!   command: {
                                  npm ERR!     name: 'scan',
                                  npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                                  npm ERR!   }
                                  npm ERR! }
                                  npm ERR!
                                  npm ERR! Node.js v18.19.0
                                  
                                  npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-07T19_37_56_146Z-debug-0.log
                                  Starting node restart.js
                                  pi@raspberrypi4-iob:/ $
                                  Thomas Braun foxriver76 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @sonnenfreund last edited by Thomas Braun

                                    @sonnenfreund

                                    iob diag
                                    

                                    sagt zur Gesamtlage?
                                    Die lange Version...

                                    Und stell dich in dein /home
                                    In / hast du nix verloren...

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

                                      @thomas-braun

                                      Copy text starting here:

                                      ======================= SUMMARY =======================
                                                              v.2023-10-10
                                      
                                      
                                         Static hostname: raspberrypi4-iob
                                               Icon name: computer
                                        Operating System: Raspbian GNU/Linux 11 (bullseye)
                                                  Kernel: Linux 5.10.103-v7l+
                                            Architecture: arm
                                      
                                      Installation:           native
                                      Kernel:                 armv7l
                                      Userland:               armhf
                                      Timezone:               Europe/Berlin (CET, +0100)
                                      User-ID:                1000
                                      X-Server:               false
                                      Boot Target:            graphical.target
                                      
                                      Pending OS-Updates:     0
                                      Pending iob updates:    21
                                      
                                      Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                                              /usr/bin/node           v18.19.0
                                                              /usr/bin/npm            10.2.3
                                                              /usr/bin/npx            10.2.3
                                                              /usr/bin/corepack       0.22.0
                                      
                                      Recommended versions are nodejs  and npm
                                      Your nodejs installation is correct
                                      
                                      MEMORY:
                                                     total        used        free      shared  buff/cache   available
                                      Mem:            1.9G        446M        645M        0.0K        780M        1.3G
                                      Swap:            99M          0B         99M
                                      Total:          2.0G        446M        745M
                                      
                                      Active iob-Instances:   8
                                      Active repo: default
                                      
                                      ioBroker Core:          js-controller           3.1.6
                                                              admin                   4.2.1
                                      
                                      ioBroker Status:        iobroker is running on this host.
                                      
                                      At least one iobroker host is running.
                                      
                                      Objects type: file
                                      States  type: file
                                      
                                      Status admin and web instance:
                                        system.adapter.admin.0                 : admin                 - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      + system.adapter.admin.1                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        system.adapter.web.0                   : web                   - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                      
                                      Objects:                1968
                                      States:                 2764
                                      
                                      Size of iob-Database:
                                      
                                      5.5M    /opt/iobroker/iobroker-data/objects.json.bak
                                      5.5M    /opt/iobroker/iobroker-data/objects.json
                                      700K    /opt/iobroker/iobroker-data/states.json.bak
                                      700K    /opt/iobroker/iobroker-data/states.json
                                      
                                      
                                      
                                      =================== END OF SUMMARY ====================
                                      

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

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

                                        @sonnenfreund

                                        Generell hast du es nicht so mit Updates, oder?

                                        Pending iob updates:    21
                                        

                                        Ist da überhaupt noch irgendwas auf einem aktuellen Stand?

                                        cd /opt/iobroker
                                        sudo -H -u iobroker npm install iobroker.js-controller
                                        iob update
                                        iob upgrade
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • foxriver76
                                          foxriver76 Developer @sonnenfreund last edited by foxriver76

                                          @sonnenfreund hui ich würde erst mal versuchen auf eine 4.0.24 zu gehen zb bzw war da glaube noch ein Release dazwischen

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

                                            @thomas-braun sagte in js-controller 5.0.x jetzt für alle User im STABLE!:

                                            @sonnenfreund

                                            Generell hast du es nicht so mit Updates, oder?

                                            sei doch nicht so streng 👮

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

                                            hab ich grad gemacht und komme folgende Meldungen:

                                            pi@raspberrypi4-iob:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                            npm ERR! code 1
                                            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                            npm ERR! command failed
                                            npm ERR! command sh -c node iobroker.js setup first
                                            npm ERR! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                            npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                                            npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                            npm ERR!         throw e;
                                            npm ERR!         ^
                                            npm ERR!
                                            npm ERR! ReplyError: Error scan NOT SUPPORTED
                                            npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                            npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                            npm ERR! Emitted 'error' event on ScanStream instance at:
                                            npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                            npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                            npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                            npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                                            npm ERR!   command: {
                                            npm ERR!     name: 'scan',
                                            npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                                            npm ERR!   }
                                            npm ERR! }
                                            npm ERR!
                                            npm ERR! Node.js v18.19.0
                                            
                                            npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-07T20_09_35_513Z-debug-0.log
                                            pi@raspberrypi4-iob:/opt/iobroker $
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            901
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller stable upgrade
                                            82
                                            509
                                            104203
                                            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