cd /opt/iobroker npm install winston@2 ```` `
DANKE - das wars. Läuft wieder.
Gruß Bernd
cd /opt/iobroker npm install winston@2 ```` `
DANKE - das wars. Läuft wieder.
Gruß Bernd
Nochmal intalliert:
! root@iobroker:/opt/iobroker# npm install iobroker.js-controller
! npm WARN lifecycle iobroker.js-controller@1.4.2~preinstall: cannot run in wd %s %s (wd=%s) iobroker.js-controller@1.4.2 node lib/preinstall_ch
! eck.js /opt/iobroker/node_modules/.staging/iobroker.js-controller-a76002ca
! > iobroker.js-controller@1.4.2 install /opt/iobroker/node_modules/iobroker.js-controller
! > node iobroker.js setup first
! iobroker.core@0.1.0 /opt/iobroker
! └─┬ iobroker.js-controller@1.4.2
! └── UNMET PEER DEPENDENCY winston@2.4.3
! npm WARN winston-daily-rotate-file@1.7.2 requires a peer of winston@2.x but none was installed.
! root@iobroker:/opt/iobroker# iobroker start
! 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:570:32)
! at Object.Module._extensions..js (module.js:579:10)
! at Module.load (module.js:487:32)
! at tryModuleLoad (module.js:446:12)
! at Function.Module._load (module.js:438:3)
! at Module.require (module.js:497:17)
! at require (internal/module.js:20:19)
! at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:23)
! at Module._compile (module.js:570: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)
! r</anonymous></anonymous></anonymous></object>
Läuft auf Synology unter Docker.
Neustart ohne Erfolg:
! root@iobroker:/# cd /opt/iobroker
! root@iobroker:/opt/iobroker# ps uax
! USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
! root 1 0.0 0.0 4276 644 ? Ss 19:16 0:00 sh /opt/iobroker/startup.sh
! root 21 0.0 0.0 19848 2192 ? S 19:16 0:00 /bin/bash
! root 22 0.0 0.0 38292 1584 ? R+ 19:17 0:00 ps uax
! root@iobroker:/opt/iobroker# iobroker start
! 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:570:32)
! at Object.Module._extensions..js (module.js:579:10)
! at Module.load (module.js:487:32)
! at tryModuleLoad (module.js:446:12)
! at Function.Module._load (module.js:438:3)
! at Module.require (module.js:497:17)
! at require (internal/module.js:20:19)
! at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:23)
! at Module._compile (module.js:570: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)
! r</anonymous></anonymous></anonymous></object>
Wie kann ich die 1.2.3 wieder drüber-installieren?
Hatte vorher nur
gemacht. Restore probiert, durchgelaufen aber auch 1.4.3 (statt vorher 1.2.3)
Wie in der Hilfe beschrieben:
stop
update
upgrade self
start
Hallo,
habe eben das Upgrade des js-controller von 1.2.3 auf 1.4.2 gemacht.
iobroker start stürzt nun ab!
Wie kann ich das reparieren / zurücksetzen?
!! ist mein Produktiv-System !!
Danke
Bernd
! 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:570:32)
! at Object.Module._extensions..js (module.js:579:10)
! at Module.load (module.js:487:32)
! at tryModuleLoad (module.js:446:12)
! at Function.Module._load (module.js:438:3)
! at Module.require (module.js:497:17)
! at require (internal/module.js:20:19)
! at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:7:23)
! at Module._compile (module.js:570: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)
! root@iobroker:/opt/iobroker#</anonymous></anonymous></anonymous></object>
Hallo,
habe seit 01:06h keine Verbindung mehr: Nach der DSL-Provider-Zwangstrennung ist die Verbindung weg.
im Netz ist der Landi,
Eishas-App läuft (jetzt wieder, ging auch heute früh nicht)
Android-App geht (jetzt wieder, ging auch zwischendurch mal nicht)
Nur: iobroker-Adapter bekomm ich nicht zum Laufen (Versionen: 1.0.3, 1.0.4, 1.1.6)
Kannst Du helfen?
Gruß Bernd
! host.DiskStation 2017-10-11 10:54:21.462 info Restart adapter system.adapter.landroid-s.0 because enabled
! host.DiskStation 2017-10-11 10:54:21.462 error instance system.adapter.landroid-s.0 terminated with code 0 (OK)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at IncomingMessage.emit (events.js:166:7)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at emitNone (events.js:72:20)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at IncomingMessage. (/opt/iobroker/node_modules/iobroker.landroid-s/lib/landroid-cloud-2.js:179:37)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.landroid-s/lib/landroid-cloud-2.js:71:14
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at LandroidCloud.retrieveAwsCert (/opt/iobroker/node_modules/iobroker.landroid-s/lib/landroid-cloud-2.js:84:10)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at LandroidCloud.worx (/opt/iobroker/node_modules/iobroker.landroid-s/lib/landroid-cloud-2.js:200:21)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at Object.socket.once.exports.request (https.js:189:15)
! host.DiskStation 2017-10-11 10:54:21.462 error Caught by controller[2]: at Object.exports.request (http.js:31:10)
! host.DiskStation 2017-10-11 10:54:21.461 error Caught by controller[2]: at new ClientRequest (_http_client.js:79:14)
! host.DiskStation 2017-10-11 10:54:21.461 error Caught by controller[2]: at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:354:11)
! host.DiskStation 2017-10-11 10:54:21.460 error Caught by controller[2]: 2017-10-11 10:54:21.421 - landroid-s.0 Error:value
required in setHeader("X-Auth-Token", value).
! host.DiskStation 2017-10-11 10:54:21.460 error Caught by controller[1]: 2017-10-11 10:54:21.416 - landroid-s.0 uncaught exception:value
required in setHeader("X-Auth-Token", value).
! host.DiskStation 2017-10-11 10:54:21.460 error Caught by controller[0]: [Error:value
required in setHeader("X-Auth-Token", value).]
! landroid-s.0 2017-10-11 10:54:21.433 info cleaned everything up…
! landroid-s.0 2017-10-11 10:54:21.427 error Error:value
required in setHeader("X-Auth-Token", value). at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:354:11) at new ClientRequest (_http_client.js:79:14) at Object.ex
! landroid-s.0 2017-10-11 10:54:21.427 error uncaught exception:value
required in setHeader("X-Auth-Token", value).
! landroid-s.0 2017-10-11 10:54:21.426 info undefined
! landroid-s.0 2017-10-11 10:54:21.426 info CA certificate done
! landroid-s.0 2017-10-11 10:54:21.252 info Mqtt Server: undefined
! landroid-s.0 2017-10-11 10:54:21.251 info Logged in as xxxxxxxx API Token Set to : undefined
! landroid-s.0 2017-10-11 10:54:20.998 info
! landroid-s.0 2017-10-11 10:54:20.998 info post:{"email":"xxxxxxxx","password":"xxxxxxxx","uuid":"c591d8e0-ae61-11e7-8faf-63fa9536b470","type":"app","platform":"android"}
! landroid-s.0 2017-10-11 10:54:20.998 info API token set to
! landroid-s.0 2017-10-11 10:54:20.997 info Downloaded guest token
! landroid-s.0 2017-10-11 10:54:20.841 info UUID: c591d8e0-ae61-11e7-8faf-63fa9536b470
! landroid-s.0 2017-10-11 10:54:20.841 info starting. Version 1.1.6 in /opt/iobroker/node_modules/iobroker.landroid-s, node: v4.8.0
! host.DiskStation 2017-10-11 10:54:19.842 info instance system.adapter.landroid-s.0 started with pid 30447
! host.DiskStation 2017-10-11 10:53:49.832 info Restart adapter system.adapter.landroid-s.0 because enabled