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 last edited by

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

      @djmarc75 iob stop geht nicht da nehme ich das pkill ja

      richtig ... setze es um auf Docker !

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

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

        ob da root sinnvoll ist

        Ist kein root im Sinne .. (Docker)

        ich habe keine Ahnung was bei Ihm los ist ... ist von anfang an der Fehler mit sudo .

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

          @glasfaser wenn ich in portainer ein terminal öffne ist das root bei mir

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

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

            @glasfaser wenn ich in portainer ein terminal öffne ist das root bei mir

            Alles gut !

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

              root@iobroker:/opt/iobroker# pkill -u iobroker
              iob fix
              iob start
              iob diag
              library: loaded
              Library version=2022-12-09
              
              ==========================================================================
              
                  Welcome to the ioBroker installation fixer!
                  Script version: 2023-04-02
              
              ==========================================================================
              
              
              ==========================================================================
                  Installing prerequisites (1/5)
              ==========================================================================
              
              Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
              Get:2 https://deb.nodesource.com/node_18.x bullseye InRelease [4.586 B]                        
              Get:3 http://deb.debian.org/debian-security bullseye-security InRelease [48,4 kB]
              Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]
              Get:5 http://deb.debian.org/debian bullseye/main arm64 Packages [8.071 kB]
              Get:6 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages [776 B]
              Get:7 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [235 kB]                              
              Get:8 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [12,0 kB]                                       
              Fetched 8.531 kB in 12s (722 kB/s)                                                                                      
              Reading package lists... Done
              Installed gcc-c++
              Docker detected!
              If you have any adapters that need the CAP_NET_ADMIN capability,
              you need to start the docker container with the option --cap-add=NET_ADMIN
              and manually add that capability to node
              
              ==========================================================================
                  Checking ioBroker user and directory permissions (2/5)
              ==========================================================================
              
              visudo: /etc/sudo.conf is world writable
              Created /etc/sudoers.d/iobroker
              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
              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
              Fixing directory permissions...
              
              ==========================================================================
                  Check and cleanup npm temporary directories (3/5)
              ==========================================================================
              
              Done.
              
              ==========================================================================
                  Database maintenance (4/5)
              ==========================================================================
              
              Checking for uncompressed JSONL databases... This might take a while!
              
              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
              main: line 12: [: -lt: unary operator expected
              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
              
              ==========================================================================
                  Checking autostart (5/5)
              ==========================================================================
              
              Unsupported init system, cannot enable autostart!
              
              ==========================================================================
              
                  Your installation was fixed successfully
                  Run iobroker start to start ioBroker again!
              
              ==========================================================================
              
              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
              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# 
              

              diag kommt gleich ... nur die zusammenfassung oder auch das davor?

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

                root@iobroker:/opt/iobroker# iob start
                iob diag
                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
                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# 
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser last edited by Glasfaser

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

                  root@iobroker:/opt/iobroker# iob start

                  Alles umsetzten auf Docker

                  pkill -u iobroker
                  
                  iob fix
                  
                  Container neu starten über Portainer ..
                  

                  dann

                  iob diag
                  

                  kein start und stop im Container !

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

                    @glasfaser aso

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

                      @glasfaser auch nach neustart container gleiche meldung (ohne iob start)

                      ich versuche es in ner minute nochmal vielleicht war ich wieder zu schnell

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

                        @glasfaser

                        root@iobroker:/opt/iobroker# iob diag
                        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# iob diag
                        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# iobroker diag
                        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# 
                        
                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Tomme last edited by

                          @Thomas-Braun

                          @tomme sagte in Yahka Adapter in iobroker im Docker Container:
                          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"

                          ich habe kein Plan , was mit seiner Pi los ist ...

                          Kannst du vielleicht helfen !?

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

                            @glasfaser ist das jetzt auf dem lokalen rechner? neenee oder?

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

                              @tomme

                              Keine Ahnung warum im Docker soetwas kommt .

                              ich habe mal eine andere Frage ... warum überhaupt Docker auf der Pi !?

                              DJMarc75 T 2 Replies Last reply Reply Quote 1
                              • DJMarc75
                                DJMarc75 @Glasfaser last edited by

                                @glasfaser

                                https://forum.iobroker.net/topic/65177/yahka-adapter-in-iobroker-im-docker-container/2

                                So hab ich im Beitrag gleich auch reagiert.

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

                                  @djmarc75

                                  ja... gerade auch gelesen ... wohl übersehn 🙂

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

                                    @tomme

                                    Vorschlag , da ich wie gesagt nicht weiterkomme mit deinem Sudo Problem :

                                    Installiere doch ioBroker normal auf der Pi

                                    und dann Grafana über Docker ... geht doch auch

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

                                      @glasfaser
                                      das ist vielleicht auch quatsch aber ...

                                      bei meiner stand alone installation danke nochmal an @thomasBraun hatte ich den iobroker grafana influx homebridge und noch iwas drauf und lief auch eigentlich

                                      dann wollte ich trenddaten von meinem loxone aufgehübscht mit grafana an meinen telegram account schicken ... ich weiß ist ne gute idee für n anfänger aber ich hatte zu dem zeitpunkt n paar daten in influx mitgeschrieben und wollte die halt zu telegram ... naja

                                      auf jeden fall war dann ich glaube in grafana n plugin zu laden das sich auf dem raspi nicht laden ließ und in irgend einem forum ich weiß nicht mehr wo stand das das nur geht wenn man das über docker löst also grafana im docker

                                      und da ich das hier gelernte ja auch in der kammer anwenden will war das mit dem docker eigentlich ne geile sache so dass die lehrlinge und meisterschüler nicht immer das gesamte system platt machen wenn bei einem teil was nicht geht und sie zu fummeln anfangen sondern halt nur einen container versauen der ja schnell mal neu gemacht ist ...
                                      ich hab ja nur begrenzte zeit mit denen im unterricht da fand ich das gut und hab das neu gemacht mit docker halt

                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Glasfaser last edited by

                                        @glasfaser

                                        Um Docker-Installationen kümmer ich mich nicht. Grundsätzlich nicht.

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

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

                                          h ioBroker normal auf der Pi
                                          und dann Grafana über Docker ... geht doch auch

                                          ja das würde für mich privat natürlich auch gehen da hast du recht ist halt nur ein größerer aufwand wenn man den neu machen muss

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

                                            @thomas-braun sagte in Yahka Adapter in iobroker im Docker Container:

                                            Um Docker-Installationen kümmer ich mich nicht. Grundsätzlich nicht.

                                            es ging nicht um Docker ... etwas stimmt mit seiner Pi nicht !

                                            Thomas Braun 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

                                            796
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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