NEWS
js-controller 2 jetzt für alle im Stable
-
@Johannes-Bauerstatter sagte in js-controller 2 jetzt für alle im Stable:
iobroker.js-controller
Du musst den iobroker.js-controller zuerst killen
-
@apollon77 Du musst den iobroker.js-controller zuerst killen. Sobald ich diesen kille startet er automatisch wieder neu. Bekomme auch auf Telegram sofort die Meldung Restarting...
-
@Johannes-Bauerstatter Dann mach mal "sudo systemctl stop iobroker"
-
@apollon77 Danke. Das hat funktioniert. Muss ich jetzt bei allen Befehlen vom ersten Post das "sudo systemctl" voran stellen damit es funktioniert?
-
-
jetzt bringt er mir zwar keine Errorlogs mehr, aber dafür folgendes:
javascript.0 2019-11-20 22:44:26.535 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.535 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.535 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.534 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.534 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.534 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.533 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.533 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:150:15) javascript.0 2019-11-20 22:44:26.533 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.532 warn (2148) at script.js.System.Adapterliste:175:23 javascript.0 2019-11-20 22:44:26.531 warn (2148) getState "system.adapter.ical.3.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.529 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.529 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.529 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.528 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.528 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.528 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.527 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.527 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:150:15) javascript.0 2019-11-20 22:44:26.527 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.526 warn (2148) at script.js.System.Adapterliste:175:23 javascript.0 2019-11-20 22:44:26.525 warn (2148) getState "system.adapter.ical.2.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.524 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.523 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.523 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.522 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.522 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.522 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.521 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.521 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:150:15) javascript.0 2019-11-20 22:44:26.520 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.520 warn (2148) at script.js.System.Adapterliste:175:23 javascript.0 2019-11-20 22:44:26.519 warn (2148) getState "system.adapter.ical.1.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.517 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.516 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.516 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.516 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.515 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.515 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.515 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.514 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:150:15) javascript.0 2019-11-20 22:44:26.514 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.514 warn (2148) at script.js.System.Adapterliste:175:23 javascript.0 2019-11-20 22:44:26.512 warn (2148) getState "system.adapter.ical.0.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.486 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.486 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.486 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.486 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.485 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.485 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.485 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.485 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:60:19) javascript.0 2019-11-20 22:44:26.484 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.484 warn (2148) at script.js.System.Adapterliste:81:27 javascript.0 2019-11-20 22:44:26.483 warn (2148) getState "system.adapter.feiertage.0.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.473 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.473 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.472 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.472 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.472 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.472 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.471 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.471 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:60:19) javascript.0 2019-11-20 22:44:26.471 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.470 warn (2148) at script.js.System.Adapterliste:81:27 javascript.0 2019-11-20 22:44:26.469 warn (2148) getState "system.adapter.openweathermap.0.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.430 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.430 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.429 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.429 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.429 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.428 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.428 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.428 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:60:19) javascript.0 2019-11-20 22:44:26.428 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.427 warn (2148) at script.js.System.Adapterliste:81:27 javascript.0 2019-11-20 22:44:26.426 warn (2148) getState "system.adapter.tvspielfilm.0.connected" not found (3) states[id]=null javascript.0 2019-11-20 22:44:26.353 warn (2148) at processImmediate (timers.js:658:5) javascript.0 2019-11-20 22:44:26.353 warn (2148) at tryOnImmediate (timers.js:676:5) javascript.0 2019-11-20 22:44:26.353 warn (2148) at runCallback (timers.js:705:18) javascript.0 2019-11-20 22:44:26.353 warn (2148) at Immediate.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:226:41) javascript.0 2019-11-20 22:44:26.352 warn (2148) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4744:37) javascript.0 2019-11-20 22:44:26.352 warn (2148) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25) javascript.0 2019-11-20 22:44:26.352 warn (2148) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38) javascript.0 2019-11-20 22:44:26.352 warn (2148) at Object.<anonymous> (script.js.System.Adapterliste:60:19) javascript.0 2019-11-20 22:44:26.351 warn (2148) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29) javascript.0 2019-11-20 22:44:26.351 warn (2148) at script.js.System.Adapterliste:81:27 javascript.0 2019-11-20 22:44:26.344 warn (2148) getState "system.adapter.dwd.0.connected" not found (3) states[id]=null
-
@Oli sagte in js-controller 2 jetzt für alle im Stable:
javascript.0 2019-11-20 22:44:26.426 warn (2148) getState "system.adapter.tvspielfilm.0.connected" not found (3) states[id]=null
Das ist die Ursache ... Du greifst auf States zu die es ggf nicht gibt. In dem Fall passiert das wenn diese Adapter nicht laufen, weil dasnn die State-Werte expiren und das passiert leicht anders als in controller 1.x
-
@Johannes-Bauerstatter said in js-controller 2 jetzt für alle im Stable:
@apollon77 Danke. Das hat funktioniert. Muss ich jetzt bei allen Befehlen vom ersten Post das "sudo systemctl" voran stellen damit es funktioniert?
Ich hatte ähnliche Probleme und habe dann nicht sudo verwendet, sondern "su - root" und dann den fixer laufen lassen, der vorher trotz Eingabe des root passworts sich die Zähne ausgebissen hatte.
-
Habe heute früh den controller nochmal aktuallisiert und den Log jetzt mal gefiltert.
Kann da keinen Fehler finden:cweb.0 2019-11-21 10:41:14.880 info (1734) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason web.0 2019-11-21 10:41:14.878 info (1734) terminating web.0 2019-11-21 10:41:14.876 info (1734) terminated http server on port 8082 web.0 2019-11-21 10:41:14.875 debug (1734) terminating http server on port 8082 web.0 2019-11-21 10:41:14.872 info (1734) Got terminate signal TERMINATE_YOURSELF web.0 2019-11-21 10:41:11.009 debug (1734) system.adapter.admin.0: logging false web.0 2019-11-21 07:49:21.551 debug (1734) system.adapter.admin.0: logging true web.0 2019-11-21 07:47:32.705 info (1734) http server listening on port 8082 web.0 2019-11-21 07:47:32.688 info (1734) Allow states only when user is owner: false web.0 2019-11-21 07:47:32.686 info (1734) simpleAPI server listening on port 8082 web.0 2019-11-21 07:47:32.627 info (1734) socket.io server listening on port 8082
-
@falke69 Sieht auch für mich ok aus ... Jetzt muss man auf die tiefe ebene gehen.
Ist da ein USer oder admin der da zugreift?
-
@apollon77 nein, da habe ich nichts eingestellt.
-
@falke69 Dann braucht man infos was genau bei MMM schieff geht
-
@apollon77 da bin ich leider raus. Da habe ich leider keine Ahnung. Mal schauen, vielleicht bin ich ja nicht der einzige, der das Modul nutzt. Vielleicht meldet sich ja jemand, der auch das selbe Problem hat.
Trotzdem Danke für Deine Hilfe. -
@falke69 Mach doch mal ein Issue auf bei dem GitHub vom Modul
-
@apollon77 Danke nochmals für deine Hilfe gestern. Update hat jetzt funktioniert allerdings komm ich jetzt nicht mehr auf vis.0
main/vis-views.json permissionError
-
@Johannes-Bauerstatter vis aktualisiert auf die 1.2.2? web aktualisiert auf mindestens 2.4.9?
-
@apollon77 ja,
web auf 2.4.10
vis auf 1.2.2 -
hm ... Dann bitte mal:
iobroker file sync
ausführen und Ausgabe sendeniobroker list files vis.0
ls -la /opt/iobroker/iobroker-data/files/vis.0
-
pi@raspberrypi:~ $ iobroker file sync Please stop ioBroker before syncing files and only use this command on the ioBroker master host! pi@raspberrypi:~ $ stop iobroker file sync -bash: stop: command not found pi@raspberrypi:~ $ stop iobroker -bash: stop: command not found pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ iobroker file sync 0 file(s) successfully synchronized with ioBroker storage pi@raspberrypi:~ $ iobroker list files vis.0 -- vis.0 -- Modified at |Permission| User | Group | Size | Name ----------------+----------+--------------+--------------+------+--------- drw-r--r-- admin administrator 4096 vis.0/main/ 2019-11-07 16:12 -rw-r--r-- admin administrator 456769 vis.0/main/img/Heizung.jpg 2019-11-07 16:12 -rw-r--r-- admin administrator 1531861 vis.0/main/img/Heizungsverteiler.jpg 2019-11-05 17:11 -rw-r--r-- admin administrator 25024 vis.0/main/img/Puffer.jpg drw-r--r-- admin administrator 4096 vis.0/main/img/ 2019-11-05 13:18 -rw-r--r-- admin administrator vis.0/main/vis-user.css 2019-11-20 06:04 -rw-r--r-- admin administrator 387200 vis.0/main/vis-views.json drw-r--r-- admin administrator 4096 vis.0/Test/ 2019-11-10 19:48 -rw-r--r-- admin administrator vis.0/Test/vis-user.css 2019-11-10 19:48 -rw-r--r-- admin administrator 14800 vis.0/Test/vis-views.json pi@raspberrypi:~ $ ls -la /opt/iobroker/iobroker-data/files/vis.0 total 20 drwxrwxrwx+ 4 iobroker iobroker 4096 Nov 16 20:43 . drwxrwxrwx+ 38 iobroker iobroker 4096 Nov 20 20:15 .. -rwxrwxrwx+ 1 iobroker iobroker 1505 Nov 21 16:49 _data.json drwxrwxrwx+ 3 iobroker iobroker 4096 Nov 16 20:44 main drwxrwxrwx+ 2 iobrok
-
Ok, bitte noch
ls -la /opt/iobroker/iobroker-data/files/vis.0/main
Unter welchem User läuft der web adapter? Bitte mal alle Einstellungs Tabs von web Screenshots posten. Danke