NEWS
proxmox - influxdb 1.x deinstallieren und 2.x installieren
-
Hej,
ich habe ganz neu mit proxmox begonnen und habe aus unwissenheit influxdb 1.x installiert (altes youtube video) nun hab ich gelesen, dass die verison 2.x besser/flexibler ist und möchte nun v1 deinstallieren und v2 installieren.
Deinstalliert hab ich mit hilfe von ChatGPT (bitte haut mich nicht - aber ich hab dazu sonst keine anleitung gefunden). Diese Befehle hab ich vom Chat erhalten und ausgeführt:
sudo systemctl stop influxdb sudo apt remove --purge influxdb influxdb-client -y sudo rm -rf /etc/influxdb /var/lib/influxdb /var/log/influxdb
Danach bin ich nach dieser Anleitung
sudo rm /etc/apt/sources.list.d/influ* wget -q https://repos.influxdata.com/influxdata-archive_compat.key echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/keyrings/influxdata-archive_compat.gpg > /dev/null echo 'deb [signed-by=/etc/apt/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list rm influxdata-archive_compat.key
von Thomas Braun aus diesem Thread vorgegangen, was leider nicht funktioniert hat.
kann mir jemand helfen um influxdb 2.x zu installieren?
Die Konsole meines Proxmox Container sieht aktuell so aus:
influxdb login: rtwl Password: Linux influxdb 6.8.12-11-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-11 (2025-05-22T09:39Z) 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: Fri Jul 11 23:15:58 CEST 2025 on pts/1 rtwl@influxdb:~$ influx version -bash: influx: command not found rtwl@influxdb:~$ influxd version InfluxDB v1.6.7~rc0 (git: unknown unknown) rtwl@influxdb:~$ sudo systemctl stop influxdb [sudo] password for rtwl: rtwl@influxdb:~$ sudo apt remove --purge influxdb influxdb-client -y Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'influxdb-client' is not installed, so not removed The following packages will be REMOVED: influxdb* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 18.8 MB disk space will be freed. (Reading database ... 19292 files and directories currently installed.) Removing influxdb (1.6.7~rc0-1+b13) ... Processing triggers for man-db (2.11.2-2) ... (Reading database ... 19282 files and directories currently installed.) Purging configuration files for influxdb (1.6.7~rc0-1+b13) ... rtwl@influxdb:~$ sudo rm -rf /etc/influxdb /var/lib/influxdb /var/log/influxdb rtwl@influxdb:~$ sudo rm /etc/apt/sources.list.d/influ* rm: cannot remove '/etc/apt/sources.list.d/influ*': No such file or directory rtwl@influxdb:~$ wget -q https://repos.influxdata.com/influxdata-archive_compat.key rtwl@influxdb:~$ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/keyrings/influxdata-archive_compat.gpg > /dev/null influxdata-archive_compat.key: OK -bash: gpg: command not found rtwl@influxdb:~$
-
@rtwl die Deinstallation ist abhängig davon. wie du etwas installiert hast.
Die Installation ist direkt auf Influx beschrieben(braucht man also keine alten Videos)Warum setzt du nicht einfach nen neuen Lxc auf?
-
@crunchip sagte in proxmox - influxdb 1.x deinstallieren und 2.x installieren:
Warum setzt du nicht einfach nen neuen Lxc auf?
Gute Frage. Hab auf dem LXC einen rechtsklick gemacht und kein "löschen" gesehen, daher dachte ich an de-/installieren.
Ich hab es jetzt zwar mithilfe von ChatGPT installiert - der Dienst läuft, lauscht auf auf Port 8086. dennoch komme ich nicht auf die Weboberfläche.Daher wird es wohl ein neuer LXC werden um es neu zu versuchen. Diesmal ohne ChatGPT und mit der offiziellen Anleitung - sofern ich diese finde
-
@rtwl sagte in proxmox - influxdb 1.x deinstallieren und 2.x installieren:
offiziellen Anleitung - sofern ich diese finde
InfluxDB OSS v2 installieren | InfluxDB OSS v2 Dokumentation https://share.google/KFaSWcdcUhGVOSBsx
Wobei v3 schon ausgerollt ist
-
@crunchip danke für den Link - ich hoffe ich schaff das, sieht sehr kompliziert aus.
ich dachte v3 ist kostenpflichtig? -
@rtwl sagte in proxmox - influxdb 1.x deinstallieren und 2.x installieren:
ich dachte v3 ist kostenpflichtig?
nicht mehr. matthias hat erst vor kurzem ein video dazu gemacht.
https://www.youtube.com/watch?v=Ai3glI8bcjE