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.
    • ?
      A Former User @foxriver76 last edited by A Former User

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

      @pepito82 vermutlich gibt es noch ein altes system.adapter.vis* objekt, das löschen

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

      @foxriver76 Bingo - vielen Dank für den Tipp. Hab die Objekte im Expertenmodus gelöscht und sehe jetzt keine Fehler mehr im Log.

      Hallo @foxriver76 , Hallo @PEPITO82
      Muss ich den ganzen Ordner "vis" löschen oder nur die darunterliegenden Einträge? Habe selbes Problem.

      Gruss
      Vazi

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

        Admin v6.12.0
        js-controller 5.0.16
        web v6.1.10
        Node.js v18.18.2
        Betriebssystem Linux RP4

        Danke

        1 Reply Last reply Reply Quote 0
        • L
          ltsalvatore @Gatam last edited by

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

          Update perfekt über die WebUI Host Seite durchgelaufen.
          Danke

          ich wollte auch nur kurz mal danke sagen, dass das updaten mittlerweile auch über das webUI funktioniert.

          1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @Guest last edited by

            @vazi naja das Objekt würde reichen aber wenn du den Adapter deinstalliert hast und es wirklich alles übrig geblieben ist dann kannst du den Rest auch aufräumen/loeschen

            1 Reply Last reply Reply Quote 0
            • foxriver76
              foxriver76 Developer last edited by

              Hi zusammen,

              es wird nochmal ein Controller 5.0.17 heute ins Latest kommen. Im Endeffekt nur Kleinigkeiten:

              • Problem behoben, dass Fehler bim upgraden von Adaptern nicht angezeigt wurden
              • Problem behoben, wenn eine Alias Konvertierungsfunktion undefined zurück gibt
              • Für Entwickler: Problem in der getSuitableLicenses Methode behoben
              Feuersturm T 2 Replies Last reply Reply Quote 4
              • Feuersturm
                Feuersturm @foxriver76 last edited by

                @foxriver76 5.0.17 lies sich ohne Probleme auf meinem Master Slave Testsystem erfolgreich updaten. Dankeschön.

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

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

                  @foxriver76 5.0.17 lies sich ohne Probleme auf meinem Master Slave Testsystem erfolgreich updaten. Dankeschön.

                  Dito, aber es gibt jetzt eine neue Node und NPM:

                  Node.js: v18.18.2(18.19.0)
                  NPM: 9.8.1(10.2.3)
                  

                  Läuft:

                  Screenshot (521).png

                  1 Reply Last reply Reply Quote 0
                  • T
                    TT-Tom @foxriver76 last edited by

                    @foxriver76

                    Hallo

                    Habe mein Testsystem gestern Abend auch hochgezogen und nachdem automatischen Neustart Probleme mit der Javascript Instanz gehabt. Es konnten die zusätzlichen npm-Module nicht geladen werden bzw. wurden nicht gefunden.
                    Habe das System dann neu gestartet und alles war wieder in Ordnung.

                    kurz zum Ablauf
                    22:50:38 Admin - Adapter aktualisiert 6.12.5
                    22:54:12 Backitup aktualisiert 2.9.5
                    23:05:32 JS-controlller aktualisiert 5.0.17

                    Das Testsystem läuft auf dem Beta Repository und ist aktuell.

                    Update JS Controller.js

                    foxriver76 1 Reply Last reply Reply Quote 0
                    • foxriver76
                      foxriver76 Developer @TT-Tom last edited by

                      @tt-tom

                      2023-11-29 23:07:07.727 - error: javascript.1 (372029) npm ERR!
                      2023-11-29 23:07:07.728 - error: javascript.1 (372029) code ENOTEMPTY
                      npm ERR! syscall rmdir
                      npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/moment/src/lib/create
                      2023-11-29 23:07:07.731 - error: javascript.1 (372029) npm ERR! errno -39
                      2023-11-29 23:07:07.738 - error: javascript.1 (372029) npm ERR! ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/iobroker.javascript/node_modules/moment/src/lib/create'
                      2023-11-29 23:07:07.742 - error: javascript.1 (372029)
                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-29T22_06_47_341Z-debug-0.log
                      2023-11-29 23:07:07.836 - error: javascript.1 (372029) Cannot install dayjs: 217
                      

                      Das Problem tritt mit npm hin und wieder auf, bei Adapter Installationen versuchen wir das mittlerweile automatisch zu beheben, evtl. macht javascript da auch eine Logik da es später wieder ging, müsste man aber dort abklären, da hat Controller aktuell nix mit zu tun.

                      T 1 Reply Last reply Reply Quote 1
                      • T
                        TT-Tom @foxriver76 last edited by

                        @foxriver76
                        Danke für die Rückmeldung.

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

                          Guten Abend,

                          hab schon paar mal gepostet das ich das VIS beim aufhängt. Mit iob diag alles gepostet.
                          Vielteich hab ich irgendeine Meldung übersehen das ein globales Problem mit JS controler 5 ein Problem ist.
                          Heute hab ich am Proxmox DEB12 ein sauberes IOB installiert und nur VIS installiert: selber Fehler Meldung.
                          Dann Downgrade JS controler auf 4.0.24 und Fehler sind weg und VIS lauf normal.
                          Ich werde gerne eine normale Antwort bekommen Zb. warte einfach und schreib nichts und gib ruhe.

                          Für jede Antwort bin ich dankbar.
                          Danke

                          mcm1957 1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            769
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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