Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

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

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.7k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

iob diag - Skript

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
738 Beiträge 49 Kommentatoren 207.9k Aufrufe 38 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • 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
    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @glasfaser

            Okay, dann blanke ich die Meldung jetzt.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

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

              GlasfaserG Offline
              GlasfaserG Offline
              Glasfaser
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                0
                • GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  schrieb am zuletzt editiert von
                  #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 Antworten Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @glasfaser
                        Ziehst du nochmal?

                        GlasfaserG Offline
                        GlasfaserG Offline
                        Glasfaser
                        schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                        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
                          schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                          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
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            0
                            • GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                              0
                              • GlasfaserG Glasfaser

                                @thomas-braun

                                EDIT


                                EDIT

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    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
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      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
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

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

                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          887

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe