Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Änderungen iob CLI/Installer/Fixer mit Root Accounts

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Änderungen iob CLI/Installer/Fixer mit Root Accounts

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Shadowhunter23 last edited by

      @shadowhunter23 sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

      /usr/bin/pkttyagent

      Das kommt von Polkit. Der Code bei den systemd.services ist aber eigentlich gar nicht angepackt worden. Jedenfalls nicht von mir. Was ist denn das da für ein System?

      S 2 Replies Last reply Reply Quote 0
      • Feuersturm
        Feuersturm last edited by Feuersturm

        @apollon77 @Thomas-Braun
        Hier mein iob fix Auszug
        Bei dieser Abfrage konnte ich nichts eingeben:

        Your system is booting into 'graphical.target', which means that a user interface or desktop is available. 
        Usually a server is running without a desktop to have more RAM available. Do you want to switch to 'multi-user.target'? (y/N)
        
        proxmox@ioB-Prod-Testsystem:~$ iob stop
        proxmox@ioB-Prod-Testsystem:~$ iob fix
        
        Your system is booting into 'graphical.target', which means that a user interface or desktop is available. 
        Usually a server is running without a desktop to have more RAM available. Do you want to switch to 'multi-user.target'? (y/N)
        library: loaded
        Library version=2024-10-19
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2024-10-19
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/5)
        ==========================================================================
        
        Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
        Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
        Get:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
        Hit:4 https://apt.grafana.com stable InRelease
        Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
        Fetched 257 kB in 2s (128 kB/s)
        Reading package lists... Done
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/5)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Check and cleanup npm temporary directories (3/5)
        ==========================================================================
        
        Done.
        
        ==========================================================================
            Database maintenance (4/5)
        ==========================================================================
        
        Checking for uncompressed JSONL databases... This might take a while!
        
        Compressing /opt/iobroker/iobroker-data/states.jsonl
        Compressing /opt/iobroker/iobroker-data/objects.jsonl
        Compressed 2 JSONL files. Done
        
        ==========================================================================
            Checking autostart (5/5)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Feuersturm last edited by

          @feuersturm

          Nochmal den

          iob fix
          

          laufen lassen. Dann müssste es funktionieren.

          L Feuersturm 2 Replies Last reply Reply Quote 0
          • L
            lindi200000 @Thomas Braun last edited by

            Moin, durch was wird die Zeitzone festgesetzt, welche die richtige ist? Oder vergleicht er nur die System Zeitzone mit der, die im iob hinterlegt ist?

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

              @thomas-braun

              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-8259U CPU @ 2.30GHz
              Docker          : false
              Virtualization  : lxc
              Kernel          : x86_64
              Userland        : 64 bit
              
              Systemuptime and Load:
               19:24:33 up  2:22,  2 users,  load average: 0.62, 0.51, 0.54
              CPU threads: 4
              
              
              *** LIFE CYCLE STATUS ***
              Operating System is the current Debian stable version codenamed 'bookworm'!
              
              *** TIME AND TIMEZONES ***
                             Local time: Sun 2024-10-20 19:24:33 CEST
                         Universal time: Sun 2024-10-20 17:24:33 UTC
                               RTC time: n/a
                              Time zone: Europe/Berlin (CEST, +0200)
              System clock synchronized: yes
                            NTP service: inactive
                        RTC in local TZ: no
              
              *** Users and Groups ***
              User that called 'iob diag':
              tobias
              HOME=/home/tobias
              GROUPS=tobias 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 redis
              
              *** DISPLAY-SERVER SETUP ***
              Display-Server: false
              Desktop:
              Terminal:       tty
              
              *** MEMORY ***
                             total        used        free      shared  buff/cache   available
              Mem:             10G        3.9G        6.2G        491K        660M        6.9G
              Swap:             0B          0B          0B
              Total:           10G        3.9G        6.2G
              
              Active iob-Instances:   50
              
                      10240 M total memory
                       3694 M used memory
                       3601 M active memory
                        430 M inactive memory
                       5915 M free memory
                          0 M buffer memory
                        630 M swap cache
                          0 M total swap
                          0 M used swap
                          0 M free swap
              
              *** top - Table Of Processes  ***
              top - 19:24:34 up  2:22,  2 users,  load average: 0.57, 0.50, 0.54
              Tasks:  82 total,   1 running,  81 sleeping,   0 stopped,   0 zombie
              %Cpu(s): 33.3 us,  0.0 sy,  0.0 ni, 66.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
              MiB Mem :  10240.0 total,   5914.1 free,   3696.2 used,    630.2 buff/cache
              MiB Swap:      0.0 total,      0.0 free,      0.0 used.   6543.8 avail Mem
              
              *** FAILED SERVICES ***
              
                UNIT                 LOAD   ACTIVE SUB    DESCRIPTION
              * run-rpc_pipefs.mount loaded failed failed RPC Pipe 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.
              1 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--400--disk--0 ext4       20G  7.1G   12G  39% /
              none                             tmpfs     492K  4.0K  488K   1% /dev
              udev                             devtmpfs  7.8G     0  7.8G   0% /dev/tty
              tmpfs                            tmpfs     7.8G     0  7.8G   0% /dev/shm
              tmpfs                            tmpfs     3.1G  136K  3.1G   1% /run
              tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
              tmpfs                            tmpfs     1.6G     0  1.6G   0% /run/user/1000
              
              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--400--disk--0 ext4   rw,relatime,stripe=16
              
              Files in neuralgic directories:
              
              /var:
              784M    /var/
              525M    /var/lib
              374M    /var/lib/redis
              225M    /var/cache
              222M    /var/cache/apt
              
              Archived and active journals take up 32.0M in the file system.
              
              /opt/iobroker/backups:
              1.7G    /opt/iobroker/backups/
              
              /opt/iobroker/iobroker-data:
              143M    /opt/iobroker/iobroker-data/
              128M    /opt/iobroker/iobroker-data/files
              99M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
              99M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static
              99M     /opt/iobroker/iobroker-data/files/admin.admin/custom
              
              The five largest files in iobroker-data are:
              16M     /opt/iobroker/iobroker-data/objects.jsonl
              12M     /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.bd24114f.js
              7.0M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.e5b40573.chunk.js.map
              7.0M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.8219fdd8.chunk.js.map
              5.6M    /opt/iobroker/iobroker-data/files/backitup.admin/custom/static/js/vendors-node_modules_file-saver_dist_FileSaver_min_js-node_modules_react-icons_di_index_mjs-n-f0ed96.6c33ff1f.chunk.js
              
              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'
              
              HINT:
              Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting:
              tcp
              
              HINT:
              Your zigbee.1 COM-Port is NOT matching 'by-id'. Please check your setting:
              tcp
              
              HINT:
              Your zigbee.2 COM-Port is NOT matching 'by-id'. Please check your setting:
              tcp
              
              HINT:
              Your zigbee.3 COM-Port is NOT matching 'by-id'. Please check your setting:
              tcp
              
              *** 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.
              
              At least one iobroker host is running.
              
              Objects type: redis
              States  type: redis
              
              Hosts:
              iobroker            iobroker (version: 7.0.0, hostname: iobroker      , alive, uptime: 915)
              
              Core adapters versions
              js-controller:  7.0.0
              admin:          7.2.6
              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.awtrix-light.0           : awtrix-light          : iobroker                                 -  enabled
              + system.adapter.awtrix-light.1           : awtrix-light          : iobroker                                 -  enabled
              + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
              + system.adapter.chromecast.0             : chromecast            : iobroker                                 -  enabled
              + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
              + system.adapter.device-watcher.0         : device-watcher        : iobroker                                 -  enabled
              + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
              + system.adapter.fb-checkpresence.0       : fb-checkpresence      : iobroker                                 -  enabled
                system.adapter.flot.0                   : flot                  : iobroker                                 - disabled
              + system.adapter.fritzdect.0              : fritzdect             : iobroker                                 -  enabled
              + system.adapter.fullybrowser.0           : fullybrowser          : iobroker                                 -  enabled
                system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
                system.adapter.ical.1                   : ical                  : iobroker                                 -  enabled
              + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
              + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
              + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                system.adapter.lg-thinq.0               : lg-thinq              : iobroker                                 - disabled
              + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
              + system.adapter.mytime.0                 : mytime                : iobroker                                 -  enabled
              + system.adapter.netatmo.0                : netatmo               : iobroker                                 -  enabled
              + system.adapter.notification-manager.0   : notification-manager  : iobroker                                 -  enabled
              + system.adapter.nuki.0                   : nuki                  : iobroker                                 -  enabled
                system.adapter.octoprint.1              : octoprint             : iobroker                                 - disabled
                system.adapter.octoprint.2              : octoprint             : iobroker                                 - disabled
              + system.adapter.operating-hours.0        : operating-hours       : iobroker                                 -  enabled
              + system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
              + system.adapter.ping.1                   : ping                  : iobroker                                 -  enabled
              + system.adapter.pushover.0               : pushover              : iobroker                                 -  enabled
              + system.adapter.pushover.1               : pushover              : iobroker                                 -  enabled
              + system.adapter.pushover.2               : pushover              : iobroker                                 -  enabled
              + system.adapter.rest-api.0               : rest-api              : iobroker                                 -  enabled, port: 8093, bind: 0.0.0.0, run as: admin
              + system.adapter.sayit.0                  : sayit                 : iobroker                                 -  enabled
              + system.adapter.sayit.1                  : sayit                 : iobroker                                 -  enabled
              + system.adapter.sayit.2                  : sayit                 : iobroker                                 -  enabled
              + system.adapter.sayit.3                  : sayit                 : iobroker                                 -  enabled
                system.adapter.sayit.4                  : sayit                 : iobroker                                 - disabled
              + 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.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                system.adapter.sourceanalytix.0         : sourceanalytix        : iobroker                                 - disabled
              + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.telegram.1               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.telegram.2               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled
              + system.adapter.text2command.1           : text2command          : iobroker                                 -  enabled
              + system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
              + system.adapter.tuya.0                   : tuya                  : iobroker                                 -  enabled
                system.adapter.vis-icontwo.0            : vis-icontwo           : iobroker                                 - disabled
              + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
                system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 - disabled
                system.adapter.vis-weather.0            : vis-weather           : iobroker                                 - disabled
                system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
              + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              + system.adapter.wireguard.0              : wireguard             : iobroker                                 -  enabled
              + system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.64:20108
              + system.adapter.zigbee.1                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.69:20108
              + system.adapter.zigbee.2                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.79:20108
              + system.adapter.zigbee.3                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.63:20108
              + system.adapter.zigbee.4                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.99:20108
              
              + 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.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
              + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
              + system.adapter.rest-api.0               : rest-api              : iobroker                                 -  enabled, port: 8093, bind: 0.0.0.0, run as: admin
              + 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.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
              + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.telegram.1               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.telegram.2               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              + system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.64:20108
              + system.adapter.zigbee.1                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.69:20108
              + system.adapter.zigbee.2                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.79:20108
              + system.adapter.zigbee.3                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.63:20108
              + system.adapter.zigbee.4                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.0.99:20108
              
              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): beta
              Upgrade policy: none
              
              Installed ioBroker-Instances
              Used repository: beta
              Adapter    "admin"        : 7.2.6    , installed 7.2.6
              Adapter    "alexa2"       : 3.26.5   , installed 3.26.5
              Adapter    "awtrix-light" : 1.3.0    , installed 1.3.0
              Adapter    "backitup"     : 3.0.26   , installed 3.0.26
              Adapter    "chromecast"   : 4.0.0    , installed 4.0.0
              Adapter    "cloud"        : 5.0.1    , installed 5.0.1
              Adapter    "device-watcher": 2.12.1  , installed 2.12.1
              Adapter    "email"        : 1.3.1    , installed 1.3.1
              Adapter    "fb-checkpresence": 1.2.5 , installed 1.2.5
              Adapter    "flot"         : 1.12.0   , installed 1.12.0
              Adapter    "fritzdect"    : 2.5.11   , installed 2.5.11
              Adapter    "fullybrowser" : 3.0.12   , installed 3.0.12
              Adapter    "ical"         : 1.15.0   , installed 1.15.0
              Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
              Adapter    "iot"          : 3.4.2    , installed 3.4.2
              Adapter    "javascript"   : 8.8.3    , installed 8.8.3
              Controller "js-controller": 7.0.0    , installed 7.0.0
              Adapter    "lg-thinq"     : 1.0.2    , installed 1.0.2
              Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
              Adapter    "mytime"       : 0.7.12   , installed 0.7.12
              Adapter    "netatmo"      : 3.1.0    , installed 3.1.0
              Adapter    "notification-manager": 1.3.0, installed 1.3.0
              Adapter    "nuki"         : 2.0.0    , installed 2.0.0
              Adapter    "octoprint"    : 5.1.0    , installed 5.1.0
              Adapter    "operating-hours": 1.1.0  , installed 1.1.0
              Adapter    "ping"         : 1.7.9    , installed 1.7.9
              Adapter    "pushover"     : 4.1.0    , installed 4.1.0
              Adapter    "rest-api"     : 2.0.3    , installed 2.0.3
              Adapter    "sayit"        : 5.0.0    , installed 5.0.0
              Adapter    "shelly"       : 8.4.0    , installed 8.4.0
              Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
              Adapter    "socketio"     : 6.7.1    , installed 6.7.1
              Adapter    "sourceanalytix": 0.4.14  , installed 0.4.14
              Adapter    "telegram"     : 3.9.0    , installed 3.9.0
              Adapter    "text2command" : 3.0.3    , installed 3.0.3
              Adapter    "trashschedule": 3.3.0    , installed 3.3.0
              Adapter    "tuya"         : 3.16.0   , installed 3.16.0
              Adapter    "vis"          : 1.5.6    , installed 1.5.6
              Adapter    "vis-icontwo"  : 1.6.3    , installed 1.6.3
              Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
              Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
              Adapter    "vis-weather"  : 2.5.9    , installed 2.5.9
              Adapter    "web"          : 6.3.1    , installed 6.3.1
              Adapter    "wireguard"    : 1.7.0    , installed 1.7.0
              Adapter    "ws"           : 2.6.2    , installed 2.6.2
              Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
              
              Objects and States
              Please stand by - This may take a while
              Objects:        12688
              States:         11451
              
              *** 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
              Hit:5 https://packages.redis.io/deb bookworm 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 0.0.0.0:111             0.0.0.0:*               LISTEN      0          118804393  1/init
              tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      103        118808671  153/redis-server 12
              tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       119406220  19507/io.shelly.1
              tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       119402442  19359/io.mqtt.0
              tcp        0      0 192.168.0.222:9092      0.0.0.0:*               LISTEN      1001       119406113  19404/io.nuki.0
              tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          118809613  384/master
              tcp6       0      0 :::22                   :::*                    LISTEN      0          118797944  1/init
              tcp6       0      0 :::111                  :::*                    LISTEN      0          118804395  1/init
              tcp6       0      0 :::80                   :::*                    LISTEN      0          118807395  176/apache2
              tcp6       0      0 :::3000                 :::*                    LISTEN      1001       119414480  19746/io.fullybrows
              tcp6       0      0 ::1:25                  :::*                    LISTEN      0          118809614  384/master
              tcp6       0      0 ::1:6379                :::*                    LISTEN      103        118808672  153/redis-server 12
              tcp6       0      0 :::8082                 :::*                    LISTEN      1001       119421507  20025/io.web.0
              tcp6       0      0 :::8081                 :::*                    LISTEN      1001       119405445  19057/io.admin.0
              tcp6       0      0 :::8087                 :::*                    LISTEN      1001       119418303  19909/io.simple-api
              tcp6       0      0 :::8093                 :::*                    LISTEN      1001       119417319  19813/io.rest-api.0
              udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       119407980  19276/io.chromecast
              udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       119406158  19487/io.shelly.0
              udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1001       119406274  19527/io.tuya.0
              udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1001       119406275  19527/io.tuya.0
              udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          118804394  1/init
              udp6       0      0 :::111                  :::*                                0          118804396  1/init
              
              *** Log File - Last 25 Lines ***
              
              2024-10-20 19:12:02.053  - info: device-watcher.0 (19314) Instanz-Wachdog:
              iot.0: undefined
              2024-10-20 19:12:03.344  - info: host.iobroker instance system.adapter.sayit.0 in version "5.0.0" started with pid 19833
              2024-10-20 19:12:05.916  - info: device-watcher.0 (19314) Instanz-Wachdog:
              mytime.0: undefined
              2024-10-20 19:12:07.363  - info: host.iobroker instance system.adapter.sayit.1 in version "5.0.0" started with pid 19853
              2024-10-20 19:12:10.343  - info: device-watcher.0 (19314) Instanz-Wachdog:
              rest-api.0: undefined
              2024-10-20 19:12:11.352  - info: host.iobroker instance system.adapter.sayit.2 in version "5.0.0" started with pid 19868
              2024-10-20 19:12:15.343  - info: host.iobroker instance system.adapter.sayit.3 in version "5.0.0" started with pid 19888
              2024-10-20 19:12:19.378  - info: host.iobroker instance system.adapter.simple-api.0 in version "2.8.0" started with pid 19909
              2024-10-20 19:12:23.368  - info: host.iobroker instance system.adapter.text2command.0 in version "3.0.3" started with pid 19929
              2024-10-20 19:12:27.344  - info: host.iobroker instance system.adapter.text2command.1 in version "3.0.3" started with pid 19944
              2024-10-20 19:12:31.372  - info: host.iobroker instance system.adapter.trashschedule.0 in version "3.3.0" started with pid 19964
              2024-10-20 19:12:35.348  - info: host.iobroker instance system.adapter.vis-inventwo.0 in version "3.3.4" started with pid 19984
              2024-10-20 19:12:35.842  - info: vis-inventwo.0 (19984) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.vis-inventwo, node: v20.18.0, js-controller: 7.0.0
              2024-10-20 19:12:40.913  - info: host.iobroker instance system.adapter.vis.0 terminated while should be started once
              2024-10-20 19:12:43.341  - info: host.iobroker instance system.adapter.web.0 in version "6.3.1" started with pid 20025
              2024-10-20 19:12:53.557  - info: tuya.0 (19527) bfe605f9ac49c752847hcd: Error on Reconnect (7): connect EHOSTUNREACH 192.168.0.168:6668
              2024-10-20 19:12:54.000  - info: device-watcher.0 (19314) Instanz-Wachdog:
              web.0: undefined
              
              

              edit
              Hmm der Fehler von oben ist mir so noch nie aufgefallen und das System läuft als Container schon sehr lange.

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

                @lindi200000 sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                Moin, durch was wird die Zeitzone festgesetzt, welche die richtige ist?

                Es wird geschaut, ob die Zeitzone entweder 'Etc/UTC' oder 'Europe/London' ist und dann wird vermutet, das die falsch ist. Sorry an alle Engländer, die den ioBroker verwenden.

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

                  @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                  @feuersturm

                  Nochmal den

                  iob fix
                  

                  laufen lassen. Dann müssste es funktionieren.

                  Stimmt, beim zweiten Durchlauf hält er dort an. Ich hab die Frage jetzt noch nicht beantwortet, dachte bisher, dass ich keine GUI installier habe.

                  iob diag sagt mir auch Display Server: false. Wie ist hier der Zusammenhang zwischen Userinterace/desktop aus der iob fix meldung und dem Display Server @thomas-braun

                  Script v.2024-10-19
                  
                  *** BASE SYSTEM ***
                   Static hostname: ioB-Prod-Testsystem
                         Icon name: computer-container
                           Chassis: container
                    Virtualization: lxc
                  Operating System: Ubuntu 22.04.5 LTS
                            Kernel: Linux 6.5.13-1-pve
                      Architecture: x86-64
                  OS is similar to: debian
                  
                  model name      : Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz
                  Docker          : false
                  Virtualization  : lxc
                  Kernel          : x86_64
                  Userland        : 64 bit
                  
                  Systemuptime and Load:
                   19:24:43 up 17 days, 21:43,  2 users,  load average: 2.50, 2.04, 1.96
                  CPU threads: 4
                  
                  
                  *** LIFE CYCLE STATUS ***
                  Operating System codenamed 'jammy' is an aging Ubuntu release! Please upgrade to the latest LTS release 'noble' in due time!
                  
                  *** TIME AND TIMEZONES ***
                                 Local time: Sun 2024-10-20 19:24:44 CEST
                             Universal time: Sun 2024-10-20 17:24:44 UTC
                                   RTC time: n/a
                                  Time zone: Europe/Berlin (CEST, +0200)
                  System clock synchronized: yes
                                NTP service: inactive
                            RTC in local TZ: no
                  
                  *** Users and Groups ***
                  User that called 'iob diag':
                  proxmox
                  HOME=/home/proxmox
                  GROUPS=proxmox sudo iobroker
                  
                  User that is running 'js-controller':
                  js-controller is not running
                  
                  *** DISPLAY-SERVER SETUP ***
                  Display-Server: false
                  Desktop:
                  Terminal:       tty
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • L
                    lindi200000 @Thomas Braun last edited by

                    @thomas-braun ok gut zu wissen, solange es nur eine Empfehlung vom fixer ist und nicht zwingend umgesetzt wird ist alles gut. Ich lasse meine Systeme alle auf utc laufen

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

                      @lindi200000 sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                      Ich lasse meine Systeme alle auf utc laufen

                      Das ist falsch. Die TimeZone muss richtig gesetzt sein.
                      Die interne Uhr läuft natürlich auf UTC.

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

                        @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                        Das ist falsch. Die TimeZone muss richtig gesetzt sein.

                        Es sei denn, man beachtet diesen Umstand in allen scripts und den states, oder liege ich da falsch?

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

                          @meister-mopper sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                          Es sei denn, man beachtet diesen Umstand in allen scripts und den states, oder liege ich da falsch?

                          Das muss dann aber auch in anderen Systemen (cloud-Services usw.) auch berücksichtigt sein. Das hast du aber nicht alles in der Hand.
                          Dadurch kommt es ja zu diesen Fehlern, das Dinge mit 1-2 Stunden Versatz durchgeführt werden. Oder so merkwürdige Netzwerkfehler, weil Pakete aus der Zukunft verworfen werden. Das ist ein ganz komplexes Thema.

                          Meister Mopper L 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Feuersturm last edited by

                            @feuersturm sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                            Stimmt, beim zweiten Durchlauf hält er dort an. Ich hab die Frage jetzt noch nicht beantwortet, dachte bisher, dass ich keine GUI installier habe.

                            Aber das BootTarget ist bestimmt 'graphical.target' und nicht 'multi-user.target'.

                            Feuersturm 1 Reply Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @Thomas Braun last edited by

                              @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                              Das ist ein ganz komplexes Thema.

                              Das hatte ich bisher so nicht betrachtet, ist aber schlüssig.

                              Ich habe hier alle Server auf Europe/Berlin, nur einen betreibe ich mit UTC (flightradar24 => die lieben Harmonie 😀 )

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

                                @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                Aber das BootTarget ist bestimmt 'graphical.target' und nicht 'multi-user.target'.

                                Mit googels Hilfe würde ich sagen, das stimmt, wobei ich noch nicht genau verstanden habe was da genau hinterhängt und wo der vorteil bei multiuser.target ist

                                proxmox@ioB-Prod-Testsystem:~$ systemctl get-default
                                graphical.target
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • L
                                  lindi200000 @Thomas Braun last edited by

                                  @thomas-braun ich Frage, weil ich alle meine Server seit Jahren nur in UTC laufen lasse, somit muss ich mir nie Gedanken mache wegen Zeitumstellung etc .... , klar beim scripten muss man aufpassen, aber das erstmal nebensache.

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

                                    @feuersturm

                                    Man kann bei Linux-Systemen in verschiedene 'run level' bzw boot.targets booten.
                                    Server laufen in RunLevel3 bzw. 'multi-user', weil die halt keine graphische Oberfläche benötigen.
                                    Nur wenn du Briefe schreiben willst, Games zocken willst, einen Browser verwenden willst benötigst du eine GUI.
                                    Sonst nicht.
                                    Mit 'multi-user.target' wird also weniger Code ausgeführt, das spart Ressourcen und ist sicherer, weil Code der nicht läuft nicht abstürzen kann und keine Angriffsvektoren eröffnet.

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

                                      @lindi200000 sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                      somit muss ich mir nie Gedanken mache wegen Zeitumstellung

                                      Äh, genau DAZU ist doch die Datei 'tzdata' gedacht. Die macht das alles automatisch für die Zukunft und für die Vergangenheit und wird akribisch aktuell gehalten. Damit das aber alles richtig funktioniert muss die Zeitzone auch gesetzt sein.

                                      Vielleicht reden wir aber auch aneinander vorbei. Die RTC/Echtzeituhr auf einem Linux sollte natürlich auf UTC stehen. Die aktuelle lokale Zeit ist aber immer auf Basis der tzdata-Datei eine berechnete Zeit.

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

                                        @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                        Das kommt von Polkit. Der Code bei den systemd.services ist aber eigentlich gar nicht angepackt worden. Jedenfalls nicht von mir. Was ist denn das da für ein System?

                                        @apollon77
                                        Kannst du was dazu sagen ob der Code geändert wurde, ich hatte bisher keine Fehlermeldungen beim iob fix.

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

                                          @shadowhunter23

                                          Da wird eine Authentifizierung getriggert, weil an den .service-Dateien erstmal nur der root herummachen darf.
                                          Auf Systemen mit einem laufenden DesktopEnvironment poppt dann da ein Fenster auf, auf headless-Kisten erscheint eine Abfrage in der Konsole.
                                          Ist polkitd installiert?

                                          apt policy polkitd
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Shadowhunter23 @Thomas Braun last edited by

                                            @thomas-braun

                                            tobias@iobroker:~$ apt policy polkitd
                                            polkitd:
                                              Installed: (none)
                                              Candidate: 122-3
                                              Version table:
                                                 122-3 500
                                                    500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                            tobias@iobroker:~$
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            992
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            25
                                            202
                                            18249
                                            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