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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 2.0 ab sofort im Latest Repo

NEWS

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

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

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

js-controller 2.0 ab sofort im Latest Repo

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controller
1.1k Posts 89 Posters 355.1k Views 64 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? A Former User

    @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

    @telekom0815 Magst Du das Update nochmals versuchen? Ist bisher 2 mal von über 1500 Installationen passiert. Also müssen wir den grund finden.

    Hallo,
    die erneute Installation bricht mit folgendem Log ab (hab es jetzt fast 20min gewartet)


    pi@raspberrypi:~ $ ps auxww|grep io
    root 12 0.0 0.0 0 0 ? S Okt17 0:05 [migration/0]
    root 15 0.0 0.0 0 0 ? S Okt17 0:05 [migration/1]
    root 20 0.0 0.0 0 0 ? S Okt17 0:04 [migration/2]
    root 25 0.0 0.0 0 0 ? S Okt17 0:04 [migration/3]
    root 42 0.0 0.0 0 0 ? I< Okt17 0:00 [rpciod]
    root 44 0.0 0.0 0 0 ? I< Okt17 0:00 [xprtiod]
    root 48 0.0 0.0 0 0 ? I< Okt17 0:00 [nfsiod]
    root 64 0.0 0.0 0 0 ? I< Okt17 0:00 [DWC Notificatio]
    message+ 321 0.0 0.0 6556 2976 ? Ss Okt17 0:00 /usr/bin/dbus-daemon --system --address=systemd: -- nofork --nopidfile --systemd-activation --syslog-only
    pi 24954 0.0 0.0 7360 492 pts/0 S+ 20:18 0:00 grep --color=auto io
    pi@raspberrypi:~ $ iobroker upgrade self
    Update js-controller from @1.5.14 to @2.0.34
    NPM version: 6.9.0
    npm install iobroker.js-controller@2.0.34 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
    In file included from ../src/unix_dgram.cc:5:
    ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
    ../../../../nan/nan.h:2200:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_w ork_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
    , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
    ^
    ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
    ../src/unix_dgram.cc:121:25: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value)’ is deprecated [-Wdeprecated-declarations]
    argv);
    ^
    In file included from ../src/unix_dgram.cc:5:
    ../../../../nan/nan.h:958:46: note: declared here
    NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
    ^~~~~~~~~~~~
    ../src/unix_dgram.cc:121:25: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value
    )’ is deprecated [-Wdeprecated-declarations]
    argv);
    ^
    In file included from ../src/unix_dgram.cc:5:
    ../../../../nan/nan.h:958:46: note: declared here
    NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
    ^~~~~~~~~~~~
    ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
    ../src/unix_dgram.cc:129:28: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value)’ is deprecated [-Wdeprecated-declarations]
    0, NULL);
    ^
    In file included from ../src/unix_dgram.cc:5:
    ../../../../nan/nan.h:958:46: note: declared here
    NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
    ^~~~~~~~~~~~
    ../src/unix_dgram.cc:129:28: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value
    )’ is deprecated [-Wdeprecated-declarations]
    0, NULL);
    ^
    In file included from ../src/unix_dgram.cc:5:
    ../../../../nan/nan.h:958:46: note: declared here
    NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
    ^~~~~~~~~~~~
    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-dec larations]
    domain = info[0]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    type = info[1]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    protocol = info[2]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    fd = info[0]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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 versio n [-Wdeprecated-declarations]
    String::Utf8Value path(info[1]);
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
    explicit Utf8Value(Localv8::Value obj));
    ^~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    fd = info[0]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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 [-Wde precated-declarations]
    buf = info[1]->ToObject();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.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-d eclarations]
    offset = info[2]->Uint32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
    V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
    ^~~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-d eclarations]
    length = info[3]->Uint32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
    V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
    ^~~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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 versio n [-Wdeprecated-declarations]
    String::Utf8Value path(info[4]);
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
    explicit Utf8Value(Localv8::Value obj));
    ^~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    fd = info[0]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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 [-Wde precated-declarations]
    buf = info[1]->ToObject();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    fd = info[0]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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 versio n [-Wdeprecated-declarations]
    String::Utf8Value path(info[1]);
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
    explicit Utf8Value(Localv8::Value obj));
    ^~~~~~~~~
    /home/iobroker/.node-gyp/10.16.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-dec larations]
    fd = info[0]->Int32Value();
    ^
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
    from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
    ^~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
    declarator attribute((deprecated(message)))
    ^~~~~~~~~~
    In file included from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    ../src/unix_dgram.cc: At global scope:
    /home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(v8 ::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcas t-function-type]
    (node::addon_register_func) (regfunc),
    ^
    /home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
    NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
    ^~~~~~~~~~~~~
    ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
    NODE_MODULE(unix_dgram, Initialize)
    ^~~~~~~~~~~
    In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
    from ../../../../nan/nan.h:52,
    from ../src/unix_dgram.cc:5:
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::We akCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>: :Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:
    /home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCall backInfonode::ObjectWrap::Callback’ {aka ‘void (
    )(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ( )(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
    reinterpret_cast<Callback>(callback), type);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
    , typename v8::We akCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>:: Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:
    ../../../../nan/nan_object_wrap.h:66:61: required from here
    /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCall backInfoNan::ObjectWrap::Callback’ {aka ‘void (
    )(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*) (const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
    (node:25079) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
    at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
    at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
    (node:25079) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of a n async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:25079) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that a re not handled will terminate the Node.js process with a non-zero exit code.
    (node:25079) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
    at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
    at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
    (node:25079) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of a n async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)


    LOG nach sudo -H -u iobroker npm install iobroker.js-controller

    pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
    npm WARN checkPermissions Missing write access to /home/pi
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
    npm WARN pi No description
    npm WARN pi No repository field.
    npm WARN pi No README data
    npm WARN pi No license field.

    npm ERR! path /home/pi
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall access
    npm ERR! Error: EACCES: permission denied, access '/home/pi'
    npm ERR! { [Error: EACCES: permission denied, access '/home/pi']
    npm ERR! stack: 'Error: EACCES: permission denied, access '/home/pi'',
    npm ERR! errno: -13,
    npm ERR! code: 'EACCES',
    npm ERR! syscall: 'access',
    npm ERR! path: '/home/pi' }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-check the
    npm ERR! permissions of the file and its containing directories, or try running
    npm ERR! the command again as root/Administrator (though this is not recommended).

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/iobroker/.npm/_logs/2019-10-18T18_43_24_847Z-debug.log

    LOG im Detail: 2019-10-18T18_43_24_847Z-debug.log

    nach Abbruch mit ctrl-c und reboot ist die .34 installiert, VIS über Web nicht erreichbar.
    und nun?

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

    @telekom0815 in dem Fall ist die Meldung klar: iobroker läuft noch. Kann das sein? Versuch nochmal bitte und schau genau das sie Prozesse beendet sind.

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

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

      @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

      @telekom0815 Magst Du das Update nochmals versuchen? Ist bisher 2 mal von über 1500 Installationen passiert. Also müssen wir den grund finden.

      Hallo,
      die erneute Installation bricht mit folgendem Log ab (hab es jetzt fast 20min gewartet)


      pi@raspberrypi:~ $ ps auxww|grep io
      root 12 0.0 0.0 0 0 ? S Okt17 0:05 [migration/0]
      root 15 0.0 0.0 0 0 ? S Okt17 0:05 [migration/1]
      root 20 0.0 0.0 0 0 ? S Okt17 0:04 [migration/2]
      root 25 0.0 0.0 0 0 ? S Okt17 0:04 [migration/3]
      root 42 0.0 0.0 0 0 ? I< Okt17 0:00 [rpciod]
      root 44 0.0 0.0 0 0 ? I< Okt17 0:00 [xprtiod]
      root 48 0.0 0.0 0 0 ? I< Okt17 0:00 [nfsiod]
      root 64 0.0 0.0 0 0 ? I< Okt17 0:00 [DWC Notificatio]
      message+ 321 0.0 0.0 6556 2976 ? Ss Okt17 0:00 /usr/bin/dbus-daemon --system --address=systemd: -- nofork --nopidfile --systemd-activation --syslog-only
      pi 24954 0.0 0.0 7360 492 pts/0 S+ 20:18 0:00 grep --color=auto io
      pi@raspberrypi:~ $ iobroker upgrade self
      Update js-controller from @1.5.14 to @2.0.34
      NPM version: 6.9.0
      npm install iobroker.js-controller@2.0.34 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      In file included from ../src/unix_dgram.cc:5:
      ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      ../../../../nan/nan.h:2200:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_w ork_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
      , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      ^
      ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
      ../src/unix_dgram.cc:121:25: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value)’ is deprecated [-Wdeprecated-declarations]
      argv);
      ^
      In file included from ../src/unix_dgram.cc:5:
      ../../../../nan/nan.h:958:46: note: declared here
      NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
      ^~~~~~~~~~~~
      ../src/unix_dgram.cc:121:25: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value
      )’ is deprecated [-Wdeprecated-declarations]
      argv);
      ^
      In file included from ../src/unix_dgram.cc:5:
      ../../../../nan/nan.h:958:46: note: declared here
      NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
      ^~~~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
      ../src/unix_dgram.cc:129:28: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value)’ is deprecated [-Wdeprecated-declarations]
      0, NULL);
      ^
      In file included from ../src/unix_dgram.cc:5:
      ../../../../nan/nan.h:958:46: note: declared here
      NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
      ^~~~~~~~~~~~
      ../src/unix_dgram.cc:129:28: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, in t, v8::Localv8::Value
      )’ is deprecated [-Wdeprecated-declarations]
      0, NULL);
      ^
      In file included from ../src/unix_dgram.cc:5:
      ../../../../nan/nan.h:958:46: note: declared here
      NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
      ^~~~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-dec larations]
      domain = info[0]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      type = info[1]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      protocol = info[2]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      fd = info[0]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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 versio n [-Wdeprecated-declarations]
      String::Utf8Value path(info[1]);
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
      explicit Utf8Value(Localv8::Value obj));
      ^~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      fd = info[0]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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 [-Wde precated-declarations]
      buf = info[1]->ToObject();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.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-d eclarations]
      offset = info[2]->Uint32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
      V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
      ^~~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-d eclarations]
      length = info[3]->Uint32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
      V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
      ^~~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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 versio n [-Wdeprecated-declarations]
      String::Utf8Value path(info[4]);
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
      explicit Utf8Value(Localv8::Value obj));
      ^~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      fd = info[0]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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 [-Wde precated-declarations]
      buf = info[1]->ToObject();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      fd = info[0]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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 versio n [-Wdeprecated-declarations]
      String::Utf8Value path(info[1]);
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
      explicit Utf8Value(Localv8::Value obj));
      ^~~~~~~~~
      /home/iobroker/.node-gyp/10.16.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-dec larations]
      fd = info[0]->Int32Value();
      ^
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26,
      from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
      V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
      ^~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^~~~~~~~~~
      In file included from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      ../src/unix_dgram.cc: At global scope:
      /home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(v8 ::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcas t-function-type]
      (node::addon_register_func) (regfunc),
      ^
      /home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
      NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
      ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
      NODE_MODULE(unix_dgram, Initialize)
      ^~~~~~~~~~~
      In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63,
      from ../../../../nan/nan.h:52,
      from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::We akCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>: :Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:
      /home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCall backInfonode::ObjectWrap::Callback’ {aka ‘void (
      )(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ( )(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
      reinterpret_cast<Callback>(callback), type);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
      , typename v8::We akCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>:: Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:
      ../../../../nan/nan_object_wrap.h:66:61: required from here
      /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCall backInfoNan::ObjectWrap::Callback’ {aka ‘void (
      )(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*) (const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
      (node:25079) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
      at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
      at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
      (node:25079) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of a n async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
      (node:25079) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that a re not handled will terminate the Node.js process with a non-zero exit code.
      (node:25079) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
      at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
      at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
      (node:25079) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of a n async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)


      LOG nach sudo -H -u iobroker npm install iobroker.js-controller

      pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
      npm WARN checkPermissions Missing write access to /home/pi
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm WARN pi No description
      npm WARN pi No repository field.
      npm WARN pi No README data
      npm WARN pi No license field.

      npm ERR! path /home/pi
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall access
      npm ERR! Error: EACCES: permission denied, access '/home/pi'
      npm ERR! { [Error: EACCES: permission denied, access '/home/pi']
      npm ERR! stack: 'Error: EACCES: permission denied, access '/home/pi'',
      npm ERR! errno: -13,
      npm ERR! code: 'EACCES',
      npm ERR! syscall: 'access',
      npm ERR! path: '/home/pi' }
      npm ERR!
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR!
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator (though this is not recommended).

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/iobroker/.npm/_logs/2019-10-18T18_43_24_847Z-debug.log

      LOG im Detail: 2019-10-18T18_43_24_847Z-debug.log

      nach Abbruch mit ctrl-c und reboot ist die .34 installiert, VIS über Web nicht erreichbar.
      und nun?

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

      @telekom0815 ps: das zweite log zeigt einen npm install ins falsche Verzeichnis!! Musst vorher cd /opt/iobroker machen

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

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

        @apollon77
        Zu spät, ich bin jetzt auf der letzten Version.
        Wie komme ich zum Log des Slaves, nachdem er stehen geblieben ist?
        Heute früh habe ich ihn komplett herunter gefahren und neu gestartet.
        Jetzt warte ich erst mal auf die nächste Pushnachricht, dass er ausgefallen ist.

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

        @MathiasJ wie mehrfach gesagt und in meiner signatur enthalten: logfile liegt in /opt/iobroker/log/...

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

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

          @apollon77 also @helfi9999 hatte auch admin und Js-controller update gemacht und nach Neustart de Iobrokers der selbe Fehler

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

          @crunchip mehr Kontext bitte?

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

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

            @crunchip mehr Kontext bitte?

            crunchipC Away
            crunchipC Away
            crunchip
            Forum Testing Most Active
            wrote on last edited by
            #375

            @apollon77 https://forum.iobroker.net/post/312986
            schliesst sich nur daraus, das beide admin und js update und neustart von iobroker gemacht haben, mit der selbigen anhaltenden Fehlermeldung

            umgestiegen von Proxmox auf Unraid

            apollon77A 1 Reply Last reply
            0
            • apollon77A apollon77

              @telekom0815 ps: das zweite log zeigt einen npm install ins falsche Verzeichnis!! Musst vorher cd /opt/iobroker machen

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #376

              @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

              @telekom0815 ps: das zweite log zeigt einen npm install ins falsche Verzeichnis!! Musst vorher cd /opt/iobroker machen

              pi@raspberrypi:/opt/iobroker $ iobroker upgrade self
              Host "raspberrypi" is up to date.
              pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller

              iobroker.js-controller@2.0.34 preinstall /opt/iobroker/node_modules/iobroker.js-controller
              node lib/preinstallCheck.js

              NPM version: 6.9.0

              iobroker.js-controller@2.0.34 install /opt/iobroker/node_modules/iobroker.js-controller
              node iobroker.js setup first

              npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/needle/package.json'
              npm WARN hoist-non-react-statics@3.1.0 requires a peer of react@>=14.x but none is installed. You must install peer dependencies yourself.
              npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself.
              npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
              npm WARN react-redux@5.1.0 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.1 (node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

              • iobroker.js-controller@2.0.34
                updated 1 package in 39.49s
                pi@raspberrypi:/opt/iobroker $ iobroker start

              Fehler bleibt leider, VIS nicht erreichbar

              apollon77A 1 Reply Last reply
              0
              • apollon77A apollon77

                @telekom0815 in dem Fall ist die Meldung klar: iobroker läuft noch. Kann das sein? Versuch nochmal bitte und schau genau das sie Prozesse beendet sind.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #377

                @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                @telekom0815 in dem Fall ist die Meldung klar: iobroker läuft noch. Kann das sein? Versuch nochmal bitte und schau genau das sie Prozesse beendet sind.

                pi@raspberrypi:/opt/iobroker $ sudo pkill io
                pi@raspberrypi:/opt/iobroker $ ps auxww|grep io
                root 12 0.0 0.0 0 0 ? S 20:30 0:00 [migration/0]
                root 15 0.0 0.0 0 0 ? S 20:30 0:00 [migration/1]
                root 20 0.0 0.0 0 0 ? S 20:30 0:00 [migration/2]
                root 25 0.0 0.0 0 0 ? S 20:30 0:00 [migration/3]
                root 42 0.0 0.0 0 0 ? I< 20:30 0:00 [rpciod]
                root 44 0.0 0.0 0 0 ? I< 20:30 0:00 [xprtiod]
                root 48 0.0 0.0 0 0 ? I< 20:30 0:00 [nfsiod]
                root 64 0.0 0.0 0 0 ? I< 20:30 0:00 [DWC Notificatio]
                message+ 351 0.0 0.0 6644 3568 ? Ss 20:30 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
                pi 15087 0.0 0.0 7360 516 pts/0 S+ 21:02 0:00 grep --color=auto io

                apollon77A 1 Reply Last reply
                0
                • ? A Former User

                  @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                  @telekom0815 ps: das zweite log zeigt einen npm install ins falsche Verzeichnis!! Musst vorher cd /opt/iobroker machen

                  pi@raspberrypi:/opt/iobroker $ iobroker upgrade self
                  Host "raspberrypi" is up to date.
                  pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller

                  iobroker.js-controller@2.0.34 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                  node lib/preinstallCheck.js

                  NPM version: 6.9.0

                  iobroker.js-controller@2.0.34 install /opt/iobroker/node_modules/iobroker.js-controller
                  node iobroker.js setup first

                  npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/needle/package.json'
                  npm WARN hoist-non-react-statics@3.1.0 requires a peer of react@>=14.x but none is installed. You must install peer dependencies yourself.
                  npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself.
                  npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN react-redux@5.1.0 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.1 (node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

                  • iobroker.js-controller@2.0.34
                    updated 1 package in 39.49s
                    pi@raspberrypi:/opt/iobroker $ iobroker start

                  Fehler bleibt leider, VIS nicht erreichbar

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

                  @telekom0815 was sagt iobroker log?

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

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

                    @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                    @telekom0815 in dem Fall ist die Meldung klar: iobroker läuft noch. Kann das sein? Versuch nochmal bitte und schau genau das sie Prozesse beendet sind.

                    pi@raspberrypi:/opt/iobroker $ sudo pkill io
                    pi@raspberrypi:/opt/iobroker $ ps auxww|grep io
                    root 12 0.0 0.0 0 0 ? S 20:30 0:00 [migration/0]
                    root 15 0.0 0.0 0 0 ? S 20:30 0:00 [migration/1]
                    root 20 0.0 0.0 0 0 ? S 20:30 0:00 [migration/2]
                    root 25 0.0 0.0 0 0 ? S 20:30 0:00 [migration/3]
                    root 42 0.0 0.0 0 0 ? I< 20:30 0:00 [rpciod]
                    root 44 0.0 0.0 0 0 ? I< 20:30 0:00 [xprtiod]
                    root 48 0.0 0.0 0 0 ? I< 20:30 0:00 [nfsiod]
                    root 64 0.0 0.0 0 0 ? I< 20:30 0:00 [DWC Notificatio]
                    message+ 351 0.0 0.0 6644 3568 ? Ss 20:30 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
                    pi 15087 0.0 0.0 7360 516 pts/0 S+ 21:02 0:00 grep --color=auto io

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

                    @telekom0815 hast du Master Slave oder Single Host System und was ist das gerade hier?

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

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

                      @telekom0815 was sagt iobroker log?

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #380

                      @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                      @telekom0815 was sagt iobroker log?

                      keine Fehler, ausser den vom Pollenadapter

                      apollon77A 1 Reply Last reply
                      0
                      • ? A Former User

                        @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                        @telekom0815 was sagt iobroker log?

                        keine Fehler, ausser den vom Pollenadapter

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

                        @telekom0815 und was heißt dann das Vis nicht lädt? Fehler? Was? Wie? Fehlen icons?

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

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

                          @telekom0815 hast du Master Slave oder Single Host System und was ist das gerade hier?

                          ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #382

                          @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                          @telekom0815 hast du Master Slave oder Single Host System und was ist das gerade hier?

                          Single Host, auf dem 2. Raspberry läuft nur die HomematicsCCU

                          1 Reply Last reply
                          0
                          • apollon77A apollon77

                            @telekom0815 und was heißt dann das Vis nicht lädt? Fehler? Was? Wie? Fehlen icons?

                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #383

                            @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                            @telekom0815 und was heißt dann das Vis nicht lädt? Fehler? Was? Wie? Fehlen icons?

                            File edit.html not found: permissionError

                            apollon77A 1 Reply Last reply
                            0
                            • ? A Former User

                              @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                              @telekom0815 und was heißt dann das Vis nicht lädt? Fehler? Was? Wie? Fehlen icons?

                              File edit.html not found: permissionError

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

                              @telekom0815 dann kommen wir der Sache näher. Bitte mal „iobroker upload vis“ ausführen. Tut es dann?

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

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

                                @telekom0815 dann kommen wir der Sache näher. Bitte mal „iobroker upload vis“ ausführen. Tut es dann?

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #385

                                @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                                @telekom0815 dann kommen wir der Sache näher. Bitte mal „iobroker upload vis“ ausführen. Tut es dann?

                                nein, Fehler bleibt

                                apollon77A 1 Reply Last reply
                                0
                                • ? A Former User

                                  @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                                  @telekom0815 dann kommen wir der Sache näher. Bitte mal „iobroker upload vis“ ausführen. Tut es dann?

                                  nein, Fehler bleibt

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

                                  @telekom0815 wie ist die Ausgabe von

                                  iobroker list files vis

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

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

                                    @telekom0815 wie ist die Ausgabe von

                                    iobroker list files vis

                                    ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by
                                    #387

                                    @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                                    iobroker list files vis

                                    ist länger wie 50.000 Zeichen, wie kann ich es hier posten?

                                    apollon77A 1 Reply Last reply
                                    0
                                    • ? A Former User

                                      @apollon77 sagte in js-controller 2.0 ab sofort im Latest Repo:

                                      iobroker list files vis

                                      ist länger wie 50.000 Zeichen, wie kann ich es hier posten?

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

                                      @telekom0815 als txt file hochladen? Zip?

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

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

                                        @telekom0815 als txt file hochladen? Zip?

                                        ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #389

                                        @apollon77 danke, hätte ich selbst drauf kommen können ;)

                                        log.txt

                                        apollon77A 1 Reply Last reply
                                        0
                                        • ? A Former User

                                          @apollon77 danke, hätte ich selbst drauf kommen können ;)

                                          log.txt

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

                                          @telekom0815 welche Versionen von Vis, Web, ?

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

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          ? 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          823

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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