Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. iob diag - Skript

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    966

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

iob diag - Skript

Scheduled Pinned Locked Moved ioBroker Allgemein
738 Posts 49 Posters 216.3k Views 38 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @glasfaser

    Ja, musste ich für Debian 'Bookworm' umstellen. Da wird die Zeit anders angepackt. Aber ich hab wohl da nicht dran gedacht, dass der Docker halt nicht per systemd gestartet wird.
    Muss ich da wohl auch den Code verzweigen.
    Kannst nochmal nach dem journalctl schauen? Sollte jetzt raus sein.

    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    wrote on last edited by Glasfaser
    #336

    @thomas-braun

    Geht :

    Files in neuralgic directories:
    /var:
    sudo: unable to resolve host iobrokerv6: Name or service not known
    32M     /var/
    30M     /var/lib
    18M     /var/lib/apt/lists
    18M     /var/lib/apt
    13M     /var/lib/dpkg
    Orrrrrrrrrr... Docker doesn't read journals!
    /opt/iobroker/backups:
    582M    /opt/iobroker/backups/
    `

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    1 Reply Last reply
    0
    • GlasfaserG Glasfaser

      @thomas-braun sagte in iob diag - Skript:

      Kannst nochmal nach dem journalctl schauen? Sollte jetzt raus sein.

      Upps

      Files in neuralgic directories:
      
      /var:
      sudo: unable to resolve host iobrokerv6: Name or service not known
      32M     /var/
      30M     /var/lib
      18M     /var/lib/apt/lists
      18M     /var/lib/apt
      13M     /var/lib/dpkg
      ./iob_diag: line 303: syntax error: unexpected end of file
      root@iobrokerv6:/opt/iobroker#
      
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #337

      @glasfaser

      Jaja, wenn man seinen eigenen Code nicht mal laufen lässt... ;-)
      Probier jetzt nochmal.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      GlasfaserG 1 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @glasfaser

        Jaja, wenn man seinen eigenen Code nicht mal laufen lässt... ;-)
        Probier jetzt nochmal.

        GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        wrote on last edited by
        #338

        @thomas-braun sagte in iob diag - Skript:

        Probier jetzt nochmal.

        siehe oben

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        Thomas BraunT 1 Reply Last reply
        0
        • GlasfaserG Glasfaser

          @thomas-braun sagte in iob diag - Skript:

          Probier jetzt nochmal.

          siehe oben

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #339

          @glasfaser

          Okay, dann blanke ich die Meldung jetzt.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          Thomas BraunT 1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

            @glasfaser

            Okay, dann blanke ich die Meldung jetzt.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #340

            Also bei der Zeit und beim Terminaltype tickt der Docker anders, stimmt's?

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            GlasfaserG 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              Also bei der Zeit und beim Terminaltype tickt der Docker anders, stimmt's?

              GlasfaserG Offline
              GlasfaserG Offline
              Glasfaser
              wrote on last edited by
              #341

              @thomas-braun

              Ja , die Befehle gibt es nicht

              z.b:

              root@iobrokerv6:/opt/iobroker# timedatectl
              bash: timedatectl: command not found
              

              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

              Thomas BraunT 1 Reply Last reply
              0
              • GlasfaserG Glasfaser

                @thomas-braun

                Ja , die Befehle gibt es nicht

                z.b:

                root@iobrokerv6:/opt/iobroker# timedatectl
                bash: timedatectl: command not found
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by Thomas Braun
                #342

                @glasfaser

                Klar, das sind alles systemd-Kommandos.
                Muss ich wohl leider den Code splitten und 'Sonderstrick' machen.

                (Und/oder den root-Verboten-Code scharf schalten!)

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                1 Reply Last reply
                0
                • GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  wrote on last edited by
                  #343

                  @thomas-braun sagte in iob diag - Skript:

                  (Und/oder den root-Verboten-Code scharf schalten!)

                  Jein . kann gut gehen ...

                  , bzw.

                  Das Thema wurde schon mehrmals durchgekaut .. beim Thema " Docker "

                  bzw. auch hier Zusammengefasst :

                  https://forum.iobroker.net/topic/53193/root-user-im-container-docker-ja-nein-warum

                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                  Thomas BraunT 2 Replies Last reply
                  0
                  • GlasfaserG Glasfaser

                    @thomas-braun sagte in iob diag - Skript:

                    (Und/oder den root-Verboten-Code scharf schalten!)

                    Jein . kann gut gehen ...

                    , bzw.

                    Das Thema wurde schon mehrmals durchgekaut .. beim Thema " Docker "

                    bzw. auch hier Zusammengefasst :

                    https://forum.iobroker.net/topic/53193/root-user-im-container-docker-ja-nein-warum

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #344

                    @glasfaser

                    Jaja, ich weiß...

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    1 Reply Last reply
                    1
                    • GlasfaserG Glasfaser

                      @thomas-braun sagte in iob diag - Skript:

                      (Und/oder den root-Verboten-Code scharf schalten!)

                      Jein . kann gut gehen ...

                      , bzw.

                      Das Thema wurde schon mehrmals durchgekaut .. beim Thema " Docker "

                      bzw. auch hier Zusammengefasst :

                      https://forum.iobroker.net/topic/53193/root-user-im-container-docker-ja-nein-warum

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #345

                      @glasfaser
                      Ziehst du nochmal?

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      GlasfaserG 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @glasfaser
                        Ziehst du nochmal?

                        GlasfaserG Offline
                        GlasfaserG Offline
                        Glasfaser
                        wrote on last edited by Glasfaser
                        #346

                        @thomas-braun

                        *** Time and Time Zones ***
                        Tue Apr  4 17:56:58 UTC 2023
                        Tue Apr  4 19:56:58 CEST 2023
                        CEST +0200
                        Etc/UTC
                        
                        *** X-Server-Setup ***
                        X-Server:       false
                        Desktop:
                        Terminal:
                        Run Level:
                        

                        EDIT :

                        sieht auch gut aus

                        Files in neuralgic directories:
                        
                        /var:
                        sudo: unable to resolve host iobrokerv6: Name or service not known
                        33M     /var/
                        30M     /var/lib
                        18M     /var/lib/apt/lists
                        18M     /var/lib/apt
                        13M     /var/lib/dpkg
                        
                        
                        
                        /opt/iobroker/backups:
                        582M    /opt/iobroker/backups/
                        
                        /opt/iobroker/iobroker-data:
                        
                        

                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                        Thomas BraunT 2 Replies Last reply
                        0
                        • GlasfaserG Glasfaser

                          @thomas-braun

                          *** Time and Time Zones ***
                          Tue Apr  4 17:56:58 UTC 2023
                          Tue Apr  4 19:56:58 CEST 2023
                          CEST +0200
                          Etc/UTC
                          
                          *** X-Server-Setup ***
                          X-Server:       false
                          Desktop:
                          Terminal:
                          Run Level:
                          

                          EDIT :

                          sieht auch gut aus

                          Files in neuralgic directories:
                          
                          /var:
                          sudo: unable to resolve host iobrokerv6: Name or service not known
                          33M     /var/
                          30M     /var/lib
                          18M     /var/lib/apt/lists
                          18M     /var/lib/apt
                          13M     /var/lib/dpkg
                          
                          
                          
                          /opt/iobroker/backups:
                          582M    /opt/iobroker/backups/
                          
                          /opt/iobroker/iobroker-data:
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by Thomas Braun
                          #347

                          @glasfaser

                          Okay, zumindest die Fehlermeldungen sind weg. RunLevel gibt es im Docker halt auch nicht im klassischen Sinne.

                          Ich seh gerade, im SUMMARY muss ich das auch umstellen.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Reply Last reply
                          0
                          • GlasfaserG Glasfaser

                            @thomas-braun

                            *** Time and Time Zones ***
                            Tue Apr  4 17:56:58 UTC 2023
                            Tue Apr  4 19:56:58 CEST 2023
                            CEST +0200
                            Etc/UTC
                            
                            *** X-Server-Setup ***
                            X-Server:       false
                            Desktop:
                            Terminal:
                            Run Level:
                            

                            EDIT :

                            sieht auch gut aus

                            Files in neuralgic directories:
                            
                            /var:
                            sudo: unable to resolve host iobrokerv6: Name or service not known
                            33M     /var/
                            30M     /var/lib
                            18M     /var/lib/apt/lists
                            18M     /var/lib/apt
                            13M     /var/lib/dpkg
                            
                            
                            
                            /opt/iobroker/backups:
                            582M    /opt/iobroker/backups/
                            
                            /opt/iobroker/iobroker-data:
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #348

                            @glasfaser
                            Ziehst du das nochmal?
                            Und kannst du auch mal die Langfassung wie auch die Summary posten?

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            1 Reply Last reply
                            0
                            • GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              wrote on last edited by Glasfaser
                              #349

                              @thomas-braun

                              EDIT


                              EDIT

                              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                              Thomas BraunT 1 Reply Last reply
                              0
                              • GlasfaserG Glasfaser

                                @thomas-braun

                                EDIT


                                EDIT

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #350

                                @glasfaser

                                Passt also.
                                Was ich aber immer noch nicht verstanden habe: Wenn es einen user mit der uid=1000 gibt (wird der 'iobroker' sein), warum kann es keinen user 'glasfaser' mit uid=1001 im docker geben?

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                GlasfaserG 1 Reply Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @glasfaser

                                  Passt also.
                                  Was ich aber immer noch nicht verstanden habe: Wenn es einen user mit der uid=1000 gibt (wird der 'iobroker' sein), warum kann es keinen user 'glasfaser' mit uid=1001 im docker geben?

                                  GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  wrote on last edited by
                                  #351

                                  @thomas-braun sagte in iob diag - Skript:

                                  Wenn es einen user mit der uid=1000 gibt

                                  ist doch schon ein non-root-user

                                  https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15

                                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • GlasfaserG Glasfaser

                                    @thomas-braun sagte in iob diag - Skript:

                                    Wenn es einen user mit der uid=1000 gibt

                                    ist doch schon ein non-root-user

                                    https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #352

                                    @glasfaser

                                    Ja mir wird immer erzählt das ginge nicht mit einem standard user und man müsse da immer als root herumgeistern.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    GlasfaserG 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @glasfaser

                                      Ja mir wird immer erzählt das ginge nicht mit einem standard user und man müsse da immer als root herumgeistern.

                                      GlasfaserG Offline
                                      GlasfaserG Offline
                                      Glasfaser
                                      wrote on last edited by
                                      #353

                                      @thomas-braun sagte in iob diag - Skript:

                                      Ja mir wird immer erzählt das ginge nicht mit einem standard user

                                      Das Docker Image ist im Default auf 1000 SETGID und SETUID

                                      siehe auch hier :

                                      https://hub.docker.com/r/buanet/iobroker/dockerfile

                                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • GlasfaserG Glasfaser

                                        @thomas-braun sagte in iob diag - Skript:

                                        Ja mir wird immer erzählt das ginge nicht mit einem standard user

                                        Das Docker Image ist im Default auf 1000 SETGID und SETUID

                                        siehe auch hier :

                                        https://hub.docker.com/r/buanet/iobroker/dockerfile

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #354

                                        @glasfaser
                                        Und einen weiteren user gibt der host nicht her?

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        GlasfaserG 1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @glasfaser
                                          Und einen weiteren user gibt der host nicht her?

                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          wrote on last edited by
                                          #355

                                          @thomas-braun sagte in iob diag - Skript:

                                          Und einen weiteren user gibt der host nicht her?

                                          Soweit habe ich mich nicht damit befaßt ...

                                          SETGID (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
                                          SETUID (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host
                                          

                                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          750

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe