NEWS


  • @Alekseym6:

    При использовании https в админке в настройках истории на вкладке "График" не отображаются сами графики.

    как исправить? `
    Если в одной сети с сервером, то поменять браузер, если подключаетесь из вне по доменному имени, то ни как.


  • @spectrekr:

    @Alekseym6:

    При использовании https в админке в настройках истории на вкладке "График" не отображаются сами графики.

    как исправить? Если в одной сети с сервером, то поменять браузер, если подключаетесь из вне по доменному имени, то ни как.

    для одной сети(через VPN). Safari 9.1.3, Google Chrome Версия 61.0.3163.100


  • обновил через ssh admin до версии 3.3.5 (черт меня дернул!)

    pi@raspberrypi:/opt/iobroker $ iobroker update
    Used repository: default
    update done
    Adapter    "admin"         : 2.0.9    , installed 3.3.5
    

    теперь при заходе в админку пишет:

    ` > This adapter cannot be installed directly from github.

    You must install it from npm.

    Write for that "npm install iobroker.admin" in according directory. `

    команда: npm install iobroker.admin

    pi@raspberrypi:/opt/iobroker $ npm install iobroker.admin
    iobroker.inst@1.1.2 /opt/iobroker
    └── iobroker.admin@3.3.5
    
    pi@raspberrypi:/opt/iobroker $ node -v
    v6.14.1
    pi@raspberrypi:/opt/iobroker $ npm -v
    3.10.10
    pi@raspberrypi:/opt/iobroker $ nodejs -v
    v6.14.1
    
    
    pi@raspberrypi:/opt/iobroker $ /opt/iobroker/iobroker list instances
    system.adapter.admin.0                 : admin       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
    system.adapter.discovery.0             : discovery   -  enabled
    system.adapter.history.0               : history     -  enabled
    system.adapter.javascript.0            : javascript  -  enabled
    system.adapter.knx.0                   : knx         -  enabled
    system.adapter.mobile.0                : mobile      - disabled
    system.adapter.modbus.0                : modbus      -  enabled
    system.adapter.node-red.0              : node-red    -  enabled, port: 1881
    system.adapter.ping.0                  : ping        - disabled
    system.adapter.rpi2.0                  : rpi2        -  enabled
    system.adapter.starline.0              : starline    -  enabled
    system.adapter.vis-hqwidgets.0         : vis-hqwidgets -  enabled
    system.adapter.vis-justgage.0          : vis-justgage -  enabled
    system.adapter.vis-map.0               : vis-map     -  enabled
    system.adapter.vis-timeandweather.0    : vis-timeandweather -  enabled
    system.adapter.vis.0                   : vis         -  enabled
    system.adapter.web.0                   : web         -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
    system.adapter.yahka.0                 : yahka       -  enabled
    system.adapter.yr.0                    : yr          -  enabled
    
    

    помогите разобраться что я сделал не так?


  • pi@raspberrypi:/opt/iobroker $ npm -v
    4.6.1
    
    

    не помогло….

    хелп ми плиз!


  • cd /opt/iobroker
    iobroker upload admin
    iobroker restart admin
    
    

  • Не удается использовать существующие сертификаты, если указывать пути до них

    Получается только если перетащить сами сертификаты в окно, но это не допустимо для своих сертификатов, которые необходимо периодически обновлять…


  • добрый день! как переименовать(переместить) переменную("javascript.0.ChargeCMD" в "javascript.0.Charger.CMD") с сохранением истории(sqlite3, influxdb)?


  • @Alekseym6:

    добрый день! как переименовать(переместить) переменную("javascript.0.ChargeCMD" в "javascript.0.Charger.CMD") с сохранением истории(sqlite3, influxdb)? `
    только создать заново и средствами БД перенести данные в новый обьект


  • После обновления драйвера до версии 3.5.9 перестал работать https. Крешится:

    host.cubietruck	2018-09-18 17:37:40.739	error	instance system.adapter.admin.0 terminated with code 6 (uncaught exception)
    Caught	2018-09-18 17:37:40.738	error	by controller[0]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
    Caught	2018-09-18 17:37:40.738	error	by controller[0]: at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
    Caught	2018-09-18 17:37:40.737	error	by controller[0]: at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
    Caught	2018-09-18 17:37:40.737	error	by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
    Caught	2018-09-18 17:37:40.736	error	by controller[0]: at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
    Caught	2018-09-18 17:37:40.735	error	by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
    Caught	2018-09-18 17:37:40.735	error	by controller[0]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
    Caught	2018-09-18 17:37:40.734	error	by controller[0]: at Socket.adapter.objects.getObjectList (/opt/iobroker/node_modules/iobroker.admin/main.js:337:35)
    Caught	2018-09-18 17:37:40.734	error	by controller[0]: at getData (/opt/iobroker/node_modules/iobroker.admin/main.js:283:39)
    Caught	2018-09-18 17:37:40.733	error	by controller[0]: at new Web (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:457:7)
    Caught	2018-09-18 17:37:40.733	error	by controller[0]: at __construct (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:426:32)
    Caught	2018-09-18 17:37:40.732	error	by controller[0]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
    Caught	2018-09-18 17:37:40.732	error	by controller[0]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
    Caught	2018-09-18 17:37:40.731	error	by controller[0]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
    Caught	2018-09-18 17:37:40.731	error	by controller[0]: at Array.forEach (native)
    Caught	2018-09-18 17:37:40.730	error	by controller[0]: at /opt/iobroker/node_modules/greenlock/index.js:17:33
    Caught	2018-09-18 17:37:40.730	error	by controller[0]: 2018-09-18 17:37:38.990 - error: admin.0 TypeError: util.promisify is not a function
    Caught	2018-09-18 17:37:40.729	error	by controller[0]: 2018-09-18 17:37:38.986 - admin.0 uncaught exception: util.promisify is not a function
    Caught	2018-09-18 17:37:40.729	error	by controller[0]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
    Caught	2018-09-18 17:37:40.728	error	by controller[0]: at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
    Caught	2018-09-18 17:37:40.728	error	by controller[0]: at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
    Caught	2018-09-18 17:37:40.727	error	by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
    Caught	2018-09-18 17:37:40.727	error	by controller[0]: at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
    Caught	2018-09-18 17:37:40.726	error	by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
    Caught	2018-09-18 17:37:40.725	error	by controller[0]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
    Caught	2018-09-18 17:37:40.725	error	by controller[0]: at Socket.adapter.objects.getObjectList (/opt/iobroker/node_modules/iobroker.admin/main.js:337:35)
    Caught	2018-09-18 17:37:40.724	error	by controller[0]: at getData (/opt/iobroker/node_modules/iobroker.admin/main.js:283:39)
    Caught	2018-09-18 17:37:40.723	error	by controller[0]: at new Web (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:457:7)
    Caught	2018-09-18 17:37:40.722	error	by controller[0]: at __construct (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:426:32)
    Caught	2018-09-18 17:37:40.721	error	by controller[0]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
    Caught	2018-09-18 17:37:40.720	error	by controller[0]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
    Caught	2018-09-18 17:37:40.719	error	by controller[0]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
    Caught	2018-09-18 17:37:40.718	error	by controller[0]: at Array.forEach (native)
    Caught	2018-09-18 17:37:40.716	error	by controller[0]: at /opt/iobroker/node_modules/greenlock/index.js:17:33
    Caught	2018-09-18 17:37:40.714	error	by controller[0]: TypeError: util.promisify is not a function
    admin.0	2018-09-18 17:37:40.012	info	terminating https server on port 8081
    admin.0	2018-09-18 17:37:38.997	info	terminating https server on port 8081
    admin.0	2018-09-18 17:37:38.989	error	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
    admin.0	2018-09-18 17:37:38.989	error	at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
    admin.0	2018-09-18 17:37:38.989	error	at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
    admin.0	2018-09-18 17:37:38.989	error	at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
    admin.0	2018-09-18 17:37:38.989	error	at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
    admin.0	2018-09-18 17:37:38.989	error	at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
    admin.0	2018-09-18 17:37:38.989	error	at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
    admin.0	2018-09-18 17:37:38.989	error	at Socket.adapter.objects.getObjectList (/opt/iobroker/node_modules/iobroker.admin/main.js:337:35)
    admin.0	2018-09-18 17:37:38.989	error	at getData (/opt/iobroker/node_modules/iobroker.admin/main.js:283:39)
    admin.0	2018-09-18 17:37:38.989	error	at new Web (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:457:7)
    admin.0	2018-09-18 17:37:38.989	error	at __construct (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:426:32)
    admin.0	2018-09-18 17:37:38.989	error	at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
    admin.0	2018-09-18 17:37:38.989	error	at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
    admin.0	2018-09-18 17:37:38.989	error	at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
    admin.0	2018-09-18 17:37:38.989	error	at Array.forEach (native)
    admin.0	2018-09-18 17:37:38.989	error	at /opt/iobroker/node_modules/greenlock/index.js:17:33
    admin.0	2018-09-18 17:37:38.989	error	TypeError: util.promisify is not a function
    admin.0	2018-09-18 17:37:38.983	error	uncaught exception: util.promisify is not a function</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
    

    Выключаеш https - работает. Аналогично с адаптером web.


  • Admin 3.7.8. Парольный вход. Если поставить галочку "оставаться в системе", то залогиниться не получается - редиректит на эту же страницу. Если галочку убрать, то логин проходит хорошо. Это поправимо?

Suggested Topics

  • 2
  • 48
  • 6
  • 5
  • 3
  • 20
  • 39
  • 7

1.6k
Online

34.8k
Users

40.8k
Topics

559.9k
Posts