Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Skript funktionieren nicht nach Neustart - Gelöst

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Skript funktionieren nicht nach Neustart - Gelöst

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

      Hallo,

      ich habe das Problem, dass meine Blockly Skripte nach einem Neustart nicht funktionieren.
      Hierbei scheint es bereits auszureichen, wenn die Javaskript Instanz neugestartet wird. Die Skripte werden alle als laufend angezeigt, funktionieren jedoch nicht. Erst ein manuelles Neustarten der Skripte lässt diese wieder arbeiten.

      Was kann hierfür die Ursache sein?

      Hardware/ SW Infos:
      NUK
      Proxmox
      iobroker im lxc container

      Grüße,
      Sven

      BananaJoe crunchip 2 Replies Last reply Reply Quote 0
      • BananaJoe
        BananaJoe Most Active @Svaggy last edited by

        @svaggy zeig mal ein Beispielskript als Screenshot. Vielleicht liegt es am Aufbau der Skripte.
        und ein

        iob diag
        

        in der Langfassung

        Svaggy 1 Reply Last reply Reply Quote 0
        • Svaggy
          Svaggy @BananaJoe last edited by

          Gerade mit einer eigenen Skript Instanz getestet:

          15a91e3f-2b9d-48fc-bf9a-942e62c3a236-image.png

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

            Wie/Wo kann ich ein iob diag machen?

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

              @svaggy

              Im Terminal (aus einer Session innerhalb des LXCs)

              iob diag
              

              eingeben.

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

                Danke hier der Output:

                ========== Start marking the full check here ===========

                Script v.2024-10-19
                
                *** BASE SYSTEM ***
                 Static hostname: iobroker
                       Icon name: computer-container
                         Chassis: container ☐
                  Virtualization: lxc
                Operating System: Debian GNU/Linux 12 (bookworm)
                          Kernel: Linux 6.8.12-2-pve
                    Architecture: x86-64
                OS is similar to: 
                
                model name      : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
                Docker          : false
                Virtualization  : lxc
                Kernel          : x86_64
                Userland        : 64 bit
                
                Systemuptime and Load:
                 12:49:05 up 5 min,  2 users,  load average: 0.23, 0.35, 0.32
                CPU threads: 4
                
                
                *** LIFE CYCLE STATUS ***
                Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
                
                *** TIME AND TIMEZONES ***
                               Local time: Fri 2024-11-08 12:49:05 CET
                           Universal time: Fri 2024-11-08 11:49:05 UTC
                                 RTC time: n/a
                                Time zone: Europe/Berlin (CET, +0100)
                System clock synchronized: yes
                              NTP service: inactive
                          RTC in local TZ: no
                
                *** Users and Groups ***
                User that called 'iob diag':
                root
                HOME=/root
                GROUPS=root
                
                User that is running 'js-controller':
                iobroker
                HOME=/home/iobroker
                GROUPS=iobroker tty dialout audio video plugdev
                
                A default user should be created! This user will be enabled to temporarily switch to root via 'sudo'!
                A root login is not required in most Linux Distributions.
                Run 'iobroker fix' or use the system tools to create a user.
                *** DISPLAY-SERVER SETUP ***
                Display-Server: false
                Desktop: 
                Terminal: 
                
                System is booting into 'graphical.target'. Usually a server is running in 'multi-user.target'. Please set BootTarget to 'multi-user.target' or run 'iobroker fix'
                
                *** MEMORY ***
                               total        used        free      shared  buff/cache   available
                Mem:            4.3G        1.7G        2.2G        110K        443M        2.6G
                Swap:           536M          0B        536M
                Total:          4.8G        1.7G        2.7G
                
                Active iob-Instances:   0
                
                         4096 M total memory
                         1619 M used memory
                         1631 M active memory
                          306 M inactive memory
                         2053 M free memory
                            0 M buffer memory
                          423 M swap cache
                          512 M total swap
                            0 M used swap
                          512 M free swap
                
                *** top - Table Of Processes  ***
                top - 12:49:05 up 5 min,  2 users,  load average: 0.23, 0.35, 0.32
                Tasks:  49 total,   1 running,  48 sleeping,   0 stopped,   0 zombie
                %Cpu(s):  0.0 us, 50.0 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
                MiB Mem :   4096.0 total,   2052.4 free,   1620.7 used,    423.0 buff/cache     
                MiB Swap:    512.0 total,    512.0 free,      0.0 used.   2475.3 avail Mem 
                
                *** FAILED SERVICES ***
                
                  UNIT                    LOAD   ACTIVE SUB    DESCRIPTION
                * run-rpc_pipefs.mount    loaded failed failed RPC Pipe File System
                * sys-kernel-config.mount loaded failed failed Kernel Configuration File System
                
                LOAD   = Reflects whether the unit definition was properly loaded.
                ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
                SUB    = The low-level unit activation state, values depend on unit type.
                2 loaded units listed.
                
                
                *** DMESG CRITICAL ERRORS ***
                dmesg: read kernel buffer failed: Operation not permitted
                No critical errors detected
                
                *** FILESYSTEM ***
                Filesystem                       Type      Size  Used Avail Use% Mounted on
                /dev/mapper/pve-vm--100--disk--0 ext4       63G  5.1G   55G   9% /
                none                             tmpfs     492K  4.0K  488K   1% /dev
                udev                             devtmpfs  3.8G     0  3.8G   0% /dev/tty
                tmpfs                            tmpfs     3.9G     0  3.9G   0% /dev/shm
                tmpfs                            tmpfs     1.6G  104K  1.6G   1% /run
                tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
                
                Messages concerning ext4 filesystem in dmesg:
                dmesg: read kernel buffer failed: Operation not permitted
                
                Show mounted filesystems:
                TARGET SOURCE                           FSTYPE OPTIONS
                /      /dev/mapper/pve-vm--100--disk--0 ext4   rw,relatime,stripe=16
                
                Files in neuralgic directories:
                
                /var:
                485M    /var/
                251M    /var/cache
                247M    /var/cache/apt
                171M    /var/cache/apt/archives
                146M    /var/lib
                
                Archived and active journals take up 87.3M in the file system.
                
                /opt/iobroker/backups:
                62M     /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                1.1G    /opt/iobroker/iobroker-data/
                945M    /opt/iobroker/iobroker-data/files
                617M    /opt/iobroker/iobroker-data/files/javascript.admin
                560M    /opt/iobroker/iobroker-data/files/javascript.admin/static
                558M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                
                The five largest files in iobroker-data are:
                38M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map
                24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
                24M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map
                24M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.8e80ccb0.js.map
                24M     /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map
                
                USB-Devices by-id:
                USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                
                No Devices found 'by-id'
                
                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v20.18.0
                /usr/bin/node           v20.18.0
                /usr/bin/npm            10.8.2
                /usr/bin/npx            10.8.2
                /usr/bin/corepack       0.29.3
                
                nodejs:
                  Installed: 20.18.0-1nodesource1
                  Candidate: 20.18.0-1nodesource1
                  Version table:
                 *** 20.18.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                        100 /var/lib/dpkg/status
                     20.17.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.16.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.15.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.15.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.14.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.13.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.13.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.12.2-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.12.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.12.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.11.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.11.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.10.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.9.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.8.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.8.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.7.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.6.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.6.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.5.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.5.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.4.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.3.1-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.3.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.2.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.1.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     20.0.0-1nodesource1 1001
                        500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                     18.19.0+dfsg-6~deb12u2 500
                        500 http://deb.debian.org/debian bookworm/main amd64 Packages
                     18.19.0+dfsg-6~deb12u1 500
                        500 http://security.debian.org bookworm-security/main amd64 Packages
                
                Temp directories causing deletion problem: 0
                No problems detected
                
                Errors in npm tree: 0
                No problems detected
                
                *** ioBroker-Installation ***
                
                ioBroker Status
                
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                
                Hosts:
                
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                
                Core adapters versions
                js-controller: 
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                admin: 
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                javascript: 
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                
                nodejs modules from github:     0
                
                Adapter State
                
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                
                Enabled adapters with bindings
                
                ioBroker-Repositories
                
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                
                Installed ioBroker-Instances
                
                ***For security reasons ioBroker should not be run or administrated as root.***
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                
                Objects and States
                Please stand by - This may take a while
                Objects:        6
                States:         6
                
                *** OS-Repositories and Updates ***
                Hit:1 http://security.debian.org bookworm-security InRelease
                Hit:2 http://deb.debian.org/debian bookworm InRelease
                Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                Reading package lists...
                Pending Updates: 0
                
                *** Listening Ports ***
                Active Internet connections (only servers)
                Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          4982207    296/master          
                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1000       4982321    132/iobroker.js-con 
                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1000       4982168    132/iobroker.js-con 
                tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1000       4984251    453/io.shelly.1     
                tcp        0      0 192.168.2.250:9093      0.0.0.0:*               LISTEN      1000       4985750    558/io.fakeroku.0   
                tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          4979695    1/init              
                tcp6       0      0 :::8082                 :::*                    LISTEN      1000       4988116    633/io.web.0        
                tcp6       0      0 :::8081                 :::*                    LISTEN      1000       4983861    307/io.admin.0      
                tcp6       0      0 ::1:25                  :::*                    LISTEN      0          4982208    296/master          
                tcp6       0      0 :::111                  :::*                    LISTEN      0          4979697    1/init              
                tcp6       0      0 :::22                   :::*                    LISTEN      0          4980604    1/init              
                tcp6       0      0 :::61991                :::*                    LISTEN      1000       4987065    543/io.harmony.0    
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       4989203    663/io.homekit-cont 
                udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1000       4985129    408/io.shelly.0     
                udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       4987930    588/io.deconz.0     
                udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       4985751    558/io.fakeroku.0   
                udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          4979696    1/init              
                udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1000       4987066    543/io.harmony.0    
                udp6       0      0 :::1900                 :::*                                1000       4987932    588/io.deconz.0     
                udp6       0      0 :::1900                 :::*                                1000       4987931    588/io.deconz.0     
                udp6       0      0 :::111                  :::*                                0          4979698    1/init              
                
                *** Log File - Last 25 Lines ***
                
                2024-11-08 12:45:02.648  - info: homekit-controller.0 (663) IP-66:7A:54:63:50:00 (eufy HomeBase2-0F53) found without pairing data but available for pairing: Create basic objects
                2024-11-08 12:45:03.365  - info: alexa2.0 (468) Initialization Done ...
                2024-11-08 12:45:03.553  - info: host.iobroker instance system.adapter.maxcul.0 in version "1.3.1" started with pid 693
                2024-11-08 12:45:04.203  - info: maxcul.0 (693) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.maxcul, node: v20.18.0, js-controller: 6.0.11
                2024-11-08 12:45:04.300  - info: maxcul.0 (693) using serial device /dev/ttyACM0@38400
                2024-11-08 12:45:04.306  - info: maxcul.0 (693) serialPort /dev/ttyACM0 is open!
                2024-11-08 12:45:07.344  - info: host.iobroker instance system.adapter.iot.0 in version "3.3.0" started with pid 708
                2024-11-08 12:45:08.154  - info: iot.0 (708) starting. Version 3.3.0 in /opt/iobroker/node_modules/iobroker.iot, node: v20.18.0, js-controller: 6.0.11
                2024-11-08 12:45:08.187  - info: iot.0 (708) Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
                2024-11-08 12:45:08.600  - info: iot.0 (708) Connection changed: connect "xxxx_gmail_com"
                2024-11-08 12:45:12.841  - info: host.iobroker stopInstance system.adapter.nuki-extended.0 (force=false, process=true)
                2024-11-08 12:45:12.843  - info: nuki-extended.0 (483) Got terminate signal TERMINATE_YOURSELF
                2024-11-08 12:45:12.843  - info: nuki-extended.0 (483) Adapter stopped und unloaded.
                2024-11-08 12:45:12.844  - info: nuki-extended.0 (483) terminating
                2024-11-08 12:45:12.844  - info: nuki-extended.0 (483) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2024-11-08 12:45:12.892  - info: host.iobroker stopInstance system.adapter.nuki-extended.0 send kill signal
                2024-11-08 12:45:13.345  - info: nuki-extended.0 (483) terminating
                2024-11-08 12:45:13.369  - info: host.iobroker instance system.adapter.nuki-extended.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                2024-11-08 12:45:16.626  - info: host.iobroker instance system.adapter.nuki-extended.0 in version "2.7.0" started with pid 723
                2024-11-08 12:45:17.479  - info: nuki-extended.0 (723) starting. Version 2.7.0 in /opt/iobroker/node_modules/iobroker.nuki-extended, node: v20.18.0, js-controller: 6.0.11
                2024-11-08 12:45:17.548  - warn: nuki-extended.0 (723) Due to performance reasons, the refresh rate can not be set to less than 5 seconds. Using 5 seconds now for Nuki Web API.
                2024-11-08 12:45:17.549  - info: nuki-extended.0 (723) Polling Nuki Web API with a frequency of 5s.
                2024-11-08 12:45:17.554  - warn: nuki-extended.0 (723) Name, IP or API token missing for bridge ! Please go to settings and fill in IP and the API token first!
                2024-11-08 12:45:17.554  - info: nuki-extended.0 (723) No bridges are sufficiently defined! Name, IP or token missing or all bridges deactivated!
                2024-11-08 12:45:34.308  - info: maxcul.0 (693) Timeout on CUL connect, cul is available but not responding
                
                

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

                iob diag has finished.

                Press any key for a summary

                ======================= SUMMARY =======================
                v.2024-10-19

                Static hostname: iobroker
                Icon name: computer-container
                Chassis: container ☐
                Virtualization: lxc
                Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.8.12-2-pve
                Architecture: x86-64

                Installation: lxc
                Kernel: x86_64
                Userland: 64 bit
                Timezone: Europe/Berlin (CET, +0100)
                User-ID: 0
                Display-Server: false
                Boot Target: graphical.target

                Pending OS-Updates: 0
                Pending iob updates: 0

                Nodejs-Installation:
                /usr/bin/nodejs v20.18.0
                /usr/bin/node v20.18.0
                /usr/bin/npm 10.8.2
                /usr/bin/npx 10.8.2
                /usr/bin/corepack 0.29.3

                Recommended versions are nodejs
                For security reasons ioBroker should not be run or administrated as root.
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now. and npm
                For security reasons ioBroker should not be run or administrated as root.
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                nodeJS installation is correct

                MEMORY:
                total used free shared buff/cache available
                Mem: 4.3G 1.7G 2.2G 110K 443M 2.6G
                Swap: 536M 0B 536M
                Total: 4.8G 1.7G 2.7G

                Active iob-Instances: 0
                Please note that this option may be disabled in the future, so please change your setup accordingly now.

                ioBroker Core: js-controller
                For security reasons ioBroker should not be run or administrated as root.
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.
                admin
                For security reasons ioBroker should not be run or administrated as root.
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.

                ioBroker Status:
                For security reasons ioBroker should not be run or administrated as root.
                By default only a user that is member of iobroker group can execute ioBroker commands.
                Please read the Documentation on how to set up such a user, if not done yet.
                Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line.
                Please note that this option may be disabled in the future, so please change your setup accordingly now.

                Status admin and web instance:
                For security reasons ioBroker should not be run or administrated as root.

                Objects: 6
                States: 6

                Size of iob-Database:

                21M /opt/iobroker/iobroker-data/objects.jsonl
                2.6M /opt/iobroker/iobroker-data/states.jsonl

                Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.

                =================== END OF SUMMARY ====================

                
                === Mark text until here for copying ===
                paul53 Thomas Braun 2 Replies Last reply Reply Quote 0
                • paul53
                  paul53 @Svaggy last edited by paul53

                  @svaggy sagte:

                  Objects and States
                  Please stand by - This may take a while
                  Objects:        6
                  States:         6
                  

                  Das kann nicht sein und passt nicht zu:

                  Size of iob-Database:
                  21M /opt/iobroker/iobroker-data/objects.jsonl
                  2.6M /opt/iobroker/iobroker-data/states.jsonl

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

                    @svaggy

                    Dann den

                    iob fix
                    

                    und die angemeckerten Punkte wie 'root' und graphical.target
                    korrigieren.

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

                      Danke, erledigt. Funktioniert leider immer noch nicht.

                      Hier der erneute iob diag output:

                      ========== Start marking the full check here ===========

                      Script v.2024-10-19
                      
                      *** BASE SYSTEM ***
                       Static hostname: iobroker
                             Icon name: computer-container
                               Chassis: container ☐
                        Virtualization: lxc
                      Operating System: Debian GNU/Linux 12 (bookworm)
                                Kernel: Linux 6.8.12-2-pve
                          Architecture: x86-64
                      OS is similar to: 
                      
                      model name      : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
                      Docker          : false
                      Virtualization  : lxc
                      Kernel          : x86_64
                      Userland        : 64 bit
                      
                      Systemuptime and Load:
                       13:14:43 up 4 min,  2 users,  load average: 0.46, 0.80, 0.49
                      CPU threads: 4
                      
                      
                      *** LIFE CYCLE STATUS ***
                      Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
                      
                      *** TIME AND TIMEZONES ***
                                     Local time: Fri 2024-11-08 13:14:43 CET
                                 Universal time: Fri 2024-11-08 12:14:43 UTC
                                       RTC time: n/a
                                      Time zone: Europe/Berlin (CET, +0100)
                      System clock synchronized: yes
                                    NTP service: inactive
                                RTC in local TZ: no
                      
                      *** Users and Groups ***
                      User that called 'iob diag':
                      svaggy
                      HOME=/home/svaggy
                      GROUPS=svaggy adm dialout sudo audio video plugdev users iobroker
                      
                      User that is running 'js-controller':
                      iobroker
                      HOME=/home/iobroker
                      GROUPS=iobroker tty dialout audio video plugdev
                      
                      *** DISPLAY-SERVER SETUP ***
                      Display-Server: false
                      Desktop: 
                      Terminal: 
                      
                      *** MEMORY ***
                                     total        used        free      shared  buff/cache   available
                      Mem:            4.3G        1.7G        2.2G        114K        468M        2.6G
                      Swap:           536M          0B        536M
                      Total:          4.8G        1.7G        2.7G
                      
                      Active iob-Instances:   25
                      
                               4096 M total memory
                               1599 M used memory
                               1576 M active memory
                                321 M inactive memory
                               2049 M free memory
                                  0 M buffer memory
                                446 M swap cache
                                512 M total swap
                                  0 M used swap
                                512 M free swap
                      
                      *** top - Table Of Processes  ***
                      top - 13:14:44 up 4 min,  2 users,  load average: 0.46, 0.80, 0.49
                      Tasks:  50 total,   1 running,  49 sleeping,   0 stopped,   0 zombie
                      %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
                      MiB Mem :   4096.0 total,   2048.3 free,   1601.2 used,    446.7 buff/cache     
                      MiB Swap:    512.0 total,    512.0 free,      0.0 used.   2494.8 avail Mem 
                      
                      *** FAILED SERVICES ***
                      
                        UNIT                    LOAD   ACTIVE SUB    DESCRIPTION
                      * run-rpc_pipefs.mount    loaded failed failed RPC Pipe File System
                      * sys-kernel-config.mount loaded failed failed Kernel Configuration File System
                      
                      LOAD   = Reflects whether the unit definition was properly loaded.
                      ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
                      SUB    = The low-level unit activation state, values depend on unit type.
                      2 loaded units listed.
                      
                      
                      *** DMESG CRITICAL ERRORS ***
                      dmesg: read kernel buffer failed: Operation not permitted
                      No critical errors detected
                      
                      *** FILESYSTEM ***
                      Filesystem                       Type      Size  Used Avail Use% Mounted on
                      /dev/mapper/pve-vm--100--disk--0 ext4       63G  5.1G   55G   9% /
                      none                             tmpfs     492K  4.0K  488K   1% /dev
                      udev                             devtmpfs  3.8G     0  3.8G   0% /dev/tty
                      tmpfs                            tmpfs     3.9G     0  3.9G   0% /dev/shm
                      tmpfs                            tmpfs     1.6G  108K  1.6G   1% /run
                      tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
                      
                      Messages concerning ext4 filesystem in dmesg:
                      dmesg: read kernel buffer failed: Operation not permitted
                      
                      Show mounted filesystems:
                      TARGET SOURCE                           FSTYPE OPTIONS
                      /      /dev/mapper/pve-vm--100--disk--0 ext4   rw,relatime,stripe=16
                      
                      Files in neuralgic directories:
                      
                      /var:
                      493M    /var/
                      251M    /var/cache
                      247M    /var/cache/apt
                      171M    /var/cache/apt/archives
                      146M    /var/lib
                      
                      Archived and active journals take up 95.3M in the file system.
                      
                      /opt/iobroker/backups:
                      62M     /opt/iobroker/backups/
                      
                      /opt/iobroker/iobroker-data:
                      1.1G    /opt/iobroker/iobroker-data/
                      945M    /opt/iobroker/iobroker-data/files
                      617M    /opt/iobroker/iobroker-data/files/javascript.admin
                      560M    /opt/iobroker/iobroker-data/files/javascript.admin/static
                      558M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                      
                      The five largest files in iobroker-data are:
                      38M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map
                      24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
                      24M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map
                      24M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.8e80ccb0.js.map
                      24M     /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map
                      
                      USB-Devices by-id:
                      USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                      
                      No Devices found 'by-id'
                      
                      *** NodeJS-Installation ***
                      
                      /usr/bin/nodejs         v20.18.0
                      /usr/bin/node           v20.18.0
                      /usr/bin/npm            10.8.2
                      /usr/bin/npx            10.8.2
                      /usr/bin/corepack       0.29.3
                      
                      nodejs:
                        Installed: 20.18.0-1nodesource1
                        Candidate: 20.18.0-1nodesource1
                        Version table:
                       *** 20.18.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                              100 /var/lib/dpkg/status
                           20.17.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.16.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.15.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.15.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.14.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.13.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.13.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.12.2-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.12.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.12.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.11.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.11.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.10.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.9.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.8.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.8.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.7.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.6.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.6.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.5.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.5.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.4.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.3.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.3.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.2.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.1.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           20.0.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                           18.19.0+dfsg-6~deb12u2 500
                              500 http://deb.debian.org/debian bookworm/main amd64 Packages
                           18.19.0+dfsg-6~deb12u1 500
                              500 http://security.debian.org bookworm-security/main amd64 Packages
                      
                      Temp directories causing deletion problem: 0
                      No problems detected
                      
                      Errors in npm tree: 0
                      No problems detected
                      
                      *** ioBroker-Installation ***
                      
                      ioBroker Status
                      iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Hosts:
                      iobroker            iobroker (version: 6.0.11, hostname: iobroker      , alive, uptime: 196)
                      
                      Core adapters versions
                      js-controller:  6.0.11
                      admin:          7.1.5
                      javascript:     8.8.3
                      
                      nodejs modules from github:     0
                      
                      Adapter State
                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
                      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                      + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
                      + system.adapter.deconz.0                 : deconz                : iobroker                                 -  enabled, port: 8080
                      + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                      + system.adapter.eusec.0                  : eusec                 : iobroker                                 -  enabled
                      + system.adapter.fakeroku.0               : fakeroku              : iobroker                                 -  enabled
                        system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
                      + system.adapter.fhem.0                   : fhem                  : iobroker                                 -  enabled, port: 7072
                      + system.adapter.harmony.0                : harmony               : iobroker                                 -  enabled
                      + system.adapter.homekit-controller.0     : homekit-controller    : iobroker                                 -  enabled
                      + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 443
                      + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
                      + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                      + system.adapter.javascript.1             : javascript            : iobroker                                 -  enabled
                      + system.adapter.lgtv.0                   : lgtv                  : iobroker                                 -  enabled
                      + system.adapter.maxcul.0                 : maxcul                : iobroker                                 -  enabled
                      + system.adapter.nuki-extended.0          : nuki-extended         : iobroker                                 -  enabled
                      + system.adapter.nuki.0                   : nuki                  : iobroker                                 -  enabled
                      + system.adapter.pushover.0               : pushover              : iobroker                                 -  enabled
                      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.shelly.1                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.vis-2.0                  : vis-2                 : iobroker                                 -  enabled
                        system.adapter.vis-colorpicker.0        : vis-colorpicker       : iobroker                                 -  enabled
                        system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                        system.adapter.weatherunderground.0     : weatherunderground    : iobroker                                 - disabled
                      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      + instance is alive
                      
                      Enabled adapters with bindings
                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.deconz.0                 : deconz                : iobroker                                 -  enabled, port: 8080
                      + system.adapter.fhem.0                   : fhem                  : iobroker                                 -  enabled, port: 7072
                      + system.adapter.hue.0                    : hue                   : iobroker                                 -  enabled, port: 443
                      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.shelly.1                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      ioBroker-Repositories
                      ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
                      │ (index) │ name     │ url                                                     │ auto upgrade │
                      ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
                      │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                      │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                      └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
                      
                      Active repo(s): stable
                      Upgrade policy: none
                      
                      Installed ioBroker-Instances
                      Used repository: stable
                      Adapter    "admin"        : 7.1.5    , installed 7.1.5
                      Adapter    "alexa2"       : 3.26.5   , installed 3.26.6
                      Adapter    "backitup"     : 3.0.25   , installed 3.0.25
                      Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                      Adapter    "deconz"       : 1.4.1    , installed 1.4.1
                      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                      Adapter    "eusec"        : 1.3.3    , installed 1.3.3
                      Adapter    "fakeroku"     : 0.3.0    , installed 0.3.0
                      Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
                      Adapter    "fhem"         : 3.0.0    , installed 3.0.0
                      Adapter    "harmony"      : 1.5.0    , installed 1.5.0
                      Adapter    "homekit-controller": 0.5.10, installed 0.5.10
                      Adapter    "hue"          : 3.12.0   , installed 3.12.0
                      Adapter    "iot"          : 3.3.0    , installed 3.3.0
                      Adapter    "javascript"   : 8.8.3    , installed 8.8.3
                      Controller "js-controller": 6.0.11   , installed 6.0.11
                      Adapter    "lgtv"         : 2.2.0    , installed 2.2.0
                      Adapter    "maxcul"       : 1.3.1    , installed 1.3.1
                      Adapter    "nuki"         : 2.0.0    , installed 2.0.0
                      Adapter    "nuki-extended": 2.7.0    , installed 2.7.0
                      Adapter    "pushover"     : 4.1.0    , installed 4.1.0
                      Adapter    "shelly"       : 8.2.1    , installed 8.2.1
                      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                      Adapter    "socketio"     : 6.7.1    , installed 6.7.1
                      Adapter    "vis"          : 1.5.6    , installed 1.5.6
                      Adapter    "vis-2"        : 2.9.64   , installed 2.9.64
                      Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
                      Adapter    "weatherunderground": 3.7.0, installed 3.7.0
                      Adapter    "web"          : 6.2.5    , installed 6.2.5
                      Adapter    "ws"           : 2.6.2    , installed 2.6.2
                      
                      Objects and States
                      Please stand by - This may take a while
                      Objects:        10290
                      States:         6704
                      
                      *** OS-Repositories and Updates ***
                      Hit:1 http://security.debian.org bookworm-security InRelease
                      Hit:2 http://deb.debian.org/debian bookworm InRelease
                      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                      Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                      Reading package lists...
                      Pending Updates: 0
                      
                      *** Listening Ports ***
                      Active Internet connections (only servers)
                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1000       5074162    1448/iobroker.js-co 
                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1000       5074157    1448/iobroker.js-co 
                      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          5066049    296/master          
                      tcp        0      0 192.168.2.250:9093      0.0.0.0:*               LISTEN      1000       5077678    1733/io.fakeroku.0  
                      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          5065778    1/init              
                      tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1000       5074725    1628/io.shelly.1    
                      tcp6       0      0 ::1:25                  :::*                    LISTEN      0          5066050    296/master          
                      tcp6       0      0 :::8082                 :::*                    LISTEN      1000       5078488    1808/io.web.0       
                      tcp6       0      0 :::8081                 :::*                    LISTEN      1000       5075216    1466/io.admin.0     
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          5065378    1/init              
                      tcp6       0      0 :::111                  :::*                    LISTEN      0          5065780    1/init              
                      tcp6       0      0 :::61991                :::*                    LISTEN      1000       5077623    1718/io.harmony.0   
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       5079643    1838/io.homekit-con 
                      udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1000       5074578    1583/io.shelly.0    
                      udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       5078315    1763/io.deconz.0    
                      udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       5077679    1733/io.fakeroku.0  
                      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          5065779    1/init              
                      udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1000       5077624    1718/io.harmony.0   
                      udp6       0      0 :::1900                 :::*                                1000       5078317    1763/io.deconz.0    
                      udp6       0      0 :::1900                 :::*                                1000       5078316    1763/io.deconz.0    
                      udp6       0      0 :::111                  :::*                                0          5065781    1/init              
                      
                      *** Log File - Last 25 Lines ***
                      
                      2024-11-08 13:12:58.868  - info: vis.0 (1853) starting. Version 1.5.6 in /opt/iobroker/node_modules/iobroker.vis, node: v20.18.0, js-controller: 6.0.11
                      2024-11-08 13:12:59.476  - info: vis.0 (1853) Terminated (NO_ERROR): Without reason
                      2024-11-08 13:13:00.002  - info: host.iobroker instance system.adapter.vis.0 terminated while should be started once
                      2024-11-08 13:13:01.400  - warn: homekit-controller.0 (1838) IP-58:03:3A:5D:47:0C Could not initialize device: connect EHOSTUNREACH 192.168.2.88:60274 Error: connect EHOSTUNREACH 192.168.2.88:60274
                          at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1607:16)
                      2024-11-08 13:13:02.491  - info: host.iobroker instance system.adapter.maxcul.0 in version "1.3.1" started with pid 1868
                      2024-11-08 13:13:03.119  - info: maxcul.0 (1868) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.maxcul, node: v20.18.0, js-controller: 6.0.11
                      2024-11-08 13:13:03.215  - info: maxcul.0 (1868) using serial device /dev/ttyACM0@38400
                      2024-11-08 13:13:03.221  - info: maxcul.0 (1868) serialPort /dev/ttyACM0 is open!
                      2024-11-08 13:13:03.224  - info: maxcul.0 (1868) deviceRequestTimeInformation: "076f7d"
                      2024-11-08 13:13:03.228  - info: maxcul.0 (1868) deviceRequestTimeInformation: "076f7d"
                      2024-11-08 13:13:03.229  - info: maxcul.0 (1868) deviceRequestTimeInformation: "076f7d"
                      2024-11-08 13:13:04.622  - info: homekit-controller.0 (1838) IP-66:7A:54:63:50:00 (eufy HomeBase2-0F53) found without pairing data but available for pairing: Create basic objects
                      2024-11-08 13:13:04.792  - warn: homekit-controller.0 (1838) IP-D2:B6:84:EF:1D:70 Could not initialize device: connect EHOSTUNREACH 192.168.2.65:61818 Error: connect EHOSTUNREACH 192.168.2.65:61818
                          at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1607:16)
                      2024-11-08 13:13:05.224  - info: maxcul.0 (1868) CUL FW Version: V 1.66_nocredits CUL868
                      2024-11-08 13:13:06.255  - info: host.iobroker instance system.adapter.iot.0 in version "3.3.0" started with pid 1883
                      2024-11-08 13:13:07.061  - info: iot.0 (1883) starting. Version 3.3.0 in /opt/iobroker/node_modules/iobroker.iot, node: v20.18.0, js-controller: 6.0.11
                      2024-11-08 13:13:07.099  - info: iot.0 (1883) Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
                      2024-11-08 13:13:07.679  - info: iot.0 (1883) Connection changed: connect "xxxxx_gmail_com"
                      2024-11-08 13:13:07.784  - info: alexa2.0 (1643) Initialization Done ...
                      2024-11-08 13:13:45.751  - info: maxcul.0 (1868) deviceRequestTimeInformation: "076f5e"
                      2024-11-08 13:13:50.750  - info: maxcul.0 (1868) deviceRequestTimeInformation: "076f5e"
                      2024-11-08 13:13:55.751  - info: maxcul.0 (1868) deviceRequestTimeInformation: "076f5e"
                      2024-11-08 13:15:00.209  - error: host.iobroker cannot call visUtils: Not exists
                      
                      

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

                      iob diag has finished.

                      Press any key for a summary

                      ====================== SUMMARY =======================
                      v.2024-10-19

                      Static hostname: iobroker
                      Icon name: computer-container
                      Chassis: container ☐
                      Virtualization: lxc
                      Operating System: Debian GNU/Linux 12 (bookworm)
                      Kernel: Linux 6.8.12-2-pve
                      Architecture: x86-64

                      Installation: lxc
                      Kernel: x86_64
                      Userland: 64 bit
                      Timezone: Europe/Berlin (CET, +0100)
                      User-ID: 1001
                      Display-Server: false
                      Boot Target: multi-user.target

                      Pending OS-Updates: 0
                      Pending iob updates: 0

                      Nodejs-Installation:
                      /usr/bin/nodejs v20.18.0
                      /usr/bin/node v20.18.0
                      /usr/bin/npm 10.8.2
                      /usr/bin/npx 10.8.2
                      /usr/bin/corepack 0.29.3

                      Recommended versions are nodejs 20.18.0 and npm 10.8.2
                      nodeJS installation is correct

                      MEMORY:
                      total used free shared buff/cache available
                      Mem: 4.3G 1.8G 2.1G 114K 470M 2.5G
                      Swap: 536M 0B 536M
                      Total: 4.8G 1.8G 2.6G

                      Active iob-Instances: 25
                      Upgrade policy: none

                      ioBroker Core: js-controller 6.0.11
                      admin 7.1.5

                      ioBroker Status: iobroker is running on this host.

                      Objects type: jsonl
                      States type: jsonl

                      Status admin and web instance:

                      • system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      • system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin

                      Objects: 10290
                      States: 6704

                      Size of iob-Database:

                      31M /opt/iobroker/iobroker-data/objects.jsonl
                      2.8M /opt/iobroker/iobroker-data/states.jsonl

                      Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.

                      =================== END OF SUMMARY ====================

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

                        @svaggy sagte in Skript funktionieren nicht nach Neustart:

                        Funktioniert leider immer noch nicht.

                        Aber jetzt ist die Ausgangsbasis eine andere.

                        Objects: 10290
                        States: 6704

                        sieht schon mal anders aus.

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

                          Habt ihr noch Ideen, was ich machen kann/ probieren sollte?

                          Ro75 1 Reply Last reply Reply Quote 0
                          • Ro75
                            Ro75 @Svaggy last edited by

                            @svaggy auf welcher Logstufe steht der JS-Adapter?

                            Ro75.

                            Svaggy 1 Reply Last reply Reply Quote 0
                            • Svaggy
                              Svaggy @Ro75 last edited by

                              @ro75 Meinst du die Protokollebene? Die steht auf "info"

                              Ro75 1 Reply Last reply Reply Quote 0
                              • Ro75
                                Ro75 @Svaggy last edited by

                                @svaggy OK. Was taucht denn im Log nach einem Neustart vom Docker-Container bzgl. JS/JS-Adapter auf. Alos bei mir kommen auf alle Fälle ne Menge an Einträgen. Jeder Start eines Skriptes wird dokumentiert. Also, wie sieht es bei dir konkret aus?

                                Ro75.

                                Svaggy 1 Reply Last reply Reply Quote 0
                                • Svaggy
                                  Svaggy @Ro75 last edited by

                                  @ro75

                                  Wenn ich die "Testinstanz" starte kommt das. Hierbei auch der untenstehende Fehler:

                                  javascript.1
                                  2024-11-08 18:24:21.401 error Cannot find view "script" for search "javascript"

                                  javascript.1
                                  2024-11-08 18:24:21.346 info received all objects

                                  javascript.1
                                  2024-11-08 18:24:21.124 info received all states

                                  javascript.1
                                  2024-11-08 18:24:20.698 info requesting all objects

                                  javascript.1
                                  2024-11-08 18:24:20.697 info requesting all states

                                  javascript.1
                                  2024-11-08 18:24:20.401 info starting. Version 8.8.3 in /opt/iobroker/node_modules/iobroker.javascript, node: v20.18.0, js-controller: 6.0.11

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

                                    @svaggy bitte den Container neu starten lassen und dann das gesamte Log mal rein.

                                    Ro75.

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

                                      @svaggy

                                      Das Log am besten aus

                                      iob logs
                                      

                                      nehmen und in CodeTags posten. Das ist besser formatiert und chronologisch sortiert.

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

                                        @thomas-braun
                                        Bekomme den log hier nicht rein iob logs ist zeitlich abgeschnitten und für ein Reinkopieren hat er zu viel Zeichen..

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

                                          @svaggy sagte in Skript funktionieren nicht nach Neustart:

                                          iob logs ist zeitlich abgeschnitten

                                          Nein, das ist eben nicht abgeschnitten, das ist immer das volle log seit 0 Uhr.
                                          Es interessiert aber eh im Moment nur der Neustart des adapters.

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

                                            @thomas-braun

                                            Reicht das?

                                            2024-11-08 19:06:51.057  - info: host.iobroker "system.adapter.javascript.1" disabled
                                            2024-11-08 19:06:51.057  - info: host.iobroker stopInstance system.adapter.javascript.1 (force=false, process=true)
                                            2024-11-08 19:06:51.060  - info: javascript.1 (2032) Got terminate signal TERMINATE_YOURSELF
                                            2024-11-08 19:06:51.062  - info: javascript.1 (2032) terminating
                                            2024-11-08 19:06:51.063  - info: javascript.1 (2032) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                            2024-11-08 19:06:51.100  - info: host.iobroker stopInstance system.adapter.javascript.1 send kill signal
                                            2024-11-08 19:06:51.561  - info: javascript.1 (2032) terminating
                                            2024-11-08 19:06:51.599  - info: host.iobroker instance system.adapter.javascript.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                            2024-11-08 19:06:52.309  - info: host.iobroker "system.adapter.javascript.1" enabled
                                            2024-11-08 19:06:52.582  - info: host.iobroker instance system.adapter.javascript.1 in version "8.8.3" started with pid 2047
                                            2024-11-08 19:06:53.565  - info: javascript.1 (2047) starting. Version 8.8.3 in /opt/iobroker/node_modules/iobroker.javascript, node: v20.18.0, js-controller: 6.0.11
                                            2024-11-08 19:06:53.810  - info: javascript.1 (2047) requesting all states
                                            2024-11-08 19:06:53.811  - info: javascript.1 (2047) requesting all objects
                                            2024-11-08 19:06:54.226  - info: javascript.1 (2047) received all states
                                            2024-11-08 19:06:54.442  - info: javascript.1 (2047) received all objects
                                            2024-11-08 19:06:54.493  - error: javascript.1 (2047) Cannot find view "script" for search "javascript"
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            964
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            30
                                            908
                                            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