Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler nach Update

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehler nach Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • Marcus Hamburg
      Marcus Hamburg @Thomas Braun last edited by Marcus Hamburg

      Ich verstehe nur Bahnhof

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @Marcus Hamburg last edited by Glasfaser

        @Marcus-Hamburg
        die Befehle so wie @Thomas-Braun angeben hat kopieren und in Putty komplett einfügen ... dann das Ergebniss hier posten

        1 Reply Last reply Reply Quote 0
        • Marcus Hamburg
          Marcus Hamburg @Thomas Braun last edited by

          @Thomas-Braun

          schon mal, hier das Ergebnis:

          pm && npm -v && apt policy nodejs
          /usr/bin/nodejs
          v10.17.0
          /usr/bin/node
          v10.17.0
          /usr/bin/npm
          6.11.3
          nodejs:
            Installiert:           10.17.0-1nodesource1
            Installationskandidat: 10.17.0-1nodesource1
            Versionstabelle:
           *** 10.17.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                  100 /var/lib/dpkg/status
               10.15.2~dfsg-2+rpi1 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          pi@raspberrypi:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Marcus Hamburg last edited by

            @Marcus-Hamburg

            sudo apt update 
            sudo apt upgrade
            sudo reboot
            
            Marcus Hamburg 1 Reply Last reply Reply Quote 0
            • Marcus Hamburg
              Marcus Hamburg @Thomas Braun last edited by

              Verdammt, leider immer noch das Problem nicht behoben.

              pi@raspberrypi:~ $ iobroker start
              pi@raspberrypi:~ $ iobroker status
              internal/modules/cjs/loader.js:638
                  throw err;
                  ^
              
              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                  at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                  at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                  at startup (internal/bootstrap/node.js:283:19)
                  at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
              
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Marcus Hamburg last edited by Thomas Braun

                @Marcus-Hamburg node ist jetzt in welcher Version drauf?

                cd /opt/iobroker
                sudo -H -u iobroker npm install iobroker.js-controller
                
                Marcus Hamburg 1 Reply Last reply Reply Quote 0
                • Marcus Hamburg
                  Marcus Hamburg @Thomas Braun last edited by

                  SSH is enabled and the default password for the 'pi' user has not been changed.
                  This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
                  
                  pi@raspberrypi:~$ cd /opt/iobroker
                  pi@raspberrypi:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                  
                  > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                  > node lib/preinstallCheck.js
                  
                  NPM version: 6.14.4
                  
                  > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                  > node-pre-gyp install --fallback-to-build
                  
                  node-pre-gyp WARN Using request for node-pre-gyp https download
                  node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
                  node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                  Package pangocairo was not found in the pkg-config search path.
                  Perhaps you should add the directory containing `pangocairo.pc'
                  to the PKG_CONFIG_PATH environment variable
                  No package 'pangocairo' found
                  gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                  gyp ERR! configure error
                  gyp ERR! stack Error: `gyp` failed with exit code: 1
                  gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                  gyp ERR! System Linux 4.19.118-v7+
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                  gyp ERR! cwd /opt/iobroker/node_modules/canvas
                  gyp ERR! node -v v10.21.0
                  gyp ERR! node-gyp -v v5.1.0
                  gyp ERR! not ok
                  node-pre-gyp ERR! build error
                  node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                  node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                  node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                  node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                  node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                  node-pre-gyp ERR! System Linux 4.19.118-v7+
                  node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                  node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                  node-pre-gyp ERR! node -v v10.21.0
                  node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                  node-pre-gyp ERR! not ok
                  Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                  
                  > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                    CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                  In file included from ../src/unix_dgram.cc:5:
                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                  ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                       , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                ^
                  In file included from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  ../src/unix_dgram.cc: At global scope:
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                         (node::addon_register_func) (regfunc),                          \
                                                             ^
                  /home/iobroker/.cache/node-gyp/10.21.0/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:404:1: note: in expansion of macro ‘NODE_MODULE’
                   NODE_MODULE(unix_dgram, Initialize)
                   ^~~~~~~~~~~
                  In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  reinterpret_cast<Callback>(callback), type);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                  ../../nan/nan_object_wrap.h:65:61:   required from here
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                    COPY Release/unix_dgram.node
                  make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                  
                  > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                  > node rebuild.js
                  
                  
                  > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                    CXX(target) Release/obj.target/diskusage/src/main.o
                  In file included from ../src/main.cpp:3:
                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                  ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                       , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                ^
                  In file included from ../../nan/nan.h:54,
                                   from ../src/main.cpp:3:
                  ../src/main.cpp: At global scope:
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                         (node::addon_register_func) (regfunc),                          \
                                                             ^
                  /home/iobroker/.cache/node-gyp/10.21.0/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/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                   NODE_MODULE(diskusage, Init)
                   ^~~~~~~~~~~
                  In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/main.cpp:3:
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  reinterpret_cast<Callback>(callback), type);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                  ../../nan/nan_object_wrap.h:65:61:   required from here
                  /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                    SOLINK_MODULE(target) Release/obj.target/diskusage.node
                    COPY Release/diskusage.node
                  make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                  
                  > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller
                  > node iobroker.js setup first
                  
                  Existing earlier generated certificate is invalid (too old, validity longer then 345 days or keylength too short). Generating new Certificate!
                  object system.certificates updated
                  
                  The following notifications happened during sync:
                  - Ignoring Directory "coronavirus-statistics.admin" because officially not created as meta object. Please remove directory!
                  - Ignoring Directory "weatherunderground.admin" because officially not created as meta object. Please remove directory!
                  
                  
                  > acme-v2@1.8.6 postinstall /opt/iobroker/node_modules/acme-v2
                  > node scripts/postinstall
                  
                  
                  Greenlock and ACME.js v3 are on the way!
                  Watch for updates at https://indiegogo.com/at/greenlock
                  
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  
                  + iobroker.js-controller@3.1.6
                  added 147 packages from 161 contributors in 174.552s
                  
                  10 packages are looking for funding
                    run `npm fund` for details
                  
                  pi@raspberrypi:/opt/iobroker$
                  
                  mikeal created this issue in request/request

                  open Request’s Past, Present and Future #3142

                  Thomas Braun Marcus Hamburg 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Marcus Hamburg last edited by

                    @Marcus-Hamburg Da hast du aber noch ein paar Leichen im gyp-Keller.

                    Startet das Ding jetzt?

                    1 Reply Last reply Reply Quote 0
                    • Marcus Hamburg
                      Marcus Hamburg last edited by

                      Nein leider kein Iobroker gestartet. Meinst du ich sollte es neu aufsetzen und ein Backup einspielen?

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Marcus Hamburg last edited by

                        @Marcus-Hamburg Meldungen?

                        1 Reply Last reply Reply Quote 0
                        • Marcus Hamburg
                          Marcus Hamburg @Marcus Hamburg last edited by Marcus Hamburg

                          Moin Moin, ich komme jetzt in den IObroker :-).

                          alt text

                          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

                          863
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          fehler update hilfe iorboker
                          3
                          13
                          625
                          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