Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Probleme beim Upgrade

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

Probleme beim Upgrade

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
35 Beiträge 4 Kommentatoren 2.4k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • G guergen

    @integer63 Hmmmh... Du hast noch Node.js 8 laufen.... ob das alles so miteinander lüppt ist die Frage....
    Welche mindestvoraussetzung Du für den Unifi-Adapter an Node brauchst kann Dir nur Braindead beantworten.
    Aber 10 sollte schon sein denke ich

    integer63I Offline
    integer63I Offline
    integer63
    schrieb am zuletzt editiert von
    #1

    @guergen Ich spiele schon einige Zeit mit dem Gedanken, aber man liest hier immer wieder über Probleme im Zusammenhang mit einem node Update - und bei mir läuft alles gerade so stabil :hand_with_index_and_middle_fingers_crossed:

    BBTownB G 2 Antworten Letzte Antwort
    0
    • integer63I integer63

      @guergen Ich spiele schon einige Zeit mit dem Gedanken, aber man liest hier immer wieder über Probleme im Zusammenhang mit einem node Update - und bei mir läuft alles gerade so stabil :hand_with_index_and_middle_fingers_crossed:

      BBTownB Offline
      BBTownB Offline
      BBTown
      schrieb am zuletzt editiert von
      #2

      @integer63
      aha, und konnte bei irgend jemanden der ein Problem hatt dieses NICHT gelöst werden?
      Und in wieviel % der Fälle haben die Probleme mit Murks zu tun gehabt den der User zuvor an seiner Umgebung angerichtet hat? ca. 100% ??

      ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.0.7 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

      1 Antwort Letzte Antwort
      0
      • integer63I integer63

        @guergen Ich spiele schon einige Zeit mit dem Gedanken, aber man liest hier immer wieder über Probleme im Zusammenhang mit einem node Update - und bei mir läuft alles gerade so stabil :hand_with_index_and_middle_fingers_crossed:

        G Online
        G Online
        guergen
        schrieb am zuletzt editiert von
        #3

        @integer63 Aber wenn Du aus git einen Adapter installierst, kannst Du davon ausgehen, dass irgendwas klemmt....
        Mach ein Backup; dann Node-Update, js-controller-update und dann siehste Du wo es hakt. das einzige, was ich so mitbekommen habe ist, dass der sonos wohl nicht mehr richtig läuft!

        1 Antwort Letzte Antwort
        0
        • integer63I Offline
          integer63I Offline
          integer63
          schrieb am zuletzt editiert von
          #4

          Ja, ich weiß :worried: Und ich werde es jetzt einfach machen ... da ich kein LINUX Experte bin, eine Frage vorweg: muss ich bei einem Master/Slave ioBroker System etwas beachten, oder kann ich den Slave einfach schon mal updaten und den Master so wie er ist, erstmal laufen lassen? Also was node angeht.

          G 4 Antworten Letzte Antwort
          0
          • integer63I integer63

            Ja, ich weiß :worried: Und ich werde es jetzt einfach machen ... da ich kein LINUX Experte bin, eine Frage vorweg: muss ich bei einem Master/Slave ioBroker System etwas beachten, oder kann ich den Slave einfach schon mal updaten und den Master so wie er ist, erstmal laufen lassen? Also was node angeht.

            G Online
            G Online
            guergen
            schrieb am zuletzt editiert von
            #5

            @integer63 Oh, dann bitte erst lesen! Master/Slave in bestimmter Richtung updaten!

            1 Antwort Letzte Antwort
            0
            • integer63I integer63

              Ja, ich weiß :worried: Und ich werde es jetzt einfach machen ... da ich kein LINUX Experte bin, eine Frage vorweg: muss ich bei einem Master/Slave ioBroker System etwas beachten, oder kann ich den Slave einfach schon mal updaten und den Master so wie er ist, erstmal laufen lassen? Also was node angeht.

              G Online
              G Online
              guergen
              schrieb am zuletzt editiert von
              #6

              @integer63 Wie ich das grade gelesen habe, erst Slave , dann Master.... aber keine Garantie dafür

              1 Antwort Letzte Antwort
              0
              • integer63I integer63

                Ja, ich weiß :worried: Und ich werde es jetzt einfach machen ... da ich kein LINUX Experte bin, eine Frage vorweg: muss ich bei einem Master/Slave ioBroker System etwas beachten, oder kann ich den Slave einfach schon mal updaten und den Master so wie er ist, erstmal laufen lassen? Also was node angeht.

                G Online
                G Online
                guergen
                schrieb am zuletzt editiert von
                #7

                @integer63 https://forum.iobroker.net/topic/32481/js-controller-3-0-3-1-jetzt-im-latest

                1 Antwort Letzte Antwort
                0
                • integer63I integer63

                  Ja, ich weiß :worried: Und ich werde es jetzt einfach machen ... da ich kein LINUX Experte bin, eine Frage vorweg: muss ich bei einem Master/Slave ioBroker System etwas beachten, oder kann ich den Slave einfach schon mal updaten und den Master so wie er ist, erstmal laufen lassen? Also was node angeht.

                  G Online
                  G Online
                  guergen
                  schrieb am zuletzt editiert von
                  #8

                  @integer63 https://forum.iobroker.net/topic/29925/master-slave-mit-verschiedenen-node-js-versionen

                  1 Antwort Letzte Antwort
                  0
                  • integer63I Offline
                    integer63I Offline
                    integer63
                    schrieb am zuletzt editiert von
                    #9

                    Also, ich weiß, wenn man den js-controller updaten möchte, man auf die Reihenfolge achten muss. Aber bei node spielt das glaube ich erstmal keine Rolle - kann das einer bestätigen?

                    In der Zwischenzeit habe ich schon mal node auf dem Slave upgedatet (auf 12) - lief auch alles fast ohne Fehlermeldungen durch. ioBroker konnte ich wieder starten, aber die Fehlermeldung "Error: api.err.Invalid" ist immer noch da.

                    Meine Umgebung nach dem Update auf dem Slave:
                    2020-05-10 11_29_28-info - ioBroker.png

                    G 1 Antwort Letzte Antwort
                    0
                    • integer63I integer63

                      Also, ich weiß, wenn man den js-controller updaten möchte, man auf die Reihenfolge achten muss. Aber bei node spielt das glaube ich erstmal keine Rolle - kann das einer bestätigen?

                      In der Zwischenzeit habe ich schon mal node auf dem Slave upgedatet (auf 12) - lief auch alles fast ohne Fehlermeldungen durch. ioBroker konnte ich wieder starten, aber die Fehlermeldung "Error: api.err.Invalid" ist immer noch da.

                      Meine Umgebung nach dem Update auf dem Slave:
                      2020-05-10 11_29_28-info - ioBroker.png

                      G Online
                      G Online
                      guergen
                      schrieb am zuletzt editiert von guergen
                      #10

                      @integer63 Das ist dann mit js-controller 3.1.3 weg.
                      Da e da aber auch wieder Probleme zu geben scheint, kommt gleich irgendwann die 3.1.4 raus

                      1 Antwort Letzte Antwort
                      0
                      • integer63I Offline
                        integer63I Offline
                        integer63
                        schrieb am zuletzt editiert von
                        #11

                        @Homoran Da kann ich jetzt leider nicht nachsehen, da ich noch am kämpfen mit meinem Master bin :-( Da das node Update auf dem Slave so gut gelaufen ist, habe ich auch gleich den Master hinterher geschoben - leider hagelt es hier nur so von Fehlermeldungen beim npm rebuild:

                        In file included from /usr/include/c++/6/cassert:44:0,
                                         from /root/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                         from ../../nan/nan.h:55,
                                         from ../src/binding.cc:3:
                        ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                        ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                             assert(persistent().IsNearDeath());
                                                 ^
                        ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                        ../../nan/nan_object_wrap.h:127:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                             assert(wrap->handle_.IsNearDeath());
                                                  ^
                        ../src/binding.cc: At global scope:
                        ../src/binding.cc:67:17: error: expected ‘)’ before ‘<’ token
                             Magic(Handle<Object> buffer, int flags) {
                                         ^
                        ../src/binding.cc:387:28: error: ‘Handle’ has not been declared
                             static void Initialize(Handle<Object> target) {
                                                    ^~~~~~
                        ../src/binding.cc:387:34: error: expected ‘,’ or ‘...’ before ‘<’ token
                             static void Initialize(Handle<Object> target) {
                                                          ^
                        ../src/binding.cc: In static member function ‘static void Magic::New(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                        ../src/binding.cc:102:45: error: no matching function for call to ‘v8::Value::Int32Value()’
                                   magic_flags = args[1]->Int32Value();
                                                                     ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                                                ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                        ../src/binding.cc:109:51: error: no matching function for call to ‘v8::Value::ToString()’
                                   String::Utf8Value str(args[0]->ToString());
                                                                           ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                    ^~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                         from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                         from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/binding.cc:113:60: error: no matching function for call to ‘Magic::Magic(v8::Local<v8::Object>, int&)’
                                   obj = new Magic(args[0].As<Object>(), magic_flags);
                                                                                    ^
                        ../src/binding.cc:50:5: note: candidate: Magic::Magic(const char*, int)
                             Magic(const char* path, int flags) {
                             ^~~~~
                        ../src/binding.cc:50:5: note:   no known conversion for argument 1 from ‘v8::Local<v8::Object>’ to ‘const char*’
                        ../src/binding.cc:43:7: note: candidate: Magic::Magic(const Magic&)
                         class Magic : public ObjectWrap {
                               ^~~~~
                        ../src/binding.cc:43:7: note:   candidate expects 1 argument, 2 provided
                        ../src/binding.cc:115:45: error: no matching function for call to ‘v8::Value::Int32Value()’
                                   magic_flags = args[0]->Int32Value();
                                                                     ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                                                ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                        ../src/binding.cc:117:67: error: no matching function for call to ‘v8::Value::BooleanValue()’
                                 } else if (args[0]->IsBoolean() && !args[0]->BooleanValue()) {
                                                                                           ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2699:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
                           bool BooleanValue(Isolate* isolate) const;
                                ^~~~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                         from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                         from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: candidate: v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const
                                         V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                           ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note:   candidate expects 1 argument, 0 provided
                                         V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                           ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/binding.cc: In static member function ‘static void Magic::DetectFile(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                        ../src/binding.cc:146:47: error: no matching function for call to ‘v8::Value::ToString()’
                               String::Utf8Value str(args[0]->ToString());
                                                                       ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                    ^~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                         from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                         from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/binding.cc: In static member function ‘static void Magic::DetectAfter(uv_work_t*)’:
                        ../src/binding.cc:314:38: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                 baton->callback->Call(1, argv);
                                                              ^
                        In file included from ../src/binding.cc:3:0:
                        ../../nan/nan.h:1674:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/binding.cc:362:38: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                 baton->callback->Call(2, argv);
                                                              ^
                        In file included from ../src/binding.cc:3:0:
                        ../../nan/nan.h:1674:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/binding.cc: In static member function ‘static void Magic::SetFallback(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                        ../src/binding.cc:377:32: error: no matching function for call to ‘v8::Value::ToString()’
                                   && args[0]->ToString()->Length() > 0) {
                                                        ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                    ^~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                         from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                         from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/binding.cc:378:49: error: no matching function for call to ‘v8::Value::ToString()’
                                 String::Utf8Value str(args[0]->ToString());
                                                                         ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                    ^~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                         from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                         from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/binding.cc: In static member function ‘static void Magic::Initialize(int)’:
                        ../src/binding.cc:396:42: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                               constructor.Reset(tpl->GetFunction());
                                                                  ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                           V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                      ^~~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                        ../src/binding.cc:397:7: error: ‘target’ was not declared in this scope
                               target->Set(Nan::New<String>("setFallback").ToLocalChecked(),
                               ^~~~~~
                        ../src/binding.cc:398:72: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                           Nan::New<FunctionTemplate>(SetFallback)->GetFunction());
                                                                                                ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                           V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                      ^~~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                        ../src/binding.cc:400:80: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                               target->Set(Nan::New<String>("Magic").ToLocalChecked(), tpl->GetFunction());
                                                                                                        ^
                        In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                         from ../src/binding.cc:1:
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                           V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                      ^~~~~~~~~~~
                        /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                        ../src/binding.cc: At global scope:
                        ../src/binding.cc:405:13: error: variable or field ‘init’ declared void
                           void init(Handle<Object> target) {
                                     ^~~~~~
                        ../src/binding.cc:405:13: error: ‘Handle’ was not declared in this scope
                        ../src/binding.cc:405:26: error: expected primary-expression before ‘>’ token
                           void init(Handle<Object> target) {
                                                  ^
                        ../src/binding.cc:405:28: error: ‘target’ was not declared in this scope
                           void init(Handle<Object> target) {
                                                    ^~~~~~
                        In file included from ../src/binding.cc:1:0:
                        ../src/binding.cc:410:22: error: ‘init’ was not declared in this scope
                           NODE_MODULE(magic, init);
                                              ^
                        /root/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                               (node::addon_register_func) (regfunc),                          \
                                                            ^~~~~~~
                        ../src/binding.cc:410:3: note: in expansion of macro ‘NODE_MODULE’
                           NODE_MODULE(magic, init);
                           ^~~~~~~~~~~
                        magic.target.mk:122: die Regel für Ziel „Release/obj.target/magic/src/binding.o“ scheiterte
                        make: *** [Release/obj.target/magic/src/binding.o] Fehler 1
                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build“ wird verlassen
                        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:194:23)
                        gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                        gyp ERR! System Linux 4.9.0-8-amd64
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic
                        gyp ERR! node -v v12.16.3
                        gyp ERR! node-gyp -v v5.1.0
                        gyp ERR! not ok
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! mmmagic@0.5.2 install: `node-gyp rebuild`
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the mmmagic@0.5.2 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!     /root/.npm/_logs/2020-05-10T09_53_56_468Z-debug.log
                        
                        

                        Da steh ich nun und weiß nicht weiter ...

                        G 1 Antwort Letzte Antwort
                        0
                        • integer63I integer63

                          @Homoran Da kann ich jetzt leider nicht nachsehen, da ich noch am kämpfen mit meinem Master bin :-( Da das node Update auf dem Slave so gut gelaufen ist, habe ich auch gleich den Master hinterher geschoben - leider hagelt es hier nur so von Fehlermeldungen beim npm rebuild:

                          In file included from /usr/include/c++/6/cassert:44:0,
                                           from /root/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                           from ../../nan/nan.h:55,
                                           from ../src/binding.cc:3:
                          ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                          ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                               assert(persistent().IsNearDeath());
                                                   ^
                          ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                          ../../nan/nan_object_wrap.h:127:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                               assert(wrap->handle_.IsNearDeath());
                                                    ^
                          ../src/binding.cc: At global scope:
                          ../src/binding.cc:67:17: error: expected ‘)’ before ‘<’ token
                               Magic(Handle<Object> buffer, int flags) {
                                           ^
                          ../src/binding.cc:387:28: error: ‘Handle’ has not been declared
                               static void Initialize(Handle<Object> target) {
                                                      ^~~~~~
                          ../src/binding.cc:387:34: error: expected ‘,’ or ‘...’ before ‘<’ token
                               static void Initialize(Handle<Object> target) {
                                                            ^
                          ../src/binding.cc: In static member function ‘static void Magic::New(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                          ../src/binding.cc:102:45: error: no matching function for call to ‘v8::Value::Int32Value()’
                                     magic_flags = args[1]->Int32Value();
                                                                       ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                                                  ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                          ../src/binding.cc:109:51: error: no matching function for call to ‘v8::Value::ToString()’
                                     String::Utf8Value str(args[0]->ToString());
                                                                             ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                      ^~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                           from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                           from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/binding.cc:113:60: error: no matching function for call to ‘Magic::Magic(v8::Local<v8::Object>, int&)’
                                     obj = new Magic(args[0].As<Object>(), magic_flags);
                                                                                      ^
                          ../src/binding.cc:50:5: note: candidate: Magic::Magic(const char*, int)
                               Magic(const char* path, int flags) {
                               ^~~~~
                          ../src/binding.cc:50:5: note:   no known conversion for argument 1 from ‘v8::Local<v8::Object>’ to ‘const char*’
                          ../src/binding.cc:43:7: note: candidate: Magic::Magic(const Magic&)
                           class Magic : public ObjectWrap {
                                 ^~~~~
                          ../src/binding.cc:43:7: note:   candidate expects 1 argument, 2 provided
                          ../src/binding.cc:115:45: error: no matching function for call to ‘v8::Value::Int32Value()’
                                     magic_flags = args[0]->Int32Value();
                                                                       ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                                                  ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                          ../src/binding.cc:117:67: error: no matching function for call to ‘v8::Value::BooleanValue()’
                                   } else if (args[0]->IsBoolean() && !args[0]->BooleanValue()) {
                                                                                             ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2699:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
                             bool BooleanValue(Isolate* isolate) const;
                                  ^~~~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                           from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                           from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: candidate: v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const
                                           V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                             ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note:   candidate expects 1 argument, 0 provided
                                           V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                             ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/binding.cc: In static member function ‘static void Magic::DetectFile(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                          ../src/binding.cc:146:47: error: no matching function for call to ‘v8::Value::ToString()’
                                 String::Utf8Value str(args[0]->ToString());
                                                                         ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                      ^~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                           from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                           from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/binding.cc: In static member function ‘static void Magic::DetectAfter(uv_work_t*)’:
                          ../src/binding.cc:314:38: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   baton->callback->Call(1, argv);
                                                                ^
                          In file included from ../src/binding.cc:3:0:
                          ../../nan/nan.h:1674:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/binding.cc:362:38: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   baton->callback->Call(2, argv);
                                                                ^
                          In file included from ../src/binding.cc:3:0:
                          ../../nan/nan.h:1674:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/binding.cc: In static member function ‘static void Magic::SetFallback(const Nan::FunctionCallbackInfo<v8::Value>&)’:
                          ../src/binding.cc:377:32: error: no matching function for call to ‘v8::Value::ToString()’
                                     && args[0]->ToString()->Length() > 0) {
                                                          ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                      ^~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                           from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                           from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/binding.cc:378:49: error: no matching function for call to ‘v8::Value::ToString()’
                                   String::Utf8Value str(args[0]->ToString());
                                                                           ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                      ^~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                           from /root/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                           from /root/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /root/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/binding.cc: In static member function ‘static void Magic::Initialize(int)’:
                          ../src/binding.cc:396:42: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                 constructor.Reset(tpl->GetFunction());
                                                                    ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                             V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                        ^~~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                          ../src/binding.cc:397:7: error: ‘target’ was not declared in this scope
                                 target->Set(Nan::New<String>("setFallback").ToLocalChecked(),
                                 ^~~~~~
                          ../src/binding.cc:398:72: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                             Nan::New<FunctionTemplate>(SetFallback)->GetFunction());
                                                                                                  ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                             V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                        ^~~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                          ../src/binding.cc:400:80: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                 target->Set(Nan::New<String>("Magic").ToLocalChecked(), tpl->GetFunction());
                                                                                                          ^
                          In file included from /root/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                           from ../src/binding.cc:1:
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                             V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                        ^~~~~~~~~~~
                          /root/.cache/node-gyp/12.16.3/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                          ../src/binding.cc: At global scope:
                          ../src/binding.cc:405:13: error: variable or field ‘init’ declared void
                             void init(Handle<Object> target) {
                                       ^~~~~~
                          ../src/binding.cc:405:13: error: ‘Handle’ was not declared in this scope
                          ../src/binding.cc:405:26: error: expected primary-expression before ‘>’ token
                             void init(Handle<Object> target) {
                                                    ^
                          ../src/binding.cc:405:28: error: ‘target’ was not declared in this scope
                             void init(Handle<Object> target) {
                                                      ^~~~~~
                          In file included from ../src/binding.cc:1:0:
                          ../src/binding.cc:410:22: error: ‘init’ was not declared in this scope
                             NODE_MODULE(magic, init);
                                                ^
                          /root/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                 (node::addon_register_func) (regfunc),                          \
                                                              ^~~~~~~
                          ../src/binding.cc:410:3: note: in expansion of macro ‘NODE_MODULE’
                             NODE_MODULE(magic, init);
                             ^~~~~~~~~~~
                          magic.target.mk:122: die Regel für Ziel „Release/obj.target/magic/src/binding.o“ scheiterte
                          make: *** [Release/obj.target/magic/src/binding.o] Fehler 1
                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build“ wird verlassen
                          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:194:23)
                          gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                          gyp ERR! System Linux 4.9.0-8-amd64
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic
                          gyp ERR! node -v v12.16.3
                          gyp ERR! node-gyp -v v5.1.0
                          gyp ERR! not ok
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! mmmagic@0.5.2 install: `node-gyp rebuild`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the mmmagic@0.5.2 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!     /root/.npm/_logs/2020-05-10T09_53_56_468Z-debug.log
                          
                          

                          Da steh ich nun und weiß nicht weiter ...

                          G Online
                          G Online
                          guergen
                          schrieb am zuletzt editiert von
                          #12

                          @integer63 Vollzieht er das Update denn?

                          1 Antwort Letzte Antwort
                          0
                          • integer63I Offline
                            integer63I Offline
                            integer63
                            schrieb am zuletzt editiert von
                            #13

                            Ja, node und npm sind auf dem aktuellen stand:

                            node -v
                            v12.16.3
                            nodejs -v
                            v12.16.3
                            npm -v
                            6.14.4

                            G 1 Antwort Letzte Antwort
                            0
                            • integer63I integer63

                              Ja, node und npm sind auf dem aktuellen stand:

                              node -v
                              v12.16.3
                              nodejs -v
                              v12.16.3
                              npm -v
                              6.14.4

                              G Online
                              G Online
                              guergen
                              schrieb am zuletzt editiert von guergen
                              #14

                              @integer63 Na dann... anschmeissen und gucken ob´s läuft....
                              Js-c noch hoch und los

                              1 Antwort Letzte Antwort
                              0
                              • integer63I Offline
                                integer63I Offline
                                integer63
                                schrieb am zuletzt editiert von
                                #15

                                Aber ich denke man muss ein npm Rebuild machen ... und dabei bricht er ja schon recht weit am Anfang mit ab.

                                G 1 Antwort Letzte Antwort
                                0
                                • integer63I integer63

                                  Aber ich denke man muss ein npm Rebuild machen ... und dabei bricht er ja schon recht weit am Anfang mit ab.

                                  G Online
                                  G Online
                                  guergen
                                  schrieb am zuletzt editiert von
                                  #16

                                  @integer63 Testen... Du hast ja nen Backup (hoffe ich)

                                  integer63I 1 Antwort Letzte Antwort
                                  0
                                  • G guergen

                                    @integer63 Testen... Du hast ja nen Backup (hoffe ich)

                                    integer63I Offline
                                    integer63I Offline
                                    integer63
                                    schrieb am zuletzt editiert von
                                    #17

                                    @guergen "iobroker start" macht gar nichts - keinerlei Meldung, einfach wieder der Prompt

                                    Backup habe ich (VM Snapshot), aber ich würde es gerne noch irgendwie weiter versuchen ... den "fixer" habe ich vorher auch drüber laufen lassen.

                                    G 2 Antworten Letzte Antwort
                                    0
                                    • integer63I integer63

                                      @guergen "iobroker start" macht gar nichts - keinerlei Meldung, einfach wieder der Prompt

                                      Backup habe ich (VM Snapshot), aber ich würde es gerne noch irgendwie weiter versuchen ... den "fixer" habe ich vorher auch drüber laufen lassen.

                                      G Online
                                      G Online
                                      guergen
                                      schrieb am zuletzt editiert von
                                      #18

                                      @integer63 vorher auch mal gleich nen apt-get update/upgrade gemacht?

                                      1 Antwort Letzte Antwort
                                      0
                                      • integer63I integer63

                                        @guergen "iobroker start" macht gar nichts - keinerlei Meldung, einfach wieder der Prompt

                                        Backup habe ich (VM Snapshot), aber ich würde es gerne noch irgendwie weiter versuchen ... den "fixer" habe ich vorher auch drüber laufen lassen.

                                        G Online
                                        G Online
                                        guergen
                                        schrieb am zuletzt editiert von
                                        #19

                                        @integer63 such mal hier im Forum nach dem Fehler

                                        1 Antwort Letzte Antwort
                                        0
                                        • integer63I Offline
                                          integer63I Offline
                                          integer63
                                          schrieb am zuletzt editiert von
                                          #20

                                          mal ne ganz dumme Frage, der Installation Fixer legt ja einen User iobroker an - welches Passwort hat der denn?
                                          Ich sollte mich doch damit anmelden und dann mit sudo alles machen, oder?

                                          G 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          257

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe