Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK

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

      @crunchip

      Unter dem BN: Karl habe ich über die shell auf dem iobroker jetzt wieder ein Berechtigungsproblem ?

      login as: karl
      karl@192.168.1.176's password:
      Linux IOBROKER 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64
      
      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Mon Aug 16 12:00:34 2021 from 192.168.1.3
      karl@IOBROKER:~$ wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dea                                                                                                                                                             rmor > /etc/apt/trusted.gpg.d/influxdb.gpg
      export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
      echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxda                                                                                                                                                             ta.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/inf                                                                                                                                                             luxdb.listcode_text
      -bash: /etc/apt/trusted.gpg.d/influxdb.gpg: Keine Berechtigung
      karl@IOBROKER:~$ export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$                                                                                                                                                             (lsb_release -sc)
      karl@IOBROKER:~$ echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https                                                                                                                                                             ://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/s                                                                                                                                                             ources.list.d/influxdb.listcode_text
      -bash: /etc/apt/sources.list.d/influxdb.listcode_text: **Keine Berechtigung**
      karl@IOBROKER:~$
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @GOETSCHHOFER last edited by Thomas Braun

        @goetschhofer

        Für die Befehle braucht es root-Rechte.
        Da bei Verwendung von sudo komplett anders vorgegangen werden müsste hier ein pragmatischer Ansatz:

        Meld dich KURZ als root an, setz die drei Befehlszeilen ab und werde dann direkt wieder zum User

        Ja, ich empfehle hier kurz zu root zu werden. Auch wenn ich das sonst immer anmecker...

        Die Vorgaben auf der Influx-Seite sind aus meiner Sicht da mehr als unglücklich.

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

          @thomas-braun

          Das Problem ist nur ich kann mich über die Shell nicht mit root am iobroker anmelden.

          In proxmox ist die Anmeldung mit root möglich.

          Sollte ich in proxmox über die Konsole mit root und in VM-IOBROKER mit user:karl einsteigen ?

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

            @goetschhofer

            sudo su -
            

            funktioniert nicht?
            Danach mit

            exit
            

            den root wieder in Ruhe lassen.

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

              @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

              @goetschhofer

              sudo su -
              

              funktioniert nicht?
              Danach mit

              exit
              

              den root wieder in Ruhe lassen.

              Ja, funktioniert ! 👍

              login as: karl
              karl@192.168.1.176's password:
              Linux IOBROKER 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64
              
              The programs included with the Debian GNU/Linux system are free software;
              the exact distribution terms for each program are described in the
              individual files in /usr/share/doc/*/copyright.
              
              Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
              permitted by applicable law.
              Last login: Tue Aug 17 11:22:27 2021 from 192.168.1.3
              karl@IOBROKER:~$ sudo su -
              [sudo] Passwort für karl:
              root@IOBROKER:~#
              
              

              Soll ich jetzt über root folgendes machen ?

              wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg
              export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
              echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.listcode_text
              
              

              Danke

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

                @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                Soll ich jetzt über root folgendes machen ?

                ja, jetzt wie oben die drei Befehle

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

                  @crunchip @GOETSCHHOFER
                  Stop!

                  Da ist ein Kopierfehler drin!

                  So muss das aussehen:

                  wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg
                  export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                  echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
                   
                  
                  G crunchip 3 Replies Last reply Reply Quote 1
                  • G
                    GOETSCHHOFER @Thomas Braun last edited by GOETSCHHOFER

                    @thomas-braun @crunchip

                    Sorry, war leider 2 Sek, zu spät, habe dies bereits eingeben, Ergebnis ?

                    Text steht teilweise rechts, rüberscrollen.

                    root@IOBROKER:~# wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dea                                                                                                                                                             rmor > /etc/apt/trusted.gpg.d/influxdb.gpg
                    root@IOBROKER:~# export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$                                                                                                                                                             (lsb_release -sc)
                    root@IOBROKER:~# echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https                                                                                                                                                             ://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/s                                                                                                                                                             ources.list.d/influxdb.listcode_text
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @GOETSCHHOFER last edited by

                      @goetschhofer

                      rm /etc/apt/sourceslist.d/influxdb.listcode_text
                      
                      G 1 Reply Last reply Reply Quote 1
                      • G
                        GOETSCHHOFER @Thomas Braun last edited by

                        @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                        wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list

                        Ergebnis 2. Versuch:

                        root@IOBROKER:~# wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg
                        export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                        echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
                        
                        root@IOBROKER:~# export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                        root@IOBROKER:~# echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • G
                          GOETSCHHOFER @Thomas Braun last edited by

                          @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                          @goetschhofer

                          rm /etc/apt/sourceslist.d/influxdb.listcode_text
                          

                          Ist dies der Storno Befehl ?

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

                            @thomas-braun stimmt, hatte ich nicht darauf geachtet, das ist das original der Influx Seite, muss natürlich angepasst werden

                            /etc/apt/sources.list.d/influxdb.list
                            
                             
                            
                            
                            1 Reply Last reply Reply Quote 1
                            • Thomas Braun
                              Thomas Braun Most Active @GOETSCHHOFER last edited by

                              @goetschhofer
                              Ja, mit dem Befehl wird die falsche Datei gelöscht.
                              Die würde sonst immer beim apt update angemeckert werden.

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

                                @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                @goetschhofer
                                Ja, mit dem Befehl wird die falsche Datei gelöscht.
                                Die würde sonst immer beim apt update angemeckert werden.

                                Diese findet er aber offenbar nicht ?

                                Ich war folgendermaßen vorgegangen.

                                1. falsche Eingabe Befehl
                                2. richtige Eingabe Beschreibung von dir.
                                root@IOBROKER:~# rm /etc/apt/sourceslist.d/influxdb.listcode_text
                                rm: das Entfernen von '/etc/apt/sourceslist.d/influxdb.listcode_text' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                                root@IOBROKER:~#
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @GOETSCHHOFER last edited by

                                  @goetschhofer

                                  ls -la /etc/apt/sources.list.d
                                  
                                  G 1 Reply Last reply Reply Quote 1
                                  • G
                                    GOETSCHHOFER @Thomas Braun last edited by

                                    @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                    ls -la /etc/apt/sources.list.d

                                    root@IOBROKER:~# ls -la /etc/apt/sources.list.d
                                    insgesamt 20
                                    drwxr-xr-x 2 root root 4096 Aug 17 11:35 .
                                    drwxr-xr-x 7 root root 4096 Mai  2 15:24 ..
                                    -rw-r--r-- 1 root root  102 Aug 17 11:35 influxdb.list
                                    -rw-r--r-- 1 root root  102 Aug 17 11:30 influxdb.listcode_text
                                    -rw-r--r-- 1 root root  204 Mai  2 20:24 nodesource.list
                                    root@IOBROKER:~#
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @GOETSCHHOFER last edited by Thomas Braun

                                      @goetschhofer

                                      rm /etc/apt/sources.list.d/influxdb.listcode_text
                                      

                                      Da fehlte mir ein Punkt im Pfad.

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

                                        @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                        rm /etc/apt/sources.list.d/influxdb.listcode_text

                                        Ja, die ist jetzt weg.

                                        Vielen herzlichen Dank.

                                        Muss ich jetzt noch die influxdb.conf anpassen ? bind-adress = Port 8088 ?

                                        root@IOBROKER:~# ls -la /etc/apt/sources.list.d
                                        insgesamt 20
                                        drwxr-xr-x 2 root root 4096 Aug 17 11:35 .
                                        drwxr-xr-x 7 root root 4096 Mai  2 15:24 ..
                                        -rw-r--r-- 1 root root  102 Aug 17 11:35 influxdb.list
                                        -rw-r--r-- 1 root root  102 Aug 17 11:30 influxdb.listcode_text
                                        -rw-r--r-- 1 root root  204 Mai  2 20:24 nodesource.list
                                        root@IOBROKER:~# ^C
                                        root@IOBROKER:~# rm /etc/apt/sources.list.d/influxdb.listcode_text
                                        root@IOBROKER:~#  ls -la /etc/apt/sources.list.d
                                        insgesamt 16
                                        drwxr-xr-x 2 root root 4096 Aug 17 11:46 .
                                        drwxr-xr-x 7 root root 4096 Mai  2 15:24 ..
                                        -rw-r--r-- 1 root root  102 Aug 17 11:35 influxdb.list
                                        -rw-r--r-- 1 root root  204 Mai  2 20:24 nodesource.list
                                        root@IOBROKER:~#
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @GOETSCHHOFER last edited by Thomas Braun

                                          @goetschhofer Meld dich als root ab!!!

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

                                            @thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                            @goetschhofer Meld dich als root ab!!!

                                            exit
                                            

                                            Danke, hätte ich jetzt vergessen ! 😊

                                            G 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

                                            383
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            1008
                                            198158
                                            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