NEWS
[influxDB] nach Rechnerumzug immer wieder ECONNREFUSED
-
@lukas8519
Sorrysystemctl status influxdb
Fur influx ist das falsche Repo aktiv. Stretch ist falsch
-
pi@raspberrypi:~ $ systemctl status influxdb ● influxdb.service - InfluxDB is an open-source, distributed, time series databa Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: Active: activating (start) since Sun 2021-11-21 21:59:59 CET; 3s ago Docs: https://docs.influxdata.com/influxdb/ Cntrl PID: 31988 (influxd-systemd) Tasks: 13 (limit: 4915) CGroup: /system.slice/influxdb.service ├─31988 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start. ├─31989 /usr/bin/influxd -config /etc/influxdb/influxdb.conf └─32040 sleep 1 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 Nov 21 21:59:59 raspberrypi influxd-systemd-start.sh[31988]: ts=2021-11-21T20:59 lines 1-21/21 (END)
-
Erstmal deine Installationsquellen korrigieren.
-
@lukas8519 sagte in [influxDB] nach Rechnerumzug immer wieder ECONNREFUSED:
activating
aktiviert läuft aber nicht
-
Fur influx ist das falsche Repo aktiv. Stretch ist falsch
Erstmal deine Installationsquellen korrigieren.
klingt gut! Leider weiß ich nicht wie ...
-
https://repos.influxdata.com/debian stretch/stable
Da muss buster statt stretch rein.
Dürfte in der /etc/apt/sources.list.d/influxdb.list drin stehen. -
pi@raspberrypi:~ $ https://repos.influxdata.com/debian stretch/stable -bash: https://repos.influxdata.com/debian: No such file or directory
-
@lukas8519 deine sources.list anpassen
machs sowget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - source /etc/os-release echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
-
pi@raspberrypi:~ $ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - OK pi@raspberrypi:~ $ source /etc/os-release pi@raspberrypi:~ $ echo "deb https://repos.influxdata.com/buster $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list deb https://repos.influxdata.com/buster buster stable
-
sudo apt update sudo apt install --reinstall influxdb
-
@thomas-braun
habe ich:pi@raspberrypi:~ $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:3 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB] Get:4 https://deb.nodesource.com/node_12.x buster InRelease [4,584 B] Ign:5 https://repos.influxdata.com/buster buster InRelease Get:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Err:7 https://repos.influxdata.com/buster buster Release 404 Not Found [IP: 2600:9000:224a:fa00:7:7790:e740:93a1 443] Get:8 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB] Get:9 https://packages.grafana.com/oss/deb stable/main armhf Packages [29.8 kB] Get:10 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58.8 kB] Get:11 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [104 kB] Get:12 https://deb.nodesource.com/node_12.x buster/main armhf Packages [777 B] Reading package lists... Done E: The repository 'https://repos.influxdata.com/buster buster Release' does not have a Release file. 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: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable' pi@raspberrypi:~ $ sudo apt install --reinstall influxdb Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of influxdb is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded. pi@raspberrypi:~ $
-
@lukas8519
Die /etc/apt/sources.list.d/influxdb.list ist noch falsch.
Zeig mal was da jetzt drin steht.cat /etc/apt/sources.list.d/influxdb.list
-
pi@raspberrypi:~ $ cat /etc/apt/sources.list.d/influxdb.list deb https://repos.influxdata.com/buster buster stable
-
@lukas8519
Ersetze das erste buster durch debian -
ehm... so war das nicht gemeint oder?
pi@raspberrypi:~ $ cat /etc/apt/sources.list.d/influxdb.list deb https://repos.influxdata.com/buster buster stable pi@raspberrypi:~ $ deb https://repos.influxdata.com/debian -bash: deb: command not found
-
@lukas8519
?
Mit einem Editor wie z.B. nano macht man dasnano /etc/apt/sources.list.d/influxdb.list
-
@thomas-braun
sorry ich kenne mich wirklich kaum aus und bin sehr dankbar für eure Hilfe!File Name to Write: /etc/apt/sources.list.d/influxdb.list ^G Get Help M-D DOS Format M-A Append M-B Backup File ^C Cancel M-M Mac Format M-P Prepend ^T To Files
habe es geändet. Speiche ich das?
-
Mit Strg-X, dann noch bestätigen.
-
Error writing /etc/apt/sources.list.d/influxdb.listcode_text: Permission denied ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^X Exit ^R Read File ^\ Replace ^U Uncut Text^T To Spell ^_ Go To Line
-
@thomas-braun hatt vorhin einen Denkfehler, mein Fehler, daher das Buster zuviel, habs oben korrigiert
@lukas8519 wenn ausgebessert dann nochmal
sudo apt update sudo apt install --reinstall influxdb sudo systemctl unmask influxdb.service sudo systemctl start influxdb.service sudo systemctl enable influxdb.service