Обновил js, сейчас не запускается брокер. Подскажите, как исправить?
! /opt/iobroker# sudo iobroker upgrade self
! Update js-controller from @1.4.2 to @1.5.1
! NPM version: 4.6.1
! npm install iobroker.js-controller@1.5.1 –unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
! ../src/diskusage_posix.cpp: In function ‘DiskUsage GetDiskUsage(const char*)’:
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bsize’ [-Wmissing-field-initializers]
! struct statvfs info = {};
! ^
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_frsize’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_blocks’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bfree’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_bavail’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_files’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_ffree’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_favail’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_fsid’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_flag’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::f_namemax’ [-Wmissing-field-initializers]
! ../src/diskusage_posix.cpp:10:28: warning: missing initializer for member ‘statvfs::__f_spare’ [-Wmissing-field-initializers]
! npm WARN winston-daily-rotate-file@1.7.2 requires a peer of winston@2.x but none was installed.
! Host "zvmubn" (linux) updated
! Execute: chmod -R 777 /opt/iobroker
! Chmod finished. Restart controller
! Starting node restart.js
! root@zvmubn:/opt/iobroker# sudo 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: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>