Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Admin nach JavaScript-Update nicht mehr erreichbar

    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

    Admin nach JavaScript-Update nicht mehr erreichbar

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

      @thomas-braun

      korrekt:

      iobroker@iobroker-pi:~ $ iobroker status
      /opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliHost.js:199
                         �   "continue;
      
      
      SyntaxError: Invalid or unexpected token
          at wrapSafe (internal/modules/cjs/loader.js:915:16)
          at Module._compile (internal/modules/cjs/loader.js:963:27)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
          at Module.load (internal/modules/cjs/loader.js:863:32)
          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
          at Module.require (internal/modules/cjs/loader.js:887:19)
          at require (internal/modules/cjs/helpers.js:74:18)
          at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/index.js:15:18)
          at Module._compile (internal/modules/cjs/loader.js:999:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      iobroker@iobroker-pi:~ $
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Yunkie last edited by

        @yunkie

        Dann wie oben ergänzt vorgehen oder Backup einspielen.

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

          @thomas-braun

          Top! Das hat geholfen:

          iobroker stop
          cd /opt/iobroker
          sudo -H -u iobroker npm install iobroker.js-controller
          

          er läuft wieder! 🙂

          Interessanter weise, zeigt der ioBroker das JavaScript update immer noch an, obwohl ich es ja gestern installiert hatte.
          Ich habe mit F5 aktualisiert -> Wird immer noch angezeigt
          Dann habe ich den Browser-Cache gelöscht und aktualisiert -> wird immer noch angezeigt

          Vielen Dank jedenfalls, dass ich ihn nicht neu aufsetzen muss! 🙂

          Gruß,
          Hendrik

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

            @yunkie

            iobroker upload all
            iobroker update -i
            iobroker upgrade
            
            Yunkie 1 Reply Last reply Reply Quote 0
            • Yunkie
              Yunkie @Thomas Braun last edited by

              @thomas-braun

              Hallo,

              vielen Dank für die bisherige Unterstützung!

              Leider lieferte der letzte Befehl folgendes:

              iobroker@iobroker-pi:~ $ iobroker upgrade
              
              This upgrade of "javascript" will introduce the following changes:
              ==========================================================================
              -> 5.2.13:
              Fixed the loading of Node.js typings
              
              -> 5.2.12:
              Fixed the font in the editor
              
              -> 5.2.10:
              Parse variables to floats for mathematical operations
              Names with the dot at the end are not allowed anymore
              The blockly sounds are disabled
              
              -> 5.2.9:
              Make sure day of weeks is an array (Sentry IOBROKER-JAVASCRIPT-7Y)
              Report to sentry is disabled in GUI if sentry is deactivated
              Fixed many GitHub issues
              ==========================================================================
              
              Would you like to upgrade javascript from @5.2.8 to @5.2.13 now? [(y)es, (n)o]: y
              Update javascript from @5.2.8 to @5.2.13
              NPM version: 6.14.15
              npm install iobroker.javascript@5.2.13 --loglevel error --prefix "/opt/iobroker" (System call)
              ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
              ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                 Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                     ^
              In file included from ../authenticate_pam.cc:23:
              ../../nan/nan.h:1026:46: note: declared here
                 NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
              ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                 Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                     ^
              In file included from ../authenticate_pam.cc:23:
              ../../nan/nan.h:1026:46: note: declared here
                 NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
              ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
              ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                                 ^
              In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:67,
                               from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:3553:51: note: declared here
                 V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                 ^~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                  serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                                   ^
              In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:67,
                               from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                 int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                     ^~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
              ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                                   ^
              In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:67,
                               from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:3553:51: note: declared here
                 V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                 ^~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                  remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                                ^
              In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:67,
                               from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                 int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                     ^~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
              ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                        ^
              In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:67,
                               from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                 int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                     ^~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
              ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                        ^
              In file included from /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:67,
                               from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                 int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                     ^~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
              ../authenticate_pam.cc: At global scope:
              ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
               void init(Handle<Object> exports) {
                         ^~~~~~
              ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
              ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
               void init(Handle<Object> exports) {
                         ^~~~~~
                         rand_r
              ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
               void init(Handle<Object> exports) {
                                      ^
              ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
               void init(Handle<Object> exports) {
                                        ^~~~~~~
              In file included from ../../nan/nan.h:56,
                               from ../authenticate_pam.cc:23:
              ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
               NODE_MODULE(authenticate_pam, init);
                                             ^~~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
                     (node::addon_register_func) (regfunc),                          \
                                                  ^~~~~~~
              ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(authenticate_pam, init);
               ^~~~~~~~~~~
              ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
               NODE_MODULE(authenticate_pam, init);
                                             ^~~~
              /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
                     (node::addon_register_func) (regfunc),                          \
                                                  ^~~~~~~
              ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(authenticate_pam, init);
               ^~~~~~~~~~~
              make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1
              gyp ERR! build error
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
              gyp ERR! System Linux 5.10.63-v7l+
              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/authenticate-pam
              gyp ERR! node -v v12.22.7
              gyp ERR! node-gyp -v v5.1.0
              gyp ERR! not ok
              Update "system.adapter.javascript.0"
              upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/typescript/tsWorker.js vs/language/typescript/tsWorker.js application/javascript
              upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.js vs/editor/editor.main.nls.js application/javascript
              upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/javascript/javascript.js vs/basic-languages/javascript/javascript.js application/javascript
              upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/main.fc5df117.chunk.js static/js/main.fc5df117.chunk.js application/javascript
              upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/index_m.html index_m.html text/html
              upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/de.js google-blockly/own/msg/de.js application/javascript
              upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_sendto.js google-blockly/own/blocks_sendto.js application/javascript
              upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/it.js google-blockly/msg/js/it.js application/javascript
              upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handopen.cur google-blockly/media/handopen.cur null
              upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handdelete.cur google-blockly/media/handdelete.cur null
              upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handclosed.cur google-blockly/media/handclosed.cur null
              upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/dropdown-arrow.svg google-blockly/media/dropdown-arrow.svg image/svg+xml
              upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.wav google-blockly/media/disconnect.wav audio/wav
              upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.ogg google-blockly/media/disconnect.ogg audio/ogg
              upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.mp3 google-blockly/media/disconnect.mp3 audio/mpeg
              upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/wav
              upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.ogg google-blockly/media/delete.ogg audio/ogg
              upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.mp3 google-blockly/media/delete.mp3 audio/mpeg
              upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.wav google-blockly/media/click.wav audio/wav
              upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.ogg google-blockly/media/click.ogg audio/ogg
              upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.mp3 google-blockly/media/click.mp3 audio/mpeg
              upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/1x1.gif google-blockly/media/1x1.gif image/gif
              upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/javascript_compressed.js google-blockly/javascript_compressed.js application/javascript
              upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blocks_compressed.js google-blockly/blocks_compressed.js application/javascript
              upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blockly_compressed.js google-blockly/blockly_compressed.js application/javascript
              upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE null
              upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
              upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/asset-manifest.json asset-manifest.json application/json
              upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript
              Adapter "javascript" updated
              

              Auch wenn die letzte Zeile "javascript updated" lautet, ist das Update nicht durchgelaufen.

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Yunkie last edited by

                @yunkie sagte in Admin nach JavaScript-Update nicht mehr erreichbar:

                ist das Update nicht durchgelaufen.

                woran machst du das fest?

                Yunkie 1 Reply Last reply Reply Quote 0
                • Yunkie
                  Yunkie @Homoran last edited by

                  @homoran
                  Entschuldigt, habe diesmal die "Adapter"-Seite nicht aktualisiert.
                  tatsächlich scheint das Update nun durchgelaufen zu sein.

                  Vielen Dank!

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

                    @yunkie
                    Wäre schön wenn du alles hier reinkopieren würdest.

                    Hast du zufällig den Adapter 'terminal' installiert?

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

                      @thomas-braun

                      entschuldige, was soll ich hier noch reinkopieren? Die ganze Ausgabe nach dem "upgrade" Befehl steht oben 😕

                      Ja ich habe den Adapter Terminal installiert.

                      OT: Ich kann den "Ring"-Adapter nicht aktualisieren. Sollte ich dafür einen neuen Thread aufmachen?
                      Die Fehlermeldung sieht ähnlich aus wie bei der JavaScript Installation. Ich habe das Gefühl das diese Zeilen dafür interessant sind:

                      make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
                      gyp ERR! System Linux 5.10.63-v7l+
                      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/authenticate-pam
                      gyp ERR! node -v v12.22.7
                      gyp ERR! node-gyp -v v5.1.0
                      gyp ERR! not ok
                      gyp ERR! UNCAUGHT EXCEPTION
                      gyp ERR! stack /opt/iobroker/node_modules/fstream/lib/dir-reader.js:191
                      gyp ERR! stack "     'warn'
                      gyp ERR! stack ^^^^^^^^^^^^
                      gyp ERR! stack
                      gyp ERR! stack SyntaxError: Invalid or unexpected token
                      gyp ERR! stack     at wrapSafe (internal/modules/cjs/loader.js:915:16)
                      gyp ERR! stack     at Module._compile (internal/modules/cjs/loader.js:963:27)
                      gyp ERR! stack     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                      gyp ERR! stack     at Module.load (internal/modules/cjs/loader.js:863:32)
                      gyp ERR! stack     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                      gyp ERR! stack     at Module.require (internal/modules/cjs/loader.js:887:19)
                      gyp ERR! stack     at require (internal/modules/cjs/helpers.js:74:18)
                      gyp ERR! stack     at Object.<anonymous> (/opt/iobroker/node_modules/fstream/fstream.js:11:11)
                      gyp ERR! stack     at Module._compile (internal/modules/cjs/loader.js:999:30)
                      gyp ERR! stack     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                      gyp ERR! System Linux 5.10.63-v7l+
                      gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
                      gyp ERR! node -v v12.22.7
                      gyp ERR! node-gyp -v v3.8.0
                      gyp ERR! This is a bug in `node-gyp`.
                      gyp ERR! Try to update node-gyp and file an Issue if it does not help:
                      gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 7
                      npm ERR! utf-8-validate@5.0.7 install: `node-gyp-build`
                      npm ERR! Exit status 7
                      npm ERR!
                      npm ERR! Failed at the utf-8-validate@5.0.7 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2021-11-16T20_28_21_503Z-debug.log
                      host.iobroker-pi Cannot install iobroker.ring@1.2.8: 7
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Yunkie last edited by

                        @yunkie

                        Schmeiß den Terminals-Adapter raus.

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

                          @thomas-braun

                          Alles klar, ist raus. Fiel mir nicht besonders schwer, da ich ihn nicht wirklich gebraucht habe und alles per Putty mache.
                          Aber darf ich interessehalber noch fragen warum?

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

                            @yunkie
                            Der sorgt für die ganzen Meldungen zu authenticate_pam.

                            iobroker update -i
                            

                            sagt?

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

                              @thomas-braun

                              iobroker@iobroker-pi:~ $ iobroker update -i
                              Used repository: stable
                              hash unchanged, use cached sources
                              update done
                              Adapter    "admin"         : 5.1.25   , installed 5.1.25
                              Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
                              Adapter    "backitup"      : 2.1.17   , installed 2.1.17
                              Adapter    "bring"         : 1.7.8    , installed 1.7.8
                              Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                              Adapter    "discovery"     : 2.7.3    , installed 2.7.3
                              Adapter    "ebus"          : 2.3.2    , installed 2.3.2
                              Adapter    "flot"          : 1.10.7   , installed 1.10.7
                              Adapter    "history"       : 1.9.13   , installed 1.9.13
                              Adapter    "icons-mfd-svg" : 1.0.2    , installed 1.0.2
                              Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
                              Adapter    "info"          : 1.9.8    , installed 1.9.8
                              Adapter    "javascript"    : 5.2.13   , installed 5.2.13
                              Controller "js-controller" : 3.3.18   , installed 3.3.18
                              Adapter    "knx"           : 1.0.45   , installed 1.0.45
                              Adapter    "mqtt"          : 2.4.0    , installed 2.4.0
                              Adapter    "octoprint"     : 1.1.1    , installed 1.1.1
                              Adapter    "pollenflug"    : 1.0.6    , installed 1.0.6
                              Adapter    "pushover"      : 2.0.5    , installed 2.0.5
                              Adapter    "ring"          : 1.2.8    , installed 1.2.6 [Updateable]
                              Adapter    "samsung"       : 0.2.9    , installed 0.2.9
                              Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
                              Adapter    "smartmeter"    : 3.2.1    , installed 3.2.1
                              Adapter    "snmp"          : 0.5.0    , installed 0.5.0
                              Adapter    "socketio"      : 3.1.4    , installed 3.1.5
                              Adapter    "sql"           : 1.15.7   , installed 1.15.7
                              Adapter    "vis"           : 1.4.5    , installed 1.4.5
                              Adapter    "vis-bars"      : 0.1.4    , installed 0.1.4
                              Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
                              Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                              Adapter    "vis-material-advanced": 1.7.2   , installed 1.7.2
                              Adapter    "vis-plumb"     : 1.0.2    , installed 1.0.2
                              Adapter    "vw-connect"    : 0.0.45   , installed 0.0.45
                              Adapter    "web"           : 3.4.9    , installed 3.4.9
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Yunkie last edited by

                                @yunkie

                                iobroker upgrade
                                
                                Yunkie 1 Reply Last reply Reply Quote 0
                                • Yunkie
                                  Yunkie @Thomas Braun last edited by

                                  @thomas-braun

                                  liefert leider das:

                                  iobroker@iobroker-pi:~ $ iobroker upgrade
                                  Would you like to upgrade ring from @1.2.6 to @1.2.8 now? [(y)es, (n)o]: y
                                  Update ring from @1.2.6 to @1.2.8
                                  NPM version: 6.14.15
                                  npm install iobroker.ring@1.2.8 --loglevel error --prefix "/opt/iobroker" (System call)
                                  gyp ERR! UNCAUGHT EXCEPTION
                                  gyp ERR! stack /opt/iobroker/node_modules/fstream/lib/dir-reader.js:192
                                  gyp ERR! stack     ].forEach(function!(evi {
                                  gyp ERR! stack                       ^
                                  gyp ERR! stack
                                  gyp ERR! stack SyntaxError: Unexpected token '!'
                                  gyp ERR! stack     at wrapSafe (internal/modules/cjs/loader.js:915:16)
                                  gyp ERR! stack     at Module._compile (internal/modules/cjs/loader.js:963:27)
                                  gyp ERR! stack     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                  gyp ERR! stack     at Module.load (internal/modules/cjs/loader.js:863:32)
                                  gyp ERR! stack     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                  gyp ERR! stack     at Module.require (internal/modules/cjs/loader.js:887:19)
                                  gyp ERR! stack     at require (internal/modules/cjs/helpers.js:74:18)
                                  gyp ERR! stack     at Object.<anonymous> (/opt/iobroker/node_modules/fstream/fstream.js:11:11)
                                  gyp ERR! stack     at Module._compile (internal/modules/cjs/loader.js:999:30)
                                  gyp ERR! stack     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                  gyp ERR! System Linux 5.10.63-v7l+
                                  gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
                                  gyp ERR! node -v v12.22.7
                                  gyp ERR! node-gyp -v v3.8.0
                                  gyp ERR! This is a bug in `node-gyp`.
                                  gyp ERR! Try to update node-gyp and file an Issue if it does not help:
                                  gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 7
                                  npm ERR! utf-8-validate@5.0.7 install: `node-gyp-build`
                                  npm ERR! Exit status 7
                                  npm ERR!
                                  npm ERR! Failed at the utf-8-validate@5.0.7 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2021-11-16T21_07_26_795Z-debug.log
                                  host.iobroker-pi Cannot install iobroker.ring@1.2.8: 7
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Yunkie last edited by

                                    @yunkie

                                    cd /opt/iobroker
                                    npm list utf-8-validate
                                    
                                    Yunkie 1 Reply Last reply Reply Quote 0
                                    • Yunkie
                                      Yunkie @Thomas Braun last edited by

                                      @thomas-braun said in Admin nach JavaScript-Update nicht mehr erreichbar:

                                      liefert dies:

                                      iobroker@iobroker-pi:/opt/iobroker $ npm list utf-8-validate
                                      iobroker.inst@3.0.0 /opt/iobroker
                                      └─┬ UNMET DEPENDENCY iobroker.ring@1.2.6
                                        └── UNMET DEPENDENCY utf-8-validate@5.0.5
                                      
                                      npm ERR! missing: iobroker.ring@1.2.6, required by iobroker.inst@3.0.0
                                      npm ERR! missing: utf-8-validate@5.0.5, required by iobroker.ring@1.2.6
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Yunkie last edited by

                                        @yunkie
                                        Fällt mir nichts mehr zu ein.

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

                                          @thomas-braun

                                          Verdammt... Schade! Trotzdem vielen Dank!
                                          Ich werde mal versuchen den Adapter komplett neu zu installieren.

                                          Yunkie 1 Reply Last reply Reply Quote 0
                                          • Yunkie
                                            Yunkie @Yunkie last edited by

                                            Eine komplette Neuinstallation des Adapters war erfolgreich
                                            Wollte nur das Ergebnis mitteilen 😉

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

                                            Support us

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

                                            955
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            27
                                            1153
                                            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