NEWS
Fehler nach js-controller Update 1.5.2
-
Hallo,
nach dem Update des js-controllers von 1.4.2 auf 1.5.2 kann der iobroker nicht mehr starten. Folgender Text kommt in der Konsole:
Starting iobroker controller daemon... /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136 throw new Error(msg.error); ^ Error: TypeError: Cannot set property DailyRotateFile of # <object>which has only a getter at Object. <anonymous>(/opt/iobroker/node_modules/winston-daily-rotate-file/index.js:184:36) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:25) at Module._compile (module.js:577:32) at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at process.nextTick (internal/child_process.js:787:12) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9) Was kann ich tun?</anonymous></anonymous></anonymous></object>
-
Welche Node- und npm-Version hast Du?
Gruß,
Eric
Von unterwegs getippert
-
Node v6.14.3
npm v3.10.10
-
Npm v3 ist aber etwas alt ….
Bring Dein System bitte erst mal auf einen aktuelleren Stand (npm 4).
Eigentlich müsstest Du bei jedem Admin-Aufruf ein entspr. Popup bekommen.
Gruß,
Eric
Von unterwegs getippert
-
Dnake für die Tipps!
ich habe das update gemacht wie hier viewtopic.php?t=1702 , jetzt ist die version von npm 6.4.1
leider funktioniert es trotzdem nicht
/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136 throw new Error(msg.error); ^ Error: TypeError: Cannot set property DailyRotateFile of # <object>which has only a getter at Object. <anonymous>(/opt/iobroker/node_modules/winston-daily-rotate-file/index.js:184:36) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:25) at Module._compile (module.js:577:32) at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at process.nextTick (internal/child_process.js:787:12) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous></anonymous></anonymous></object>
-
Dann mach es doch mal nach der offiziellen Anleitung
> [http://www.iobroker.net/docu/?page_id=5106&lang=de](http://www.iobroker.net/docu/?page_id=5106&lang=de)
-
Dann mach es doch mal nach der offiziellen Anleitung
> [http://www.iobroker.net/docu/?page_id=5106&lang=de](http://www.iobroker.net/docu/?page_id=5106&lang=de)
`du meinst wohl das ich version 4.6.1 installieren soll. hab ich eben gemacht. hat überhaupt nicht geholfen. weiterhin dieser fehler:
Starting iobroker controller daemon... /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136 throw new Error(msg.error); ^ Error: TypeError: Cannot set property DailyRotateFile of # <object>which has only a getter at Object. <anonymous>(/opt/iobroker/node_modules/winston-daily-rotate-file/index.js:184:36) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:25) at Module._compile (module.js:577:32) at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at process.nextTick (internal/child_process.js:787:12) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous></anonymous></anonymous></object>
-
Nun kann man aber ausschließen, dass es daran liegt
-
das stimmt. leider bringt mich das nicht weiter im moment. der fehler selbst sagt mir auch nichts….hm
-
Ich habe den gleichen Fehler habe dann mein Backup wieder eingespielt.
Gruß OSR
-
Das habe ich auch gemacht, ist aber auf dauer keine Lösung…
Woran könnte das liegen?