Hi,
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.
Hier die beiden entscheidenden Logfiles:
daemon\iobroker.err.log
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
Cannot parse "/snapshots/vis-views.json
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
Cannot parse "/snapshots/vis-views.json
Cannot parse "/snapshots/vis-views.json
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
ERROR addMembership: Error: addMembership EADDRNOTAVAIL
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Dort tauch hauptsächlich eine Zeile immer wieder auf:
Error: Cannot find module 'D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js'
.
Und hier noch das wrapper log:
daemon\iobroker.wrapper.log
2021-10-26 19:18:48 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 19:18:48 - Started 2304
2021-10-26 19:26:31 - Stopping iobroker.exe
2021-10-26 19:26:31 - ProcessKill 2304
2021-10-26 19:26:31 - Shutdown exception
Message:Der Computer wird heruntergefahren.
Stacktrace: bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
bei System.Management.ManagementScope.InitializeGuts(Object o)
bei System.Management.ManagementScope.Initialize()
bei System.Management.ManagementObjectSearcher.Initialize()
bei System.Management.ManagementObjectSearcher.Get()
bei winsw.WrapperService.GetChildPids(Int32 pid)
bei winsw.WrapperService.StopProcessAndChildren(Int32 pid)
bei winsw.WrapperService.StopIt()
bei winsw.WrapperService.OnShutdown()
2021-10-26 19:27:09 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 19:27:09 - Started 4668
2021-10-26 20:16:59 - Stopping iobroker.exe
2021-10-26 20:16:59 - ProcessKill 4668
2021-10-26 20:16:59 - Found child process: 4676 Name: conhost.exe
2021-10-26 20:16:59 - Found child process: 4920 Name: node.exe
2021-10-26 20:16:59 - Stopping process 4676
2021-10-26 20:16:59 - Send SIGINT 4676
2021-10-26 20:16:59 - SIGINT to 4676 failed - Killing as fallback
2021-10-26 20:16:59 - Found child process: 10540 Name: node.exe
2021-10-26 20:16:59 - Found child process: 4544 Name: node.exe
2021-10-26 20:16:59 - Found child process: 10548 Name: conhost.exe
2021-10-26 20:16:59 - Stopping process 10548
2021-10-26 20:16:59 - Send SIGINT 10548
2021-10-26 20:16:59 - SIGINT to 10548 failed - Killing as fallback
2021-10-26 20:16:59 - Stopping process 10540
2021-10-26 20:16:59 - Send SIGINT 10540
2021-10-26 20:16:59 - SIGINT to 10540 failed - Killing as fallback
2021-10-26 20:16:59 - Found child process: 4516 Name: conhost.exe
2021-10-26 20:16:59 - Stopping process 4516
2021-10-26 20:16:59 - Send SIGINT 4516
2021-10-26 20:16:59 - SIGINT to 4516 failed - Killing as fallback
2021-10-26 20:16:59 - Stopping process 4544
2021-10-26 20:16:59 - Send SIGINT 4544
2021-10-26 20:16:59 - SIGINT to 4544 failed - Killing as fallback
2021-10-26 20:16:59 - Stopping process 4920
2021-10-26 20:16:59 - Send SIGINT 4920
2021-10-26 20:16:59 - SIGINT to 4920 failed - Killing as fallback
2021-10-26 20:16:59 - Stopping process 4668
2021-10-26 20:16:59 - Send SIGINT 4668
2021-10-26 20:16:59 - SIGINT to 4668 failed - Killing as fallback
2021-10-26 20:16:59 - Finished iobroker.exe
2021-10-26 20:35:21 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 20:35:21 - Started 5364
2021-10-26 21:29:39 - Stopping iobroker.exe
2021-10-26 21:29:39 - ProcessKill 5364
2021-10-26 21:29:39 - Shutdown exception
Message:Klasse nicht registriert
Stacktrace: bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
bei System.Management.ManagementScope.InitializeGuts(Object o)
bei System.Management.ManagementScope.Initialize()
bei System.Management.ManagementObjectSearcher.Initialize()
bei System.Management.ManagementObjectSearcher.Get()
bei winsw.WrapperService.GetChildPids(Int32 pid)
bei winsw.WrapperService.StopProcessAndChildren(Int32 pid)
bei winsw.WrapperService.StopIt()
bei winsw.WrapperService.OnShutdown()
2021-10-26 21:32:10 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 21:32:10 - Started 1596
2021-10-26 21:33:57 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 21:33:57 - Started 5300
2021-10-26 21:34:10 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 21:34:10 - Started 6004
2021-10-26 21:36:03 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 21:36:03 - Started 4704
2021-10-26 21:38:13 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 21:38:13 - Started 4636
2021-10-26 21:38:49 - Starting C:\Program Files\nodejs\node.exe --harmony D:\Programme\ioBroker\node_modules\node-windows\lib\wrapper.js --file D:\Programme\ioBroker\controller.js --log "ioBroker wrapper" --grow 0.25 --wait 1 --maxrestarts 3 --abortonerror n --stopparentfirst undefined
2021-10-26 21:38:49 - Started 11348
node -v = v12.16.3
npm -v = 6.14.4
EDIT:
Link zum Workaround korrigiert