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. Zeitzone stimmt nicht

NEWS

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

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

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

Zeitzone stimmt nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
12 Beiträge 5 Kommentatoren 2.3k Aufrufe 3 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.
  • araA ara

    Hallo,
    ich habe den iobroker im Docker laufen (und neu installiert).

    Seit dem bin ich irgendwie in der falschen Zeitzone.

    Beim Docker-Compose hab ich die Var. TZ = "Europe/Berlin" gesetzt.
    Aber irgendwie reicht sich das nicht durch.

    iob diag:

    ======================= SUMMARY =======================
                         v.2023-06-20
     
     
    model name      : Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
    Kernel          : x86_64
    Userland        : amd64
    Docker          : v8.1.0
     
    Installation:           Docker
    Kernel:                 x86_64
    Userland:               amd64
    Timezone:               Etc/UTC
    User-ID:                0
    X-Server:               false
     
     
    Pending OS-Updates:     0
    Pending iob updates:    0
     
    Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                            /usr/bin/node           v18.17.1
                            /usr/bin/npm            9.6.7
                            /usr/bin/npx            9.6.7
     
    Recommended versions are nodejs 18.x.y and npm 9.x.y
    Your nodejs installation is correct
     
    MEMORY:
                   total        used        free      shared  buff/cache   available
    Mem:             11G        3.4G        959M        2.7G        7.4G        5.3G
    Swap:           2.0G        350M        1.7G
    Total:           13G        3.8G        2.7G
     
    Active iob-Instances:   22
    Active repo(s): stable
     
    ioBroker Core:          js-controller           5.0.12
                            admin                   6.10.1
     
    ioBroker Status:        iobroker is running on this host.
     
     
    Objects type: jsonl
    States  type: jsonl
     
    Status admin and web instance:
    + system.adapter.admin.0                  : admin                 : iobroker2                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
     
    Objects:                6722
    States:                 5644
     
    Size of iob-Database:
     
    15M     /opt/iobroker/iobroker-data/objects.jsonl
    5.0M    /opt/iobroker/iobroker-data/states.jsonl
     
     
    

    =================== END OF SUMMARY ====================

    Was kann ich tun? -.-

    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von Homoran
    #2

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

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    araA 1 Antwort Letzte Antwort
    0
    • HomoranH 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.

      araA Offline
      araA Offline
      ara
      schrieb am zuletzt editiert von
      #3

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

      araA paul53P 2 Antworten Letzte Antwort
      0
      • araA ara

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

        araA Offline
        araA Offline
        ara
        schrieb am zuletzt editiert von
        #4

        @ara und cat /etc/timezone
        Etc/UTC

        1 Antwort Letzte Antwort
        0
        • araA ara

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

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von
          #5

          @ara sagte: Im Container

          sudo timedatectl set-timezone Europe/Berlin
          

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          OliverIOO araA 2 Antworten Letzte Antwort
          0
          • paul53P paul53

            @ara sagte: Im Container

            sudo timedatectl set-timezone Europe/Berlin
            
            OliverIOO Offline
            OliverIOO Offline
            OliverIO
            schrieb am zuletzt editiert von
            #6

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

            Meine Adapter und Widgets
            TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
            Links im Profil

            1 Antwort Letzte Antwort
            0
            • araA ara

              Hallo,
              ich habe den iobroker im Docker laufen (und neu installiert).

              Seit dem bin ich irgendwie in der falschen Zeitzone.

              Beim Docker-Compose hab ich die Var. TZ = "Europe/Berlin" gesetzt.
              Aber irgendwie reicht sich das nicht durch.

              iob diag:

              ======================= SUMMARY =======================
                                   v.2023-06-20
               
               
              model name      : Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
              Kernel          : x86_64
              Userland        : amd64
              Docker          : v8.1.0
               
              Installation:           Docker
              Kernel:                 x86_64
              Userland:               amd64
              Timezone:               Etc/UTC
              User-ID:                0
              X-Server:               false
               
               
              Pending OS-Updates:     0
              Pending iob updates:    0
               
              Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                      /usr/bin/node           v18.17.1
                                      /usr/bin/npm            9.6.7
                                      /usr/bin/npx            9.6.7
               
              Recommended versions are nodejs 18.x.y and npm 9.x.y
              Your nodejs installation is correct
               
              MEMORY:
                             total        used        free      shared  buff/cache   available
              Mem:             11G        3.4G        959M        2.7G        7.4G        5.3G
              Swap:           2.0G        350M        1.7G
              Total:           13G        3.8G        2.7G
               
              Active iob-Instances:   22
              Active repo(s): stable
               
              ioBroker Core:          js-controller           5.0.12
                                      admin                   6.10.1
               
              ioBroker Status:        iobroker is running on this host.
               
               
              Objects type: jsonl
              States  type: jsonl
               
              Status admin and web instance:
              + system.adapter.admin.0                  : admin                 : iobroker2                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
               
              Objects:                6722
              States:                 5644
               
              Size of iob-Database:
               
              15M     /opt/iobroker/iobroker-data/objects.jsonl
              5.0M    /opt/iobroker/iobroker-data/states.jsonl
               
               
              

              =================== END OF SUMMARY ====================

              Was kann ich tun? -.-

              OliverIOO Offline
              OliverIOO Offline
              OliverIO
              schrieb am zuletzt editiert von
              #7

              @ara
              Zeige dein docker-compose

              Meine Adapter und Widgets
              TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
              Links im Profil

              araA 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @ara sagte: Im Container

                sudo timedatectl set-timezone Europe/Berlin
                
                araA Offline
                araA Offline
                ara
                schrieb am zuletzt editiert von
                #8

                @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 Antwort Letzte Antwort
                0
                • OliverIOO OliverIO

                  @ara
                  Zeige dein docker-compose

                  araA Offline
                  araA Offline
                  ara
                  schrieb am zuletzt editiert von
                  #9

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

                  OliverIOO 1 Antwort Letzte Antwort
                  0
                  • araA ara

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

                    OliverIOO Offline
                    OliverIOO Offline
                    OliverIO
                    schrieb am zuletzt editiert von
                    #10

                    @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

                    Meine Adapter und Widgets
                    TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                    Links im Profil

                    1 Antwort Letzte Antwort
                    1
                    • araA ara

                      Hallo,
                      ich habe den iobroker im Docker laufen (und neu installiert).

                      Seit dem bin ich irgendwie in der falschen Zeitzone.

                      Beim Docker-Compose hab ich die Var. TZ = "Europe/Berlin" gesetzt.
                      Aber irgendwie reicht sich das nicht durch.

                      iob diag:

                      ======================= SUMMARY =======================
                                           v.2023-06-20
                       
                       
                      model name      : Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
                      Kernel          : x86_64
                      Userland        : amd64
                      Docker          : v8.1.0
                       
                      Installation:           Docker
                      Kernel:                 x86_64
                      Userland:               amd64
                      Timezone:               Etc/UTC
                      User-ID:                0
                      X-Server:               false
                       
                       
                      Pending OS-Updates:     0
                      Pending iob updates:    0
                       
                      Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                              /usr/bin/node           v18.17.1
                                              /usr/bin/npm            9.6.7
                                              /usr/bin/npx            9.6.7
                       
                      Recommended versions are nodejs 18.x.y and npm 9.x.y
                      Your nodejs installation is correct
                       
                      MEMORY:
                                     total        used        free      shared  buff/cache   available
                      Mem:             11G        3.4G        959M        2.7G        7.4G        5.3G
                      Swap:           2.0G        350M        1.7G
                      Total:           13G        3.8G        2.7G
                       
                      Active iob-Instances:   22
                      Active repo(s): stable
                       
                      ioBroker Core:          js-controller           5.0.12
                                              admin                   6.10.1
                       
                      ioBroker Status:        iobroker is running on this host.
                       
                       
                      Objects type: jsonl
                      States  type: jsonl
                       
                      Status admin and web instance:
                      + system.adapter.admin.0                  : admin                 : iobroker2                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                       
                      Objects:                6722
                      States:                 5644
                       
                      Size of iob-Database:
                       
                      15M     /opt/iobroker/iobroker-data/objects.jsonl
                      5.0M    /opt/iobroker/iobroker-data/states.jsonl
                       
                       
                      

                      =================== END OF SUMMARY ====================

                      Was kann ich tun? -.-

                      Marc BergM Offline
                      Marc BergM Offline
                      Marc Berg
                      Most Active
                      schrieb am zuletzt editiert von Marc Berg
                      #11

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

                      NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+RabbitMQ+Grafana

                      Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                      Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                      araA 1 Antwort Letzte Antwort
                      0
                      • Marc BergM 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.

                        araA Offline
                        araA Offline
                        ara
                        schrieb am zuletzt editiert von
                        #12

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

                        801

                        Online

                        32.4k

                        Benutzer

                        81.6k

                        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