Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2 jetzt für alle im Stable

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2 jetzt für alle im Stable

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

      Hallo

      Aldo ich versuche seit Stunden js-controller zu updaten. Immer mit Fehler und ich muss 1.6 wieder drauf machen damit Iobroker wieder geht.

      Habe einen Rockpro64 mit Iobroker und meldungen sind wie folgt:

      pi@rockpro64:~$ sudo iobroker upgrade self
      Update js-controller from @1.5.14 to @2.1.1
      NPM version: 6.13.4
      npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --pre                                                                                                                                                             fix "/opt/iobroker" (System call)
      ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: No such file or directory
           #include <bluetooth/bluetooth.h>
                                           ^
      compilation terminated.
      make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Error 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.4.192-rockchip64
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
      gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth
      gyp ERR! node -v v10.18.0
      gyp ERR! node-gyp -v v5.0.5
      gyp ERR! not ok
      ../src/unix_dgram.cc: In function 'void {anonymous}::OnRecv({anonymous}::SocketContext*)':
      ../src/unix_dgram.cc:121:25: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
                           argv);
                               ^
      In file included from ../src/unix_dgram.cc:5:0:
      ../../nan/nan.h:1024:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../src/unix_dgram.cc: In function 'void {anonymous}::OnWritable({anonymous}::SocketContext*)':
      ../src/unix_dgram.cc:129:28: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
                           0, NULL);
                                  ^
      In file included from ../src/unix_dgram.cc:5:0:
      ../../nan/nan.h:1024:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/unix_dgram.cc:189:37: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         domain      = info[0]->Int32Value();
                                           ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:190:37: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         type        = info[1]->Int32Value();
                                           ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:191:37: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         protocol    = info[2]->Int32Value();
                                           ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/unix_dgram.cc:230:28: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:231:33: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/unix_dgram.cc:258:28: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:259:27: warning: 'v8::Local<v8::Object> v8::Value::ToObject() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63:0,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc:260:33: warning: 'uint32_t v8::Value::Uint32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         offset = info[2]->Uint32Value();
                                       ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:261:33: warning: 'uint32_t v8::Value::Uint32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         length = info[3]->Uint32Value();
                                       ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:262:33: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[4]);
                                       ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/unix_dgram.cc:302:28: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:303:27: warning: 'v8::Local<v8::Object> v8::Value::ToObject() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63:0,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/unix_dgram.cc:340:28: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:341:33: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/unix_dgram.cc:361:28: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:26:0,
                       from /home/iobroker/.cache/node-gyp/10.18.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.cache/node-gyp/10.18.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      /opt/iobroker/node_modules/ioredis/built/command.js:50
              this.args = lodash_1.flatten(args);
                                   ^
      
      TypeError: lodash_1.flatten is not a function
          at new Command (/opt/iobroker/node_modules/ioredis/built/command.js:50:30)
          at Redis.info (/opt/iobroker/node_modules/ioredis/built/commander.js:124:33)
          at Redis._readyCheck (/opt/iobroker/node_modules/ioredis/built/redis/index.js:430:10)
          at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:47:18)
          at Object.onceWrapper (events.js:286:20)
          at Socket.emit (events.js:203:15)
          at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:10)
      npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules/node-bluetooth):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: `node-gyp configure build`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! iobroker.js-controller@2.1.1 install: `node iobroker.js setup first`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the iobroker.js-controller@2.1.1 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2019-12-27T16_01_29_257Z-debug.log
      Host "rockpro64" (linux) updated
      Execute: chmod -R 777 /opt/iobroker
      Chmod finished. Restart controller
      Starting node restart.js
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @Motsche1 last edited by

        @Motsche1 Also die meisten Meldungen oben sind nur Warnungen.. Der Fehler mit dem "flatten" ist komisch. Dann gib mal bitte mehr Infos zu Deinem System.

        Was ist vorher drauf? 1.6 gibts nicht wirklich. 1.5.14? oder was? Nutzt Du Redis? Ist es ein Master/Slave System oder Einzel-Host?

        1 Reply Last reply Reply Quote 0
        • M
          Motsche1 last edited by

          Einzelhost

          nutze kein redis und es ist bzw war 1.5.14 drauf jetzt startet iobroker nicht

          müste erst 1.5.14 wieder drüber machen dann geht alles wieder

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

            iobroker war sauber gestoppt davor? Keine Prozesse mehr gelaufen?

            1 Reply Last reply Reply Quote 0
            • M
              Motsche1 last edited by

              ja

              ist immernoch gestoppt

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

                Und was genau kommt als Fehler wnen Du wieder neu starten willst?

                1 Reply Last reply Reply Quote 0
                • M
                  Motsche1 last edited by

                  sudo iobroker start keine fehler kommt nix

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Motsche1 @Motsche1 last edited by

                    erst bei sudo iobroker start admin

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

                      Fehler im Logfile? /opt/iobroker/log/...

                      1 Reply Last reply Reply Quote 0
                      • M
                        Motsche1 last edited by

                        also im moment kann er nicht starten da kein js controler da ist

                        das log ist seit 40 min nix neues drin hab aber vor 10 min versucht zu starten

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Motsche1 @Motsche1 last edited by

                          @Motsche1 ich lösch mal die log und installiere js neu mom

                          1 Reply Last reply Reply Quote 0
                          • M
                            Motsche1 last edited by

                            alsoinstallation geht nur mit

                            npm install iobroker.js-controller

                            dann hab ich wieder 1.5.14 drauf und iobroker laüft

                            1 Reply Last reply Reply Quote 0
                            • M
                              Motsche1 last edited by

                              und dann hab ich im log fplgenden fehler wenn ich starte

                              2019-12-27 17:47:54.478  - error: uncaught exception: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt'
                              2019-12-27 17:47:54.480  - error: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt'
                                  at Object.openSync (fs.js:443:3)
                                  at Object.writeFileSync (fs.js:1194:35)
                                  at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:2024:16)
                                  at ontimeout (timers.js:436:11)
                                  at tryOnTimeout (timers.js:300:5)
                                  at listOnTimeout (timers.js:263:5)
                                  at Timer.processTimers (timers.js:223:10)
                              
                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @Motsche1 last edited by

                                @Motsche1 Installation Fixer ... siehe FAQ!

                                Ansonsten mach mal

                                npm install iobroker.js-controller@2.1.1

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Motsche1 last edited by

                                  hab ich beides schon durch --- selbes ergebnis

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @Motsche1 last edited by

                                    @Motsche1 Immer dieser Fehler mit dem "Flatten"?

                                    Ruf mal nach install der 2.1.1 bitte manuell "iobroker setup first" auf.

                                    Und immer noch: Was steht im ioBroker Logfile?

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Motsche1 last edited by

                                      @apollon77 said in js-controller 2 jetzt für alle im Stable:

                                      iobroker setup first

                                      Iobroker setup first

                                      internal/modules/cjs/loader.js:638
                                          throw err;
                                          ^
                                      
                                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                                          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                                          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                                          at startup (internal/bootstrap/node.js:283:19)
                                          at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                                      

                                      und log file hatte ich schon gepostet aber gern nochmal

                                      2019-12-27 17:55:09.310  - error: uncaught exception: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt'
                                      2019-12-27 17:55:09.314  - error: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt'
                                          at Object.openSync (fs.js:443:3)
                                          at Object.writeFileSync (fs.js:1194:35)
                                          at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:2024:16)
                                          at ontimeout (timers.js:436:11)
                                          at tryOnTimeout (timers.js:300:5)
                                          at listOnTimeout (timers.js:263:5)
                                          at Timer.processTimers (timers.js:223:10)
                                      2019-12-27 17:55:09.318  - info: iobroker _restart
                                      2019-12-27 17:55:09.745  - info: iobroker Starting node restart.js
                                      2019-12-27 17:55:09.768  - info: iobroker exit 0
                                      2019-12-27 17:55:09.809  - info: admin.0 starting. Version 3.6.12 in /opt/iobroker/node_modules/iobroker.admin, node: v10.18.0
                                      2019-12-27 17:55:09.870  - info: admin.0 requesting all states
                                      2019-12-27 17:55:09.870  - info: admin.0 requesting all objects
                                      2019-12-27 17:55:11.485  - info: admin.0 received all objects
                                      2019-12-27 17:55:11.501  - warn: admin.0 No repository source configured
                                      2019-12-27 17:55:11.524  - info: admin.0 http server listening on port 8081
                                      2019-12-27 17:55:11.524  - info: admin.0 Use link "http://localhost:8081" to configure.
                                      2019-12-27 17:55:19.324  - info: host.rockpro64 force terminating
                                      2019-12-27 17:55:19.324  - info: Adapter admin still running
                                      2019-12-27 17:55:20.218  - info: host.rockpro64 instance system.adapter.sonoff.0 started with pid 26841
                                      2019-12-27 17:55:20.399  - info: admin.0 terminating http server on port 8081
                                      2019-12-27 17:55:21.905  - info: admin.0 terminating http server on port 8081
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by

                                        Und jetzt bitte mal log von dem Install direkt per npm mit der 2.1.1

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Motsche1 last edited by

                                          also 2.1.1 install und dann noch mal in die log schauen

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Motsche1 last edited by

                                            iobroker log nix drin also neuer eintrag

                                            in der npm log steht

                                            0 info it worked if it ends with ok
                                            1 verbose cli [ '/usr/bin/node',
                                            1 verbose cli   '/usr/bin/npm',
                                            1 verbose cli   'install',
                                            1 verbose cli   'iobroker.js-controller@2.1.1' ]
                                            2 info using npm@6.13.4
                                            3 info using node@v10.18.0
                                            4 verbose npm-session 64667189d8460ead
                                            5 silly install loadCurrentTree
                                            6 silly install readLocalPackageData
                                            7 http fetch GET 304 https://registry.npmjs.org/iobroker.js-controller 325ms (from cache)
                                            8 silly pacote version manifest for iobroker.js-controller@2.1.1 fetched in 347ms
                                            9 timing stage:loadCurrentTree Completed in 11475ms
                                            10 silly install loadIdealTree
                                            11 silly install cloneCurrentTreeToIdealTree
                                            12 timing stage:loadIdealTree:cloneCurrentTree Completed in 136ms
                                            13 silly install loadShrinkwrap
                                            14 timing stage:loadIdealTree:loadShrinkwrap Completed in 2548ms
                                            15 silly install loadAllDepsIntoIdealTree
                                            16 silly resolveWithNewModule iobroker.js-controller@2.1.1 checking installable status
                                            17 http fetch GET 304 https://registry.npmjs.org/decache 124ms (from cache)
                                            18 silly pacote range manifest for decache@^4.5.1 fetched in 129ms
                                            19 silly resolveWithNewModule decache@4.5.1 checking installable status
                                            20 http fetch GET 304 https://registry.npmjs.org/semver 145ms (from cache)
                                            21 silly pacote range manifest for semver@^6.3.0 fetched in 152ms
                                            22 silly resolveWithNewModule semver@6.3.0 checking installable status
                                            23 http fetch GET 304 https://registry.npmjs.org/respjs 288ms (from cache)
                                            24 http fetch GET 304 https://registry.npmjs.org/readline-sync 294ms (from cache)
                                            25 silly pacote range manifest for respjs@^4.2.0 fetched in 300ms
                                            26 silly resolveWithNewModule respjs@4.2.0 checking installable status
                                            27 silly pacote range manifest for readline-sync@^1.4.10 fetched in 308ms
                                            28 silly resolveWithNewModule readline-sync@1.4.10 checking installable status
                                            29 http fetch GET 304 https://registry.npmjs.org/mime 319ms (from cache)
                                            30 http fetch GET 304 https://registry.npmjs.org/node-forge 322ms (from cache)
                                            31 http fetch GET 304 https://registry.npmjs.org/chokidar 345ms (from cache)
                                            32 silly pacote range manifest for mime@^2.4.4 fetched in 347ms
                                            33 silly resolveWithNewModule mime@2.4.4 checking installable status
                                            34 silly pacote range manifest for node-forge@^0.9.1 fetched in 351ms
                                            35 silly resolveWithNewModule node-forge@0.9.1 checking installable status
                                            36 http fetch GET 304 https://registry.npmjs.org/event-stream 363ms (from cache)
                                            37 silly pacote range manifest for chokidar@^3.3.0 fetched in 373ms
                                            38 silly resolveWithNewModule chokidar@3.3.1 checking installable status
                                            39 http fetch GET 304 https://registry.npmjs.org/ioredis 372ms (from cache)
                                            40 http fetch GET 304 https://registry.npmjs.org/iobroker.objects-redis 386ms (from cache)
                                            41 http fetch GET 304 https://registry.npmjs.org/socket.io-client 223ms (from cache)
                                            42 http fetch GET 304 https://registry.npmjs.org/socket.io 264ms (from cache)
                                            43 silly pacote range manifest for event-stream@^4.0.1 fetched in 417ms
                                            44 silly resolveWithNewModule event-stream@4.0.1 checking installable status
                                            45 silly pacote range manifest for ioredis@^4.14.1 fetched in 427ms
                                            46 silly resolveWithNewModule ioredis@4.14.1 checking installable status
                                            47 silly pacote range manifest for iobroker.objects-redis@^1.2.8 fetched in 444ms
                                            48 silly resolveWithNewModule iobroker.objects-redis@1.2.13 checking installable status
                                            49 silly pacote version manifest for socket.io-client@2.3.0 fetched in 280ms
                                            50 silly resolveWithNewModule socket.io-client@2.3.0 checking installable status
                                            51 silly pacote version manifest for socket.io@2.3.0 fetched in 322ms
                                            52 silly resolveWithNewModule socket.io@2.3.0 checking installable status
                                            53 http fetch GET 304 https://registry.npmjs.org/winston 217ms (from cache)
                                            54 http fetch GET 304 https://registry.npmjs.org/tar 229ms (from cache)
                                            
                                            M 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            651
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller js-controller 2
                                            74
                                            556
                                            133217
                                            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