Koitin asennella InfluxDB:tä ja Grafanaa näillä ohjeilla. Hyppäsin tuohon ohjeeseen kiinni vasta InfluxDB:n asennuksesta, mutta pohjalla tuo sama Raspberry Pi Imagerin puhdas asennus (pl. ei legacy, vaan täysi oletuspaketti).
OK-askeleet (listaan nyt nämä jos vaikka joku olisi oleellinen):
Ongelma:
Hyppäys ohjeeseen Linux Package Signing Key Rotation | InfluxData
Mutta ei mene läpi vieläkään:
Mikähän tässä oikein mättää?
edit:
Mikä mätti jäi pimentoon, mutta pääsin ongelmasta ohi:
Setting up InfluxDB and Grafana on the Raspberry Pi 4
A veritable smorgasbord of content
sandyjmacdonald.github.io
OK-askeleet (listaan nyt nämä jos vaikka joku olisi oleellinen):
Koodi:
sudo apt update && sudo apt upgrade -y
wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor | sudo tee /usr/share/keyrings/influx-archive-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/influx-archive-keyring.gpg] https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
Ongelma:
Koodi:
pi@raspberrypi:~ $ sudo apt update && sudo apt install -y influxdb
Hit:1 https://repos.influxdata.com/debian stable InRelease
Get:2 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Err:2 https://repos.influxdata.com/debian bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
Reading package lists... Done
W: GPG error: https://repos.influxdata.com/debian bullseye 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 bullseye 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.
Hyppäys ohjeeseen Linux Package Signing Key Rotation | InfluxData
Koodi:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key
cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
sudo rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
Mutta ei mene läpi vieläkään:
Koodi:
pi@raspberrypi:~ $ sudo apt-get update
Hit:1 https://repos.influxdata.com/debian stable InRelease
Get:2 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Err:2 https://repos.influxdata.com/debian bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
Reading package lists... Done
W: GPG error: https://repos.influxdata.com/debian bullseye 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 bullseye 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.
Mikähän tässä oikein mättää?
edit:
Mikä mätti jäi pimentoon, mutta pääsin ongelmasta ohi:
Koodi:
sudo nano /etc/apt/sources.list.d/influxdb.list
muotoon:
deb [trusted=yes] https://repos.influxdata.com/debian bullseye stable
Viimeksi muokattu: