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> -
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)`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> -
Ich habe den gleichen Fehler habe dann mein Backup wieder eingespielt.
Gruß OSR
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden