Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 2 jetzt für alle im Stable

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

js-controller 2 jetzt für alle im Stable

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controllerjs-controller 2
556 Posts 74 Posters 175.6k Views 56 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    denjo
    wrote on last edited by Negalein
    #355
    root@raspberrypi:/opt/iobroker# node -v
    v10.16.3
    root@raspberrypi:/opt/iobroker# nodejs -v
    v10.16.3
    root@raspberrypi:/opt/iobroker# npm -v
    6.9.0
    

    Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
    Hier gehts zur Hilfe.

    sigi234S 1 Reply Last reply
    0
    • D denjo
      root@raspberrypi:/opt/iobroker# node -v
      v10.16.3
      root@raspberrypi:/opt/iobroker# nodejs -v
      v10.16.3
      root@raspberrypi:/opt/iobroker# npm -v
      6.9.0
      

      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
      Hier gehts zur Hilfe.

      sigi234S Online
      sigi234S Online
      sigi234
      Forum Testing Most Active
      wrote on last edited by
      #356

      @denjo sagte in js-controller 2 jetzt für alle im Stable:

      root@raspberrypi:/opt/iobroker# node -v
      v10.16.3
      root@raspberrypi:/opt/iobroker# nodejs -v
      v10.16.3
      root@raspberrypi:/opt/iobroker# npm -v
      6.9.0

      iobroker list instances

      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Immer Daten sichern!

      D 1 Reply Last reply
      0
      • sigi234S sigi234

        @denjo sagte in js-controller 2 jetzt für alle im Stable:

        root@raspberrypi:/opt/iobroker# node -v
        v10.16.3
        root@raspberrypi:/opt/iobroker# nodejs -v
        v10.16.3
        root@raspberrypi:/opt/iobroker# npm -v
        6.9.0

        iobroker list instances

        D Offline
        D Offline
        denjo
        wrote on last edited by Negalein
        #357
        root@raspberrypi:/opt/iobroker# iobroker list instances
        bash: iobroker: Kommando nicht gefunden.
        

        Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
        Hier gehts zur Hilfe.

        sigi234S 1 Reply Last reply
        0
        • D denjo
          root@raspberrypi:/opt/iobroker# iobroker list instances
          bash: iobroker: Kommando nicht gefunden.
          

          Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
          Hier gehts zur Hilfe.

          sigi234S Online
          sigi234S Online
          sigi234
          Forum Testing Most Active
          wrote on last edited by
          #358

          @denjo sagte in js-controller 2 jetzt für alle im Stable:

          root@raspberrypi:/opt/iobroker# iobroker list instances
          bash: iobroker: Kommando nicht gefunden.

          Mal neu gestartet?

          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Immer Daten sichern!

          1 Reply Last reply
          0
          • D Offline
            D Offline
            denjo
            wrote on last edited by Negalein
            #359

            ja mit diesen befehlen geht es

            sudo systemctl stop iobroker
            sudo systemctl start iobroker
            

            Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
            Hier gehts zur Hilfe.

            sigi234S 1 Reply Last reply
            0
            • D denjo

              ja mit diesen befehlen geht es

              sudo systemctl stop iobroker
              sudo systemctl start iobroker
              

              Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
              Hier gehts zur Hilfe.

              sigi234S Online
              sigi234S Online
              sigi234
              Forum Testing Most Active
              wrote on last edited by
              #360

              @denjo sagte in js-controller 2 jetzt für alle im Stable:

              ja mit diesen befehlen geht es

              sudo systemctl stop iobroker
              sudo systemctl start iobroker

              ps -A | grep iobroker

              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Immer Daten sichern!

              D 1 Reply Last reply
              0
              • D Offline
                D Offline
                denjo
                wrote on last edited by Negalein
                #361

                @sigi234 sagte in js-controller 2 jetzt für alle im Stable:

                ps -A | grep iobroker

                root@raspberrypi:/opt/iobroker# ps -A | grep iobroker
                 6584 ?        00:02:06 iobroker.js-con
                

                Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                Hier gehts zur Hilfe.

                1 Reply Last reply
                0
                • sigi234S sigi234

                  @denjo sagte in js-controller 2 jetzt für alle im Stable:

                  ja mit diesen befehlen geht es

                  sudo systemctl stop iobroker
                  sudo systemctl start iobroker

                  ps -A | grep iobroker

                  D Offline
                  D Offline
                  denjo
                  wrote on last edited by
                  #362

                  @sigi234 kann es sein das ich den Installations-Fixer nochmal neu ausführen muss?

                  sigi234S 1 Reply Last reply
                  0
                  • D denjo

                    @sigi234 kann es sein das ich den Installations-Fixer nochmal neu ausführen muss?

                    sigi234S Online
                    sigi234S Online
                    sigi234
                    Forum Testing Most Active
                    wrote on last edited by
                    #363

                    @denjo sagte in js-controller 2 jetzt für alle im Stable:

                    @sigi234 kann es sein das ich den Installations-Fixer nochmal neu ausführen muss?

                    Bei Fehlern:
                    Wenn bei der Linux-Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer nutzen und die Installation des Updates danach wiederholen.

                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Immer Daten sichern!

                    D 1 Reply Last reply
                    0
                    • sigi234S sigi234

                      @denjo sagte in js-controller 2 jetzt für alle im Stable:

                      @sigi234 kann es sein das ich den Installations-Fixer nochmal neu ausführen muss?

                      Bei Fehlern:
                      Wenn bei der Linux-Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer nutzen und die Installation des Updates danach wiederholen.

                      D Offline
                      D Offline
                      denjo
                      wrote on last edited by
                      #364

                      @sigi234 danke hat alles geklappt

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        acramatic
                        wrote on last edited by
                        #365

                        Hallo,
                        ich habe jetzt auch das Update eingespielt. Jetzt findet der rflink Adapter keinen serialport. Kann mir jemand helfen?

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          acramatic
                          wrote on last edited by
                          #366

                          geht wieder - ein npm rebuild hat es gerichtet, puhhhhh

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            Andre R.
                            wrote on last edited by
                            #367

                            Hallo zusammen

                            wie bekomme ich denn die "myAdapter.js" ausgetauscht?
                            über Filezilla funktioniert es bei mir nicht.

                            Danke schonmal

                            apollon77A 1 Reply Last reply
                            0
                            • A Andre R.

                              Hallo zusammen

                              wie bekomme ich denn die "myAdapter.js" ausgetauscht?
                              über Filezilla funktioniert es bei mir nicht.

                              Danke schonmal

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              wrote on last edited by
                              #368

                              @Andre-R wegen welchem Adapter?

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              C 1 Reply Last reply
                              0
                              • apollon77A apollon77

                                @Andre-R wegen welchem Adapter?

                                C Offline
                                C Offline
                                CruziX
                                wrote on last edited by
                                #369

                                @apollon77 Hallo, kann irgendwie per Skript Datenpunkte unter 0_userdata.0 anlegen?
                                Mit CreateState lande ich immer im JavaScript Verzeichnis

                                sigi234S SBorgS 2 Replies Last reply
                                0
                                • C CruziX

                                  @apollon77 Hallo, kann irgendwie per Skript Datenpunkte unter 0_userdata.0 anlegen?
                                  Mit CreateState lande ich immer im JavaScript Verzeichnis

                                  sigi234S Online
                                  sigi234S Online
                                  sigi234
                                  Forum Testing Most Active
                                  wrote on last edited by sigi234
                                  #370

                                  @CruziX

                                  Von @dslraser :

                                  https://forum.iobroker.net/topic/28088/iot-geräte-und-abfragen-für-dummies-gesucht/16

                                  Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Immer Daten sichern!

                                  1 Reply Last reply
                                  0
                                  • C CruziX

                                    @apollon77 Hallo, kann irgendwie per Skript Datenpunkte unter 0_userdata.0 anlegen?
                                    Mit CreateState lande ich immer im JavaScript Verzeichnis

                                    SBorgS Offline
                                    SBorgS Offline
                                    SBorg
                                    Forum Testing Most Active
                                    wrote on last edited by
                                    #371

                                    @CruziX ...und für die Funktion voten, dann klappt das ev. auch mal :)

                                    https://github.com/ioBroker/ioBroker.javascript/issues/429

                                    LG SBorg ( SBorg auf GitHub)
                                    Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                    1 Reply Last reply
                                    1
                                    • M Offline
                                      M Offline
                                      Motsche1
                                      wrote on last edited by
                                      #372

                                      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
                                      
                                      apollon77A 1 Reply Last reply
                                      0
                                      • M Motsche1

                                        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
                                        
                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #373

                                        @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?

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        1 Reply Last reply
                                        0
                                        • M Offline
                                          M Offline
                                          Motsche1
                                          wrote on last edited by
                                          #374

                                          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
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          598

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe