NEWS
iobroker läuft nicht mehr
-
leider lässt sich iobroker immer noch nicht starten
micros02@smartmeter:~ $ iobroker fix library: loaded Library version=2022-02-10 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-02-13 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Reading package lists... Done Installed gcc-c++ Installed python-dev ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== micros02@smartmeter:~ $ iobroker start micros02@smartmeter:~ $ iob status Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"! micros02@smartmeter:~ $
-
@emi-0 sagte in iobroker läuft nicht mehr:
/opt/iobroker/iobroker-data/objects.jsonl
ls -l /opt/iobroker/iobroker-data/objects.jsonl sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
-
micros02@smartmeter:~ $ ls -l /opt/iobroker/iobroker-data/objects.jsonl -rw-rwxr--+ 1 iobroker iobroker 120034159 Apr 25 21:05 /opt/iobroker/iobroker-data/objects.jsonl micros02@smartmeter:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME iobroker. 1919 iobroker 19u REG 179,2 120034159 268535 /opt/iobroker/iobroker-data/objects.jsonl micros02@smartmeter:~ $ iob start micros02@smartmeter:~ $ iob status Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"! micros02@smartmeter:~ $
-
getfacl /opt/iobroker/iobroker-data/objects.jsonl
-
geht noch nicht:
micros02@smartmeter:~ $ getfacl /opt/iobroker/iobroker-data/objects.jsonl -bash: micros02@smartmeter:~: command not found -bash: -rw-rwxr--+: command not found -bash: micros02@smartmeter:~: command not found -bash: COMMAND: command not found -bash: iobroker.: command not found -bash: micros02@smartmeter:~: command not found -bash: micros02@smartmeter:~: command not found -bash: Server: command not found -bash: micros02@smartmeter:~: command not found getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/iobroker-data/objects.jsonl # owner: iobroker # group: iobroker user::rw- group::r-- group:iobroker:rwx mask::rwx other::r-- micros02@smartmeter:~ $ iob start micros02@smartmeter:~ $ iob status Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"! micros02@smartmeter:~ $
-
Da stimmen die Rechte nicht.
Auf meinem System schauen die anders aus.
Aber erstmal Sportschau gucken... -
erstmal vielen Dank
Viel Spaß bei der Sportschau.
Bis Morgen .... -
Hallo Thomas,
kannst Du bitte noch etwas zu den Rechten sagen, wie sie aussehen müssen, dass iobroker wieder gestartet werden kann? -
Bei mir sehen die so aus:
echad@chet:~ $ getfacl /opt/iobroker/iobroker-data/objects.jsonl getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/iobroker-data/objects.jsonl # owner: iobroker # group: iobroker user::rw- group::r-x #effective:r-- group:iobroker:rwx #effective:rw- mask::rw- other::r--
-
@thomas-braun
also müssen die Rechte für group: und mask: angepasst werden.
Wie kann ich das machen? -
@emi-0 sagte in iobroker läuft nicht mehr:
Wie kann ich das machen?
eigentlich müsste das der Fixer machen:
iobroker stop iobroker fix iobroker start
-
Eigentlich sollte das der Fixer machen.
Hier sind ACLs gesetzt worden.
Manuell ist das das etwas aufwändiger.
Stefan Kania erklärt es hier: -
Anscheinend macht der fixer bei mir nicht das Richtige
micros02@smartmeter:~ $ iobroker fix library: loaded Library version=2022-02-10 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-02-13 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB] Fetched 321 kB in 4s (89.5 kB/s) Reading package lists... Done Installed gcc-c++ Installed python-dev ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== micros02@smartmeter:~ $ iobroker start micros02@smartmeter:~ $ iobroker status No connection to databases possible ... micros02@smartmeter:~ $ getfacl /opt/iobroker/iobroker-data/objects.jsonl getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/iobroker-data/objects.jsonl # owner: iobroker # group: iobroker user::rw- group::r-- group:iobroker:rwx mask::rwx other::r-- micros02@smartmeter:~ $
-
-
micros02@smartmeter:~ $ systemctl status iobroker.service ● iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor pres> Active: active (running) since Tue 2022-05-03 17:35:03 CEST; 40s ago Docs: http://iobroker.net Main PID: 27228 (iobroker.js-con) Tasks: 18 (limit: 415) CPU: 40.513s CGroup: /system.slice/iobroker.service ├─27228 iobroker.js-controller └─27241 node /opt/iobroker/node_modules/iobroker.js-controller/iob> May 03 17:35:03 smartmeter systemd[1]: Started ioBroker Server. May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Main process exited, c> May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Failed with result 'ex> May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Consumed 40.716s CPU t> lines 1-15/15 (END)
-
Mach das Fenster mal breiter, damit man alles sieht.
-
wie mache ich das?
-
@emi-0 sagte in iobroker läuft nicht mehr:
iobroker.service: Failed with result 'ex>
irgendwo muss da mehr stehen
Das Fenster der Konsole kannst du doch größer (breiter) ziehen, oder? -
ja kann ich, aber die Zeile hört mit 'ex auf
micros02@smartmeter:~ $ systemctl status iobroker.service ● iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor pres> Active: active (running) since Tue 2022-05-03 17:35:03 CEST; 40s ago Docs: http://iobroker.net Main PID: 27228 (iobroker.js-con) Tasks: 18 (limit: 415) CPU: 40.513s CGroup: /system.slice/iobroker.service ├─27228 iobroker.js-controller └─27241 node /opt/iobroker/node_modules/iobroker.js-controller/iob> May 03 17:35:03 smartmeter systemd[1]: Started ioBroker Server. May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Main process exited, c> May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Failed with result 'ex> May 03 17:35:44 smartmeter systemd[1]: iobroker.service: Consumed 40.716s CPU t> lines 1-15/15 (END) micros02@smartmeter:~ $
-
@emi-0 sagte in iobroker läuft nicht mehr:
ja kann ich, aber die Zeile hört mit 'ex auf
hast du jetzt nur das Fenster breiter gemacht oder auch den Befehl nochmal abgedrückt?