NEWS
Server Cannot start inMem-objects on port 9001
-
-
@thomas-braun said in Server Cannot start inMem-objects on port 9001:
ls -lAh /opt/iobroker/iobroker-data/backup-objects
total 67M -rwxrwxrwx+ 1 iobroker iobroker 170K Apr 10 2022 2022-04-09_22-26_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 197K Apr 10 2022 2022-04-10_10-52_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 10 2022 2022-04-10_13-31_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 10 2022 2022-04-10_20-21_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 11 2022 2022-04-11_20-21_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 12 2022 2022-04-12_09-25_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 13 2022 2022-04-13_09-35_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 13 2022 2022-04-13_18-35_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 14 2022 2022-04-14_01-25_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 14 2022 2022-04-14_06-46_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 14 2022 2022-04-14_11-16_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 14 2022 2022-04-14_13-16_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 14 2022 2022-04-14_14-48_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 14 2022 2022-04-14_16-49_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 14 2022 2022-04-14_18-49_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 14 2022 2022-04-14_20-49_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-14_22-49_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_00-50_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_02-50_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_04-50_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_06-51_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_08-51_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_10-52_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_12-52_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_14-52_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_16-53_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_18-53_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_20-53_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_21-49_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 15 2022 2022-04-15_21-55_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-15_22-09_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-15_22-09_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-15_22-21_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-15_22-26_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-15_22-34_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-15_22-41_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-15_22-41_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_00-42_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_02-42_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_04-42_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_06-42_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_08-22_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_08-43_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_10-22_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_10-23_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_10-45_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-16_10-46_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-16_10-47_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-16_10-49_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-16_10-52_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_10-53_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-16_10-53_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_10-54_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 17K Apr 16 2022 2022-04-16_10-54_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_11-35_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_11-35_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 201K Apr 16 2022 2022-04-16_11-43_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_11-43_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 1,2M Apr 16 2022 2022-04-16_12-58_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_12-58_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 1,2M Apr 16 2022 2022-04-16_13-56_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 1,2M Apr 16 2022 2022-04-16_13-57_objects.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_13-57_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 18K Apr 16 2022 2022-04-16_13-58_states.json.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 2 21:31 2023-01-02_21-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 2 21:31 2023-01-02_21-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 2 23:31 2023-01-02_23-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 2 23:31 2023-01-02_23-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 01:31 2023-01-03_01-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 01:31 2023-01-03_01-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 03:31 2023-01-03_03-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 14K Jan 3 03:31 2023-01-03_03-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 05:31 2023-01-03_05-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 05:31 2023-01-03_05-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 07:31 2023-01-03_07-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 07:31 2023-01-03_07-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 09:31 2023-01-03_09-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 09:31 2023-01-03_09-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 11:31 2023-01-03_11-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 14K Jan 3 11:31 2023-01-03_11-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 13:31 2023-01-03_13-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 14K Jan 3 13:31 2023-01-03_13-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 15:31 2023-01-03_15-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 15:31 2023-01-03_15-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 17:31 2023-01-03_17-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 17:31 2023-01-03_17-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 19:31 2023-01-03_19-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 19:31 2023-01-03_19-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 21:31 2023-01-03_21-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 21:31 2023-01-03_21-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 3 23:31 2023-01-03_23-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 3 23:31 2023-01-03_23-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 01:31 2023-01-04_01-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 01:31 2023-01-04_01-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 03:31 2023-01-04_03-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 03:31 2023-01-04_03-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 05:31 2023-01-04_05-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 05:31 2023-01-04_05-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 07:31 2023-01-04_07-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 07:31 2023-01-04_07-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 09:31 2023-01-04_09-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 09:31 2023-01-04_09-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 11:31 2023-01-04_11-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 11:31 2023-01-04_11-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 13:31 2023-01-04_13-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 13:31 2023-01-04_13-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 15:31 2023-01-04_15-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 15:31 2023-01-04_15-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 17:31 2023-01-04_17-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 17:31 2023-01-04_17-31_states.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 4 19:31 2023-01-04_19-31_objects.jsonl.gz -rwxrwxrwx+ 1 iobroker iobroker 13K Jan 4 19:31 2023-01-04_19-31_states.jsonl.gz
-
Dann spiel mal eine von denen statt der explodierten Datei ein.
Geht prinzipiell so:
Halt bei jsonl mit anderen Dateinamen.
-
@nettekov said in Server Cannot start inMem-objects on port 9001:
Zum Beispiel:
Zeile 66 (ist die Älteste):-rwxrwxrwx+ 1 iobroker iobroker 2,5M Jan 2 21:31 2023-01-02_21-31_objects.jsonl.gz
Und dann so?
cd /opt/iobroker/iobroker-data/backup-objects gunzip -ck 2023-01-02_21-31_objects.jsonl.gz > /opt/iobroker/iobroker-data/objects.jsonl
-
Ja. ioBroker zuvor auf Eis legen.
-
Sieh schon besser aus
total 8772 drwxrwxrwx+ 6 iobroker iobroker 4096 Jan 7 17:00 . drwxrwxr-x+ 6 iobroker iobroker 4096 Jan 7 10:53 .. drwxrwxrwx+ 2 iobroker iobroker 12288 Jan 4 19:31 backup-objects drwxrwxrwx+ 14 iobroker iobroker 4096 Feb 21 2022 files -rwxrwxrwx+ 1 iobroker iobroker 5091 Jan 7 10:47 iobroker.json -rwxrwxrwx+ 1 iobroker iobroker 6020 Jan 7 16:41 iobroker.json.save -rwxrwxrwx+ 1 iobroker iobroker 3 Nov 22 23:29 notifications.json -rwxrwxrwx+ 1 iobroker iobroker 8765468 Jan 7 17:00 objects.jsonl drwxrwxrwx+ 2 iobroker iobroker 4096 Feb 20 2022 sqlite -rwxrwxrwx+ 1 iobroker iobroker 0 Apr 4 2022 states.json.broken -rw-rw-r--+ 1 iobroker iobroker 127506 Jan 7 10:53 states.jsonl drwxrwxrwx+ 2 iobroker iobroker 28672 Jan 4 19:50 zigbee_0
iobroker wieder starten?
-
-
von 1,6GB:
-rwxrwxrwx+ 1 iobroker iobroker 1642010661 Jan 6 20:50 objects.jsonl
auf 8MB reduziert
-rwxrwxrwx+ 1 iobroker iobroker 8765468 Jan 7 17:00 objects.jsonl
soll ich nochmal starten?
-
admin@server03:/opt/iobroker/iobroker-data/backup-objects$ ls -la /opt/iobroker/iobroker-data total 8772 drwxrwxrwx+ 6 iobroker iobroker 4096 Jan 7 17:00 . drwxrwxr-x+ 6 iobroker iobroker 4096 Jan 7 10:53 .. drwxrwxrwx+ 2 iobroker iobroker 12288 Jan 4 19:31 backup-objects drwxrwxrwx+ 14 iobroker iobroker 4096 Feb 21 2022 files -rwxrwxrwx+ 1 iobroker iobroker 5091 Jan 7 10:47 iobroker.json -rwxrwxrwx+ 1 iobroker iobroker 6020 Jan 7 16:41 iobroker.json.save -rwxrwxrwx+ 1 iobroker iobroker 3 Nov 22 23:29 notifications.json -rwxrwxrwx+ 1 iobroker iobroker 8765468 Jan 7 17:00 objects.jsonl drwxrwxrwx+ 2 iobroker iobroker 4096 Feb 20 2022 sqlite -rwxrwxrwx+ 1 iobroker iobroker 0 Apr 4 2022 states.json.broken -rw-rw-r--+ 1 iobroker iobroker 127506 Jan 7 10:53 states.jsonl drwxrwxrwx+ 2 iobroker iobroker 28672 Jan 4 19:50 zigbee_0
-
@nettekov
Da fehlt das -h...Starte den iobroker jetzt.
-
@Thomas-Braun
Danke !!!
die Kiste läuft wieder !!Was der laie nicht kann, zauber der Profi
Kann man einen Donate bei dir anliefern?
-
@Thomas-Braun
eine Frage hätte ich noch:
Was habe ich falsch gemacht, bzw. wie kann man das hochlaufen der objects.jsonl verhindern -
Hey, Frage: Warum versucht Ihr nicht einfach "iob fix"? Der sollte die "zu grossen jsonl Files" komprimieren ... (ja ok ein 1,6GB File wird nicht tun wenn man nur 1GB RAM hat aber bei größeren Systemen sollte bitte DAS die erste lösung sein vor einem Backup Restore
Und @nettekov Bitte UNBEDINGT js-controller Updaten auf 4.0.24 weil mit der Verson wäre das nie passiert! Da sist das zweite was zur Default-Lösung gehören sollte nach dem Fix
-
-
Ich hatte den verlinkten Thread
https://forum.iobroker.net/topic/54757/no-connection-to-databases-possible
nicht mehr komplett gelesen. Hatte gedacht der fixer wäre da schon versucht worden.
-
Also war sich bei den Update zu nachlässig.
Das stimmt ...leider
Gelobe Besserung.....Vielen Dank nochmal
-
-
@nettekov Naja der Ehrlichkeit halber: Es hätte ne gewisse wahrscheinlichkeit gegeben das es dann beim Update passiert wäre - wenn du aber beim Update dann vorher den "iob fix" hättest laufen lassen hätte es idealerweise alles magisch geklappt :-))
-
admin@server03:~$ iob update Used repositories: beta, stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "backitup" : 2.5.9 , installed 2.5.9 Adapter "bshb" : 0.2.1 , installed 0.2.1 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "echarts" : 1.0.12 , installed 1.0.12 Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.21 [Updatable] Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "zigbee" : 1.8.10 , installed 1.8.9 [Updatable]
Er sagt aber mein Reponsitory wäre beta, sollte aber nicht so sein.
ich würde gerne mal das Linux incl iobroker und js-cotroller updaten
Hierfür würde gerne wie folgt vorgehen:cd /opt/iobroker iobroker stop sudo apt update sudo apt full-upgrade npm install iobroker.js-controller iobroker update iobroker upgrade self iobroker upgrade iobroker start
Spricht was dagegen
-
@nettekov sagte in Server Cannot start inMem-objects on port 9001:
Spricht was dagegen
Ja, du machst es nicht richtig.
So wird ein Schuh draus:sudo apt update sudo apt full-upgrade iob repo unset beta iob update iob upgrade iob stop iob upgrade self iob start
Vergiss 'npm install IRGENDWAS'.