Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB2 lässt sich nicht installieren

    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

    InfluxDB2 lässt sich nicht installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Sven Muthke
      Sven Muthke last edited by

      Hi, ich habe leider nach wie vor das Problem, dass ich INfluxDB2 nicht installieren kann.

      Habe das gesamte System neu aufgestezt und versucht nach Anleitung InfluxDb2 z uinstallieren. bekomme aber bei 31/32 eine Fehlermeldung. Starten lässt sich der Serive leider auch nicht. Kann mir jemand helfen?

      Vielen Dank und VG Sven

      iobroker@iobroker:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
      iobroker@iobroker:~ $ sudo wget -q https://repos.influxdata.com/influxdata-archive_compat.key
      [sudo] password for iobroker:
      iobroker@iobroker:~ $ sudo echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
      deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
      iobroker@iobroker:~ $ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
      deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
      iobroker@iobroker:~ $ sudo cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
      iobroker@iobroker:~ $ cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
      iobroker@iobroker:~ $ apt update && apt install influxdb2
      Reading package lists... Done
      E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
      E: Unable to lock directory /var/lib/apt/lists/
      W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
      W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
      iobroker@iobroker:~ $ sudo apt update && apt install influxdb2
      Hit:1 http://deb.debian.org/debian bullseye InRelease
      Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
      Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
      Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
      Get:5 https://repos.influxdata.com/debian stable InRelease [6,892 B]
      Hit:6 https://deb.nodesource.com/node_18.x bullseye InRelease
      Hit:7 https://repos.influxdata.com/debian bullseye InRelease
      Get:8 https://repos.influxdata.com/debian stable/main armhf Packages [2,659 B]
      Get:9 https://repos.influxdata.com/debian stable/main arm64 Packages [4,980 B]
      Fetched 62.9 kB in 2s (32.7 kB/s)
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.
      E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
      E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
      iobroker@iobroker:~ $ 5.service influxdb start
      -bash: 5.service: command not found
      iobroker@iobroker:~ $  service influxdb start
      ^[[A==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
      Authentication is required to start 'influxdb.service'.
      Authenticating as: ,,, (iobroker)
      Password:
      polkit-agent-helper-1: pam_authenticate failed: Authentication failure
      ==== AUTHENTICATION FAILED ===
      Failed to start influxdb.service: Access denied
      See system logs and 'systemctl status influxdb.service' for details.
      iobroker@iobroker:~ $ sudo service influxdb start
      Job for influxdb.service failed because the control process exited with error code.
      See "systemctl status influxdb.service" and "journalctl -xe" for details.
      iobroker@iobroker:~ $
      
      crunchip haus-automatisierung Thomas Braun Homoran 4 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Sven Muthke last edited by crunchip

        @sven-muthke falsche Anleitung genutzt, wohl vorher manuell versucht zu installieren, installiert wird per apt und nicht manuell
        https://docs.influxdata.com/influxdb/v2.2/install/

        1 Reply Last reply Reply Quote 1
        • haus-automatisierung
          haus-automatisierung Developer Most Active @Sven Muthke last edited by

          @sven-muthke sagte in InfluxDB2 lässt sich nicht installieren:

          iobroker@iobroker:~ $

          Der iobroker Linux Nutzer ist aber schon in deinen sudoers? Warum arbeitest Du mit dem Nutzer? Irgendwas läuft doch da ganz falsch 🙂

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

            @haus-automatisierung das hatte ich ihm schon im anderen Thread geschrieben, das ein User iobroker ungünstig gewählt ist, da es schon einen internen iobroker gibt

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

              @sven-muthke sagte in InfluxDB2 lässt sich nicht installieren:

              sudo apt update && apt install influxdb2

              Das funktioniert so nicht, weil für den zweiten verketteten Befehl die Rechte nicht ausreichen.

              sudo apt update && sudo apt install influxdb2
              

              Oder (würde ich in dem Fall eh machen) Einzelkommandos absetzen.

              sudo apt update 
              sudo apt install influxdb2
              
              crunchip 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Thomas Braun last edited by

                @thomas-braun stimmt, das hatte ich übersehen am Handy

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

                  @sven-muthke
                  was war daran denn nicht zu verstehen?
                  @homoran sagte in VIS nicht mehr erreichbar:

                  @sven-muthke sagte in VIS nicht mehr erreichbar:

                  Habt ihr nen Plan was ich machen kann?

                  wie @crunchip schreibt

                  @crunchip sagte in VIS nicht mehr erreichbar:

                  einen neuen beginnen mit entsprechendem Titel.

                  ...und unter offTopic!
                  die Installation und Konfiguration von influxdb hat nichts mit iobroker zu tun

                  Habs jetzt verschoben 😡

                  @haus-automatisierung sagte in InfluxDB2 lässt sich nicht installieren:

                  @sven-muthke sagte in InfluxDB2 lässt sich nicht installieren:

                  iobroker@iobroker:~ $

                  Der iobroker Linux Nutzer ist aber schon in deinen sudoers? Warum arbeitest Du mit dem Nutzer? Irgendwas läuft doch da ganz falsch 🙂

                  und das hatten wir auch schon:
                  @crunchip sagte in VIS nicht mehr erreichbar:

                  @sven-muthke sagte in VIS nicht mehr erreichbar:

                  iobroker@iobroker

                  den user gleichnamig wie den internen user iobroker zu nennen ist nicht unbedingt sinnig

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  829
                  Online

                  31.7k
                  Users

                  79.8k
                  Topics

                  1.3m
                  Posts

                  5
                  7
                  370
                  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