Als er alle Adapter aus der Migration installiert hatte, habe ich per admin Adapter gesagt er soll alle Adapter updaten.
Dann hat er den JS Controller geupdatet
Es wird aktuell übrigens immer noch der JSC mit geupdatet wenn ich auf "alle Adapter updaten" klicke.
Bin vorher aber auf das stable repository gewechselt.
Und wieder habe ich einen Komplett Ausfall
Dienst startet nicht mehr seit dem großen Win10 Update.
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot read property 'stopping' of undefined
TypeError: Cannot read property 'stopping' of undefined
at cleanAutoSubscribes (D:\ioBroker\NUC\node_modules\iobroker.js-controller\main.js:2938:47)
at objects.getObjectView (D:\ioBroker\NUC\node_modules\iobroker.js-controller\main.js:796:31)
at Immediate.callback.function.setImmediate (D:\ioBroker\NUC\node_modules\iobroker.js-controller\lib\objects\objectsInMemFileDB.js:1950:62)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot read property 'stopping' of undefined
TypeError: Cannot read property 'stopping' of undefined
at cleanAutoSubscribes (D:\ioBroker\NUC\node_modules\iobroker.js-controller\main.js:2938:47)
at objects.getObjectView (D:\ioBroker\NUC\node_modules\iobroker.js-controller\main.js:796:31)
at Immediate.callback.function.setImmediate (D:\ioBroker\NUC\node_modules\iobroker.js-controller\lib\objects\objectsInMemFileDB.js:1950:62)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '@iobroker/plugin-base'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (D:\ioBroker\NUC\node_modules\iobroker.js-controller\lib\adapter.js:32:27)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'has'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (D:\ioBroker\NUC\node_modules\node.extend\lib\extend.js:13:11)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
2020-07-06 17:54:59,257 DEBUG - Starting ServiceWrapper in the CLI mode
2020-07-06 17:54:59,784 INFO - Starting the service with id 'iobroker(NUC)'
2020-07-06 17:55:00,211 INFO - Starting ServiceWrapper in the service mode
2020-07-06 17:55:00,246 DEBUG - Completed. Exit code is 0
### Offenbar letzter erfolgreicher Start !? ###
2020-07-06 17:55:00,261 INFO - Starting "D:\ioBroker\NUC\nodejs\node.exe" "D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js"
2020-07-06 17:55:00,315 INFO - Started process 30008
2020-07-06 17:55:00,333 DEBUG - Forwarding logs of the process System.Diagnostics.Process (node) to winsw.TimeBasedRollingLogAppender
2020-07-06 17:55:10,989 INFO - Starting ServiceWrapper in the service mode
2020-07-06 17:55:11,039 INFO - Starting "D:\ioBroker\NUC\nodejs\node.exe" "D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js"
2020-07-06 17:55:11,078 INFO - Started process 29664
2020-07-06 17:55:11,095 DEBUG - Forwarding logs of the process System.Diagnostics.Process (node) to winsw.TimeBasedRollingLogAppender
2020-07-06 17:55:31,631 INFO - Starting ServiceWrapper in the service mode
2020-07-06 17:55:31,687 INFO - Starting "D:\ioBroker\NUC\nodejs\node.exe" "D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js"
2020-07-06 17:55:31,724 INFO - Started process 30568
2020-07-06 17:55:31,742 DEBUG - Forwarding logs of the process System.Diagnostics.Process (node) to winsw.TimeBasedRollingLogAppender
2020-07-06 19:09:45,860 INFO - Starting ServiceWrapper in the service mode
2020-07-06 19:09:45,924 INFO - Starting "D:\ioBroker\NUC\nodejs\node.exe" "D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js"
2020-07-06 19:09:46,000 INFO - Started process 2528
2020-07-06 19:09:46,008 DEBUG - Forwarding logs of the process System.Diagnostics.Process (node) to winsw.TimeBasedRollingLogAppender
2020-07-06 19:09:57,012 INFO - Starting ServiceWrapper in the service mode
2020-07-06 19:09:57,058 INFO - Starting "D:\ioBroker\NUC\nodejs\node.exe" "D:\ioBroker\NUC\node_modules\iobroker.js-controller\controller.js"
2020-07-06 19:09:57,110 INFO - Started process 2780
@aleks-83 Scheinbar fehlen da wieder module ... Keine ahnung ... hat das Windows Update vllt irgend wie die Node.js Installation bzw Da dinge kaputt gemacht?
Auf jeder fall ist der ganz oben genannte Fehler "stoping of undefined" im 3.xer Controller spätestens gefixt
Funktioniert denn deine genannte Methode noch unter Windows auf den 3er JS upzugraden?
Hatte ich iwo mal in einem Thread gelesen... Finde es nicht mehr.
Zur Info:
Habe testweise mal ioBroker im Ubuntu SubSystem unter Win10 installiert. Lief soweit fehlerfrei durch.
Jetzt versuche ich noch meine iobroker-data zu migrieren.
Hierfür installiere ich direkt unter Win10 nochmal eine neue ioB Instanz, speichere mir alle Adapter Einstellungen, Skripte und Visualisierungen und lade sie dann in den neuen Ubuntu ioB rein.
ich bins nochmal.
Weil ich das gleiche Problem wieder habe.
Und zwar richte ich mir gerade einen neuen Host ein. (Lenovo Tiny M73)
Dieser läuft mit Win 10 und ich habe ioBroker nach dem Workaround von P-A-L-A-D-I-N installiert.
Ich habe die alte ioBroker Instanz vom NUC migriert.
Dieser lief mit Node.js v12.22.1, NPM 6.14.12, JS Controller 3.3.10.
Soweit ist auch alles gestartet und alle Adapter haben sich installiert.
Alles lief super, auch meine vis und alle Skripte.
Nach einem Neustart des Rechners startet der ioBroker Dienst aber nicht mehr.
ich habe nochmal den js.controller geupdatet
(npm i iobroker.js-controller@stable --ignore-scripts)
Dann habe ich ioBroker mittles Windows Installer installiert und meinen alten iobroker-data Ordner migriert.
Bis jetzt läuft alles und überlebt auch PC Neustarts...
Allerdings bin ich jetzt auf node.js 10.17.0...
Dann hoffe ich mal dass bei mir die Forums Anleitung zum node.js Update funktioniert...
Konsole: iobroker stop
Sicherung des Ordners: C:\Program Files\iobroker\deinhostname\nodejs auf dem Desktop
Download der benötigten Node.js Version unter https://nodejs.org als Archiv nicht als msi
Datei
Entpacken des Downloads und kopieren den Gesamten Ordners über den vorhandenen
C:\Program Files\iobroker\deinhostname\nodejs Ordner.
Kopiere aus der Sicherungskopie des Desktops die Datei nodevars.bat in den Ordner
C:\Program Files\iobroker\deinhostname\nodejs
Konsole: iobroker start