Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob diag - Skript

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iob diag - Skript

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

      @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/
      `
      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Glasfaser last edited by

        @glasfaser

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

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

          @thomas-braun sagte in iob diag - Skript:

          Probier jetzt nochmal.

          siehe oben

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

            @glasfaser

            Okay, dann blanke ich die Meldung jetzt.

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

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

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

                @thomas-braun

                Ja , die Befehle gibt es nicht

                z.b:

                root@iobrokerv6:/opt/iobroker# timedatectl
                bash: timedatectl: command not found
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                  @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!)

                  1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser last edited by

                    @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 Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Glasfaser last edited by

                      @glasfaser

                      Jaja, ich weiß...

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

                        @glasfaser
                        Ziehst du nochmal?

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Thomas Braun last edited by 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 Braun 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                            @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.

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

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

                              1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser last edited by Glasfaser

                                @thomas-braun

                                EDIT


                                EDIT

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

                                  @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?

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

                                    @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 Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Glasfaser last edited by

                                      @glasfaser

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

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

                                        @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 Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Glasfaser last edited by

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

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

                                            @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
                                            
                                            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

                                            637
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            149045
                                            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