NEWS
Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker
-
pi@raspberrypi:/opt/iobroker $ curl -kL -o diag.sh https://iobroker.net/diag.sh && bash diag.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 185 100 185 0 0 1258 0 --:--:-- --:--:-- --:--:-- 1267 87 18519 87 16127 0 0 60627 0 --:--:-- --:--:-- --:--:-- 60627 curl: (23) Failure writing output to destination pi@raspberrypi:/opt/iobroker $
-
-
da kommt das
pi@raspberrypi:/opt/iobroker $ sudo du -a / | sort -n -r | head -n 20 sort: write failed: /tmp/sortm0nSnH: No space left on device pi@raspberrypi:/opt/iobroker $
ne da ist alles zu 100% voll. Wir haben eben gesehen, dass dort einige Backups drin waren. Können wir da nicht was löschen?
-
@holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
Können wir da nicht was löschen?
Haben wir schon.
df -h
-
pi@raspberrypi:/opt/iobroker $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 59G 58G 0 100% / devtmpfs 3.7G 0 3.7G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 1.6G 9.1M 1.6G 1% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 255M 31M 225M 12% /boot tmpfs 782M 0 782M 0% /run/user/1000 pi@raspberrypi:/opt/iobroker $
-
cd /opt/iobroker du -cks * | sort -rn | head
-
@thomas-braun said in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
du -cks * | sort -rn | head
pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ du -cks * | sort -rn | head 1456376 total 1014316 node_modules 371380 iobroker-data 42608 log 27060 backups 1004 package-lock.json 4 package.json 4 INSTALLER_INFO.txt 0 iobroker 0 iob pi@raspberrypi:/opt/iobroker $
-
sudo journalctl --vacuum-time=1d
-
@thomas-braun said in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
sudo journalctl --vacuum-time=1d
pi@raspberrypi:/opt/iobroker $ sudo journalctl --vacuum-time=1d Journal file /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system.journal is truncated, ignoring file. Vacuuming done, freed 0B of archived journals from /var/log/journal. Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bf4377d-29094d0e0283d9c4.journal~ (4.0K). Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bf60270-5ed240af70674cab.journal~ (16.0K). Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/user-1001@00060e412865f478-c67b3d07a3effefe.journal~ (0B). Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e4311051e99-63e627a9400cfabf.journal~ (4.0K). Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e4128666972-6cc52e4157cb0ff4.journal~ (6.8M). Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bfd91c1-7ce41f4661306f35.journal~ (16.0K). Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bf47993-12a2a39f85f1a43d.journal~ (16.0K). Vacuuming done, freed 6.9M of archived journals from /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9. Vacuuming done, freed 0B of archived journals from /run/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9. Vacuuming done, freed 0B of archived journals from /run/log/journal. pi@raspberrypi:/opt/iobroker $
-
@holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
freed 6.9M
Das ist natürlich nix.
sudo ncdu /
wird vermutlich nicht funktionieren.
-
@thomas-braun said in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
sudo ncdu /
Es öffnet sich ein neues "Fenster" mit diesen Infos:
1.5 GiB [ ] /usr 1.4 GiB [ ] /opt 440.7 MiB [ ] /home 30.5 MiB [ ] /boot 9.1 MiB [ ] /run 3.9 MiB [ ] /etc 32.0 KiB [ ] /root 24.0 KiB [ ] /tmp e 16.0 KiB [ ] /lost+found e 4.0 KiB [ ] /srv e 4.0 KiB [ ] /mnt e 4.0 KiB [ ] /media 0.0 B [ ] /sys . 0.0 B [ ] /proc 0.0 B [ ] /dev @ 0.0 B [ ] sbin @ 0.0 B [ ] lib @ 0.0 B [ ] bin
-
soll ich da wieder raus und wenn ja wie?
-
Nee, damit suchst du jetzt die dicken Dinger.
-
@thomas-braun
ok und das mache ich wie? -
?
Mit den Pfeiltasten durch die Verzeichnisse hangeln. Die dicken haben die meisten #-Zeichen...
Bei mir also z. B.ncdu 1.19 ~ Use the arrow keys to navigate, press ? for help --- / ------------------------------------------------------------------------------------------------------------------ 5.8 GiB [#################] /opt 2.6 GiB [####### ] /usr 1.1 GiB [### ] /var 906.9 MiB [## ] /home 161.6 MiB [ ] /boot 22.7 MiB [ ] /tmp 5.5 MiB [ ] /etc
Näheres dann per ?-Taste im Programm.
-
@holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
Es öffnet sich ein neues "Fenster" mit diesen Infos:
ist das alles?
du hast laut df -h 58GB voll
-
hab den Fehler gefunden. Es sind influxdb Daten:
--- /var/lib/influxdb/engine/data/ea8b2dc8c77648a5/autogen ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /.. 1.6 GiB [##########] /91 1.6 GiB [######### ] /89 1.5 GiB [######### ] /87 1.5 GiB [######### ] /85 1.4 GiB [######## ] /83 1.4 GiB [######## ] /81 1.3 GiB [######## ] /79 1.3 GiB [######## ] /109 1.3 GiB [####### ] /77 1.2 GiB [####### ] /75 1.2 GiB [####### ] /107 1.2 GiB [####### ] /105 1.2 GiB [####### ] /93 1.2 GiB [####### ] /99 1.2 GiB [####### ] /73 1.2 GiB [####### ] /103 1.1 GiB [###### ] /111 1.1 GiB [###### ] /71 1.1 GiB [###### ] /69 1.1 GiB [###### ] /101 1.0 GiB [###### ] /67 1.0 GiB [###### ] /95 1.0 GiB [###### ] /97 1.0 GiB [###### ] /65 955.4 MiB [##### ] /63 948.1 MiB [##### ] /35 913.8 MiB [##### ] /51 903.5 MiB [##### ] /61 897.4 MiB [##### ] /33 862.6 MiB [##### ] /49 861.2 MiB [##### ] /37 852.2 MiB [##### ] /59 846.1 MiB [##### ] /31 811.1 MiB [#### ] /47 801.6 MiB [#### ] /57 794.6 MiB [#### ] /29 759.9 MiB [#### ] /45 750.9 MiB [#### ] /55 742.8 MiB [#### ] /27 708.8 MiB [#### ] /43 707.0 MiB [#### ] /53 691.2 MiB [#### ] /25 657.5 MiB [### ] /41 640.6 MiB [### ] /23 606.0 MiB [### ] /39 588.6 MiB [### ] /21 537.8 MiB [### ] /18 492.5 MiB [## ] /16 451.9 MiB [## ] /14 413.1 MiB [## ] /12 371.9 MiB [## ] /10 335.7 MiB [## ] /8 300.0 MiB [# ] /6 265.2 MiB [# ] /4 242.7 MiB [# ] /113 114.5 MiB [ ] /1
-
kann auf die influx bd. daten gern verzichten. Die liefen eh nur mit ohne, dass ich bisher damit was gemacht habe. Kann man die Löschen und wenn ja wie?
-
Bei influxdb kenne ich micht nicht aus.
Löschen mitsudo apt purge influxdb*
Edit: Wrong command...
-
@thomas-braun sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:
Bei influxdb kenne ich micht nicht aus.
Löschen mitsudo apt prune influxdb*
löscht aber die Daten nicht
kenne mich mit dem Influx Adapter nicht aus, aber ggf. kann man da auch die Aufbewahrungszeit reduzieren, dann werden alte Daten gelöscht