NEWS
neu aufsetzten
-
Hallo Freunde,
Ich möchtwe mein Systhem neu aufsetzten da auch Grafana drauf läuft will ich natürlich erst Infulxdb Grafana installieren und dann den Iobroker. Nun fängt das Dilemma an. Ich scheiter schon an den ersten Befehlen.andy@iodebian:~$ sudo apt-get update && sudo apt-get install influxdb [sudo] Passwort für andy: OK:1 http://deb.debian.org/debian bullseye InRelease OK:2 http://deb.debian.org/debian bullseye-updates InRelease OK:3 http://security.debian.org/debian-security bullseye-security InRelease Holen:4 https://repos.influxdata.com/debian stable InRelease [4.668 B] Fehl:4 https://repos.influxdata.com/debian stable InRelease Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 684A14CF2582E0C5 Paketlisten werden gelesen… Fertig W: GPG-Fehler: https://repos.influxdata.com/debian stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 684A14CF2582E0C5 E: Das Depot »https://repos.influxdata.com/debian stable InRelease« ist nicht signiert. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
-
-
@ostseereiter sagte in neu aufsetzten:
natürlich erst Infulxdb Grafana installieren
ist 3rd Party Software, keine ioBroker Bestandteile.
daher nach offTopic verschoben -
andy@iodebian:~$ wget -q -O - https://repos.influxdata.com/influxdb.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdb.gpg [sudo] Passwort für andy: sudo: gpg: Befehl nicht gefunden
-
@ostseereiter
Dann halt gpg nachinstallieren.
Z. B. sosudo apt install gpg
-
@thomas-braun
das habe ich gemacht dann die Befehle eingegeben:andy@iodebian:~$ wget -q -O - https://repos.influxdata.com/influxdb.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdb.gpg andy@iodebian:~$ export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) andy@iodebian:~$ echo "deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
Und nun wie gehts nun weiter.
-
Dann ist das Repo / die Quelle nun angelegt und du kannst Software-Pakete daraus schöpfen.
sudo apt update apt policy influxdb*
Sollte dir verschiedene Pakete anbieten. Welche Version du nun davon haben willst musst du entscheiden.
-
@thomas-braun sagte in neu aufsetzten:
apt policy influxdb*
andy@iodebian:~$ sudo apt update OK:1 http://deb.debian.org/debian bullseye InRelease OK:2 http://security.debian.org/debian-security bullseye-security InRelease OK:3 http://deb.debian.org/debian bullseye-updates InRelease Holen:4 https://repos.influxdata.com/debian stable InRelease [4.668 B] OK:5 https://repos.influxdata.com/debian bullseye InRelease Fehl:4 https://repos.influxdata.com/debian stable InRelease Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 684A14CF2582E0C5 Paketlisten werden gelesen… Fertig W: GPG-Fehler: https://repos.influxdata.com/debian stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 684A14CF2582E0C5 E: Das Depot »https://repos.influxdata.com/debian stable InRelease« ist nicht signiert. N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert. N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). andy@iodebian:~$ apt policy influxdb* N: Paket influxdb.key kann nicht gefunden werden. N: Mittels des Musters »influxdb.key« konnte kein Paket gefunden werden. N: Paket influxdb.key.1 kann nicht gefunden werden. N: Mittels des Musters »influxdb.key.1« konnte kein Paket gefunden werden. N: Paket influxdb.key.2 kann nicht gefunden werden. N: Mittels des Musters »influxdb.key.2« konnte kein Paket gefunden werden. N: Paket influxdb.key.3 kann nicht gefunden werden. N: Mittels des Musters »influxdb.key.3« konnte kein Paket gefunden werden. andy@iodebian:~$
-
@ostseereiter sagte in neu aufsetzten:
influxdb.key
Da liegt noch Müll in deinem Home herum...
rm influxdb.key*
Und vermutlich hast du jetzt zwei keys im System, davon einer veraltet...
-
@thomas-braun
das waren sogar 3 habe alle entfernt -
@ostseereiter sagte in neu aufsetzten:
das waren sogar 3 habe alle entfernt
Das hatte ich gesehen. Deswegen auch das Sternchen im Befehl. Der hätte alle drei gepackt.
-
andy@iodebian:~$ andy@iodebian:~$ wget -q -O - https://repos.influxdata.com/influxdb.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdb.gpg -bash: andy@iodebian:~$: Kommando nicht gefunden. Datei '/usr/share/keyrings/influxdb.gpg' existiert bereits. Überschreiben (j/N)? j gpg: Keine gültigen OpenPGP-Daten gefunden.
-
Kann ich auf meinem System gerade nicht nachstellen.
-
@thomas-braun
shitt was macht man blos? dnn iobroker ohne Grafana aufsetzten. ist eigentlich blöd aber falls es nicht anders geht. -
Lösch mal die influxdb.list (oder wie die auch genau heißt) aus
/ect/apt/sources.list.d/
raus.
Und dann auch den key aus deinem ersten Installationsversuch. Wie auch immer das angefangen wurde. -
andy@iodebian:~$ /ect/apt/sources.list.d/ -bash: /ect/apt/sources.list.d/: Datei oder Verzeichnis nicht gefunden
ich mache es anders ich alles noch mal neu aufspielen. wenn ich wieder einen freien Tag habe und dann melde ich mich gleich mit dem blanken System.
Ist glaube besser
LG -
@ostseereiter sagte in neu aufsetzten:
/etc/apt/sources.list.d/
Das ist nur der Pfad. Irgendwas musst du damit machen. Zum Beispiel mit 'cd' für 'change directory' dahin wechseln und dann schauen was da drin liegt:
cd /ect/apt/sources.list.d/ ls -lA
€dit: Typo korrigiert.
-
andy@iodebian:~$ cd /ect/apt/sources.list.d/ -bash: cd: /ect/apt/sources.list.d/: Datei oder Verzeichnis nicht gefunden
-
/etc lautet das Verzeichnis.Typo.
-
@thomas-braun
bis /etc komme ich aber dann nicht weiterandy@iodebian:~$ cd /etc andy@iodebian:/etc$ ls -la insgesamt 696 drwxr-xr-x 68 root root 4096 9. Nov 14:07 . drwxr-xr-x 18 root root 4096 9. Nov 10:46 .. -rw-r--r-- 1 root root 2981 9. Nov 10:42 adduser.conf -rw-r--r-- 1 root root 44 9. Nov 10:53 adjtime drwxr-xr-x 2 root root 4096 9. Nov 13:03 alternatives drwxr-xr-x 2 root root 4096 9. Nov 10:43 apparmor drwxr-xr-x 7 root root 4096 9. Nov 10:50 apparmor.d drwxr-xr-x 8 root root 4096 9. Nov 10:53 apt -rw-r--r-- 1 root root 1994 27. Mär 2022 bash.bashrc -rw-r--r-- 1 root root 45 24. Jan 2020 bash_completion -rw-r--r-- 1 root root 367 29. Jul 2019 bindresvport.blacklist drwxr-xr-x 2 root root 4096 7. Aug 15:25 binfmt.d drwxr-xr-x 3 root root 4096 9. Nov 10:49 ca-certificates -rw-r--r-- 1 root root 5662 9. Nov 10:49 ca-certificates.conf drwxr-xr-x 2 root root 4096 9. Nov 10:44 console-setup drwxr-xr-x 2 root root 4096 9. Nov 10:47 cron.d drwxr-xr-x 2 root root 4096 9. Nov 10:50 cron.daily drwxr-xr-x 2 root root 4096 9. Nov 10:42 cron.hourly drwxr-xr-x 2 root root 4096 9. Nov 10:42 cron.monthly -rw-r--r-- 1 root root 1042 22. Feb 2021 crontab drwxr-xr-x 2 root root 4096 9. Nov 10:50 cron.weekly drwxr-xr-x 4 root root 4096 9. Nov 10:48 dbus-1 -rw-r--r-- 1 root root 2969 10. Jun 2021 debconf.conf -rw-r--r-- 1 root root 5 3. Sep 14:10 debian_version drwxr-xr-x 3 root root 4096 9. Nov 10:52 default -rw-r--r-- 1 root root 604 26. Jun 2016 deluser.conf drwxr-xr-x 4 root root 4096 9. Nov 10:46 dhcp drwxr-xr-x 2 root root 4096 9. Nov 10:52 dictionaries-common drwxr-xr-x 2 root root 4096 9. Nov 10:47 discover.conf.d -rw-r--r-- 1 root root 346 14. Jan 2018 discover-modprobe.conf drwxr-xr-x 4 root root 4096 9. Nov 10:42 dpkg -rw-r--r-- 1 root root 685 7. Jun 2021 e2scrub.conf drwxr-xr-x 3 root root 4096 9. Nov 10:49 emacs -rw-r--r-- 1 root root 0 9. Nov 10:42 environment -rw-r--r-- 1 root root 1816 27. Dez 2019 ethertypes -rw-r--r-- 1 root root 851 9. Nov 10:41 fstab -rw-r--r-- 1 root root 2584 1. Feb 2020 gai.conf drwxr-xr-x 2 root root 4096 9. Nov 10:49 groff -rw-r--r-- 1 root root 704 9. Nov 11:01 group -rw-r--r-- 1 root root 700 9. Nov 10:53 group- drwxr-xr-x 2 root root 4096 9. Nov 10:52 grub.d -rw-r----- 1 root shadow 593 9. Nov 11:01 gshadow -rw-r----- 1 root shadow 589 9. Nov 10:53 gshadow- drwxr-xr-x 3 root root 4096 9. Nov 10:41 gss -rw-r--r-- 1 root root 9 7. Aug 2006 host.conf -rw-r--r-- 1 root root 9 9. Nov 10:42 hostname -rw-r--r-- 1 root root 188 9. Nov 10:42 hosts -rw-r--r-- 1 root root 411 9. Nov 10:49 hosts.allow -rw-r--r-- 1 root root 711 9. Nov 10:49 hosts.deny drwxr-xr-x 2 root root 4096 9. Nov 11:00 init.d drwxr-xr-x 5 root root 4096 9. Nov 10:43 initramfs-tools -rw-r--r-- 1 root root 1748 8. Dez 2020 inputrc drwxr-xr-x 4 root root 4096 9. Nov 10:42 iproute2 -rw-r--r-- 1 root root 27 3. Sep 14:10 issue -rw-r--r-- 1 root root 20 3. Sep 14:10 issue.net drwxr-xr-x 5 root root 4096 9. Nov 10:43 kernel -rw-r--r-- 1 root root 144 9. Nov 10:52 kernel-img.conf drwxr-xr-x 2 root root 4096 9. Nov 10:49 ldap -rw-r--r-- 1 root root 14205 9. Nov 13:03 ld.so.cache -rw-r--r-- 1 root root 34 29. Jul 2019 ld.so.conf drwxr-xr-x 2 root root 4096 9. Nov 10:46 ld.so.conf.d -rw-r--r-- 1 root root 191 6. Jan 2021 libaudit.conf -rw-r--r-- 1 root root 2996 26. Aug 23:32 locale.alias -rw-r--r-- 1 root root 9391 9. Nov 10:46 locale.gen lrwxrwxrwx 1 root root 33 9. Nov 10:46 localtime -> /usr/share/zoneinfo/Europe/Berlin drwxr-xr-x 3 root root 4096 9. Nov 10:42 logcheck -rw-r--r-- 1 root root 10477 7. Feb 2020 login.defs -rw-r--r-- 1 root root 494 30. Jan 2022 logrotate.conf drwxr-xr-x 2 root root 4096 9. Nov 10:42 logrotate.d -r--r--r-- 1 root root 33 9. Nov 10:42 machine-id -rw-r--r-- 1 root root 111 19. Nov 2020 magic -rw-r--r-- 1 root root 111 19. Nov 2020 magic.mime -rw-r--r-- 1 root root 3310 9. Nov 10:51 mailcap -rw-r--r-- 1 root root 449 25. Feb 2021 mailcap.order -rw-r--r-- 1 root root 5215 19. Feb 2021 manpath.config -rw-r--r-- 1 root root 70481 15. Jan 2021 mime.types -rw-r--r-- 1 root root 812 7. Jun 2021 mke2fs.conf drwxr-xr-x 2 root root 4096 8. Jan 2021 modprobe.d -rw-r--r-- 1 root root 195 9. Nov 10:42 modules drwxr-xr-x 2 root root 4096 9. Nov 10:42 modules-load.d -rw-r--r-- 1 root root 286 3. Sep 14:10 motd lrwxrwxrwx 1 root root 19 9. Nov 10:53 mtab -> ../proc/self/mounts -rw-r--r-- 1 root root 10056 22. Nov 2021 nanorc -rw-r--r-- 1 root root 767 1. Aug 16:26 netconfig drwxr-xr-x 7 root root 4096 9. Nov 10:42 network -rw-r--r-- 1 root root 60 9. Nov 10:42 networks -rwxr-xr-x 1 root root 228 20. Jul 2021 nftables.conf -rw-r--r-- 1 root root 510 9. Nov 10:49 nsswitch.conf drwxr-xr-x 2 root root 4096 9. Nov 10:41 opt lrwxrwxrwx 1 root root 21 3. Sep 14:10 os-release -> ../usr/lib/os-release -rw-r--r-- 1 root root 552 30. Jan 2021 pam.conf drwxr-xr-x 2 root root 4096 9. Nov 11:00 pam.d -rw-r--r-- 1 root root 1388 9. Nov 10:53 passwd -rw-r--r-- 1 root root 1321 9. Nov 10:53 passwd- drwxr-xr-x 3 root root 4096 9. Nov 10:48 perl -rw-r--r-- 1 root root 769 10. Apr 2021 profile drwxr-xr-x 2 root root 4096 9. Nov 10:49 profile.d -rw-r--r-- 1 root root 2932 1. Apr 2013 protocols -rw------- 1 root root 0 9. Nov 10:42 .pwd.lock drwxr-xr-x 2 root root 4096 9. Nov 10:50 python3 drwxr-xr-x 2 root root 4096 9. Nov 10:49 python3.9 drwxr-xr-x 2 root root 4096 9. Nov 10:42 rc0.d drwxr-xr-x 2 root root 4096 9. Nov 10:42 rc1.d drwxr-xr-x 2 root root 4096 9. Nov 11:00 rc2.d drwxr-xr-x 2 root root 4096 9. Nov 11:00 rc3.d drwxr-xr-x 2 root root 4096 9. Nov 11:00 rc4.d drwxr-xr-x 2 root root 4096 9. Nov 11:00 rc5.d drwxr-xr-x 2 root root 4096 9. Nov 10:42 rc6.d drwxr-xr-x 2 root root 4096 9. Nov 10:44 rcS.d -rw-r--r-- 1 root root 3281 6. Sep 2021 reportbug.conf -rw-r--r-- 1 root root 59 9. Nov 14:07 resolv.conf lrwxrwxrwx 1 root root 13 17. Feb 2021 rmt -> /usr/sbin/rmt -rw-r--r-- 1 root root 887 1. Apr 2013 rpc -rw-r--r-- 1 root root 1974 20. Mai 23:05 rsyslog.conf drwxr-xr-x 2 root root 4096 20. Mai 23:05 rsyslog.d drwxr-xr-x 3 root root 4096 9. Nov 10:49 runit drwxr-xr-x 4 root root 4096 9. Nov 10:42 security drwxr-xr-x 2 root root 4096 9. Nov 10:42 selinux -rw-r--r-- 1 root root 12813 27. Mär 2021 services -rw-r----- 1 root shadow 873 9. Nov 10:53 shadow -rw-r----- 1 root shadow 841 9. Nov 10:53 shadow- -rw-r--r-- 1 root root 116 9. Nov 10:42 shells drwxr-xr-x 2 root root 4096 9. Nov 10:42 skel drwxr-xr-x 4 root root 4096 9. Nov 10:49 ssh drwxr-xr-x 4 root root 4096 9. Nov 10:49 ssl -rw-r--r-- 1 root root 18 9. Nov 10:53 subgid -rw-r--r-- 1 root root 0 9. Nov 10:42 subgid- -rw-r--r-- 1 root root 18 9. Nov 10:53 subuid -rw-r--r-- 1 root root 0 9. Nov 10:42 subuid- -rw-r--r-- 1 root root 3975 27. Feb 2021 sudo.conf -r--r----- 1 root root 694 9. Nov 11:10 sudoers drwxr-xr-x 2 root root 4096 9. Nov 11:00 sudoers.d -rw-r--r-- 1 root root 6169 27. Feb 2021 sudo_logsrvd.conf drwxr-xr-x 3 root root 4096 9. Nov 10:49 sv -rw-r--r-- 1 root root 2355 6. Apr 2021 sysctl.conf drwxr-xr-x 2 root root 4096 9. Nov 10:42 sysctl.d drwxr-xr-x 5 root root 4096 9. Nov 10:49 systemd drwxr-xr-x 2 root root 4096 9. Nov 10:42 terminfo -rw-r--r-- 1 root root 14 9. Nov 10:46 timezone drwxr-xr-x 2 root root 4096 7. Aug 15:25 tmpfiles.d -rw-r--r-- 1 root root 1260 16. Jun 2020 ucf.conf drwxr-xr-x 4 root root 4096 9. Nov 10:42 udev drwxr-xr-x 3 root root 4096 9. Nov 10:49 ufw drwxr-xr-x 2 root root 4096 9. Nov 10:42 update-motd.d drwxr-xr-x 2 root root 4096 9. Nov 10:42 vim -rw-r--r-- 1 root root 4942 23. Nov 2021 wgetrc drwxr-xr-x 4 root root 4096 9. Nov 13:03 X11 -rw-r--r-- 1 root root 642 24. Dez 2020 xattr.conf drwxr-xr-x 3 root root 4096 9. Nov 10:42 xdg andy@iodebian:/etc$