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.
    • T
      ThomasK1966 @Tomme last edited by

      @tomme
      Leider nein. Die Fehlermeldung würde is interpretieren, dass in Zeile 15 ein Zeichen enthalten ist, das da nicht hingehört.
      Zu sehen ist so aber nichts.
      Als Stack im Portainer hast Du auch gleich eine Syntaxkontrolle.
      Legt Dir mal ein Stack an und kopier Deine Yaml-Datei da rein.

      Was mir noch aufgefallen ist: Du hast das Volume „iobrokerdata“ nicht definiert. Hast Du das manuell angelegt?

      Gruß Thomas

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

        @thomask1966 was ist ein stack? 😨
        und iobrokerdata ist wie bei dir drin hab ich wohl nicht mit kopiert ...

        
        version: '3'
        
        services:
          iobroker:
            container_name: iobroker
            image: buanet/iobroker:latest
            hostname: iobroker
            network_mode: "host"
            restart: always
            ports:
              - "8081:8081"
        environment:
              AVHAI: true
        volumes:
              - iobrokerdata:/opt/iobroker
        
        
        T T 2 Replies Last reply Reply Quote 0
        • T
          Tomme @Tomme last edited by Tomme

          stack gefunden kommt aber die gleiche fehlermeldung

          must be mapping a volume oder so ähnlich

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

            @tomme
            Das gleiche wie Deine yml-Datei.
            Einfach unter Stacks im Portainer „Add Stack“ machen. Ein Namen vergeben, den Inhalt Deiner yml-Datei reinkopieren und dann „Deploy Stack“ unten klicken.

            Gruß Thomas

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

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

              ist doch nur eine Vorlage :

              volumes:
                    - iobroker_data:/opt/iobroker
              

              Hast du auch so ein Verzeichniss

              Bei Host brauchst du kein

              ports:
              
                    - "8081:8081"
              
              T 1 Reply Last reply Reply Quote 0
              • T
                Tomme @ThomasK1966 last edited by

                @thomask1966
                cool mit dem stack da spare ich mmir in zukunft die terminalsitzung für die paar container

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

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

                  • iobroker_data:/opt/iobroker

                  mir fehlt der unterstrich iobroker und data ... moment

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

                    @tomme
                    Genau. Ergänze mal

                    volumes:
                      iobrokerdata:
                    
                    

                    Ich denke, dass wird helfen.

                    Gruß Thomas

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

                      @thomask1966 leider nein selbe meldung

                      sieht bei mir jetzt so aus

                      version: '3'
                      
                      services:
                        iobroker:
                          container_name: iobroker
                          image: buanet/iobroker:latest
                          hostname: iobroker
                          network_mode: "host"
                          restart: always
                      environment:
                            AVHAI: true
                      volumes:
                            - iobroker_data:/opt/iobroker
                      
                      Glasfaser T 2 Replies Last reply Reply Quote 0
                      • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            847
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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