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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Yahka Adapter in iobroker im Docker Container

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

      @glasfaser da muß ich bestimmt erst das package bekannt machen wa

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

        @Tomme

        /etc/sudo.conf

        was willst du da ändern !?

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

          @tomme
          Schau Dir mal die Beschreibung zum Image an. Es gibt eine Möglichkeit im Rahmen der Erstellung des Containers Pakete nachinstallieren zu lassen.

          IMG_0029.jpeg

          Hab ich aber auch noch nicht gemacht.

          Gruß Thomas

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

            dachte man sieht da was ...

            npm i iobroker.yahka
            sudo: /etc/sudo.conf is world writable
            sudo: /etc/sudo.conf is world writable
            sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
            sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
            sudo: fatal error, unable to load plugins

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

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

              dachte man sieht da was ...

              Was sehen !?

              und in welchen Verzeichniss stehst du damit :

              und warum willst du das machen mit

              npm i iobroker.yahka
              
              T 1 Reply Last reply Reply Quote 0
              • T
                Tomme @Glasfaser last edited by

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

                rum willst du das machen mit

                ich wollte es mal ohne iobroker probieren das stand in dem issue am ende

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

                  @tomme

                  du kannst viel mit npm machen ,
                  aber auch im richtigen Verzeichniss mußt du auch dazu stehen .

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

                    @glasfaser also im opt iobroker nochmal probieren stimmt das hab ich vergessen zu wechseln

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

                      @tomme

                      hast du das gerade aktuell dazu gesehn

                      https://forum.iobroker.net/post/988213

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

                        @glasfaser 81bbe885-ab6a-4b69-b0f7-fc1570be1ae4-image.png

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

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

                          @tomme
                          hast du das gerade aktuell dazu gesehn
                          https://forum.iobroker.net/post/988213

                          was hat homebridge damit zu tun? der container wo das drin läuft ist bei mir im moment auf stop

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

                            root@iobroker:~# cd /opt/iobroker
                            root@iobroker:/opt/iobroker# apt install nano
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            E: Unable to locate package nano
                            root@iobroker:/opt/iobroker# npm install --save @homebridge/ciao@1.1.5
                            sudo: /etc/sudo.conf is world writable
                            sudo: /etc/sudo.conf is world writable
                            sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
                            sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
                            sudo: fatal error, unable to load plugins
                            root@iobroker:/opt/iobroker# sudo npm i iobroker.yahka
                            sudo: /etc/sudo.conf is world writable
                            sudo: /etc/sudo.conf is world writable
                            sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
                            sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
                            sudo: fatal error, unable to load plugins
                            root@iobroker:/opt/iobroker# 
                            

                            das hat erstmal nix gebracht

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

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

                              was hat homebridge damit zu tun?

                              ich kenne den Yahka Adapter nicht , eventuell eine Paket abhängigkeit .

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

                                @glasfaser nee das kann auf unterschiedlichen systemen laufen oder in nem apple tv zum beispiel
                                ich meine die homebridge

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

                                  @glasfaser

                                  Tomme ich muß dich erstmal verlassen mein weib bröckelt hier schon und einkaufen war ich auch noch nicht ... hier brennt gleich die luft ... ich danke dir erstmal und setze mich nachher nochmal dran ... vielen dank du hast mir echt weiter geholfen!!!! auch wenn das mit yahka nicht geht zur not lasse ich den weg was solls war nur einer von 45 adaptern die ich laufen habe
                                  ich melde mich! danke!!!!!!!!!!!!!!!!!!!!!!!

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

                                    @glasfaser

                                    so ich habe noch eine weile rumgefummelt aber ohne erfolg ...

                                    im moment kann ich nicht einmal ein backup wieder einspielen ... er zeigt einfach keine an im lokalen ordner ... ich kann zwar eins machen und das steht auch in der backitup übersicht und wird auch unter backups abgelegt aber ein restore ist nicht möglich da es nicht angezeigt wird ... läuft also ... ich habe wenn ich den container neu gemacht habe auch den ordner /opt/iobroker gelöscht sonst ließ sich kein neuer Container anlegen wenn der Ordner nicht leer ist ... aber trotzdem kann ich die backups nicht finden die ich kurz zuvor gemacht habe und auch die nicht wo alle einstellungen drin sind ...
                                    bei yahka hat sich auch nichts getan und in der console bekomme ich fehler bei egal welchen befehl ich ausführen will ... selbst restore über die kommandozeile schlägt fehl da ich iobroker stopen soll was aber nicht geht da endet ein daemon mit pid xyz aber wenn ich dann iob status eingebe steht da gestartet und restore geht nicht weil iob noch läuft ...
                                    aber schön schnell neu aufsetzen geht dank deiner hilfe ja jetzt mit 2 klicks ... habe mir ein template von dem stack gemacht ... das ist total cool!
                                    und logs kann ich jetzt auch sehen wie auch die konsole aber da ist bestimmt auch was faul egal was ich mache meckert der rum:

                                    sudo mount -t cifs -o user=Tomme,password=8005,vers=2.1,rw,file_mode=0777,dir_mode=0777 //192.168.7.1/ioBrokerPi /mnt/LaptopIoBrokerPi
                                    sudo: /etc/sudo.conf is world writable
                                    sudo: /etc/sudo.conf is world writable
                                    sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
                                    sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
                                    sudo: fatal error, unable to load plugins
                                    

                                    oder

                                    root@iobroker:/opt/iobroker# sudo iobroker stop
                                    sudo: /etc/sudo.conf is world writable
                                    sudo: /etc/sudo.conf is world writable
                                    sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
                                    sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
                                    sudo: fatal error, unable to load plugins
                                    

                                    oder

                                    root@iobroker:/opt/iobroker# iob start
                                    Starting iobroker controller daemon...
                                    iobroker controller daemon started. PID: 3086
                                    root@iobroker:/opt/iobroker# iob stop
                                    iobroker controller daemon is not running
                                    root@iobroker:/opt/iobroker# iob restore 0
                                    Stop iobroker first!
                                    root@iobroker:/opt/iobroker# iob status
                                    iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    root@iobroker:/opt/iobroker
                                    

                                    im log kann ich auch nichts finden:

                                     --------------------------------------------------------------------------------
                                    -------------------------     2023-05-07 02:01:56      -------------------------
                                    --------------------------------------------------------------------------------
                                    -----                                                                      -----
                                    ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                                    ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                                    ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                                    ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                                    ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                                    ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                                    -----                                                                      -----
                                    -----              Welcome to your ioBroker Docker container!              -----
                                    -----                    Startupscript is now running!                     -----
                                    -----                          Please be patient!                          -----
                                    --------------------------------------------------------------------------------
                                     
                                    --------------------------------------------------------------------------------
                                    -----                          System Information                          -----
                                    -----                    arch:                aarch64                      -----
                                    -----                    hostname:            iobroker                     -----
                                    -----                                                                      -----
                                    -----                          Version Information                         -----
                                    -----                    image:               v8.0.1                       -----
                                    -----                    build:               2023-04-26T23:45:40+00:00    -----
                                    -----                    node:                v18.16.0                     -----
                                    -----                    npm:                 9.5.1                        -----
                                    -----                                                                      -----
                                    -----                        Environment Variables                         -----
                                    -----                    SETGID:              1000                         -----
                                    -----                    SETUID:              1000                         -----
                                    --------------------------------------------------------------------------------
                                     
                                    --------------------------------------------------------------------------------
                                    -----                   Step 1 of 5: Preparing container                   -----
                                    --------------------------------------------------------------------------------
                                     
                                    Updating Linux packages on first run... Done.
                                     
                                    Registering maintenance script as command... Done.
                                     
                                    --------------------------------------------------------------------------------
                                    -----             Step 2 of 5: Detecting ioBroker installation             -----
                                    --------------------------------------------------------------------------------
                                     
                                    There is no data detected in /opt/iobroker.
                                    Restoring initial ioBroker installation... Done.
                                     
                                    --------------------------------------------------------------------------------
                                    -----             Step 3 of 5: Checking ioBroker installation              -----
                                    --------------------------------------------------------------------------------
                                     
                                    (Re)setting permissions (This might take a while! Please be patient!)... Done.
                                     
                                    Fixing "sudo-bug" by replacing sudo with gosu... Done.
                                     
                                    Initializing a fresh installation of ioBroker... Done.
                                     
                                    Hostname in ioBroker does not match the hostname of this container.
                                    Updating hostname to "iobroker"... The host for instance "system.adapter.admin.0" was changed from "buildkitsandbox" to "iobroker".
                                    The host for instance "system.adapter.discovery.0" was changed from "buildkitsandbox" to "iobroker".
                                    The host for instance "system.adapter.backitup.0" was changed from "buildkitsandbox" to "iobroker".
                                    Done.
                                     
                                    --------------------------------------------------------------------------------
                                    -----                Step 4 of 5: Applying special settings                -----
                                    --------------------------------------------------------------------------------
                                     
                                    Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                                    For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
                                     
                                     
                                    --------------------------------------------------------------------------------
                                    -----                    Step 5 of 5: ioBroker startup                     -----
                                    --------------------------------------------------------------------------------
                                     
                                    Starting ioBroker... 
                                     
                                    ##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
                                    host.iobroker check instance "system.adapter.admin.0" for host "iobroker"
                                    host.iobroker check instance "system.adapter.discovery.0" for host "iobroker"
                                    host.iobroker check instance "system.adapter.backitup.0" for host "iobroker"
                                    ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
                                    Send diag info: {"uuid":"31948c05-a528-4702-bc62-fcf8ffbbd5aa","language":"de","country":"","hosts":[{"version":"4.0.24","platform":"Javascript/Node.js","type":"linux"}],"node":"v18.16.0","arch":"arm64","docker":true,"adapters":{"admin":{"version":"6.3.5","platform":"Javascript/Node.js"},"discovery":{"version":"3.1.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.6.19","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":3,"compactMode":false,"noCompactInstances":0,"model":"Cortex-A72","cpus":4,"mem":8190754816,"ostype":"Linux","city":""}
                                    ================================== > LOG REDIRECT system.adapter.admin.0 => false [Process stopped]
                                    ================================== > LOG REDIRECT system.adapter.admin.0 => false [system.adapter.admin.0.logging]
                                    Send diag info: {"uuid":"31948c05-a528-4702-bc62-fcf8ffbbd5aa","language":"de","country":"","hosts":[{"version":"4.0.24","platform":"Javascript/Node.js","type":"linux"}],"node":"v18.16.0","arch":"arm64","docker":true,"adapters":{"admin":{"version":"6.3.5","platform":"Javascript/Node.js"},"discovery":{"version":"3.1.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.6.19","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":3,"compactMode":false,"noCompactInstances":0,"model":"Cortex-A72","cpus":4,"mem":8190754816,"ostype":"Linux","city":""}
                                    ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
                                    

                                    ich mache für "heute" erstmal schluss ... bis später ...

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

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

                                      https://docs.buanet.de/iobroker-docker-image/docs/

                                      b6948012-abfd-4d61-b9f0-4761b873575f-image.png

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

                                        @tomme 0eedd489-6985-454b-9ebb-46ee2876a147-image.png

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

                                          @tomme 1aad817d-6a1b-407a-afb0-a5be1aafc7c9-image.png

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

                                            @tomme 678b22ea-3b60-4f86-8898-fec553c1c34b-image.png

                                            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

                                            907
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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