NEWS
Influxdb restore geht nicht.
-
Moin Leute.
Habe soeben ein frisches System mit Debian Bookworm Lite, Iobroker usw. auf einen RPI 4GB
installiert.
Nun versuche ich einen Restore über den Backitup adapter von meinem noch laufenden System auf das neu eingespielte.
Der Restore vom Iobroker und Grafana hat soweit geklappt aber an der InfluxDB Datenbank habert es noch. Vielleicht konnt ihr mir da weiterhelfen.
Der Restore von Influx an sich klappt soweit:Started restore ... [DEBUG] [influxDB] - Created tmp directory [DEBUG] [influxDB] - Start infuxDB Restore ... [DEBUG] [influxDB] - influxdb.0 is stopped [ERROR] [influxDB] - 2024/05/04 00:17:17 error updating meta: DB metadata not changed. database may already exist restore: DB metadata not changed. database may already exist [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - infuxDB Restore completed successfully [EXIT] influxDB restore done [DEBUG] [influxDB] - influxdb.0 startedIch kann die Daten auch in Grafana für eine neue Visualisierung bei "select measurement" auswählen.
Die Visualisierung bleibt aber leer.Das komische ist, dass ich in der RPI Konsole nicht in die Influx Datenbank komme um zu kontrollieren ob Daten überhaupt vorhanden sind. Außerdem befürchte ich, dass ich das Passwort für die Datenbank vergessen habe.
Wenn ich Influx als befehl ausführe passiert nichts:
herke@raspberrypi:~ $ influx -bash: influx: command not found herke@raspberrypi:~ $ -bash: influx: command not foundDer Status sagt:
herke@raspberrypi:~ $ sudo systemctl status influxdb ● influxdb.service - InfluxDB is an open-source, distributed, time series datab> Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: ena> Active: active (running) since Fri 2024-05-03 23:57:50 BST; 26min ago Docs: man:influxd(1) Main PID: 664 (influxd) Tasks: 11 (limit: 3917) CPU: 2.571s CGroup: /system.slice/influxdb.service └─664 /usr/bin/influxd -config /etc/influxdb/influxdb.conf May 04 00:17:21 raspberrypi influxd[664]: [httpd] 127.0.0.1 - iobroker [04/May/> May 04 00:19:10 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:10 raspberrypi influxd[664]: ts=2024-05-03T23:19:10.728627Z lvl=in> May 04 00:19:10 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:11 raspberrypi influxd[664]: ts=2024-05-03T23:19:11.093980Z lvl=in> May 04 00:19:11 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:13 raspberrypi influxd[664]: ts=2024-05-03T23:19:13.093768Z lvl=in> May 04 00:19:13 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:21 raspberrypi influxd[664]: ts=2024-05-03T23:19:21.258916Z lvl=in> May 04 00:19:21 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> lines 1-20/20 (END)Dieser Befehl wird ausgeführt:
herke@raspberrypi:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-03T23:03:57.212340Z info InfluxDB starting {"log_id": "0oxB2O70000", "version": "1.6.7~rc0", "branch": "unknown", "commit": "unknown"} 2024-05-03T23:03:57.212384Z info Go runtime {"log_id": "0oxB2O70000", "version": "go1.19.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in useWo ist der Bug?
Werde jetzt erstmal schlafen. Morgen geht's weiter. -
Moin Leute.
Habe soeben ein frisches System mit Debian Bookworm Lite, Iobroker usw. auf einen RPI 4GB
installiert.
Nun versuche ich einen Restore über den Backitup adapter von meinem noch laufenden System auf das neu eingespielte.
Der Restore vom Iobroker und Grafana hat soweit geklappt aber an der InfluxDB Datenbank habert es noch. Vielleicht konnt ihr mir da weiterhelfen.
Der Restore von Influx an sich klappt soweit:Started restore ... [DEBUG] [influxDB] - Created tmp directory [DEBUG] [influxDB] - Start infuxDB Restore ... [DEBUG] [influxDB] - influxdb.0 is stopped [ERROR] [influxDB] - 2024/05/04 00:17:17 error updating meta: DB metadata not changed. database may already exist restore: DB metadata not changed. database may already exist [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - infuxDB Restore completed successfully [EXIT] influxDB restore done [DEBUG] [influxDB] - influxdb.0 startedIch kann die Daten auch in Grafana für eine neue Visualisierung bei "select measurement" auswählen.
Die Visualisierung bleibt aber leer.Das komische ist, dass ich in der RPI Konsole nicht in die Influx Datenbank komme um zu kontrollieren ob Daten überhaupt vorhanden sind. Außerdem befürchte ich, dass ich das Passwort für die Datenbank vergessen habe.
Wenn ich Influx als befehl ausführe passiert nichts:
herke@raspberrypi:~ $ influx -bash: influx: command not found herke@raspberrypi:~ $ -bash: influx: command not foundDer Status sagt:
herke@raspberrypi:~ $ sudo systemctl status influxdb ● influxdb.service - InfluxDB is an open-source, distributed, time series datab> Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; preset: ena> Active: active (running) since Fri 2024-05-03 23:57:50 BST; 26min ago Docs: man:influxd(1) Main PID: 664 (influxd) Tasks: 11 (limit: 3917) CPU: 2.571s CGroup: /system.slice/influxdb.service └─664 /usr/bin/influxd -config /etc/influxdb/influxdb.conf May 04 00:17:21 raspberrypi influxd[664]: [httpd] 127.0.0.1 - iobroker [04/May/> May 04 00:19:10 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:10 raspberrypi influxd[664]: ts=2024-05-03T23:19:10.728627Z lvl=in> May 04 00:19:10 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:11 raspberrypi influxd[664]: ts=2024-05-03T23:19:11.093980Z lvl=in> May 04 00:19:11 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:13 raspberrypi influxd[664]: ts=2024-05-03T23:19:13.093768Z lvl=in> May 04 00:19:13 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> May 04 00:19:21 raspberrypi influxd[664]: ts=2024-05-03T23:19:21.258916Z lvl=in> May 04 00:19:21 raspberrypi influxd[664]: [httpd] ::1 - iobroker [04/May/2024:0> lines 1-20/20 (END)Dieser Befehl wird ausgeführt:
herke@raspberrypi:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-03T23:03:57.212340Z info InfluxDB starting {"log_id": "0oxB2O70000", "version": "1.6.7~rc0", "branch": "unknown", "commit": "unknown"} 2024-05-03T23:03:57.212384Z info Go runtime {"log_id": "0oxB2O70000", "version": "go1.19.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in useWo ist der Bug?
Werde jetzt erstmal schlafen. Morgen geht's weiter.@bill-s-preston
Du hast jetzt die InfluxDB 1.6.7 installiert. Welche Version befand sich auf dem alten RPi?
-
@bill-s-preston
Du hast jetzt die InfluxDB 1.6.7 installiert. Welche Version befand sich auf dem alten RPi?
Der alte hat die 1.8.10
pi@iobroker:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-04T05:42:25.738662Z info InfluxDB starting {"log_id": "0oxXqdnW000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"} 2024-05-04T05:42:25.738744Z info Go runtime {"log_id": "0oxXqdnW000", "version": "go1.13.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in uskann ich via Konsole updaten?
-
Der alte hat die 1.8.10
pi@iobroker:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-04T05:42:25.738662Z info InfluxDB starting {"log_id": "0oxXqdnW000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"} 2024-05-04T05:42:25.738744Z info Go runtime {"log_id": "0oxXqdnW000", "version": "go1.13.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in uskann ich via Konsole updaten?
@bill-s-preston
Influx-Repository in deinem Paketmanager anlegen und dann influxdb daraus installieren.
-
Der alte hat die 1.8.10
pi@iobroker:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-04T05:42:25.738662Z info InfluxDB starting {"log_id": "0oxXqdnW000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"} 2024-05-04T05:42:25.738744Z info Go runtime {"log_id": "0oxXqdnW000", "version": "go1.13.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in uskann ich via Konsole updaten?
@bill-s-preston sagte in Influxdb restore geht nicht.:
kann ich via Konsole updaten?
Ja, dazu kann ich dir diese Infos von @Thomas-Braun empfehlen:
https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind
-
@bill-s-preston
Influx-Repository in deinem Paketmanager anlegen und dann influxdb daraus installieren.
@thomas-braun sagte in Influxdb restore geht nicht.:
@bill-s-preston
Influx-Repository in deinem Paketmanager anlegen und dann influxdb daraus installieren.
Zwei Dumme, … 😁
-
@thomas-braun sagte in Influxdb restore geht nicht.:
@bill-s-preston
Influx-Repository in deinem Paketmanager anlegen und dann influxdb daraus installieren.
Zwei Dumme, … 😁
@marc-berg
Und wie bekomme ich die Version 1.8.10 installiert?
Werde aus der Anleitung überhaupt nicht schlau.
Sorry bin nicht so fit mit Linux . -
@marc-berg
Und wie bekomme ich die Version 1.8.10 installiert?
Werde aus der Anleitung überhaupt nicht schlau.
Sorry bin nicht so fit mit Linux .@bill-s-preston
Repo angelegt?
sudo apt update apt policy influx*sagt?
-
@bill-s-preston
Repo angelegt?
sudo apt update apt policy influx*sagt?
herke@raspberrypi:~ $ sudo apt update apt policy influx* Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Get:4 https://repos.influxdata.com/debian bookworm InRelease [12.9 kB] Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease Get:7 https://packages.grafana.com/oss/deb stable InRelease [7,660 B] Hit:8 http://archive.raspberrypi.com/debian bookworm InRelease Err:4 https://repos.influxdata.com/debian bookworm InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E Err:7 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Reading package lists... Done W: GPG error: https://repos.influxdata.com/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E E: The repository 'https://repos.influxdata.com/debian bookworm InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. N: Unable to locate package influxdata-archive_compat.key N: Unable to locate package influxdata-archive_compat.key.1 N: Unable to locate package influxdata-archive_compat.key.2 N: Unable to locate package influxdata-archive_compat.key.3 herke@raspberrypi:~ $ apt policy influx* N: Unable to locate package influxdata-archive_compat.key N: Unable to locate package influxdata-archive_compat.key.1 N: Unable to locate package influxdata-archive_compat.key.2 N: Unable to locate package influxdata-archive_compat.key.3 herke@raspberrypi:~ $ -
herke@raspberrypi:~ $ sudo apt update apt policy influx* Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Get:4 https://repos.influxdata.com/debian bookworm InRelease [12.9 kB] Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease Get:7 https://packages.grafana.com/oss/deb stable InRelease [7,660 B] Hit:8 http://archive.raspberrypi.com/debian bookworm InRelease Err:4 https://repos.influxdata.com/debian bookworm InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E Err:7 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Reading package lists... Done W: GPG error: https://repos.influxdata.com/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E E: The repository 'https://repos.influxdata.com/debian bookworm InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. N: Unable to locate package influxdata-archive_compat.key N: Unable to locate package influxdata-archive_compat.key.1 N: Unable to locate package influxdata-archive_compat.key.2 N: Unable to locate package influxdata-archive_compat.key.3 herke@raspberrypi:~ $ apt policy influx* N: Unable to locate package influxdata-archive_compat.key N: Unable to locate package influxdata-archive_compat.key.1 N: Unable to locate package influxdata-archive_compat.key.2 N: Unable to locate package influxdata-archive_compat.key.3 herke@raspberrypi:~ $@bill-s-preston
Keine Ahnung was du da angestellt hast, aber das ist Kraut und Rüben...
Für influxdb:rm influx* 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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null echo 'deb [signed-by=/usr/share/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.keyund grafana ist auch nicht korrekt. Versuch es so:
sudo apt-get install -y apt-transport-https sudo apt-get install -y software-properties-common wget sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.listDann nochmal
sudo apt update -
@bill-s-preston
Keine Ahnung was du da angestellt hast, aber das ist Kraut und Rüben...
Für influxdb:rm influx* 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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null echo 'deb [signed-by=/usr/share/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.keyund grafana ist auch nicht korrekt. Versuch es so:
sudo apt-get install -y apt-transport-https sudo apt-get install -y software-properties-common wget sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.listDann nochmal
sudo apt update@thomas-braun
Super danke dir! Werde ich heute Abend versuchen. Ich hoffe es wird keine Nachtschicht wieder!
Muss ich die alte grafana und influx Installation deinstallieren?
Wenn ja, wie am besten? -
@thomas-braun
Super danke dir! Werde ich heute Abend versuchen. Ich hoffe es wird keine Nachtschicht wieder!
Muss ich die alte grafana und influx Installation deinstallieren?
Wenn ja, wie am besten?@bill-s-preston sagte in Influxdb restore geht nicht.:
Muss ich die alte grafana und influx Installation deinstallieren?
Nein. Du musst aber die Paket-Quellen senkrecht haben.
-
@thomas-braun
Super danke dir! Werde ich heute Abend versuchen. Ich hoffe es wird keine Nachtschicht wieder!
Muss ich die alte grafana und influx Installation deinstallieren?
Wenn ja, wie am besten?@bill-s-preston sagte in Influxdb restore geht nicht.:
Ich hoffe es wird keine Nachtschicht wieder!
Du musst lediglich die 10 Zeilen per copy&paste in dein Terminal kopieren. Ist eine Sache von 2 Sekunden...
-
@bill-s-preston sagte in Influxdb restore geht nicht.:
Ich hoffe es wird keine Nachtschicht wieder!
Du musst lediglich die 10 Zeilen per copy&paste in dein Terminal kopieren. Ist eine Sache von 2 Sekunden...
sudo apt update apt policy influx*sagt jetzt:
herke@raspberrypi:~ $ sudo apt update apt policy influx* Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease Hit:4 http://deb.debian.org/debian bookworm-updates InRelease Get:5 https://packages.grafana.com/oss/deb stable InRelease [7,660 B] Hit:6 https://repos.influxdata.com/debian stable InRelease Hit:7 https://apt.grafana.com stable InRelease Hit:8 https://deb.nodesource.com/node_18.x nodistro InRelease Err:5 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Reading package lists... Done W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. influxdb2-cli: Installed: (none) Candidate: 2.7.5-1 Version table: 2.7.5-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.3-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.1-2 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.5.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages influxdb-client: Installed: (none) Candidate: 1.6.7~rc0-1+b13 Version table: 1.6.7~rc0-1+b13 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages influxdb-dev: Installed: (none) Candidate: (none) Version table: influxdb2-client: Installed: (none) Candidate: 2.7.1-1 Version table: 2.7.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages influxdb: Installed: 1.6.7~rc0-1+b13 Candidate: 1.8.10-1 Version table: 1.8.10-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages *** 1.6.7~rc0-1+b13 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 100 /var/lib/dpkg/status influxctl: Installed: (none) Candidate: 2.8.0 Version table: 2.8.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.5.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.4 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.3 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.2 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.2.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.1.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.4 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.3 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.2 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages influxdb2: Installed: (none) Candidate: 2.7.6-1 Version table: 2.7.6-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.5-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.4-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.3-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.5.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.2.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packagesund...
rm influx*herke@raspberrypi:~ $ rm influx* rm: cannot remove 'influx*': No such file or directoryund
sudo apt updatesagt
herke@raspberrypi:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://apt.grafana.com stable InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Get:6 https://packages.grafana.com/oss/deb stable InRelease [7,660 B] Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Hit:8 http://archive.raspberrypi.com/debian bookworm InRelease Err:6 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Reading package lists... Done W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. -
sudo apt update apt policy influx*sagt jetzt:
herke@raspberrypi:~ $ sudo apt update apt policy influx* Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease Hit:4 http://deb.debian.org/debian bookworm-updates InRelease Get:5 https://packages.grafana.com/oss/deb stable InRelease [7,660 B] Hit:6 https://repos.influxdata.com/debian stable InRelease Hit:7 https://apt.grafana.com stable InRelease Hit:8 https://deb.nodesource.com/node_18.x nodistro InRelease Err:5 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Reading package lists... Done W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. influxdb2-cli: Installed: (none) Candidate: 2.7.5-1 Version table: 2.7.5-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.3-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.1-2 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.5.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages influxdb-client: Installed: (none) Candidate: 1.6.7~rc0-1+b13 Version table: 1.6.7~rc0-1+b13 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages influxdb-dev: Installed: (none) Candidate: (none) Version table: influxdb2-client: Installed: (none) Candidate: 2.7.1-1 Version table: 2.7.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages influxdb: Installed: 1.6.7~rc0-1+b13 Candidate: 1.8.10-1 Version table: 1.8.10-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages *** 1.6.7~rc0-1+b13 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 100 /var/lib/dpkg/status influxctl: Installed: (none) Candidate: 2.8.0 Version table: 2.8.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.5.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.4 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.3 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.2 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.2.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.1.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.4 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.3 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.2 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.0.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages influxdb2: Installed: (none) Candidate: 2.7.6-1 Version table: 2.7.6-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.5-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.4-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.3-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.7.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.6.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.5.1-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.4.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.3.0-1 500 500 https://repos.influxdata.com/debian stable/main arm64 Packages 2.2.0 500 500 https://repos.influxdata.com/debian stable/main arm64 Packagesund...
rm influx*herke@raspberrypi:~ $ rm influx* rm: cannot remove 'influx*': No such file or directoryund
sudo apt updatesagt
herke@raspberrypi:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://apt.grafana.com stable InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Get:6 https://packages.grafana.com/oss/deb stable InRelease [7,660 B] Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Hit:8 http://archive.raspberrypi.com/debian bookworm InRelease Err:6 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Reading package lists... Done W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.@bill-s-preston
Bei grafana hast du einen alten Eintrag irgendwo.
Such die Datei:grep -Rnw /etc/apt/ -e packages.grafanaDann dort die Zeile, die den Text
packages.grafana.comenthält löschen.
Die Zeile mitapt.grafana.comist die richtige und muss bleiben. -
@bill-s-preston
Bei grafana hast du einen alten Eintrag irgendwo.
Such die Datei:grep -Rnw /etc/apt/ -e packages.grafanaDann dort die Zeile, die den Text
packages.grafana.comenthält löschen.
Die Zeile mitapt.grafana.comist die richtige und muss bleiben.@thomas-braun said in Influxdb restore geht nicht.:
@bill-s-preston
Bei grafana hast du einen alten Eintrag irgendwo.
Such die Datei:grep -Rnw /etc/apt/ -e packages.grafanaDann dort die Zeile, die den Text
packages.grafana.comenthält löschen.
Die Zeile mitapt.grafana.comist die richtige und muss bleiben.herke@raspberrypi:~ $ grep -Rnw /etc/apt/ -e packages.grafana /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm. list:1:deb https://packages.grafana.com/oss/deb stable main /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm. list:2:# deb-src https://packages.grafana.com/oss/deb stable main herke@raspberrypi:~ $ist nicht so richtig ersichtlich was ich löschen muss.
außerdem wie lösche ich die Zeilen. Hier wird es doch nur gelistet. -
@thomas-braun said in Influxdb restore geht nicht.:
@bill-s-preston
Bei grafana hast du einen alten Eintrag irgendwo.
Such die Datei:grep -Rnw /etc/apt/ -e packages.grafanaDann dort die Zeile, die den Text
packages.grafana.comenthält löschen.
Die Zeile mitapt.grafana.comist die richtige und muss bleiben.herke@raspberrypi:~ $ grep -Rnw /etc/apt/ -e packages.grafana /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm. list:1:deb https://packages.grafana.com/oss/deb stable main /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm. list:2:# deb-src https://packages.grafana.com/oss/deb stable main herke@raspberrypi:~ $ist nicht so richtig ersichtlich was ich löschen muss.
außerdem wie lösche ich die Zeilen. Hier wird es doch nur gelistet.@bill-s-preston sagte in Influxdb restore geht nicht.:
archive_uri-https_packages_grafana_com_oss_deb-bookworm
Lösch die komische Datei komplett. Wo haste die überhaupt her?
sudo rm /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm.list sudo apt update sudo apt full-upgrade -
@bill-s-preston sagte in Influxdb restore geht nicht.:
archive_uri-https_packages_grafana_com_oss_deb-bookworm
Lösch die komische Datei komplett. Wo haste die überhaupt her?
sudo rm /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm.list sudo apt update sudo apt full-upgradeunter
grep -Rnw /etc/apt/ -e packages.grafanawird nun nichts mehr angezeigt.
und
herke@raspberrypi:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-04T18:09:02.252026Z info InfluxDB starting {"log_id": "0oyCZoAl000", "versi on": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"} 2024-05-04T18:09:02.252066Z info Go runtime {"log_id": "0oyCZoAl000", "version": "go 1.13.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in usesieht nun auch gut aus oder?
-
unter
grep -Rnw /etc/apt/ -e packages.grafanawird nun nichts mehr angezeigt.
und
herke@raspberrypi:~ $ influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2024-05-04T18:09:02.252026Z info InfluxDB starting {"log_id": "0oyCZoAl000", "versi on": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"} 2024-05-04T18:09:02.252066Z info Go runtime {"log_id": "0oyCZoAl000", "version": "go 1.13.8", "maxprocs": 4} run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in usesieht nun auch gut aus oder?
@bill-s-preston sagte in Influxdb restore geht nicht.:
wird nun nichts mehr angezeigt.
Das ist richtig, die Datei hast du ja auch gelöscht.
Hast du jetzt grafana wie auch influxdb auf der Kiste?
sudo apt update sudo apt install grafana influxdb -
@bill-s-preston sagte in Influxdb restore geht nicht.:
wird nun nichts mehr angezeigt.
Das ist richtig, die Datei hast du ja auch gelöscht.
Hast du jetzt grafana wie auch influxdb auf der Kiste?
sudo apt update sudo apt install grafana influxdb@thomas-braun said in Influxdb restore geht nicht.:
sudo apt update sudo apt install grafana influxdb
ja. komme nun in die shell...
herke@raspberrypi:~ $ influx Connected to http://localhost:8086 version 1.6.7~rc0 InfluxDB shell version: 1.8.10 >Kann ich jetzt einfach via Backitup ein Restore drauf packen?