Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Diskussion] js-controller 1.5.8 im Latest Repository

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Diskussion] js-controller 1.5.8 im Latest Repository

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @apollon77 last edited by

      @apollon77
      ich bin dabei ein Backup zurück zu spielen, mal sehen obs läuft. Adapter dürfte der aktuellste gewesen sein, da ich auch latest bin und bis auf den Host alles aktuell war 😉

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

        dann vllt besser latest npm anstelle GitHub versuchen

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

          @apollon77
          wie stelle ich dass denn an?

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

            im Zweifel an der Kommandozeile im ioBroker verzeichnis:

            npm install iobroker.tr-064 --production
            dann
            iobroker upload tr-064
            und instanz neu starten

            J 1 Reply Last reply Reply Quote 0
            • BBTown
              BBTown last edited by BBTown

              Bei mir verlief das Upgrade geräuschlos und alle Adapter sind auch gleich wieder auf grün gewechselt

              [Nachtrag]
              den tr-064 habe ich nicht im Einsatz

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

                Also der TR-064 hat definitiv ein Problem mit der neuen js-controiller Version!
                Hab eben mal IOBroker nackt neu installiert und nur den TR-064 Adapter installiert, lief sofort grün. Dann den js-controller aktualisiert und der TR-064 Adapter läuft nicht mehr.
                824ddf1f-4bb3-4ac5-9521-c561eef0a161-grafik.png
                2c96cb86-5e7e-4e09-8f9c-05b67f5233b6-grafik.png

                host.Beelink	2019-05-07 09:11:35.628	info	Restart adapter system.adapter.tr-064.0 because enabled
                host.Beelink	2019-05-07 09:11:35.628	error	instance system.adapter.tr-064.0 terminated with code 1 ()
                Caught	2019-05-07 09:11:35.628	error	by controller[0]: at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at startup (internal/bootstrap/node.js:283:19)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:531:3)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Module.load (internal/modules/cjs/loader.js:600:32)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Module._compile (internal/modules/cjs/loader.js:701:30)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.tr-064/tr-064.js:16:20)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1383:23)
                Caught	2019-05-07 09:11:35.627	error	by controller[0]: TypeError: fns.adapter is not a function
                Caught	2019-05-07 09:11:35.626	error	by controller[0]: ^
                Caught	2019-05-07 09:11:35.626	error	by controller[0]: fns.adapter = fns.adapter(options);
                Caught	2019-05-07 09:11:35.626	error	by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1383
                host.Beelink	2019-05-07 09:11:34.828	info	instance system.adapter.tr-064.0 started with pid 22165
                host.Beelink	2019-05-07 09:11:04.813	info	Restart adapter system.adapter.tr-064.0 because enabled
                

                wobei bei der IOBroker Installation auch das als Fehler in der Konsole aufgetaucht ist (lief aber durch):

                make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 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:262:23)
                gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.9.0-9-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/unix-dgram
                gyp ERR! node -v v10.15.3
                gyp ERR! node-gyp -v v3.8.0
                gyp ERR! not ok
                

                Hier mal die gesamte Ausgabe der Konsole von der IOBroker Installation:

                ```
                root@Beelink:~# curl -sL https://iobroker.net/install.sh | bash -

                ==========================================================================

                Welcome to the ioBroker installer!
                Installer version: 2019-04-04
                
                You might need to enter your password a couple of times.
                

                ==========================================================================

                ==========================================================================
                Installing prerequisites (1/4)

                ==========================================================================
                Creating ioBroker user and directory (2/4)

                Created /etc/sudoers.d/iobroker
                Directory /opt/iobroker created

                ==========================================================================
                Installing ioBroker (3/4)

                In file included from ../node_modules/nan/nan.h:190:0,
                from ../src/unix_dgram.cc:5:
                ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’:
                ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                ^~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’:
                ../node_modules/nan/nan.h:817:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                , v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                v8::Isolate::GetCurrent(), target, func, argc, argv);
                ^
                In file included from ../node_modules/nan/nan.h:47:0,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here
                NODE_EXTERN v8::Localv8::Value MakeCallback(
                ^
                /root/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                attribute((deprecated(message))) declarator
                ^~~~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value
                )’:
                ../node_modules/nan/nan.h:831:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                ^
                In file included from ../node_modules/nan/nan.h:47:0,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/node.h:170:50: note: declared here
                NODE_EXTERN v8::Localv8::Value MakeCallback(
                ^
                /root/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                attribute((deprecated(message))) declarator
                ^~~~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char
                , int, v8::Localv8::Value)’:
                ../node_modules/nan/nan.h:845:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                , v8::Localv8::Object, const char*, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                v8::Isolate::GetCurrent(), target, method, argc, argv);
                ^
                In file included from ../node_modules/nan/nan.h:47:0,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/node.h:163:50: note: declared here
                NODE_EXTERN v8::Localv8::Value MakeCallback(
                ^
                /root/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                attribute((deprecated(message))) declarator
                ^~~~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call_(v8::Isolate
                , v8::Localv8::Object, int, v8::Localv8::Value) const’:
                ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
                , v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                ));
                ^
                In file included from ../node_modules/nan/nan.h:47:0,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here
                NODE_EXTERN v8::Localv8::Value MakeCallback(
                ^
                /root/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                attribute((deprecated(message))) declarator
                ^~~~~~~~~~
                ../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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                String::Utf8Value path(info[1]);
                ^
                In file included from /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
                explicit Utf8Value(Localv8::Value obj));
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                buf = info[1]->ToObject();
                ^
                In file included from /root/.node-gyp/10.15.3/include/node/node.h:63:0,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here
                V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here
                V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                ^
                /root/.node-gyp/10.15.3/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::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                String::Utf8Value path(info[4]);
                ^
                In file included from /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
                explicit Utf8Value(Localv8::Value obj));
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                buf = info[1]->ToObject();
                ^
                In file included from /root/.node-gyp/10.15.3/include/node/node.h:63:0,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/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::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                String::Utf8Value path(info[1]);
                ^
                In file included from /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
                explicit Utf8Value(Localv8::Value obj));
                ^
                /root/.node-gyp/10.15.3/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 /root/.node-gyp/10.15.3/include/node/v8.h:26:0,
                from /root/.node-gyp/10.15.3/include/node/node.h:63,
                from ../node_modules/nan/nan.h:47,
                from ../src/unix_dgram.cc:5:
                /root/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                ^
                /root/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                declarator attribute((deprecated(message)))
                ^~~~~~~~~~
                make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 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:262:23)
                gyp ERR! stack at ChildProcess.emit (events.js:189:13)
                gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.9.0-9-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/unix-dgram
                gyp ERR! node -v v10.15.3
                gyp ERR! node-gyp -v v3.8.0
                gyp ERR! not ok

                ==========================================================================
                Finalizing installation (4/4)

                Enabling autostart...
                Autostart enabled!
                Fixing directory permissions...

                ==========================================================================

                ioBroker was installed successfully
                Open http://192.168.100.10:8081 in a browser and start configuring!
                

                ==========================================================================

                You need to re-login before doing anything else on the console!

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

                  @apollon77 sagte in [Diskussion] js-controller 1.5.8 im Latest Repository:

                  im Zweifel an der Kommandozeile im ioBroker verzeichnis:

                  npm install iobroker.tr-064 --production
                  dann
                  iobroker upload tr-064
                  und instanz neu starten

                  Habe ich getestet und funktioniert nicht.
                  Sobald ich auf 1.5.8 hoch gehe, geht der TR-064 Adapter mit dem oben geposteten Fehler nicht mehr. Auch wenn ich danach wieder zurück auf 1.5.7 gehe.

                  Was allerdings da Problem löst und zwar dauerhaft, ist der Vorschalg von @Yetiberg "sudo npm install soef"

                  im Verzeichnis "/opt/iobroker/node_modules/iobroker.tr-064".
                  Das funktioniert selbst wenn ich von 1.5.8 nach 1.5.7 zurück gehe, Adapter wird sofort grün und bleibt auch grün bei einem erneuten Update auf 1.5.8.

                  Das ganze hab ich wieder auf einer jungfräulichen IOBroker Installation mit Node 10.15.3 und NPM 6.9.0 unter Debian 9.8 mit 64 Struktur getestet.
                  Also irgendwas passt da nicht zusammen.

                  Braucht Ihr noch mehr Infos zum System? Ich bin heute noch bis 13Uhr am Basteln 😉

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

                    Eine frische Installation bringt js-controller 1.4.2 denke ich ... ist also die Frage ob das an 1.4.2->1.5.x liegt ... an 1.5.8 an sich kann ich mir nicht vorstellen.

                    Wenn ein install der soef lib ersthal hilft ist ja super. Der Adapter wird eh bald durch eine community Version ersetzt

                    J SBorg 2 Replies Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @Jan1 last edited by

                      @Jan1
                      nochmal bei mir läuft es

                      e54c53cc-fb16-48c4-a4a7-ca487d29ec66-grafik.png

                      ef8ac089-8a5b-4168-824a-d5aeb9c03921-grafik.png

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

                        @apollon77
                        Welcher Adapter wird ersetzt, der TR-064?

                        Also ich teste gerne wo es hier klemmt, hab gerade alles wieder mit einem Backup und der aktuellen Version 1.5.8 am Laufen, wobei er mir jetzt das Problem beim wifilight Adapter an meckert.
                        Ich schau mal ob man das auch mit "sudo npm install soef" auf die Reihe bekommt, an sonst lösche ich noch mal alles und bleibe bei der 1.5.7.

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

                          @arteck
                          Ja das ist schön für Dich, hatte ja auch einige Fehler bei der IOBroker Installation gepostet, die eventuell an der Node 10 oder an meinem 64er Debian liegen könnten.
                          Ich bin hier nicht wirklich fit und deshalb postet ich auch alles was auffällig ist. Bei mit läuft der TR-064 ja nun auch, nach dem ich "sudo npm install soef" im Adapter Verzeichnis durchgeführt hatte, nur dass jetzt eben der wifilight Adapter das an meckert.

                          Ich bin hier auf Euch angewiesen, was noch zu tun ist, oder doch was am gesamt System nicht passt. Deshalb bitte fragen wenn ich mich unklar ausdrücke, oder mehr Infos benötigt werden.

                          arteck 1 Reply Last reply Reply Quote 0
                          • arteck
                            arteck Developer Most Active @Jan1 last edited by arteck

                            @Jan1 ich würde mich an deiner stelle ein wenig mit den zusamenhängen zwischen den js-controller und den einzelnen Adaptern beschäftigen.. um eine grundlegende Basis zu erreichen.. es bringt uns wenig wenn du uns mit Fehlermeldungen zuballerst.. nur weil an deinem System was nicht funktioniert.. und du weisst nicht warum...

                            vor allem nicht in panik verfallen 🙂

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

                              @arteck
                              Nein, Panik habe ich keine mehr. Ich schaff es ja mit dem Backup das ganze immer wieder recht schnell ans Laufen zu bringen.
                              Dein Rat in Ehren, genau das versuche ich ja auch, nur ist das eben nicht so einfach. Hast mal ein Link wo man das nach lesen kann, ohne dass man dazu gleich ein Studium braucht? ☺

                              Ich lerne auf diese Art schon recht viel dazu, deshalb poste ich auch die Fehlermeldungen bei der IOBroker Installation. Da die durchläuft und danach ja auch für mich alles läuft, dürften das auch keine ernsten Geschichten sein. Hatte das vorher auf dem Raspberry laufen und da gabs eben keine Fehlermeldungen, wobei das auch noch unter Node 8 lief.
                              Ich lese oft von Error Meldungen, die dann als "kann man ignorieren" bewertet werden.

                              Zu ballern ist auch immer relativ, ich gebe lieber alle Infos weiter die mir in dem Fall relevant vorkommen und was ich beobachte. Ihr seid die Spezialisten und wenn man gebeten wird seine Erfahrungen zu posten, die man hat wenn eine neue Version getestet wird, dann mach ich das eben, oder wie sollen sonst alle Fehler auf den unterschiedlichen Systemen erkannt werden?
                              Der Fixer hat da schon einiges vereinfacht und sorgt für eine recht einheitliche Installation (hat mir auch schon recht oft bei Problemen geholfen). Der große Unterschied dürfen aber immer noch die verschiedenen HW und SW Basis Installationen sein.

                              sigi234 1 Reply Last reply Reply Quote 2
                              • sigi234
                                sigi234 Forum Testing Most Active @Jan1 last edited by

                                @Jan1 sagte in [Diskussion] js-controller 1.5.8 im Latest Repository:

                                Zu ballern ist auch immer relativ, ich gebe lieber alle Infos weiter die mir in dem Fall relevant vorkommen und was ich beobachte. Ihr seid die Spezialisten und wenn man gebeten wird seine Erfahrungen zu posten, die man hat wenn eine neue Version getestet wird, dann mach ich das eben, oder wie sollen sonst alle Fehler auf den unterschiedlichen Systemen erkannt werden?

                                Volle Zustimmung!

                                1 Reply Last reply Reply Quote 0
                                • SBorg
                                  SBorg Forum Testing Most Active @apollon77 last edited by

                                  @apollon77 sagte in [Diskussion] js-controller 1.5.8 im Latest Repository:

                                  ist also die Frage ob das an 1.4.2->1.5.x liegt ... an 1.5.8 an sich kann ich mir nicht vorstellen.

                                  Liegt es auch nicht. Selbes Problem mit dem TR-064 und ich habe aktuell noch die 1.5.7 im Einsatz (und noch nicht versucht upzudaten). Liegt IMHO an der neuen VIS-Version, danach trat es bei mir auf...

                                  sigi234 1 Reply Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @SBorg last edited by

                                    @SBorg sagte in [Diskussion] js-controller 1.5.8 im Latest Repository:

                                    TR-064

                                    Ich hatte keine Probleme mit TR-064.........Host ist Windows 10.
                                    Aber mit der Neuen Vis Version hatte ich Lizenzprobleme, bin wieder zurück auf 1.1.10.
                                    Zur Info..........

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

                                      Hm, ich nutze kein VIS, deshalb schließe ich das bei mir aus.
                                      Das Problem mit dem TR-064 Adapter tritt sofort auf, wenn ich von js 1.5.7 nach 1.5.8 update und lässt sich auch jedes mal reproduzieren.

                                      1 Reply Last reply Reply Quote 0
                                      • SBorg
                                        SBorg Forum Testing Most Active last edited by

                                        🙂 Lizenz habe ich auch keine mehr, aber der TR-064 scheint bei Linux (soef) nicht mehr zu wollen. VIS brachte da auch einige Fehler-Abhängigkeiten mit.

                                        sigi234 1 Reply Last reply Reply Quote 0
                                        • sigi234
                                          sigi234 Forum Testing Most Active @SBorg last edited by sigi234

                                          @SBorg sagte in [Diskussion] js-controller 1.5.8 im Latest Repository:

                                          Lizenz habe ich auch keine mehr

                                          Geht wieder mit Version 1.2.0👍
                                          Hinweis: Musste den Host neu starten, erst dann hat sich Vis upgedatet.........

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

                                            @Yetiberg sagte in [Diskussion] js-controller 1.5.8 im Latest Repository:

                                            Via Terminal ins Verzeichnis "/opt/iobroker/node_modules/iobroker.tr-064" gehen und:
                                            sudo npm install soef

                                            So, bei mir läuft wieder alles ohne Fehler im Log und auf den aktuellen Versionen aller installierter Adapter und js-controller.

                                            Das erste Problem war der TR-064 Adapter und wurde mit der Anweisung von @Yetiberg gelöst.
                                            Dies hatte allerdings zur Folge, dass der wifilight Adapter dann das Problem mit soef hatte und wurde ebenfalls mit der selben angepassten Anweisung von @Yetiberg gelöst.

                                            @apollon77 meinte zwar, dass man damit aufpassen soll und hat ein anderen Vorschlag gemacht, der leider nicht zur Lösung des Problems beigetragen hatte.
                                            Wieso das in Verbindung mit dem Update auf 1.5.8 aufgetreten ist, weiß ich nicht, lässt sich aber jederzeit reproduzieren. Irgendwas an meinem System ist wohl anderes als bei denen die damit keine Probleme haben.

                                            Danke an alle die geholfen haben damit bei mir wieder alles grün ist und im Log nichts rotes auftaucht👍

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

                                            Support us

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

                                            518
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            20
                                            76
                                            7558
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo