Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Yahka Adapter in iobroker im Docker Container

    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

    Yahka Adapter in iobroker im Docker Container

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

      @tomme

      Beispiel :

      restart: always
        volumes:
          - /mnt/data/iobroker-data:/opt/iobroker
        environment:
      
      1 Reply Last reply Reply Quote 0
      • T
        ThomasK1966 @Tomme last edited by

        @tomme
        Wenn Du den Unterstrich ergänzt hast und unter Volumes ohne, dann passt es nicht.

        Nimm mal die Port-Definition noch raus.

        Gruß Thomas

        T 1 Reply Last reply Reply Quote 0
        • T
          Tomme @ThomasK1966 last edited by Tomme

          @thomask1966

          version: '3'
          
          services:
            iobroker:
              container_name: iobroker
              image: buanet/iobroker:latest
              hostname: iobroker
              network_mode: "host"
              restart: always
          environment:
                AVHAI: true
          volumes:
                - /mnt/data/iobroker-data:/opt/iobroker
          

          das ist jetzt im stack aber gleiche meldung```

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

            @tomme sagte in Yahka Adapter in iobroker im Docker Container:

            • /mnt/data/iobroker-data:/opt/iobroker

            Das war doch nur ein Beispiel , du mußst schon

            • /mnt/data/iobroker-data:

            auf dein Systemordner anpassen
            Mount -Ordner

            T 1 Reply Last reply Reply Quote 0
            • T
              Tomme @Glasfaser last edited by

              @glasfaser
              du meinst ich muss unter opt ein iobroker ordner haben?

              T 1 Reply Last reply Reply Quote 0
              • T
                Tomme @Tomme last edited by

                vorher stand das auch drin mit dem /opt/iobroker

                aber angelegt habe ich keinen soll ich mal schauen ob der da ist?

                T T 2 Replies Last reply Reply Quote 0
                • T
                  Tomme @Tomme last edited by

                  @tomme
                  nee der ist nicht da

                  soll ich den anlegen oder wa s meinst mit systemordner?????

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Tomme @Tomme last edited by

                    bei der stand alone installation war der immer da

                    T Glasfaser 2 Replies Last reply Reply Quote 0
                    • T
                      Tomme @Tomme last edited by

                      mein /mnt/ ist auch leer ... ich steh auf m schlauch

                      1 Reply Last reply Reply Quote 0
                      • T
                        ThomasK1966 @Tomme last edited by ThomasK1966

                        @tomme
                        Ist Dir Angabe unter Volumes eigentlich klar?
                        Der Teil links vom Doppelpunkt verweist auf einen Ordner auf Deinem Host. Der Teil rechts auf den Ordner im Container.
                        Du kannst entscheiden wo auf Deinem Host die Daten gespeichert werden soll.
                        Das kann auch wieder /opt/iobroker sein.

                        Gruß Thomas

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

                          @tomme sagte in Yahka Adapter in iobroker im Docker Container:

                          bei der stand alone installation war der immer da

                          Ja ... alles gut ... geht auch ohne volumes

                          volumes:
                          - /mnt/data/iobroker-data:/opt/iobroker

                          das ist doch nur ein Mount , sonst hast du kein Zugriff auf den inhalt von /opt/iobroker , da er im Container ist.
                          ( Kurz und knapp : der Inhalt wird ausgelagert )

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Tomme @Glasfaser last edited by Tomme

                            @glasfaser

                            doch hab über /var/lib/docker/volumes ... zugriff gehabt

                            aber wäre schöner über so nen mount da muss ich dann nicht als root rein

                            kann auch sein das ich über opt iobroker zugang hatte da hab ich aber seit docker nicht mehr rein geschaut

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Tomme @Tomme last edited by

                              @tomme
                              wie kriege ich raus wie der im host heißt? unter opt iobroker kann das nachher gern liegen

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                ThomasK1966 @Tomme last edited by

                                @tomme
                                Dann mach einfach:

                                
                                volumes:      
                                  - /opt/iobroker:/opt/iobroker
                                
                                

                                Gruß Thomas

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  Tomme @ThomasK1966 last edited by

                                  @thomask1966 sagte in Yahka Adapter in iobroker im Docker Container:

                                  • /opt/iobroker:/opt/iobroker

                                  ja aber auch dann kommt die gleiche meldung 😕
                                  ich starte mal den raspi neu ... muss dann noch schnell einkaufen ... bin gleich wieder da ... ist alles um die ecke

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    Tomme @Tomme last edited by

                                    neustart hat nix gebracht

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

                                      @tomme sagte in Yahka Adapter in iobroker im Docker Container:

                                      neustart hat nix gebracht

                                      lass doch volumes komplett weg

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        Tomme @Glasfaser last edited by

                                        ja lasse ich raus

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          Tomme @Tomme last edited by

                                          Deployment error
                                          failed to deploy a stack: (root) Additional property environment is not allowed

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            ThomasK1966 @Tomme last edited by

                                            @tomme
                                            Das sieht nach einem Syntaxfehler aus.
                                            Wird im Stack etwas vorne an der Zeile rot markiert?

                                            Es gibt einen festen Aufbau bezüglich der Leerzeichen vor einer Zeile. Wenn da etwas nicht stimmt sieht man das im Portainer.

                                            Gruß Thomas

                                            T 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

                                            893
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            255
                                            22944
                                            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