Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme

    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

    ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Thomas Braun last edited by

      @thomas-braun das ahb ich ihm ja oben schon geschrieben, er findet sie aber nicht in seinem System

      G 1 Reply Last reply Reply Quote 0
      • G
        Gismoh @crunchip last edited by

        @crunchip
        verstehe ich nicht:

        root@ioBrokerVM:/# cd /opt
        root@ioBrokerVM:/opt# ls
        iobroker
        root@ioBrokerVM:/opt# cd /iobroker
        -bash: cd: /iobroker: Datei oder Verzeichnis nicht gefunden
        root@ioBrokerVM:/opt# 
        

        er zeigt mit das Verzeichnis iobroker erst an, dann sagt er, er hätte nichts gefunden.
        Ober ist meine Eingabe falsch?

        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Gismoh last edited by Thomas Braun

          @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

          Ober ist meine Eingabe falsch?

          Dein Herumgehampel als root ist falsch.

          Und relative Pfade werden ohne / angesprochen. Absolute Pfade halt mit /
          Linux-Grundschule, Herr root.

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Gismoh last edited by Homoran

            @gismoh cd /opt/iobroker
            oder

            cd /opt
            cd iobroker
            

            beim zweiten kein / davor

            G 1 Reply Last reply Reply Quote 0
            • G
              Gismoh @Homoran last edited by

              @homoran
              argh, merci, ein Verzeichniswechsel dacht ich da muss ein "/" vor merci

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Gismoh last edited by

                @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                da muss ein "/" vor merci

                das bringt dich wieder in die root-ebene

                was nicht bedeutet dass man da als root rumläuft

                G 1 Reply Last reply Reply Quote 0
                • G
                  Gismoh @Homoran last edited by

                  @homoran
                  Okay, hatte ich nach einer Anleitung aufgesetzt, dort wurde es mit "root" gemacht, sogar auch in weiteren.

                  also das Verzeichnis node-gyp gibt es bei mir nicht, nur ein node-gyp-build.

                  Dieser taucht dann auf, wenn ich mich mit etwas anderem anmelde?
                  Ich suche mal nach ner Anleitung, wie ich mich andres anmelde.
                  Merci

                  Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Gismoh last edited by

                    @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                    Okay, hatte ich nach einer Anleitung aufgesetzt, dort wurde es mit "root" gemacht, sogar auch in weiteren.

                    Dann schmeiß die Anleitung weg, leg dir einen User an, falls noch keiner vorhanden ist und stolper mit dem durch das System.

                    1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Gismoh last edited by

                      @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                      Dieser taucht dann auf, wenn ich mich mit etwas anderem anmelde?

                      ?

                      Ich hab dir den Befehl doch oben geschrieben
                      https://forum.iobroker.net/post/1076264

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        Gismoh @crunchip last edited by

                        @crunchip
                        ja, hatte ich ja auch gelesen, aber den Pfad gibt es ja bei mir (aktuell) nicht.

                        Verzeichnis „/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp“ existiert nicht
                        

                        So wie ich @Thomas-Braun verstanden habe liegt das daran, das ich mit root unterwegs bin. Versuche also gleich einen anderen user anzulegen, und dann komme ich wohl zur Datei 😉

                        Thomas Braun G 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @crunchip last edited by

                          @crunchip sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                          sudo nano /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py

                          Bei mir kommt die direkt über nodejs/gyp:

                          echad@chet:~ $ locate input.py
                          /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
                          
                          1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Gismoh last edited by

                            @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                            So wie ich @Thomas-Braun verstanden habe liegt das daran, das ich mit root unterwegs bin.

                            Die Datei ist auch für einen anderen user nicht vorhanden. Aber grundsätzlich kapsert man nicht als root durch das System. Schon mal gar nicht, wenn man überhaupt keine Ahnung hat was man da wo warum überhaupt macht.

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gismoh @Gismoh last edited by

                              hmm, irgendwie bekomme ich njun mit dem anderen user diese Meldung:

                              idash@ioBrokersudo nano /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.pyput.[sudo] Passwort für idash: 
                              Sorry, user idash is not allowed to execute '/usr/bin/nano /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py' as root on ioBrokerVM.
                              idash@ioBrokerVM:~$ 
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Gismoh last edited by Thomas Braun

                                @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                hmm, irgendwie bekomme ich njun mit dem anderen user diese Meldung:

                                groups
                                

                                sagt? Der ist mit Sicherheit nicht in der Gruppe 'sudo' drin.

                                Ist aber auch für diese Datei nicht erforderlich, da mit root-Rechten zu agieren.

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

                                  @thomas-braun

                                  idash@ioBrokerVM:~$ groups
                                  idash users
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Gismoh last edited by

                                    @gismoh

                                    Siehste...

                                    Als root:

                                    usermod -a -G adm,dialout,sudo,plugdev,input,netdev,iobroker idash
                                    exit
                                    

                                    Danach niemehr als root anmelden. Den 'idash' auch ab- und wieder anmelden.

                                    G 1 Reply Last reply Reply Quote 1
                                    • G
                                      Gismoh @Thomas Braun last edited by

                                      @thomas-braun
                                      merci, nun kommt wenn ich unter user "idash" eingebe:

                                      idash adm dialout sudo plugdev users input netdev iobroker
                                      

                                      Hoffe es stimmt nun 😉

                                      Thomas Braun G 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Gismoh last edited by Thomas Braun

                                        @gismoh

                                        whoami && sudo whoami
                                        

                                        sagt?

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          Gismoh @Gismoh last edited by

                                          Nun kommt aber immer noch bei :

                                          sudo nano /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py
                                          
                                          Verzeichnis „/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp“ existiert nicht
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • G
                                            Gismoh @Thomas Braun last edited by

                                            @thomas-braun said in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                            whoami && sudo whoami

                                            idash
                                            root
                                            
                                            G 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            927
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            267
                                            23675
                                            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