Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zeitzone stimmt nicht

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zeitzone stimmt nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @ara last edited by Homoran

      @ara sagte in Zeitzone stimmt nicht:

      Timezone: Etc/UTC

      und im Container?

      edit:
      bezog sich auf
      @ara sagte in Zeitzone stimmt nicht:

      Beim Docker-Compose hab ich die Var. TZ = "Europe/Berlin" gesetzt.

      ara 1 Reply Last reply Reply Quote 0
      • ara
        ara @Homoran last edited by

        @homoran Im Container zeigt date
        So 24. Sep 12:52:02 2023
        also 2h zurück.

        ara paul53 2 Replies Last reply Reply Quote 0
        • ara
          ara @ara last edited by

          @ara und cat /etc/timezone
          Etc/UTC

          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @ara last edited by

            @ara sagte: Im Container

            sudo timedatectl set-timezone Europe/Berlin
            
            OliverIO ara 2 Replies Last reply Reply Quote 0
            • OliverIO
              OliverIO @paul53 last edited by

              @paul53
              Diese Einstellung überlebt die nächste Generation des Containers nicht

              1 Reply Last reply Reply Quote 0
              • OliverIO
                OliverIO @ara last edited by

                @ara
                Zeige dein docker-compose

                ara 1 Reply Last reply Reply Quote 0
                • ara
                  ara @paul53 last edited by

                  @paul53 said in Zeitzone stimmt nicht:

                  sudo timedatectl set-timezone Europe/Berlin

                  bringt die Antwort
                  sudo: unable to resolve host iobroker2: Name or service not known
                  sudo: timedatectl: command not found

                  1 Reply Last reply Reply Quote 0
                  • ara
                    ara @OliverIO last edited by

                    @oliverio version: '2'

                    services:
                    iobroker:
                    container_name: iobroker5
                    image: buanet/iobroker:latest
                    hostname: iobroker2
                    restart: always
                    network_mode: host
                    volumes:
                    - /volume2/docker/iobroker5:/opt/iobroker
                    environment:
                    - TZ="Europe/Berlin"

                    OliverIO 1 Reply Last reply Reply Quote 0
                    • OliverIO
                      OliverIO @ara last edited by

                      @ara
                      Mit Code Tags wäre besser gewesen
                      Im yaml hängt es auch von den Einrückungen ab
                      Aber entferne mal die Anführungsstriche

                      1 Reply Last reply Reply Quote 1
                      • Marc Berg
                        Marc Berg Most Active @ara last edited by Marc Berg

                        @ara sagte in Zeitzone stimmt nicht:

                        TZ = "Europe/Berlin" gesetzt.

                        Der Default im Buanet Image ist bereits auf "Europe/Berlin" gesetzt.
                        https://docs.buanet.de/iobroker-docker-image/docs/#environment-variables-env

                        Du könntest also die Variable weglassen, oder wie @OliverIO schon schreibt, ohne Anführungsstriche.

                        ara 1 Reply Last reply Reply Quote 0
                        • ara
                          ara @Marc Berg last edited by

                          @marc-berg
                          Ihr seit soooooo gut!

                          Ja, das war's. TZ-Definition aus dem Docker-Compose rausgenommen, neu erzeugt und geht wie blöd.

                          Dankeschön!!!!!!!!!!!!!!!!!!!!!

                          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

                          861
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          5
                          12
                          1751
                          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