Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Leeres Protokoll

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Leeres Protokoll

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

      ich habe seit einiger Zeit ein merkwürdiges Verhalten der Protokollierung.
      Nach einem Neustart des aktuellen (Docker) ioBroker erscheinen Protokolleinträge der einzelnen Adapter.
      Wenn ich dann in der GUI auf z.B. "Objekte" oder "Instanzen" und wieder zurück wechsel, ist und bleibt das Protokoll leer.
      Filter sind nicht gesetzt.
      Wo (Pfad + Datei/Datenbanktabelle) werden die Protokolle gespeichert?

      Uwe

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

        @uweklatt sagte in Leeres Protokoll:

        Wo (Pfad + Datei/Datenbanktabelle) werden die Protokolle gespeichert?

        In /opt/iobroker/log liegen die.
        Ist

        iob logs
        

        dann auch leer?

        €dit: docker. Kann sein, dass es da woanders liegt...

        1 Reply Last reply Reply Quote 0
        • Codierknecht
          Codierknecht Developer Most Active @uweklatt last edited by

          @uweklatt
          Du hast ein externes Verzeichnis in den Container gemounted?

          Schau dort mal im Unterverzeichnis log nach.

          uweklatt 1 Reply Last reply Reply Quote 0
          • uweklatt
            uweklatt @Codierknecht last edited by uweklatt

            @Thomas-Braun @codierknecht
            Die Logdateien sind da, beim Neustart werden die Einträge auch angezeigt und laufend aktualisiert.
            Nur, nach dem Wechsel der Ansicht wird nichts mehr angezeigt.
            Ich vermute, das dieses Verhalten seit dem Deinstallieren von nicht mehr verwendeten Adaptern (info, discovery) auftritt.

            iob diag liefert:

            Skript v.2023-10-10
            
            *** BASE SYSTEM ***
            Hardware Vendor : LENOVO
            Kernel          : x86_64
            Userland        : amd64
            Docker          : v9.1.1
            Virtualization  : Docker
            Kernel          : x86_64
            Userland        : amd64
            
            Systemuptime and Load:
             20:19:56 up 14 days, 44 min,  0 user,  load average: 0.77, 1.01, 1.01
            CPU threads: 4
            
            
            *** Time and Time Zones ***
            Tue Feb  6 19:19:56 UTC 2024
            Tue Feb  6 20:19:56 CET 2024
            CET +0100
            Etc/UTC
            
            *** User and Groups ***
            root
            /root
            root
            
            *** X-Server-Setup ***
            X-Server:       false
            Desktop: 
            Terminal: 
            
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            8.2G        4.1G        418M        175M        4.2G        4.1G
            Swap:           8.2G         13M        8.2G
            Total:           16G        4.1G        8.6G
            
                     7819 M total memory
                     3926 M used memory
                     2731 M active memory
                     3819 M inactive memory
                      399 M free memory
                      625 M buffer memory
                     3346 M swap cache
                     7835 M total swap
                       12 M used swap
                     7823 M free swap
            
            *** FILESYSTEM ***
            Filesystem                       Type     Size  Used Avail Use% Mounted on
            overlay                          overlay   61G   14G   45G  23% /
            tmpfs                            tmpfs     64M     0   64M   0% /dev
            shm                              tmpfs     64M     0   64M   0% /dev/shm
            /dev/mapper/pve-vm--100--disk--0 ext4      61G   14G   45G  23% /opt/iobroker
            tmpfs                            tmpfs    3.9G     0  3.9G   0% /proc/asound
            tmpfs                            tmpfs    3.9G     0  3.9G   0% /proc/acpi
            tmpfs                            tmpfs    3.9G     0  3.9G   0% /proc/scsi
            tmpfs                            tmpfs    3.9G     0  3.9G   0% /sys/firmware
            
            Messages concerning ext4 filesystem in dmesg:
            
            Show mounted filesystems \(real ones only\):
            TARGET           SOURCE                                                                                                                                    FSTYPE OPTIONS
            /opt/iobroker    /dev/mapper/pve-vm--100--disk--0[/iobroker]                                                                                               ext4   rw,relatime,stripe=16
            /etc/resolv.conf /dev/mapper/pve-vm--100--disk--0[/var/lib/docker/containers/02574d58ecedbd717e60368c7d7fef2b9fd049ea909370b3396e36e6a43ea82d/resolv.conf] ext4   rw,relatime,stripe=16
            /etc/hostname    /dev/mapper/pve-vm--100--disk--0[/var/lib/docker/containers/02574d58ecedbd717e60368c7d7fef2b9fd049ea909370b3396e36e6a43ea82d/hostname]    ext4   rw,relatime,stripe=16
            /etc/hosts       /dev/mapper/pve-vm--100--disk--0[/var/lib/docker/containers/02574d58ecedbd717e60368c7d7fef2b9fd049ea909370b3396e36e6a43ea82d/hosts]       ext4   rw,relatime,stripe=16
            
            Files in neuralgic directories:
            
            /var:
            34M     /var/
            32M     /var/lib
            19M     /var/lib/apt/lists
            19M     /var/lib/apt
            13M     /var/lib/dpkg
            
            
            
            /opt/iobroker/backups:
            11M     /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            238M    /opt/iobroker/iobroker-data/
            141M    /opt/iobroker/iobroker-data/files
            72M     /opt/iobroker/iobroker-data/backup-objects
            67M     /opt/iobroker/iobroker-data/files/javascript.admin
            48M     /opt/iobroker/iobroker-data/files/javascript.admin/static
            
            The five largest files in iobroker-data are:
            22M     /opt/iobroker/iobroker-data/objects.jsonl
            22M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js.map
            8.3M    /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js
            7.5M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/691.26ff76ce.chunk.js.map
            7.1M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.d3cce782.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+dfsg-6~deb12u1 500
                    500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages
             *** 18.19.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                    100 /var/lib/dpkg/status
                 18.18.2-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.18.1-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.18.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.17.1-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.17.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.16.1-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.16.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.15.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.2-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.1-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.13.0+dfsg1-1 500
                    500 http://deb.debian.org/debian bookworm/main amd64 Packages
                 18.13.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.12.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.11.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.10.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.9.1-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.9.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.8.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.7.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.6.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.5.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.4.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.3.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.2.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.1.0-1nodesource1 1001
                   1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.0.0-1nodesource1 1001
                   1001 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.17
            admin:          6.13.16
            javascript:     7.1.6
            
            Adapters from github:   0
            
            Adapter State
            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.chromecast.0             : chromecast            : iobroker                                 -  enabled
              system.adapter.discovery.0              : discovery             : iobroker                                 - disabled
            + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
            + system.adapter.enocean.0                : enocean               : iobroker                                 -  enabled
              system.adapter.fakeroku.0               : fakeroku              : iobroker                                 - disabled
              system.adapter.flot.0                   : flot                  : iobroker                                 - disabled
            + system.adapter.harmony.0                : harmony               : iobroker                                 -  enabled
            + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
              system.adapter.mqtt-client.0            : mqtt-client           : iobroker                                 - disabled, port: 1883
            + system.adapter.net-tools.0              : net-tools             : iobroker                                 -  enabled
              system.adapter.openweathermap.0         : openweathermap        : iobroker                                 -  enabled
              system.adapter.rickshaw.0               : rickshaw              : iobroker                                 - disabled
            + system.adapter.sayit.0                  : sayit                 : iobroker                                 -  enabled
            + system.adapter.sayit.1                  : sayit                 : iobroker                                 -  enabled
            + system.adapter.sql.0                    : sql                   : iobroker                                 -  enabled, port: 3306
            + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
            + system.adapter.tr-064.0                 : tr-064                : iobroker                                 -  enabled
              system.adapter.tvspielfilm.0            : tvspielfilm           : iobroker                                 -  enabled
              system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
              system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
            + 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.sql.0                    : sql                   : iobroker                                 -  enabled, port: 3306
            + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            ioBroker-Repositories
            stable        : http://iobroker.live/repo/sources-dist.json
            beta          : http://iobroker.live/repo/sources-dist-latest.json
            
            Active repo(s): stable
            
            Installed ioBroker-Instances
            Used repository: stable
            Adapter    "admin"        : 6.13.16  , installed 6.13.16
            Adapter    "chromecast"   : 3.0.3    , installed 3.0.3
            Adapter    "discovery"    : 4.2.0    , installed 4.2.0
            Adapter    "email"        : 1.2.2    , installed 1.2.2
            Adapter    "fakeroku"     : 0.2.2    , installed 0.2.2
            Adapter    "flot"         : 1.12.0   , installed 1.12.0
            Adapter    "harmony"      : 1.3.0    , installed 1.3.0
            Adapter    "javascript"   : 7.1.6    , installed 7.1.6
            Controller "js-controller": 5.0.17   , installed 5.0.17
            Adapter    "mqtt-client"  : 1.7.0    , installed 1.7.0
            Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
            Adapter    "openweathermap": 1.0.4   , installed 1.0.4
            Adapter    "rickshaw"     : 1.0.0    , installed 1.0.0
            Adapter    "sayit"        : 3.0.5    , installed 3.0.5
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "socketio"     : 6.6.0    , installed 6.6.0
            Adapter    "sql"          : 2.2.0    , installed 2.2.0
            Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
            Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
            Adapter    "tvspielfilm"  : 2.0.5    , installed 2.0.5
            Adapter    "vis"          : 1.5.4    , installed 1.5.4
            Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
            Adapter    "web"          : 6.2.3    , installed 6.2.3
            Adapter    "ws"           : 2.5.10   , installed 2.5.10
            
            Objects and States
            Please stand by - This may take a while
            Objects:        2896
            States:         2631
            
            *** OS-Repositories and Updates ***
            Hit:1 http://deb.debian.org/debian bookworm InRelease
            Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
            Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
            Hit:4 https://deb.nodesource.com/node_18.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       80171202   135/iobroker.js-con 
            tcp        0      0 192.168.178.223:18998   0.0.0.0:*               LISTEN      1000       80172111   211/io.javascript.0 
            tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1000       80168826   135/iobroker.js-con 
            tcp        0      0 127.0.0.11:36279        0.0.0.0:*               LISTEN      0          80170408   -                   
            tcp6       0      0 :::8081                 :::*                    LISTEN      1000       80171230   157/io.admin.0      
            tcp6       0      0 :::8082                 :::*                    LISTEN      1000       80173947   401/io.web.0        
            tcp6       0      0 :::61991                :::*                    LISTEN      1000       80172553   356/io.harmony.0    
            udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1000       80172554   356/io.harmony.0    
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       80175131   298/io.chromecast.0 
            udp        0      0 127.0.0.11:47077        0.0.0.0:*                           0          80170407   -                   
            
            *** Log File - Last 25 Lines ***
            
            2024-01-23 19:47:58.610  - info: tr-064.0 (262) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2024-01-23 19:47:58.617  - info: tankerkoenig.0 (377) terminating
            2024-01-23 19:47:58.618  - info: tankerkoenig.0 (377) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2024-01-23 19:47:58.606  - info: admin.0 (163) terminating http server on port 8081
            2024-01-23 19:47:58.612  - info: admin.0 (163) terminating
            2024-01-23 19:47:58.612  - info: admin.0 (163) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2024-01-23 19:47:58.682  - info: web.0 (407) terminated http server on port 8082
            2024-01-23 19:47:58.682  - info: web.0 (407) terminating
            2024-01-23 19:47:58.682  - info: web.0 (407) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2024-01-23 19:47:58.703  - info: sql.0 (232) changed history configuration to pin detected datatype for tankerkoenig.0.stations.0.diesel.feed
            2024-01-23 19:47:58.810  - info: sql.0 (232) changed history configuration to pin detected datatype for tankerkoenig.0.stations.3.diesel.feed
            2024-01-23 19:47:58.916  - info: sql.0 (232) changed history configuration to pin detected datatype for tankerkoenig.0.stations.4.diesel.feed
            2024-01-23 19:47:59.024  - info: sql.0 (232) changed history configuration to pin detected datatype for tankerkoenig.0.stations.8.diesel.feed
            2024-01-23 19:47:59.107  - info: javascript.0 (217) terminating
            2024-01-23 19:47:59.110  - info: enocean.0 (334) terminating
            2024-01-23 19:47:59.110  - info: email.0 (190) terminating
            2024-01-23 19:47:59.112  - info: admin.0 (163) terminating
            2024-01-23 19:47:59.112  - info: tr-064.0 (262) terminating
            2024-01-23 19:47:59.116  - info: harmony.0 (356) terminating
            2024-01-23 19:47:59.116  - info: web.0 (407) terminating
            2024-01-23 19:47:59.119  - info: net-tools.0 (319) terminating
            2024-01-23 19:47:59.119  - info: tankerkoenig.0 (377) terminating
            2024-01-23 19:47:59.120  - info: net-tools.0 (319) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2024-01-23 19:47:59.757  - info: sql.0 (232) terminating
            2024-01-23 19:47:59.758  - info: sql.0 (232) Terminated (NO_ERROR): Without reason
            
            ======================= SUMMARY =======================
                                    v.2023-10-10
            
            model name      : Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
            Kernel          : x86_64
            Userland        : amd64
            Docker          : v9.1.1
            
            Installation:           Docker
            Kernel:                 x86_64
            Userland:               amd64
            Timezone:               Etc/UTC
            User-ID:                0
            X-Server:               false
            
            
            Pending OS-Updates:     0
            Pending iob updates:    0
            
            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:            8.2G        4.1G        400M        174M        4.2G        4.1G
            Swap:           8.2G         13M        8.2G
            Total:           16G        4.1G        8.6G
            
            Active iob-Instances:   14
            Active repo(s): stable
            
            ioBroker Core:          js-controller           5.0.17
                                    admin                   6.13.16
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : 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:                2896
            States:                 2631
            
            Size of iob-Database:
            
            22M     /opt/iobroker/iobroker-data/objects.jsonl
            4.1M    /opt/iobroker/iobroker-data/states.jsonl
            
            
            =================== END OF SUMMARY ====================
            
            1 Reply Last reply Reply Quote 0
            • uweklatt
              uweklatt last edited by uweklatt

              Das Problem hat sich erledigt 8-)

              Ich habe anscheinend beim Anpassen der Protokollierungsparameter die Optionen "file" und "syslog" gelöscht...

              Mich wundert nur, dass trotzdem beim Neustart Einträge zu sehen waren...

              Anscheinend wird dabei immer etwas protokolliert.

              Danke für's Mitdenken.
              Uwe

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

              Support us

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

              776
              Online

              32.0k
              Users

              80.4k
              Topics

              1.3m
              Posts

              3
              5
              205
              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