NEWS
IoB startet nicht mit Fehlermeldung zu JSONL
-
/opt/iobroker $ iob diag /opt/iobroker $
Ähem, da passiert rein gar nix??? Oder mache ich das gerade falsch?
-
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
da passiert rein gar nix???
welches OS?
-
/opt/iobroker $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian
-
@final sehr seltsam!
iob status
zeigt dir hoffentlich ein existentensiob an -
das verstehe ich nicht.
in meinem ersten post hatte ich ja das Ergebnis von iobroker status gezeigt.
Oder ist iob status nicht gleich iobroker status? -
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
in meinem ersten post hatte ich ja das Ergebnis von iobroker status gezeigt.
und jetzt kommt nichts mehr?
-
/opt/iobroker $ iob status Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
Wir haben doch nix gemacht bisher? Also außer dem diag was nix bewirkt hat
-
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
Wir haben doch nix gemacht bisher?
weil du schriebst
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
eben gings noch, nun plötzlich nicht mehr.
hätte der SD Karies ja weiter fortgeschritten sein können weil der Befehl
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
diag was nix bewirkt hat
da sollte wenigstens eine Reaktion kommen.
also
iob stop iob fix iob start ... warten ... iob diag
-
systemctl status iobroker
-
achso. Hm, tja, das übersteigt meine Kenntnisse.
hier mal ein zwischenstand vom iob fix - anscheinend habe ich (auch?) ein Speicherplatzproblem?
@raspberrypi:~ $ iob fix library: loaded Library version=2024-01-04 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2024-01-04 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/5) ========================================================================== Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB] Err:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Error writing to file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80] Err:2 http://archive.raspberrypi.org/debian bullseye InRelease Error writing to file - write (28: No space left on device) [IP: 2a00:1098:80:56::3:1 80] Get:3 https://deb.nodesource.com/node_14.x bullseye InRelease [4,586 B] Err:3 https://deb.nodesource.com/node_14.x bullseye InRelease Error writing to file - write (28: No space left on device) [IP: 2606:4700:10::6816:51a 443] Reading package lists... Done W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease Error writing to file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80] W: Failed to fetch https://deb.nodesource.com/node_14.x/dists/bullseye/InRelease Error writing to file - write (28: No space left on device) [IP: 2606:4700:10::6816:51a 443] W: Failed to fetch http://archive.raspberrypi.org/debian/dists/bullseye/InRelease Error writing to file - write (28: No space left on device) [IP: 2a00:1098:80:56::3:1 80] W: Some index files failed to download. They have been ignored, or old ones used instead. ========================================================================== Checking ioBroker user and directory permissions (2/5) ========================================================================== main: line 702: echo: write error: No space left on device Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Check and cleanup npm temporary directories (3/5) ========================================================================== Done. ========================================================================== Database maintenance (4/5) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Error: ENOSPC: no space left on device, mkdir '/home/iobroker/.npm/_npx/16826' command not found: jsonltool ========================================================================== Checking autostart (5/5) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================
-
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
: No space left on device
Das Dateisystem ist rappelvoll.
df -h
-
@raspberrypi:~ $ systemctl status iobroker ● iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2024-02-13 20:17:19 CET; 689ms ago Docs: http://iobroker.net Process: 17079 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE) Main PID: 17079 (code=exited, status=1/FAILURE) CPU: 4.952s Feb 13 20:17:19 raspberrypi systemd[1]: iobroker.service: Consumed 4.952s CPU time. Feb 13 20:17:22 raspberrypi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 8. Feb 13 20:17:22 raspberrypi systemd[1]: Stopped ioBroker Server. Feb 13 20:17:22 raspberrypi systemd[1]: iobroker.service: Consumed 4.952s CPU time. Feb 13 20:17:22 raspberrypi systemd[1]: Started ioBroker Server. Feb 13 20:17:26 raspberrypi bash[17093]: ENOSPC: no space left on device, write Feb 13 20:17:26 raspberrypi bash[17093]: Error: ENOSPC: no space left on device, write Feb 13 20:17:31 raspberrypi systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE Feb 13 20:17:31 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'. Feb 13 20:17:31 raspberrypi systemd[1]: iobroker.service: Consumed 4.856s CPU time.
-
@thomas-braun said in IoB startet nicht mit Fehlermeldung zu JSONL:
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
: No space left on device
Das Dateisystem ist rappelvoll.
df -h
was macht df -h? EDIT: ok, disk free ... (ich muss die meisten Befehle erstmal googlen...)
kann die volle SD für den Fehler verantwortlich sein, oder ist das ein 2. Problem?
-
df zeigt die Belegung der Partitionen an.
sudo apt clean
räumt da vielleicht wieder etwas frei.
-
@raspberrypi:~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 7.1G 6.8G 0 100% / devtmpfs 355M 0 355M 0% /dev tmpfs 483M 0 483M 0% /dev/shm tmpfs 194M 984K 193M 1% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 253M 51M 202M 20% /boot tmpfs 97M 16K 97M 1% /run/user/1000
-
Da biste aber sehr knauserig gewesen. 7,1GB ist zu wenig.
-
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
/dev/root 7.1G 6.8G 0 100% /
rappelvoll!
mit 7GB "Plattenplatz" auszukommen war auch ziemlich optimistisch -
ist ne 8GB SD - hätte nicht gedacht dass das zu wenig ist? Läuft jetzt seit knapp einem Jahr. Und dabei logge ich nur meinen Zählerstand und das BKW...
Was ist denn eine gute Größe? Hab noch ne 32GB SD liegen ...
Oder ist eine IOB EInstellung nicht gut und er generiert zu viele Daten/Backups/Dateien/was weiß ich?
Muß ich nur regelmäßig aufräumen/löschen? -
@final sagte in IoB startet nicht mit Fehlermeldung zu JSONL:
Oder ist eine IOB EInstellung nicht gut und er generiert zu viele Daten/Backups/Dateien/was weiß ich?
Kann natürlich auch sein. Aber hier erstreckt sich mein System mittlerweile auf 16GB:
echad@chet:~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 110G 16G 89G 16% /
-
hmm. ok.
was mache ich nun am besten? SD upgraden?
Kann ich die 8er dann auf die 32er klonen?Oder erstmal versuchen, etwas Speicher frei zu bekommen?
Kann ich über SSH Dateien runterladen?
Greife gerade von einem Windows Rechner über die Powershell über SSH auf den Raspi zu.