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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • 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 @crunchip last edited by

      @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

      @goetschhofer debian LXC Container sind nur auf minimal ausgelegt, diverse Dinge müssen bei gebrauch nachinstalliert werden.
      sowie auch sudo oder curl nach installieren musstest um die Befehle zu nutzen

      D. h. es müsste dieser Block durchgeführt werden ?

      Der user karl ist ja schon da, kann ich wahrscheinlich weglassen ?

      apt update & apt upgrade
      dpkg-reconfigure tzdata
      apt install sudo curl
      adduser karl
      usermod -aG sudo karl
       
      
      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @GOETSCHHOFER last edited by

        @goetschhofer nein das hast du doch schon, Pakete die du da installiert hattest, war sudo und curl

        sudo apt-get install acl
        
        G 1 Reply Last reply Reply Quote 1
        • G
          GOETSCHHOFER @crunchip last edited by

          @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

          @goetschhofer nein das hast du doch schon, Pakete die du da installiert hattest, war sudo und curl

          sudo apt-get install acl
          

          Ja, dies habe ich mir auch gedacht, zumindest soweit ich mich erinnern kann.

          Habe das restore jetzt mit und ohne sudo durchgeführt, aber immer noch gleiche Fehlermeldung. 😢

          karl@LXC-INFLUXDB-192:~$ sudo apt-get install acl
          [sudo] password for karl: 
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          The following NEW packages will be installed:
            acl
          0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
          Need to get 60.3 kB of archives.
          After this operation, 211 kB of additional disk space will be used.
          Get:1 http://ftp.debian.org/debian buster/main amd64 acl amd64 2.2.53-4 [60.3 kB]
          Fetched 60.3 kB in 0s (470 kB/s)
          Selecting previously unselected package acl.
          (Reading database ... 20942 files and directories currently installed.)
          Preparing to unpack .../acl_2.2.53-4_amd64.deb ...
          Unpacking acl (2.2.53-4) ...
          Setting up acl (2.2.53-4) ...
          Processing triggers for man-db (2.8.5-2) ...
          karl@LXC-INFLUXDB-192:~$ influxd restore -portable /home/karl/influx_backup
          2021/05/12 09:25:30 error updating meta: dial tcp [::1]:8088: connect: connection refused
          restore: dial tcp [::1]:8088: connect: connection refused
          karl@LXC-INFLUXDB-192:~$ sudo influxd restore -portable /home/karl/influx_backup
          2021/05/12 09:25:51 error updating meta: dial tcp [::1]:8088: connect: connection refused
          restore: dial tcp [::1]:8088: connect: connection refused
          karl@LXC-INFLUXDB-192:~$ 
          
          simatec 2 Replies Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @GOETSCHHOFER last edited by

            @goetschhofer Zeige mal bitte deine influxdb.conf
            Speziell den teil der bind

            G 1 Reply Last reply Reply Quote 1
            • simatec
              simatec Developer Most Active @GOETSCHHOFER last edited by

              @goetschhofer

              influxd restore -portable -db Datenbankname /home/karl/influx_backup
              
              G 1 Reply Last reply Reply Quote 1
              • G
                GOETSCHHOFER @simatec last edited by

                @simatec said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                @goetschhofer Zeige mal bitte deine influxdb.conf
                Speziell den teil der bind

                Hätte mit abgefragt, aber da sehe ich nichts ?

                sudo nano /etc/influxdb/influxdb.conf 
                

                14e41a3a-ae26-4204-8785-9f98305ffcd3-image.png

                crunchip 2 Replies Last reply Reply Quote 0
                • G
                  GOETSCHHOFER @simatec last edited by

                  @simatec said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                  @goetschhofer

                  influxd restore -portable -db Datenbankname /home/karl/influx_backup
                  

                  Weiß nicht ob dies richtig ist, aber ich habe mal Datenbankname mit influxdb ersetzt ?

                  karl@LXC-INFLUXDB-192:~$ influxd restore -portable -db Datenbankname /home/karl/influx_backup
                  2021/05/12 09:47:25 error updating meta: dial tcp [::1]:8088: connect: connection refused
                  restore: dial tcp [::1]:8088: connect: connection refused
                  karl@LXC-INFLUXDB-192:~$ influxd restore -portable -db influxdb /home/karl/influx_backup
                  2021/05/12 09:48:00 error updating meta: dial tcp [::1]:8088: connect: connection refused
                  restore: dial tcp [::1]:8088: connect: connection refused
                  karl@LXC-INFLUXDB-192:~$ 
                  
                  crunchip 1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @GOETSCHHOFER last edited by

                    @goetschhofer nein iobroker heisst deine Datenbank

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

                      @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                      @goetschhofer nein iobroker heisst deine Datenbank

                      karl@LXC-INFLUXDB-192:~$ influxd restore -portable -db iobroker /home/karl/influx_backup
                      2021/05/12 09:51:11 error updating meta: dial tcp [::1]:8088: connect: connection refused
                      restore: dial tcp [::1]:8088: connect: connection refused
                      karl@LXC-INFLUXDB-192:~$ 
                      
                      G 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @GOETSCHHOFER last edited by

                        @goetschhofer ohne sudo

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

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

                          @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                          @goetschhofer nein iobroker heisst deine Datenbank

                          Ohne sudo.

                          karl@LXC-INFLUXDB-192:~$ influxd restore -portable -db iobroker /home/karl/influx_backup
                          2021/05/12 09:51:11 error updating meta: dial tcp [::1]:8088: connect: connection refused
                          restore: dial tcp [::1]:8088: connect: connection refused
                          karl@LXC-INFLUXDB-192:~$ 
                          

                          45dc3d9e-bad2-412d-a2f6-36e1fb035d26-image.png

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

                            @goetschhofer der Port in der Instanz passt schon, hatte ich dir doch schon erklärt.
                            und hoffe, du hast die Instanz nicht zwischenzeitlich nochmal gestartet, sonst wurde die Datenbank wieder angelegt

                             nano /etc/influxdb/influxdb.conf
                            
                            G 1 Reply Last reply Reply Quote 1
                            • G
                              GOETSCHHOFER @crunchip last edited by

                              @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                              nano /etc/influxdb/influxdb.conf

                              Die Instanz habe ich seit Installation des iobroker nie gestartet.

                              159bd122-6f38-4850-80b6-4626f5891aaa-image.png

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

                                @goetschhofer bin mir nicht sicher, aber änder mal ab in

                                bind-address = "0.0.0.0:8088"
                                
                                

                                danach

                                 systemctl restart influxdb.service
                                
                                

                                anschließend

                                influxd restore -portable -db iobroker /home/karl/influx_backup
                                
                                G 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @GOETSCHHOFER last edited by

                                  @goetschhofer Da du deine Instanz von Influx schon laufen hast, wurde bereits die db "iobroker angelegt, was beim restore ein problem ist.
                                  Beim Restore einer Datenbank darf diese nicht existieren.

                                  Also führe bitte folgende Schritte aus.

                                  Adapter Influx stoppen

                                  influx -execute='DROP DATABASE iobroker'
                                  influxd restore -portable -db iobroker /home/karl/influx_backup
                                  
                                  G 2 Replies Last reply Reply Quote 1
                                  • G
                                    GOETSCHHOFER @crunchip last edited by

                                    @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                    @goetschhofer bin mir nicht sicher, aber änder mal ab in

                                    bind-address = "0.0.0.0:8088"
                                    
                                    

                                    danach

                                     systemctl restart influxdb.service
                                    
                                    

                                    anschließend

                                    influxd restore -portable -db iobroker /home/karl/influx_backup
                                    

                                    Ich kann es nicht ändern, da unten Fehlermeldung.

                                    1adaa1f1-d7bc-4fdf-9bdc-e6d9ca0764c9-image.png

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

                                      @simatec said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                      @goetschhofer Da du deine Instanz von Influx schon laufen hast, wurde bereits die db "iobroker angelegt, was beim restore ein problem ist.
                                      Beim Restore einer Datenbank darf diese nicht existieren.

                                      Also führe bitte folgende Schritte aus.

                                      Adapter Influx stoppen

                                      influx -execute='DROP DATABASE iobroker'
                                      influxd restore -portable -db iobroker /home/karl/influx_backup
                                      

                                      Adapter Influx läuft aktuell nicht und ist nie gelaufen !

                                      1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @GOETSCHHOFER last edited by

                                        @goetschhofer die conf musst du mit sudo ändern

                                        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:

                                          Hätte mit abgefragt, aber da sehe ich nichts ?

                                          in der Proxmox Konsole bist du mit root angemeldet, daher ohne sudo

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

                                          Ich kann es nicht ändern, da unten Fehlermeldung.

                                          da bist du mit User karl per putty, oder?

                                          daher dein durcheinander

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

                                            @crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                            in der Proxmox Konsole bist du mit root angemeldet, daher ohne sudo

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

                                            da bist du mit User karl per putty, oder?

                                            daher dein durcheinander

                                            Nein, ich war über die Konsole eingestiegen.

                                            Folgendes wollte ich dich schon seit längerem fragen wegen Verständnis, was der Unterschied beim Einstieg über proxmox-Konsole (BN=root) und anschließend Anmeldung mit BN=karl im LXC-Container ist und der Unterschied bei der Anmeldung in putty mit BN=karl ?

                                            Bei beiden steige ich über meinen BN=karl in den LXC-Influxdb ein.
                                            Welchen Berechtigungslevel habe ich hier wie folgt ?

                                            1. Konsole: Durch die Anmeldung in proxmox mit root habe ich automatisch root-Rechte, auch wenn ich mich am LXC Container mit meinem BN=karl anmelde ?
                                            2. Putty: Durch die Anmeldung in putty mit dem BN=karl habe ich nur die dem BN zugeordneten Rechte ?

                                            a48f5b3f-03bb-4961-b029-74dd85991b31-image.png

                                            Homoran 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

                                            940
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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