NEWS
Grafana Installation - Fehler grafana-rpi:armhf
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
apt policy grafana*
iobroker@iobroker:~ $ sudo apt purge grafana-rpi Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf libpng16-16:armhf libuuid1:armhf zlib1g:armhf Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: grafana-rpi:armhf* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 258 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 54954 files and directories currently installed.) Removing grafana-rpi:armhf (9.1.4) ... (Reading database ... 47955 files and directories currently installed.) Purging configuration files for grafana-rpi:armhf (9.1.4) ... dpkg: warning: while removing grafana-rpi:armhf, directory '/etc/grafana' not empty so not removed dpkg: warning: while removing grafana-rpi:armhf, directory '/usr/lib/systemd/system' not empty so not removed iobroker@iobroker:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Hit:5 https://packages.grafana.com/oss/deb stable InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:7 https://repos.influxdata.com/debian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 iobroker@iobroker:~ $ apt policy grafana* N: Unable to locate package grafana_9.1.4_armhf.deb N: Unable to locate package grafana-rpi_7.5.0_armhf.deb N: Unable to locate package grafana-rpi_9.1.4_armhf.deb iobroker@iobroker:~ $
sollten die Fehler jetzt behoben sein?
kann ich die Installation mitsudo apt install grafana
jetzt wieder starten?
-
@heli-wolf
Die mehrfach vorhandenen Einträge/Zeilen in der
/etc/apt/sources.list.d/grafana.list
löschen.
Wie lösche ich diese Dateien.
Über Filezilla habe ich keine Berechtigung Dateien zu löschen. -
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
sollten die Fehler jetzt behoben sein?
Nein, da hast du ganz schon rumgeaast...
Da ist einiges schief.Die mehrfach vorhandenen Einträge/Zeilen in der
/etc/apt/sources.list.d/grafana.list
löschen.
Da sollte nurdeb [signed-by=/usr/share/keyrings/grafana.gpg] https://packages.grafana.com/oss/deb stable main
drin stehen.
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
Über Filezilla habe ich keine Berechtigung Dateien zu löschen.
Nicht die Datei löschen, die doppelten Zeilen darin.
Geht mit einem Editor, nano z. B.sudo nano /etc/apt/sources.list.d/grafana.list
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
sudo nano /etc/apt/sources.list.d/grafana.list
Die Grafana.list habe ich mit einem Editor angesehen und sieht folgend aus:
deb https://packages.grafana.com/oss/deb stable main
deb https://packages.grafana.com/oss/deb stable main
deb https://packages.grafana.com/oss/deb stable main2 davon habe ich gelöscht.
-
sudo apt update
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
sudo apt update
iobroker@iobroker:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:6 https://packages.grafana.com/oss/deb stable InRelease Hit:7 https://repos.influxdata.com/debian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. iobroker@iobroker:~ $
-
apt policy grafana*
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
apt policy grafana*
iobroker@iobroker:~ $ apt policy grafana* N: Unable to locate package grafana_9.1.4_armhf.deb N: Unable to locate package grafana-rpi_7.5.0_armhf.deb N: Unable to locate package grafana-rpi_9.1.4_armhf.deb iobroker@iobroker:~ $
-
Die drei hast du mal versucht manuell zu installieren? Per
dpgk
oder wie? -
kann sein, ich habe vieles versucht.
-
apt install grafana-rpi --dry-run
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
apt install grafana-rpi --dry-run
iobroker@iobroker:~ $ apt install grafana-rpi --dry-run NOTE: This is only a simulation! apt needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: grafana-rpi:armhf 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst grafana-rpi:armhf (9.1.0 grafana stable:stable [armhf]) Conf grafana-rpi:armhf (9.1.0 grafana stable:stable [armhf]) iobroker@iobroker:~ $
-
-
iobroker@iobroker:~ $ apt install grafana --dry-run NOTE: This is only a simulation! apt needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf libpng16-16:armhf libuuid1:armhf zlib1g:armhf Use 'apt autoremove' to remove them. The following NEW packages will be installed: grafana 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst grafana (9.1.4 grafana stable:stable [arm64]) Conf grafana (9.1.4 grafana stable:stable [arm64]) iobroker@iobroker:~ $
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
sudo apt install grafana sudo apt autoremove
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
sudo apt autoremove
iobroker@iobroker:~ $ sudo apt install grafana Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf libpng16-16:armhf libuuid1:armhf zlib1g:armhf Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: grafana 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/76.8 MB of archives. After this operation, 271 MB of additional disk space will be used. (Reading database ... 47950 files and directories currently installed.) Preparing to unpack .../grafana_9.1.4_arm64.deb ... Unpacking grafana (9.1.4) ... Setting up grafana (9.1.4) ... ### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable grafana-server ### You can start grafana-server by executing sudo /bin/systemctl start grafana-server iobroker@iobroker:~ $ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf libpng16-16:armhf libuuid1:armhf zlib1g:armhf 0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded. After this operation, 2,598 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 54954 files and directories currently installed.) Removing libfontconfig1:armhf (2.13.1-4.2) ... Removing libfreetype6:armhf (2.10.4+dfsg-1+deb11u1) ... Removing libbrotli1:armhf (1.0.9-2+b2) ... Removing libexpat1:armhf (2.2.10-2+deb11u3) ... Removing libpng16-16:armhf (1.6.37-3) ... Removing libuuid1:armhf (2.36.1-8+deb11u1) ... Removing zlib1g:armhf (1:1.2.11.dfsg-2+deb11u2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u4) ... iobroker@iobroker:~ $
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
systemctl status grafana-server.service sudo systemctl daemon-reload sudo systemctl enable grafana-server
-
nach dem ersten Befehl
systemctl status grafana-server.service
kam folgendes:Warning: The unit file, source configuration file or drop-ins of grafana-server> ● grafana-server.service - Grafana instance Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendo> Active: failed (Result: signal) since Mon 2022-09-12 19:52:17 CEST; 1h 27m> Docs: http://docs.grafana.org Process: 15830 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --p> Main PID: 15830 (code=killed, signal=SYS) CPU: 68ms Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Scheduled restart > Sep 12 19:52:17 iobroker systemd[1]: Stopped Grafana instance. Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Start request repe> Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Failed with result> Sep 12 19:52:17 iobroker systemd[1]: Failed to start Grafana instance. ~ ~ ~ ~ ~ ~ ~ ~ ~ iobroker@iobroker:~ $
-
rest lief ohne Probleme:
iobroker@iobroker:~ $ sudo systemctl daemon-reload [sudo] password for iobroker: iobroker@iobroker:~ $ sudo systemctl enable grafana-server Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable grafana-server iobroker@iobroker:~ $