Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. Ошибка
    5. ioBroker ошибки
    6. Iobroker js-controller - ошибки

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Iobroker js-controller - ошибки

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Haus last edited by

      @kID:

      Обновился до версии 0.11.1 после чего перестали обновляться драйвера.

      Не получается ни через админку, ни через командную строку. брокер через секунду рапортует о том, что драйвер обновлен, при этом все остается как прежде.

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

      Я тут megaESP драйвер делаю :roll: , псле неправильных конфигураций 😢 иногда слетала в eror думал сломал чего 🙂

      1 Reply Last reply Reply Quote 0
      • Z
        znammut last edited by

        Здравствуйте, обновил контроллеры до версии 1.1.3 - отвалились ноды. Что делать непонятно, конфигурацию не менял… Может, что изменилось?

        Логи нод:

        ! ```
        2017-08-23 10:08:05.593 - .[32minfo.[39m: host.orangepipc-2 iobroker.js-controller version 1.1.3 js-controller starting 2017-08-23 10:08:05.613 - .[32minfo.[39m: host.orangepipc-2 Copyright (c) 2014-2017 bluefox, hobbyquaker 2017-08-23 10:08:05.615 - .[32minfo.[39m: host.orangepipc-2 hostname: orangepipc-2, node: v4.8.4 2017-08-23 10:08:05.618 - .[32minfo.[39m: host.orangepipc-2 ip addresses: 192.168.17.67 fe80::81:d4ff:fe54:4964[/code]
        ! и все

        1 Reply Last reply Reply Quote 0
        • Z
          znammut last edited by

          похоже что контроллер поднимается на 127.0.0.1:

          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      31156/iobroker.js-c
          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      31156/iobroker.js-c
          

          Что надо поправить?

          С уважением

          1 Reply Last reply Reply Quote 0
          • S
            spectrekr last edited by

            @znammut:

            похоже что контроллер поднимается на 127.0.0.1:

            tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      31156/iobroker.js-c
            tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      31156/iobroker.js-c
            

            Что надо поправить?

            С уважением `
            На мастере открываешь /opt/iobroker/iobroker-data/iobroker.json и правишь 127.0.0.1 на 0.0.0.0, сохраняешь и перезапускаешь, должны подключится остальные хосты.

            Второй вариант

            iobroker stop

            iobroker setup custom

            Type of objects DB [file, couch, redis], default [file]: нажать enter

            Host of objects DB(file), default[127.0.0.1]: ввести 0.0.0.0 и нажать enter

            Port of objects DB(file), default[9001]: нажать enter

            Type of states DB [file, redis], default [file]: redis нажать enter

            Host of states DB (redis), default[127.0.0.1]: ввести 0.0.0.0 и нажать enter

            Port of states DB (redis), default[6379]: нажать enter

            Data directory (file), default[../../../iobroker-data/]: нажать enter

            Host name of this machine [FastPC]: нажать enter

            creating conf/iobroker.json

            1 Reply Last reply Reply Quote 0
            • Z
              znammut last edited by

              Спасибо, заработало

              1 Reply Last reply Reply Quote 0
              • S
                sukuy last edited by

                Кто подскажет адрес этого faааааааst-online.

                https://gclub.bbet88.com/

                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  http://download.iobroker.net/sources-dist-latest.json

                  1 Reply Last reply Reply Quote 0
                  • F
                    ford7 last edited by

                    Обновил 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>

                    1 Reply Last reply Reply Quote 0
                    • P
                      Pooh last edited by

                      Для начала вернуть версию 1.4.2

                      npm install iobroker.js-controller@1.4.2 –production

                      1 Reply Last reply Reply Quote 0
                      • Stabilostick
                        Stabilostick last edited by

                        @ford7:

                        Обновил js, сейчас не запускается брокер. Подскажите, как исправить?

                        ../src/diskusage_posix.cpp:10:28: warning: missing initializer for

                        npm WARN winston-daily-rotate-file@1.7.2 requires a peer of winston@2.x but none was installed. `

                        Try installing the missing module:

                        cd /opt/iobroker
                        sudo npm i winston@2 --save --production --force
                        

                        The other warnings (missing initializer) are unproblematic.

                        1 Reply Last reply Reply Quote 0
                        • B
                          Bonus last edited by

                          Пытаюсь обновить js-controller.

                          Версия остается старой. Что делаю не так?


                          bonus@server:~$ npm install iobroker.js-controller
                          npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EHOSTUNREACH: request to https://registry.npmjs.org/iobroker.js-controller failed, reason: connect EHOSTUNREACH 104.16.16.35:443
                          npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.

                          iobroker.js-controller@2.0.25 preinstall /home/bonus/node_modules/iobroker.js-controller
                          node lib/preinstallCheck.js

                          NPM version: 6.12.0

                          iobroker.js-controller@2.0.25 install /home/bonus/node_modules/iobroker.js-controller
                          node iobroker.js setup first

                          npm WARN saveError ENOENT: no such file or directory, open '/home/bonus/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/home/bonus/package.json'
                          npm WARN bonus No description
                          npm WARN bonus No repository field.
                          npm WARN bonus No README data
                          npm WARN bonus No license field.
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.0 (node_modules/fsevents):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.0: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

                          • iobroker.js-controller@2.0.25
                            updated 1 package and audited 1785 packages in 6.701s
                            found 0 vulnerabilities

                          bonus@server:~$ iobroker js-controller -v
                          1.5.14
                          bonus@server:~$ iobroker restart
                          bonus@server:~$ iobroker js-controller -v
                          1.5.14
                          bonus@server:~$

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          768
                          Online

                          31.8k
                          Users

                          80.0k
                          Topics

                          1.3m
                          Posts

                          13
                          27
                          8703
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo