Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. ioBroker kaputt "gerettet"

    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 kaputt "gerettet"

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @subman82 last edited by

      @subman82 sagte in ioBroker kaputt "gerettet":

      Ich meine die 3 aktuellen Versionen von node,nodejs und npm.

      Es gibt keine individuellen Versionen. Das ist alles richtig im Paket 'nodejs' drin. Frickel da nix herum.

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @subman82 last edited by

        @subman82

        cd /opt/iobroker
        sudo -H -u iobroker npm install iobroker.js-controller
        iobroker update -i
        iobroker upgrade
        iobroker start
        iobroker status
        
        S 1 Reply Last reply Reply Quote 0
        • S
          subman82 @Thomas Braun last edited by

          @thomas-braun said in ioBroker kaputt "gerettet":

          iobroker status

          pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
          npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
          npm WARN checkPermissions Missing write access to /home/pi
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          npm WARN pi No description
          npm WARN pi No repository field.
          npm WARN pi No license field.
          
          npm ERR! code EACCES
          npm ERR! syscall access
          npm ERR! path /home/pi
          npm ERR! errno -13
          npm ERR! Error: EACCES: permission denied, access '/home/pi'
          npm ERR!  [Error: EACCES: permission denied, access '/home/pi'] {
          npm ERR!   errno: -13,
          npm ERR!   code: 'EACCES',
          npm ERR!   syscall: 'access',
          npm ERR!   path: '/home/pi'
          npm ERR! }
          npm ERR!
          npm ERR! The operation was rejected by your operating system.
          npm ERR! It is likely you do not have the permissions to access this file as the current user
          npm ERR!
          npm ERR! If you believe this might be a permissions issue, please double-check the
          npm ERR! permissions of the file and its containing directories, or try running
          npm ERR! the command again as root/Administrator.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-09-11T10_27_38_573Z-debug.log
          pi@raspberrypi:~ $ iobroker update -i
          internal/modules/cjs/loader.js:905
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
              at Function.Module._load (internal/modules/cjs/loader.js:746:27)
              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
              at internal/main/run_main_module.js:17:47 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          pi@raspberrypi:~ $ iobroker upgrade
          internal/modules/cjs/loader.js:905
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
              at Function.Module._load (internal/modules/cjs/loader.js:746:27)
              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
              at internal/main/run_main_module.js:17:47 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          pi@raspberrypi:~ $ iobroker start
          pi@raspberrypi:~ $ iobroker status
          internal/modules/cjs/loader.js:905
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
              at Function.Module._load (internal/modules/cjs/loader.js:746:27)
              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
              at internal/main/run_main_module.js:17:47 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          
          

          War das nicht das Problem mit dem falschen Verzeichnis? Aber wie ändere ich das?

          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @subman82 last edited by Thomas Braun

            @subman82

            Du stehst immer noch im falschen Verzeichnis.
            Warum gibst du nicht alles ein, was ich vorgebe?

            Die Zeile mit dem cd drin steht da nicht zur Zierde.

            S 1 Reply Last reply Reply Quote 0
            • S
              subman82 @Thomas Braun last edited by

              @thomas-braun

              Ooooh, ich dachte immer da sich bei Putty nach der Eingabe dieses Befehls nichts getan hat, wäre es nur eine Art Befehl um SSH bzw. Putty zu starten.Wieder was gelernt, werde es nicht mehr weglassen!! Das bestimmt was root zu tun oder? (Ich kann echt garnix am PC:/)

              Ich habe somit nochmal von oben angefangen und folgende Logs:

              pi@raspberrypi:~ $ cd /opt/iobroker
              pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
              npm WARN deprecated har-validator@5.1.5: this library is no longer supported
              npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
              npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
              
              > iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller
              > node lib/preinstallCheck.js
              
              NPM version: 6.14.17
              
              > usb@1.9.2 install /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo/node_modules/usb
              > node-gyp-build
              
              make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo/node_modules/usb/build“ wird betreten
                CC(target) Release/obj.target/libusb/libusb/libusb/core.o
                CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
                CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
                CC(target) Release/obj.target/libusb/libusb/libusb/io.o
                CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
                CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
                AR(target) Release/obj.target/usb.a
                COPY Release/usb.a
                CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
              ../src/node_usb.cc: In function ‘Napi::Value SetDebugLevel(const Napi::CallbackInfo&)’:
              ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
                libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value());
                                                                                     ^
              In file included from ../src/node_usb.h:11,
                               from ../src/node_usb.cc:1:
              ../libusb/libusb/libusb.h:1325:18: note: declared here
               void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                                ^~~~~~~~~~~~~~~~
              ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
                libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value());
                                                                                     ^
              In file included from ../src/node_usb.h:11,
                               from ../src/node_usb.cc:1:
              ../libusb/libusb/libusb.h:1325:18: note: declared here
               void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                                ^~~~~~~~~~~~~~~~
                CXX(target) Release/obj.target/usb_bindings/src/device.o
                CXX(target) Release/obj.target/usb_bindings/src/transfer.o
                SOLINK_MODULE(target) Release/obj.target/usb_bindings.node
                COPY Release/usb_bindings.node
              make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo/node_modules/usb/build“ wird verlassen
              
              > usb@1.9.2 install /opt/iobroker/node_modules/@abandonware/.noble-UjddDcbH/node_modules/usb
              > node-gyp-build
              
              make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.noble-UjddDcbH/node_modules/usb/build“ wird betreten
                CC(target) Release/obj.target/libusb/libusb/libusb/core.o
                CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
                CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
                CC(target) Release/obj.target/libusb/libusb/libusb/io.o
                CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
                CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
                CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
                AR(target) Release/obj.target/usb.a
                COPY Release/usb.a
                CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
              ../src/node_usb.cc: In function ‘Napi::Value SetDebugLevel(const Napi::CallbackInfo&)’:
              ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
                libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value());
                                                                                     ^
              In file included from ../src/node_usb.h:11,
                               from ../src/node_usb.cc:1:
              ../libusb/libusb/libusb.h:1325:18: note: declared here
               void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                                ^~~~~~~~~~~~~~~~
              ../src/node_usb.cc:118:71: warning: ‘void libusb_set_debug(libusb_context*, int)’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
                libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value());
                                                                                     ^
              In file included from ../src/node_usb.h:11,
                               from ../src/node_usb.cc:1:
              ../libusb/libusb/libusb.h:1325:18: note: declared here
               void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                                ^~~~~~~~~~~~~~~~
                CXX(target) Release/obj.target/usb_bindings/src/device.o
                CXX(target) Release/obj.target/usb_bindings/src/transfer.o
                SOLINK_MODULE(target) Release/obj.target/usb_bindings.node
                COPY Release/usb_bindings.node
              make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/.noble-UjddDcbH/node_modules/usb/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-base-ab09iRFq/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-base-ab09iRFq/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-base-ab09iRFq/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-objects-file-ubICTaYK/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-file-ubICTaYK/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-file-ubICTaYK/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-objects-jsonl-G7SarE7O/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-jsonl-G7SarE7O/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-jsonl-G7SarE7O/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-objects-redis-c2gJ2uk7/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-redis-c2gJ2uk7/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-objects-redis-c2gJ2uk7/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-states-file-b4IMGS2U/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-file-b4IMGS2U/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-file-b4IMGS2U/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-states-jsonl-u7i57pvw/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-jsonl-u7i57pvw/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-jsonl-u7i57pvw/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.db-states-redis-GzenCYAo/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-redis-GzenCYAo/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.db-states-redis-GzenCYAo/node_modules/unix-dgram/build“ wird verlassen
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/@iobroker/.js-controller-adapter-KzcGIgOj/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/@iobroker/.js-controller-adapter-KzcGIgOj/node_modules/unix-dgram/build“ wird betreten
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../../nan/nan.h:60,
                               from ../src/unix_dgram.cc:5:
              /home/iobroker/.cache/node-gyp/14.20.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              
              .....................
              
              + iobroker.js-controller@4.0.23
              added 1112 packages from 283 contributors, removed 9 packages and updated 245 packages in 758.546s
              
              50 packages are looking for funding
                run `npm fund` for details
              
              pi@raspberrypi:/opt/iobroker $ iobroker status
              iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              pi@raspberrypi:/opt/iobroker $ iobroker list instances
               Cannot determine Set feature status: Connection is closed.
               Unable to subscribe to evicted Keyspace events from Redis Server: Connection is closed.
               Unable to subscribe to meta namespace "meta." changes: Connection is closed.
              Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
              
              

              Musste Log abkürzen ,da eine Fehlermeldung beim Absenden auftrat (Payload too large) Ich hoffe du kannst trotzdem etwas damit anfangen.

              Es hat sich durch hinzufügen des ersten Schrittes (1. cd /opt/iobroker) auf jedenfall etwas geändert...ich komme wieder auf die Benutzeroberfläche:))
              Die Instanzen sind noch alle da aber auf rot.

              mikeal created this issue in request/request

              open Request’s Past, Present and Future #3142

              mikeal created this issue in request/request

              open Request’s Past, Present and Future #3142

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @subman82 last edited by

                @subman82 sagte in ioBroker kaputt "gerettet":

                Wieder was gelernt

                Dann gleich noch was, Putty ist lediglich ein Tool um z.B. eine Konsole für ein SSH Verbindung zu öffnen, nicht mehr und nicht weniger 😉

                S 1 Reply Last reply Reply Quote 0
                • S
                  subman82 @Jan1 last edited by

                  @jan1 Viel lernen ich noch muss 😕

                  Ich danke euch auf jeden Fall, insbesondere für die Geduld 🙄

                  Thomas Braun J 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @subman82 last edited by

                    @subman82

                    cd = Change Directory

                    Starte die Kiste mal komplett durch.

                    iobroker stop
                    sudo reboot
                    
                    1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @subman82 last edited by

                      @subman82
                      Thomas hat ein Gedulds Abo, also der gibt so schnell nicht auf 😉
                      Was Linux betrifft, hat er schon jeden hier bekehrt und auf den rechten Pfad geführt, inklusive meiner Wenigkeit.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        subman82 @Jan1 last edited by

                        @jan1 Ich muss jetzt Familienprogramm launchen und gucke später hier weiter 😬
                        Besten Dank erstmal Jungs!!!!

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          subman82 @subman82 last edited by

                          @subman82

                          Wir sind jetzt zurück und in der Zwischenzeit sind die meistens Instanzen auf grün gewechselt. Die brauchten wohl nach dem Neustart einfach etwas Zeit.
                          Die Harmony und die Zigbee Instanz stehen noch auf rot. Mal gucken wie ich das noch beseitigt bekomme aber da der Rest erst mal läuft bin ich mehr als glücklich und dankbar!!!
                          Lieben Dank nochmal,insbesondere an Thomas!!

                          Thomas Braun J 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @subman82 last edited by

                            @subman82 sagte in ioBroker kaputt "gerettet":

                            Die brauchten wohl nach dem Neustart einfach etwas Zeit.

                            Die müssen nach dem 'Backup-Bauplan' zuerst mal gebaut werden.
                            Das dauert halt.
                            Der zigbee kann da auch schon mal etwas zickbee werden.
                            Schau dir dessen Neustart mal im LogFile an.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @subman82 last edited by

                              @subman82
                              Wenn alle anderen grün werden und nur Harmony und Zigbee nicht, dann hast beim Harmony wohl ne falsche, oder überhaupt ein IP eingetragen. Bei einem Hub muss nichts gemacht werden. Zigbee dauert unter Umständen wirklich sehr lange, bringt aber bei Fehlern auch ein sehr brauchbares Log.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                subman82 @Jan1 last edited by

                                @jan1

                                bei der Harmony ist die richtige IP hinterlegt,gerade nochmal abgeglichen. Mehr kann man da wirklich nicht eintragen.
                                Hab den Hub und dann die Instanz neugestartet, jetzt ist sie auch grün,JUHU:)

                                bei zigbee steht einiges, da geh ich aber ein andermal dran...

                                2022-09-11 18:45:55.181	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                host.raspberrypi
                                	2022-09-11 18:45:55.180	error	Caught by controller[0]: }
                                host.raspberrypi
                                	2022-09-11 18:45:55.180	error	Caught by controller[0]: ]
                                host.raspberrypi
                                	2022-09-11 18:45:55.180	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js'
                                host.raspberrypi
                                	2022-09-11 18:45:55.180	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.179	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.179	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/index.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.176	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/devices/danfoss.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.176	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/index.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.175	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/securifi.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.175	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js',
                                host.raspberrypi
                                	2022-09-11 18:45:55.175	error	Caught by controller[0]: requireStack: [
                                host.raspberrypi
                                	2022-09-11 18:45:55.175	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                host.raspberrypi
                                	2022-09-11 18:45:55.175	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) {
                                host.raspberrypi
                                	2022-09-11 18:45:55.174	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                                host.raspberrypi
                                	2022-09-11 18:45:55.174	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                                host.raspberrypi
                                	2022-09-11 18:45:55.174	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                                host.raspberrypi
                                	2022-09-11 18:45:55.174	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                                host.raspberrypi
                                	2022-09-11 18:45:55.174	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js:5:13)
                                host.raspberrypi
                                	2022-09-11 18:45:55.173	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                                host.raspberrypi
                                	2022-09-11 18:45:55.173	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                                host.raspberrypi
                                	2022-09-11 18:45:55.173	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                host.raspberrypi
                                	2022-09-11 18:45:55.173	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                host.raspberrypi
                                	2022-09-11 18:45:55.172	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.172	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.172	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.172	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/index.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.172	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/devices/danfoss.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.171	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/index.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.171	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/securifi.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.171	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js
                                host.raspberrypi
                                	2022-09-11 18:45:55.170	error	Caught by controller[0]: Require stack:
                                host.raspberrypi
                                	2022-09-11 18:45:55.170	error	Caught by controller[0]: Error: Cannot find module 'uri-js'
                                host.raspberrypi
                                	2022-09-11 18:45:55.170	error	Caught by controller[0]: ^
                                host.raspberrypi
                                	2022-09-11 18:45:55.169	error	Caught by controller[0]: throw err;
                                host.raspberrypi
                                	2022-09-11 18:45:55.169	error	Caught by controller[0]: internal/modules/cjs/loader.js:905
                                

                                Schönen Sonntag noch!

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @subman82 last edited by

                                  @subman82
                                  Wenn nur ein Harmony Hub vorhanden, dann brauchst eben auch gar keine IP eintragen, da dann automatisch der verfügbare Hub genommen wird, wenn das Subnetzt passt 😉

                                  Wobei beim Zigbee fehlt wohl das Modul uri-js, somit könnte beim Harmony auch was anderes der Grund für den roten Status sein.

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Jan1 last edited by

                                    @jan1 sagte in ioBroker kaputt "gerettet":

                                    uri-js

                                    Das Modul hab ich aber nicht im zigbee-Adapter drin sondern im backitup:

                                    echad@chet:/opt/iobroker $ npm ls uri-js
                                    iobroker.inst@3.0.0 /opt/iobroker
                                    └─┬ iobroker.backitup@2.4.12
                                      └─┬ request@2.88.2
                                        └─┬ har-validator@5.1.5
                                          └─┬ ajv@6.12.6
                                            └── uri-js@4.4.1
                                    

                                    Da scheint mir doch eher dort was im Argen zu liegen.

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jan1 @Thomas Braun last edited by

                                      @thomas-braun
                                      In der Tat etwas seltsam, wobei der Rest ja nach dem Restor läuft. Ist die Frage ob der Restor mit dem Backitup gemacht wurde, oder manuell.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        subman82 @Jan1 last edited by

                                        @jan1

                                        Hallo ihr beiden,

                                        Zum hub, ich hab zwei , darum hab ich die ip drin.

                                        Zum Backup.
                                        Ich hab backitup heruntergeladen weil ich das Backup auf dem Laptop speichern wollte aber als da auf Anhieb nicht gesehen hatte wie das geht und mir die Zeit fehlte hab ich das Backup nur über putty gemacht auf dem raspberry gemacht.

                                        Den Zugriff auf die Benutzeroberfläche hab ich durch Thomas seinen Befehl

                                        cd /opt/iobroker
                                        sudo -H -u iobroker npm install iobroker.js-controller
                                        
                                        

                                        hinbekommen. Mehr hab ich dann nicht mehr gemacht bisher , weil nach und nach alle Instanzen bis auf zigbee grün wurden.

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jan1 @subman82 last edited by Jan1

                                          @subman82
                                          Das erklärt warum der Restor lief, obwohl dem Backitup Adapter ein Modul fehlt.
                                          Dann hast über Putty ne SSH Verbindung hergestellt, denn mit Putty kannst kein Restor machen, das ist ein simples Tool um Verbindungen aller Art zu speichern und dann per Klick zu öffnen, mehr macht Putty nicht 😉

                                          Also Du hast ein aktuelles Backup? Wenn ja, dann würde ich das jetzt noch mal sauber restoren und zwar komplett frisch. Sprich den Ordner IOBroker löschen, am besten Node gleich mit (steht in der Anleitung wie das geht). Dann IObroker installieren, den das bringt die geforderte Node und den Backitup Adapter gleich mit. Dann das Backup in den Backups Order kopieren und im Backitup Adapter unter lokal das Backu restoren. Wenn danach was nicht läuft, hatst ein Problem in der Debian Installation, oder das Backup ist defekt (hatte ich noch nie).

                                          Wie hattest denn das Backup überhaupt erzeugt, mit dem Adapter?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            subman82 @Jan1 last edited by

                                            @jan1 Ich hatte nur über putty den Befehl „Iobroker Backup“eingetippt. Also nicht über den Adapter.

                                            Ich bin eigentlich froh, dass es läuft wie es läuft. Ich glaub über zigbee hatte ich eh nix mehr verbunden.

                                            Ansonsten hast du ja geschrieben wie ich es neu aufsetzen könnte. Das lese ich mir nochmal in Ruhe durch und Versuch es mal an einem Wochenenden.

                                            Ich muss wohl generell mal mehr Basics anlernen, versteh nur die Hälfte von dem was du geschrieben hast mit ssh und putty. Ich weis nicht mal wie ich mir die Ordner auf dem Raspberry auf dem Laptop anzeigen lassen kann, wo alles abgespeichert wird.
                                            Hab es am Wochenende mit einem Desktop Remote Programm versucht aber am Ende sah es als hätte ich putty auf. Konsole nennt sich das dann?ssh? 🤦 😖 keine Ahnung

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            778
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            66
                                            3560
                                            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