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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 2.0 ab sofort im Latest Repo

NEWS

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

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

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

js-controller 2.0 ab sofort im Latest Repo

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
js-controller
1.1k Beiträge 89 Kommentatoren 352.8k Aufrufe 64 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • coyoteC coyote

    @apollon77
    34er installiert, sieht soweit gut aus. Paar Adapter blieben rot, von Hand neu gestartet ohne Error. Laufen jetzt alle.
    Jetzt ist mir noch was aufgefallen, weiß aber nicht ob es mit dem Controller zu tun hat.

    vis.JPG

    Die Icons sind weg, jetzt hab ich alle vis Zusatz Adapter neu geuploaded, danach waren alle Icons wieder da. Dann nochmal vis Adpater upload gemacht, Icons wieder weg 🤔

    apollon77A Online
    apollon77A Online
    apollon77
    schrieb am zuletzt editiert von
    #353

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

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

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

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

      coyoteC Offline
      coyoteC Offline
      coyote
      Most Active
      schrieb am zuletzt editiert von coyote
      #354

      @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 Antwort Letzte Antwort
      0
      • SBorgS SBorg

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

        @joergeli zu 1.) ja das kann gehen. ioBroker beenden. File auf Platte manuell editieren, wieder hochfahren. Vorher Backup ist eine gute Idee,

        ...oder Views exportieren, mit Notepad++ oä. dann "suchen+ersetzen", View wieder importieren 🙂

        34 lüppt bisher problemlos.

        joergeliJ Online
        joergeliJ Online
        joergeli
        schrieb am zuletzt editiert von
        #355

        @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

        apollon77A 1 Antwort Letzte Antwort
        0
        • ChaotC Chaot

          @joergeli Kleiner Tip noch: Für das writeFile musst du ein kleines Delay einbauen weil sonst das Bild noch nicht auf der Platte liegt wenn das File schon geschrieben wird.

          joergeliJ Online
          joergeliJ Online
          joergeli
          schrieb am zuletzt editiert von
          #356

          @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

          apollon77A 1 Antwort Letzte Antwort
          1
          • joergeliJ joergeli

            @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

            apollon77A Online
            apollon77A Online
            apollon77
            schrieb am zuletzt editiert von
            #357

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

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

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            joergeliJ 1 Antwort Letzte Antwort
            0
            • joergeliJ joergeli

              @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

              apollon77A Online
              apollon77A Online
              apollon77
              schrieb am zuletzt editiert von
              #358

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

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

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

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

                joergeliJ Online
                joergeliJ Online
                joergeli
                schrieb am zuletzt editiert von
                #359

                @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 Antwort Letzte Antwort
                0
                • apollon77A apollon77

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

                  joergeliJ Online
                  joergeliJ Online
                  joergeli
                  schrieb am zuletzt editiert von
                  #360

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

                  ChaotC 1 Antwort Letzte Antwort
                  0
                  • joergeliJ joergeli

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

                    ChaotC Offline
                    ChaotC Offline
                    Chaot
                    schrieb am zuletzt editiert von
                    #361

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

                    ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                    apollon77A 1 Antwort Letzte Antwort
                    0
                    • ChaotC Chaot

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

                      apollon77A Online
                      apollon77A Online
                      apollon77
                      schrieb am zuletzt editiert von
                      #362

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

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

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      0
                      • crunchipC Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #363

                        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

                        umgestiegen von Proxmox auf Unraid

                        apollon77A 1 Antwort Letzte Antwort
                        0
                        • crunchipC crunchip

                          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

                          apollon77A Online
                          apollon77A Online
                          apollon77
                          schrieb am zuletzt editiert von
                          #364

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

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

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

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

                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #365

                            @apollon77 ok

                            umgestiegen von Proxmox auf Unraid

                            apollon77A 1 Antwort Letzte Antwort
                            0
                            • crunchipC crunchip

                              @apollon77 ok

                              apollon77A Online
                              apollon77A Online
                              apollon77
                              schrieb am zuletzt editiert von
                              #366

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

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

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

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

                                crunchipC Abwesend
                                crunchipC Abwesend
                                crunchip
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #367

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

                                umgestiegen von Proxmox auf Unraid

                                1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

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

                                  ? Offline
                                  ? Offline
                                  Ein ehemaliger Benutzer
                                  schrieb am zuletzt editiert von Ein ehemaliger Benutzer
                                  #368

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

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

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


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


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

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

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

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

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

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

                                  apollon77A 2 Antworten Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @MathiasJ bist Du auf 2.0.33 oder 34? Wenn nicht updaten! Dann bitte neu beobachten.

                                    Und bitte log vom Slave von so einem Zeitpunkt wenn er stehenbleibt.

                                    MathiasJM Offline
                                    MathiasJM Offline
                                    MathiasJ
                                    schrieb am zuletzt editiert von
                                    #369

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

                                    IObroker auf dem NUC als VM.
                                    Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                                    Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                                    apollon77A 1 Antwort Letzte Antwort
                                    0
                                    • apollon77A apollon77

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

                                      crunchipC Abwesend
                                      crunchipC Abwesend
                                      crunchip
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von
                                      #370

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

                                      umgestiegen von Proxmox auf Unraid

                                      apollon77A 1 Antwort Letzte Antwort
                                      0
                                      • ? Ein ehemaliger Benutzer

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

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

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


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


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

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

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

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

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

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

                                        apollon77A Online
                                        apollon77A Online
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #371

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

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

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        ? 1 Antwort Letzte Antwort
                                        0
                                        • ? Ein ehemaliger Benutzer

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

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

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


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


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

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

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

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

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

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

                                          apollon77A Online
                                          apollon77A Online
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #372

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

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

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          ? 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          362

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe