Troubleshooting


Grafana KEY Error

Err:13 https://packages.grafana.com/oss/deb stable InRelease
The following signatures couldn't be verified because the public key is not available:

Lösung:

mkdir -p /etc/apt/keyrings/
$ wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor > /etc/apt/keyrings/grafana.gpg
$ echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list

oder verschieben (je nach dem welches System)

mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/

Update Buster / Bullseye

lsb_release -a
sed -i 's/buster/bullseye/g' /etc/apt/sources.list
sed -i -e 's/buster/bullseye/g' /etc/apt/sources.list.d/*.list
apt update
apt dist-upgrade

Update Bullseye/Bookworm

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list

NFS Server Pakete installieren

apt install nfs-common && apt install rpcbind

Boot Firmware Update Fehler

apt -y purge rpi-eeprom raspi-firmware
cd /tmp
curl -fo package.deb 'https://archive.raspberrypi.org/debian/pool/main/r/rpi-eeprom/rpi-eeprom_20.1-1_all.deb'
apt install ./package.deb
rm package.deb
apt-mark hold rpi-eeprom

NodeJS Updates

curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
apt-get install -y nodejs

Chromium Sperre aufheben nach Wechsel vom Hostname

rm -rf ~/.config/chromium/Singleton*

Absoluten Pfad ermitteln

<?php echo $_SERVER["DOCUMENT_ROOT"] ?>