Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. InfluxDB
  5. Installation von influxDB Useranlage nicht möglich

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    895

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Installation von influxDB Useranlage nicht möglich

Geplant Angeheftet Gesperrt Verschoben InfluxDB
1 Beiträge 1 Kommentatoren 198 Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • E Offline
    E Offline
    ed210
    schrieb am zuletzt editiert von
    #1

    Hallo!

    Da ich meine Passwörter zur Datenbank "verlegt" hatte, wollte ich influxDB neu installieren.

    zuerst habe ich die bestehende Installation mit folgenden Befehlen gelöscht:

    sudo apt-get remove influxdb
    sudo apt-get purge influxdb
    

    Dann habe ich influxDB gemäß der hier veröffentlichten Anleitung neu installiert:

    https://www.verdrahtet.info/2020/02/14/installation-von-influxdb-grafana-inkl-verbindung-zu-iobroker/
    

    Wenn ich dann nach der Installation einen User anlegen will, erhalte ich die Fehlermeldung: ERR: unable to parse authentication credentials

    Hier der ganze Vorgang:

    ed210@CT201:~$ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
    OK
    ed210@CT201:~$ source /etc/os-releaseecho "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
    -bash: /etc/os-releaseecho: No such file or directory
    ed210@CT201:~$ echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | 
    > 
    > 
    > sudo tee /etc/apt/sources.list.d/influxdb.list
    deb https://repos.influxdata.com/debian bionic stable
    ed210@CT201:~$ sudo apt-get update
    Get:1 https://repos.influxdata.com/debian bionic InRelease [4737 B]
    Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                  
    Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                                
    Hit:4 https://packages.grafana.com/oss/deb stable InRelease                                                                                              
    Hit:5 https://deb.nodesource.com/node_16.x bionic InRelease                                                                           
    Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                      
    Get:7 https://repos.influxdata.com/debian bionic/stable amd64 Packages [1267 B]   
    Fetched 183 kB in 2s (101 kB/s)                                                          
    Reading package lists... Done
    ed210@CT201:~$ sudo apt-get install influxdb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      influxdb
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 54.4 MB of archives.
    After this operation, 153 MB of additional disk space will be used.
    Get:1 https://repos.influxdata.com/debian bionic/stable amd64 influxdb amd64 1.8.10-1 [54.4 MB]
    Fetched 54.4 MB in 7s (7564 kB/s)                                                                                                                                                  
    Selecting previously unselected package influxdb.
    (Reading database ... 41033 files and directories currently installed.)
    Preparing to unpack .../influxdb_1.8.10-1_amd64.deb ...
    Unpacking influxdb (1.8.10-1) ...
    Setting up influxdb (1.8.10-1) ...
    Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service.
    Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service.
    Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    ed210@CT201:~$ sudo service influxdb start
    ed210@CT201:~$ sudo influx
    Connected to http://localhost:8086 version 1.8.10
    InfluxDB shell version: 1.8.10
    > CREATE USER "admin" WITH PASSWORD '<DBadmin>' WITH ALL PRIVILEGES
    ERR: unable to parse authentication credentials
    Warning: It is possible this error is due to not setting a database.
    Please set a database with the command "use <database>".
    > exit
    ed210@CT201:~$ sudo apt-get purge influxdb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be REMOVED:
      influxdb*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 153 MB disk space will be freed.
    Do you want to continue? [Y/n] y
    (Reading database ... 41053 files and directories currently installed.)
    Removing influxdb (1.8.10-1) ...
    Removed /etc/systemd/system/influxd.service.
    Removed /etc/systemd/system/multi-user.target.wants/influxdb.service.
    Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    (Reading database ... 41032 files and directories currently installed.)
    Purging configuration files for influxdb (1.8.10-1) ...
    Failed to disable unit: Unit file influxdb.service does not exist.
    dpkg: warning: while removing influxdb, directory '/var/lib/influxdb' not empty so not removed
    ed210@CT201:~$ sudo apt-get autoremove --purge influxdb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package 'influxdb' is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ed210@CT201:~$ sudo apt-get update
    Hit:1 https://repos.influxdata.com/debian bionic InRelease
    Hit:2 https://packages.grafana.com/oss/deb stable InRelease                                                                                                                        
    Hit:3 https://deb.nodesource.com/node_16.x bionic InRelease                                                                                                                        
    Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease                                             
    Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
    Hit:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease
    Reading package lists... Done                      
    ed210@CT201:~$ sudo apt-get install influxdb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      influxdb
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/54.4 MB of archives.
    After this operation, 153 MB of additional disk space will be used.
    Selecting previously unselected package influxdb.
    (Reading database ... 41029 files and directories currently installed.)
    Preparing to unpack .../influxdb_1.8.10-1_amd64.deb ...
    Unpacking influxdb (1.8.10-1) ...
    Setting up influxdb (1.8.10-1) ...
    Created symlink /etc/systemd/system/influxd.service -> /lib/systemd/system/influxdb.service.
    Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service -> /lib/systemd/system/influxdb.service.
    Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    ed210@CT201:~$ sudo service influxdb start
    ed210@CT201:~$ sudo influx
    Connected to http://localhost:8086 version 1.8.10
    InfluxDB shell version: 1.8.10
    > CREATE USER "admin" WITH PASSWORD '<XXXXXXX>' WITH ALL PRIVILEGES
    ERR: unable to parse authentication credentials
    Warning: It is possible this error is due to not setting a database.
    Please set a database with the command "use <database>".
    > 
    

    Der Fehler wird am Ende der Anleitung von verdrahtet.info auch erwähnt, jedoch muss man sich zur Lösung des Problems anmelden und ich kann ja nicht mal einen user anlegen.

    Habe ich die alte Installation vielleicht nicht richtig gelöscht und es sind noch Reste vorhanden?

    Weiß jemand Rat? Wahrscheinlich ist der Verweis auf debian in der zweiten Zeile der Anleitung von verdrahtet.info

    echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | 
    

    für mich auch nicht der richtige, da ich ubuntu benutze, aber zumindest gab es keine Fehlermeldung bei der Installation.

    Nodejs 16,17.0
    npm 8.15.0
    ioBroker 4.0.23
    AdminAdapter 6.2.17
    Ubuntu 18.04.6
    läuft unter Proxmox 7.0.-11

    1 Antwort Letzte Antwort
    0
    Antworten
    • In einem neuen Thema antworten
    Anmelden zum Antworten
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen


    Support us

    ioBroker
    Community Adapters
    Donate

    311

    Online

    32.6k

    Benutzer

    82.1k

    Themen

    1.3m

    Beiträge
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
    ioBroker Community 2014-2025
    logo
    • Anmelden

    • Du hast noch kein Konto? Registrieren

    • Anmelden oder registrieren, um zu suchen
    • Erster Beitrag
      Letzter Beitrag
    0
    • Home
    • Aktuell
    • Tags
    • Ungelesen 0
    • Kategorien
    • Unreplied
    • Beliebt
    • GitHub
    • Docu
    • Hilfe