Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Allgemeine Informationen zum Nachbau und zum Forum.
PV-Monitorung / PV Überwachung

Moderator: Ulrich

dbfan75
Beiträge: 120
Registriert: Sa 2. Jul 2022, 14:25
Hat sich bedankt: 19 Mal
Danksagung erhalten: 2 Mal

Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von dbfan75 »

Hallo,

wollte gerade ein Update des Betriebssystems machen, bekomme aber eine Fehlermeldung.
Die verbaute SD-Karte hat 64GB Speicher, das sollte doch für alles reichen.
Linux solaranzeige 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64

Raspberry Pi Version 6.0.1 64Bit Basis Februar 2024 [ Bookworm ]

Software Version 6.0.1b update Februar 2024
Last login: Tue Apr 30 09:11:55 2024 from 192.168.178.xx
/usr/bin/xauth: unable to write authority file /home/pi/.Xauthority-n
CPU Temperatur 55 °C

pi@solaranzeige:~ $ sudo apt-get update && sudo apt-get upgrade
OK:1 http://deb.debian.org/debian bookworm InRelease
Holen:2 http://archive.raspberrypi.com/debian bookworm InRelease [23,6 kB]
Ign:2 http://archive.raspberrypi.com/debian bookworm InRelease
Holen:3 http://deb.debian.org/debian-security bookworm-security InRelease [48,0 kB]
Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
Fehl:1 http://deb.debian.org/debian bookworm InRelease
Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_InRelease into data and signature failed
Holen:4 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
Ign:4 http://deb.debian.org/debian bookworm-updates InRelease
OK:5 https://repos.influxdata.com/debian stable InRelease
Fehl:5 https://repos.influxdata.com/debian stable InRelease
Splitting up /var/lib/apt/lists/repos.influxdata.com_debian_dists_stable_InRelease into data and signature failed
OK:6 https://packages.sury.org/php bookworm InRelease
Holen:7 https://apt.grafana.com stable InRelease [7.661 B]
Ign:7 https://apt.grafana.com stable InRelease
Fehl:6 https://packages.sury.org/php bookworm InRelease
Splitting up /var/lib/apt/lists/packages.sury.org_php_dists_bookworm_InRelease into data and signature failed
Holen:2 http://archive.raspberrypi.com/debian bookworm InRelease [23,6 kB]
Ign:2 http://archive.raspberrypi.com/debian bookworm InRelease
Holen:3 http://deb.debian.org/debian-security bookworm-security InRelease [48,0 kB]
Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
Holen:4 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
Ign:4 http://deb.debian.org/debian bookworm-updates InRelease
Holen:7 https://apt.grafana.com stable InRelease [7.661 B]
Ign:7 https://apt.grafana.com stable InRelease
Holen:3 http://deb.debian.org/debian-security bookworm-security InRelease [48,0 kB]
Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
Holen:2 http://archive.raspberrypi.com/debian bookworm InRelease [23,6 kB]
Ign:2 http://archive.raspberrypi.com/debian bookworm InRelease
Holen:4 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
Ign:4 http://deb.debian.org/debian bookworm-updates InRelease
Holen:7 https://apt.grafana.com stable InRelease [7.661 B]
Ign:7 https://apt.grafana.com stable InRelease
Holen:3 http://deb.debian.org/debian-security bookworm-security InRelease [48,0 kB]
Fehl:3 http://deb.debian.org/debian-security bookworm-security InRelease
Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 146.75.122.132 80]
Holen:2 http://archive.raspberrypi.com/debian bookworm InRelease [23,6 kB]
Fehl:2 http://archive.raspberrypi.com/debian bookworm InRelease
Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 176.126.240.84 80]
Holen:4 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
Fehl:4 http://deb.debian.org/debian bookworm-updates InRelease
Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 146.75.122.132 80]
Holen:7 https://apt.grafana.com stable InRelease [7.661 B]
Fehl:7 https://apt.grafana.com stable InRelease
Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 151.101.194.217 443]
Paketlisten werden gelesen… Fertig
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: http://deb.debian.org/debian bookworm InRelease: Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_InRelease into data and signature failed
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repos.influxdata.com/debian stable InRelease: Splitting up /var/lib/apt/lists/repos.influxdata.com_debian_dists_stable_InRelease into data and signature failed
W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://packages.sury.org/php bookworm InRelease: Splitting up /var/lib/apt/lists/packages.sury.org_php_dists_bookworm_InRelease into data and signature failed
W: Fehlschlag beim Holen von http://deb.debian.org/debian/dists/bookworm/InRelease Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_InRelease into data and signature failed
W: Fehlschlag beim Holen von http://deb.debian.org/debian-security/d ... /InRelease Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 146.75.122.132 80]
W: Fehlschlag beim Holen von http://deb.debian.org/debian/dists/book ... /InRelease Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 146.75.122.132 80]
W: Fehlschlag beim Holen von https://apt.grafana.com/dists/stable/InRelease Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 151.101.194.217 443]
W: Fehlschlag beim Holen von https://repos.influxdata.com/debian/dis ... /InRelease Splitting up /var/lib/apt/lists/repos.influxdata.com_debian_dists_stable_InRelease into data and signature failed
W: Fehlschlag beim Holen von https://packages.sury.org/php/dists/bookworm/InRelease Splitting up /var/lib/apt/lists/packages.sury.org_php_dists_bookworm_InRelease into data and signature failed
W: Fehlschlag beim Holen von http://archive.raspberrypi.com/debian/d ... /InRelease Fehler beim Schreiben in Datei - write (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) [IP: 176.126.240.84 80]
W: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
Die folgenden Pakete sind zurückgehalten worden:
linux-headers-rpi-2712 linux-headers-rpi-v8 linux-image-rpi-2712 linux-image-rpi-v8
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
pi@solaranzeige:~ $

Benutzeravatar
mr.big
Beiträge: 524
Registriert: Mi 7. Sep 2022, 12:12
Wohnort: tief im Osten...
Hat sich bedankt: 13 Mal
Danksagung erhalten: 101 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von mr.big »

was sagt denn ein

Code: Alles auswählen

df -h
Hast du das Dateisystem erweitert

Code: Alles auswählen

sudo raspi-config
dort unter 6 und dann A1?

dbfan75
Beiträge: 120
Registriert: Sa 2. Jul 2022, 14:25
Hat sich bedankt: 19 Mal
Danksagung erhalten: 2 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von dbfan75 »

Hallo mr.big,
habe das Problem heute morgen schon mit dem Befehl.
sudo apt-get clean
lösen können.
Habe deine Aussage mit dem Dateisystem erweitern gerade durchgeführt. Hoffe das jetzt alles gut ist.
pi@solaranzeige:~ $ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
udev 314M 0 314M 0% /dev
tmpfs 91M 2,8M 88M 4% /run
/dev/mmcblk0p2 59G 7,7G 48G 14% /
tmpfs 454M 44K 454M 1% /dev/shm
tmpfs 5,0M 12K 5,0M 1% /run/lock
/dev/mmcblk0p1 510M 82M 429M 17% /boot/firmware
tmpfs 91M 36K 91M 1% /run/user/113
tmpfs 91M 32K 91M 1% /run/user/1000
pi@solaranzeige:~ $


Benutzeravatar
mr.big
Beiträge: 524
Registriert: Mi 7. Sep 2022, 12:12
Wohnort: tief im Osten...
Hat sich bedankt: 13 Mal
Danksagung erhalten: 101 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von mr.big »

/dev/mmcblk0p2 59G 7,7G 48G 14% /
Ja, jetzt schaut es gut aus hast noch 48GB auf "/" (Root Verzeichnis )frei, sollte wieder für ein paar Tage reichen :thumbup:

dbfan75
Beiträge: 120
Registriert: Sa 2. Jul 2022, 14:25
Hat sich bedankt: 19 Mal
Danksagung erhalten: 2 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von dbfan75 »

Hallo,

duch die Aktion ist mir aufgefallen wenn ich den Raspbarry neu starte alle daten verloren gehen. Sehe Screenshot.

Wie kann ich das ändern ?
Dateianhänge
nachher.png
vorher.png

Benutzeravatar
Ulrich
Administrator
Beiträge: 5582
Registriert: Sa 7. Nov 2015, 10:33
Wohnort: Essen
Hat sich bedankt: 125 Mal
Danksagung erhalten: 838 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von Ulrich »

Schaue doch einmal direkt in die Datenbank:

influx
precision rfc3339
use solaranzeige
select * from Batterie
quit


Von wann sind die ältesten Daten?
Hast du die Datenbank neu angelegt oder das setup neu gestartet?
-----------------------------------------------------
Ulrich . . . . . . . . [Projekt Administrator]

dbfan75
Beiträge: 120
Registriert: Sa 2. Jul 2022, 14:25
Hat sich bedankt: 19 Mal
Danksagung erhalten: 2 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von dbfan75 »

Ulrich hat geschrieben:
So 5. Mai 2024, 11:27
Schaue doch einmal direkt in die Datenbank:

influx
precision rfc3339
use solaranzeige
select * from Batterie
quit
Hallo Ulrich,
ich weiß nicht wie ich das nachschauen kann. kenne mich mit influx leider nicht aus. Wo finde ich das ?
Ulrich hat geschrieben:
So 5. Mai 2024, 11:27
Von wann sind die ältesten Daten?
Keine Ahnung, habe nur das was du auf dem Bild siehst.
Ulrich hat geschrieben:
So 5. Mai 2024, 11:27
Hast du die Datenbank neu angelegt oder das setup neu gestartet?
Nur Setup über Telnet mit "sudo reboot" neu gestartet.

Benutzeravatar
Ulrich
Administrator
Beiträge: 5582
Registriert: Sa 7. Nov 2015, 10:33
Wohnort: Essen
Hat sich bedankt: 125 Mal
Danksagung erhalten: 838 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von Ulrich »

Einfach die Befehle nacheinander auf der Konsole eingeben. (PUTTY)

influx
precision rfc3339
use solaranzeige
select * from Batterie
quit
-----------------------------------------------------
Ulrich . . . . . . . . [Projekt Administrator]

dbfan75
Beiträge: 120
Registriert: Sa 2. Jul 2022, 14:25
Hat sich bedankt: 19 Mal
Danksagung erhalten: 2 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von dbfan75 »

Das ist die Ausgabe.
pi@solaranzeige:~ $ influx
Connected to http://localhost:8086 version 1.8.10
InfluxDB shell version: 1.8.10
> precision rfc3339
> use solaranzeige
Using database solaranzeige
> select * from Batterie
name: Batterie
time Anzahl_Zyklen Bat_Act_SOC Bat_Seriennummer Bat_Work_Capacity BatterieStatus ExternalControl Lade_Entladeleistung Max_Charge_Limit Max_Discharge_Limit Max_SOC_Rel Min_SOC_Rel SOC Spannung Strom Temperatur
---- ------------- ----------- ---------------- ----------------- -------------- --------------- -------------------- ---------------- ------------------- ----------- ----------- --- -------- ----- ----------
2024-04-09T13:29:11Z 624 100 009a0248 8760 Normal 0 13 4182.82 4182.82 100 5 100 321.75 -0.04 21
2024-04-09T13:30:12Z 624 100 009a0248 8760 Normal 0 13 4182.82 4182.82 100 5 100 321.74 -0.04 21
2024-04-09T13:32:12Z 624 100 009a0248 8760 Normal 0 13 4182.36 4182.36 100 5 100 321.74 -0.04 21
2024-04-09T13:33:11Z 624 100 009a0248 8760 Normal 0 13 4182.36 4182.36 100 5 100 321.73 -0.04 21
2024-04-09T13:34:11Z 624 100 009a0248 8760 Normal 0 13 4182.36 4182.36 100 5 100 321.73 -0.04 21
2024-04-09T13:35:12Z 624 100 009a0248 8760 Normal 0 13 4182.36 4182.36 100 5 100 321.72 -0.04 21
2024-04-09T13:36:11Z 624 100 009a0248 8760 Normal 0 13 4182.36 4182.36 100 5 100 321.72 -0.04 21
2024-04-09T13:37:12Z 624 100 009a0248 8760 Normal 0 13 4181.9 4181.9 100 5 100 321.67 -0.04 21
2024-04-09T13:38:11Z 624 100 009a0248 8760 Normal 0 13 4181.9 4181.9 100 5 100 321.67 -0.04 21
2024-04-09T13:39:11Z 624 100 009a0248 8760 Normal 0 12 4181.45 4181.45 100 5 100 321.67 -0.04 21
2024-04-09T13:40:12Z 624 100 009a0248 8760 Normal 0 13 4181.9 4181.45 100 5 100 321.66 -0.04 21
2024-04-09T13:42:12Z 624 100 009a0248 8760 Normal 0 12 4180.99 4180.99 100 5 100 321.64 -0.04 21
2024-04-09T13:43:12Z 624 100 009a0248 8760 Normal 0 12 4180.99 4180.99 100 5 100 321.63 -0.04 21
2024-04-09T13:44:11Z 624 100 009a0248 8760 Normal 0 12 4180.99 4180.99 100 5 100 321.61 -0.04 21
2024-04-09T13:45:12Z 624 100 009a0248 8760 Normal 0 13 4180.99 4180.99 100 5 100 321.62 -0.04 21
2024-04-09T13:46:11Z 624 100 009a0248 8760 Normal 0 13 4180.99 4180.99 100 5 100 321.62 -0.04 21
2024-04-09T13:47:11Z 624 100 009a0248 8760 Normal 0 12 4180.99 4180.99 100 5 100 321.64 -0.04 21
2024-04-09T13:48:11Z 624 100 009a0248 8760 Normal 0 12 4180.53 4180.53 100 5 100 321.59 -0.04 21
2024-04-09T13:51:11Z 624 100 009a0248 8760 Normal 0 13 4180.07 4180.53 100 5 100 321.57 -0.04 21
2024-04-09T13:52:11Z 624 100 009a0248 8760 Normal 0 12 4180.07 4180.07 100 5 100 321.55 -0.04 21
2024-04-09T13:53:11Z 624 100 009a0248 8760 Normal 0 12 4180.99 4180.99 100 5 100 321.61 -0.04 21
2024-04-09T13:54:11Z 624 100 009a0248 8760 Normal 0 13 4180.07 4180.07 100 5 100 321.55 -0.04 21
2024-04-09T13:55:12Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.52 -0.04 21
2024-04-09T13:56:11Z 624 100 009a0248 8760 Normal 0 12 4179.61 4179.61 100 5 100 321.51 -0.04 21
2024-04-09T13:57:11Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.51 -0.04 21
2024-04-09T13:58:11Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.51 -0.04 21
2024-04-09T13:59:12Z 624 100 009a0248 8760 Normal 0 12 4179.61 4179.61 100 5 100 321.51 -0.04 21
2024-04-09T14:00:11Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.5 -0.04 21
2024-04-09T14:01:12Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.51 -0.04 21
2024-04-09T14:02:12Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.51 -0.04 21
2024-04-09T14:03:11Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.61 100 5 100 321.5 -0.04 21
2024-04-09T14:04:11Z 624 100 009a0248 8760 Normal 0 13 4179.15 4179.15 100 5 100 321.5 -0.04 21
2024-04-09T14:05:11Z 624 100 009a0248 8760 Normal 0 13 4179.61 4179.15 100 5 100 321.49 -0.04 21
2024-04-09T14:06:11Z 624 100 009a0248 8760 Normal 0 13 4179.15 4179.15 100 5 100 321.49 -0.04 21
2024-04-09T14:07:11Z 624 100 009a0248 8760 Normal 0 13 4179.15 4179.15 100 5 100 321.46 -0.04 21
2024-04-09T14:08:11Z 624 100 009a0248 8760 Normal 0 13 4178.7 4178.7 100 5 100 321.44 -0.04 21
2024-04-09T14:09:11Z 624 100 009a0248 8760 Normal 0 13 4179.15 4179.15 100 5 100 321.46 -0.04 21
########################

2024-05-05T11:24:11Z 643 36 009a0248 8760 Normal 0 -1851 4171.37 4171.37 100 5 36 320.95 5.85 19
2024-05-05T11:25:11Z 643 37 009a0248 8760 Normal 0 -3065 4188.78 4188.78 100 5 37 322 9.87 19
2024-05-05T11:26:11Z 643 37 009a0248 8760 Normal 0 -3178 4188.78 4188.78 100 5 37 322.29 9.76 19
2024-05-05T11:27:11Z 643 38 009a0248 8760 Normal 0 -2372 4180.53 4180.53 100 5 38 321.6 6.96 19
2024-05-05T11:28:12Z 643 38 009a0248 8760 Normal 0 -1154 4164.95 4164.95 100 5 38 320.46 3.56 19
2024-05-05T11:29:11Z 643 39 009a0248 8760 Normal 0 -2065 4175.49 4175.03 100 5 39 321.15 6.43 19
2024-05-05T11:30:11Z 643 39 009a0248 8760 Normal 0 -1867 4171.82 4172.28 100 5 39 321.03 6.15 19
2024-05-05T11:31:12Z 643 40 009a0248 8760 Normal 0 -2728 4182.36 4182.36 100 5 40 321.67 8.61 19
2024-05-05T11:32:12Z 643 40 009a0248 8760 Normal 0 -2043 4175.95 4175.95 100 5 40 321.24 6.28 19
2024-05-05T11:33:11Z 643 41 009a0248 8760 Normal 0 -961 4162.2 4162.2 100 5 41 320.2 3.02 19
> quit

Benutzeravatar
Ulrich
Administrator
Beiträge: 5582
Registriert: Sa 7. Nov 2015, 10:33
Wohnort: Essen
Hat sich bedankt: 125 Mal
Danksagung erhalten: 838 Mal

Re: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

Beitrag von Ulrich »

Die Daten sind alle in der Datenbank vorhanden. Dann muss es an Grafana liegen. Stimmt die Uhrzeit auf dem Raspberry?
Die Uhrzeiteinträge in der Datenbank sind UTC Uhrzeiten, also 2 Stunden zurück. Das ist OK so.
Suche den Fehler im Umfeld von Grafana.
-----------------------------------------------------
Ulrich . . . . . . . . [Projekt Administrator]

Wer ist online?

Mitglieder in diesem Forum: dabreese und 1 Gast