Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2.0 ab sofort im Latest Repo

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    js-controller 2.0 ab sofort im Latest Repo

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

      @coyote Was für ein System hast Du ? redis/redis/ oder Objekte noch in "file"? sollte an sich so nicht passieren.

      Von den Adaptern die "rot" geblieben sind ... gabs was im Log?

      coyote 1 Reply Last reply Reply Quote 0
      • coyote
        coyote Most Active @apollon77 last edited by coyote

        @apollon77 redis/redis

        Nee, hab im Log nix gesehen. Vorhin aber nochmal komplett durchgestartet, alle Adapter grün ohne Probleme. Hatte nur nochmal paar warn Meldungen, dass Redis busy ist. Hat sich aber alles gefangen 👍

        EDIT: Log gerade nochmal etwas durchforstet, schätze manche Adapter blieben rot, wegen den Redis busy Warnings.
        Aber wie gesagt, beim zweiten Anlauf kamen zwar auch Redis Busy Warnings, jedoch alles Adapter ok.

        1 Reply Last reply Reply Quote 0
        • joergeli
          joergeli @SBorg last edited by

          @SBorg @apollon77
          Hat funktioniert 👍
          Views exportiert, entzippt, mit Notepad ++ dann in der entspr. vis-views.json alle "vis" durch "vis.0" ersetzt.
          ( Es wurden ca. 3500 "vis" ersetzt )

          Danke
          Jörg

          apollon77 1 Reply Last reply Reply Quote 0
          • joergeli
            joergeli @Chaot last edited by

            @apollon77 @Chaot
            Danke für den Tip.
            Es funktioniert jetzt (mit meinem JavaScript-Halbwissen) bei mir so:

            
            //==================================== 
            // Cam-Bild(er) nach iobroker kopieren
            //==================================== 
            
            var fs = require('fs'); 
            
            const klingel = 'Datenpunkte.0.Türklingel.Klingel-Zeit';    // Datenpunkt-ID von Klingel
            const postda  = 'hm-rega.0.15463';                          // Datenpunkt-ID "Post ist da"
            
            // Pruefen, ob jemand klingelt
            on({id: klingel, change: "ne"},function(obj) {
                log ('___ Haustürklingel wurde betätigt ___');
                klingeling() ;
            });
            
            // Pruefen, ob Post da ist
            on({id: postda, change: 'gt'},function(obj) {
                log ('___ Post ist da ___');
                postistda() ;
            });
            
            // Cam-Bild von /home/pi/SPY/eingang.jpg
            // nach /opt/iobroker/iobroker-data/files/vis.0/klingelbild/klingler.jpg kopieren
            //_______________________________________________________________________________
            function klingeling() {
                const picture= fs.readFileSync('/home/pi/SPY/eingang.jpg'); //liest Cam-Bild aus linux-datei-system
                setTimeout(function(){
                    writeFile('vis.0','/klingelbild/klingler.jpg', picture, function (error) { });
                    //log ('__ Klingel-Bild wurde kopiert __');
                }, 500);
            }
            
            // Cam-Bild von /home/pi/SPY/eingang.jpg
            // nach /opt/iobroker/iobroker-data/files/vis.0/klingelbild/postistda.jpg kopieren
            //_______________________________________________________________________________
            function postistda() {
                const picture= fs.readFileSync('/home/pi/SPY/eingang.jpg'); //liest Cam-Bild aus linux-datei-system
                setTimeout(function(){
                    writeFile('vis.0','/klingelbild/postistda.jpg', picture, function (error) { });
                    //log ('__ Post-Bild wurde kopiert __');
                }, 500);
            }
            

            Gruß und Danke
            Jörg

            apollon77 1 Reply Last reply Reply Quote 1
            • apollon77
              apollon77 @joergeli last edited by

              @joergeli ich hoffe du hattest kein vis.0 vorher drin dann wäre das jetzt vis.0.0 😉

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

                @joergeli Also nach readFileSync und writeFile ist normalerweise keinerlei Timeout oder Verzögerung nötig. AUch nicht wenn du exec mit dem Callback nutzt ...

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

                  @apollon77
                  Nee, nee, ich habe mich oben nicht korrekt ausgedrückt, hatte natürlich nach /vis/ (also mit den Slashes) suchen und durch /vis.0/ ersetzen lassen

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

                    @apollon77
                    OK, nehme ich wieder raus, hatte das nur gemacht, weil Chaot meinte, daß das Bild evtl. noch nicht auf der Platte liegen könnte, wenn das File schon geschrieben wird.

                    Chaot 1 Reply Last reply Reply Quote 0
                    • Chaot
                      Chaot @joergeli last edited by

                      @joergeli Das liegt bei mir daran das ich vorher per Exec-Befehl erst das Bild von der Kamera hole.

                      Kleiner Tip von mir noch: Ich speichere insgesamt 4 Bilder im kurzen zeitlichen Abstand (5-5-10 s). Da kann ich auch jemanden erkennen der beim Klingeln gerade nicht optimal zur Kamera steht.

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

                        @Chaot warum nutzt ihr nicht denn callback von EXEC? Der wird aufgerufen wenn befehl durch ist. Das macht man an sich so 😉

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

                          weiss nicht ob es hier her gehört, jedenfalls hab ich js-.34
                          alles lief seit der Version Fehlerfrei, habe heute Proxmox update hintermir und hatte dadurch Neustart des Iobrokers, seither bringt der Pollenflug Adapter Fehler.```
                          pollenflug.0 2019-10-18 19:49:19.722 error (1514) Error reading pollen risk index.
                          pollenflug.0 2019-10-18 19:49:19.721 error (1514) Error requesting URL https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
                          pollenflug.0 2019-10-18 19:49:19.669 info (1514) Requesting DWD pollen information now.
                          pollenflug.0 2019-10-18 19:48:19.667 error (1514) Error reading pollen risk index.
                          pollenflug.0 2019-10-18 19:48:19.667 error (1514) Error requesting URL https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json

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

                            @crunchip mach mal beim Adapter was auf. Hat nix mit Controller zu tun.

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

                              @apollon77 ok

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

                                @crunchip bzw formal klingt es danach das die url mal nicht da war.

                                crunchip 2 Replies Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @apollon77 last edited by

                                  @apollon77 hab schon dort geschrieben, bin nicht der einzige mit diesem Fehler

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @apollon77 last edited by 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?

                                    apollon77 2 Replies Last reply Reply Quote 0
                                    • MathiasJ
                                      MathiasJ @apollon77 last edited by

                                      @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.

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

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

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

                                          @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.

                                          ? 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @Guest last edited by

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

                                            ? 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

                                            998
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            89
                                            1052
                                            246816
                                            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