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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test js-controller v2.0.x (GitHub)

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Test js-controller v2.0.x (GitHub)

Scheduled Pinned Locked Moved Tester
js-controller
1.0k Posts 48 Posters 322.9k Views 35 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E e-s

    @apollon77
    Oh Mann, ist das peinlich. Hatte tatsächlich das cd vergessen. Passiert wenn man sich nur schnell über Putty einloggt und über die hochtaste die letzten Befehle wiederholen will und nicht weit genug nach oben geht. Hatte aber trotzdem wieder Fehlermeldungen:

    santa@ubuntuserver:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
    npm ERR! code EPERM
    npm ERR! syscall spawn
    npm ERR! errno EPERM
    npm ERR! Error: spawn EPERM
    npm ERR!     at ChildProcess.spawn (internal/child_process.js:366:11)
    npm ERR!     at spawn (child_process.js:551:9)
    npm ERR!     at execFile (child_process.js:221:15)
    npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
    npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
    npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
    npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
    npm ERR!  { Error: spawn EPERM
    npm ERR!     at ChildProcess.spawn (internal/child_process.js:366:11)
    npm ERR!     at spawn (child_process.js:551:9)
    npm ERR!     at execFile (child_process.js:221:15)
    npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
    npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
    npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
    npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
    npm ERR!   cause:
    npm ERR!    { Error: spawn EPERM
    npm ERR!        at ChildProcess.spawn (internal/child_process.js:366:11)
    npm ERR!        at spawn (child_process.js:551:9)
    npm ERR!        at execFile (child_process.js:221:15)
    npm ERR!        at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
    npm ERR!        at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
    npm ERR!        at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
    npm ERR!        at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 errno: 'EPERM', code: 'EPERM', syscall: 'spawn' },
    npm ERR!   stack:
    npm ERR!    'Error: spawn EPERM\n    at ChildProcess.spawn (internal/child_process.js:366:11)\n    at spawn (child_process.js:551:9)\n    at execFile (child_process.js:221:15)\n    at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n    at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n    at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n    at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24',
    npm ERR!   errno: 'EPERM',
    npm ERR!   code: 'EPERM',
    npm ERR!   syscall: 'spawn',
    npm ERR!   parent: 'iobroker' }
    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.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /media/HDD/.npm/_logs/2019-09-22T06_17_39_413Z-debug.log
    
    

    Anschließend die sudo Variante, Update lief jetzt mit warns durch und wird auch mit 2.0.6 in iobroker angezeigt:

    santa@ubuntuserver:/opt/iobroker$ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
    [sudo] Passwort für santa:
    
    > iobroker.js-controller@2.0.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
    > node lib/preinstallCheck.js
    
    NPM version: 6.11.3
    
    > iobroker.js-controller@2.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
    > node iobroker.js setup first
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    
    + iobroker.js-controller@2.0.6
    added 4 packages from 3 contributors, removed 1 package, updated 4 packages and audited 27832 packages in 75.021s
    found 34 vulnerabilities (23 low, 11 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    
    E Offline
    E Offline
    e-s
    wrote on last edited by
    #124

    @e-s sagte in [Aufruf] js-controller 2.0 Beta Test:

    @apollon77
    Hatte aber trotzdem wieder Fehlermeldungen:

    santa@ubuntuserver:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
    npm ERR! code EPERM
    npm ERR! syscall spawn
    npm ERR! errno EPERM
    npm ERR! Error: spawn EPERM
    npm ERR!     at ChildProcess.spawn (internal/child_process.js:366:11)
    npm ERR!     at spawn (child_process.js:551:9)
    npm ERR!     at execFile (child_process.js:221:15)
    npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
    npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
    npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
    npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
    npm ERR!  { Error: spawn EPERM
    npm ERR!     at ChildProcess.spawn (internal/child_process.js:366:11)
    npm ERR!     at spawn (child_process.js:551:9)
    npm ERR!     at execFile (child_process.js:221:15)
    npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
    npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
    npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
    npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
    npm ERR!   cause:
    npm ERR!    { Error: spawn EPERM
    npm ERR!        at ChildProcess.spawn (internal/child_process.js:366:11)
    npm ERR!        at spawn (child_process.js:551:9)
    npm ERR!        at execFile (child_process.js:221:15)
    npm ERR!        at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
    npm ERR!        at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
    npm ERR!        at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
    npm ERR!        at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 errno: 'EPERM', code: 'EPERM', syscall: 'spawn' },
    npm ERR!   stack:
    npm ERR!    'Error: spawn EPERM\n    at ChildProcess.spawn (internal/child_process.js:366:11)\n    at spawn (child_process.js:551:9)\n    at execFile (child_process.js:221:15)\n    at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n    at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n    at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n    at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24',
    npm ERR!   errno: 'EPERM',
    npm ERR!   code: 'EPERM',
    npm ERR!   syscall: 'spawn',
    npm ERR!   parent: 'iobroker' }
    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.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /media/HDD/.npm/_logs/2019-09-22T06_17_39_413Z-debug.log
    
    

    Anschließend die sudo Variante, Update lief jetzt mit warns durch und wird auch mit 2.0.6 in iobroker angezeigt:

    santa@ubuntuserver:/opt/iobroker$ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
    [sudo] Passwort für santa:
    
    > iobroker.js-controller@2.0.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
    > node lib/preinstallCheck.js
    
    NPM version: 6.11.3
    
    > iobroker.js-controller@2.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
    > node iobroker.js setup first
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    
    + iobroker.js-controller@2.0.6
    added 4 packages from 3 contributors, removed 1 package, updated 4 packages and audited 27832 packages in 75.021s
    found 34 vulnerabilities (23 low, 11 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    

    Nein er ist nicht der einzige, Hatte das gleiche Problem vor ein paar Tagen auch. Beim ersten Mal ging es ohne sudo, danach npm Update und diese Probleme.

    1 Reply Last reply
    0
    • SBorgS Offline
      SBorgS Offline
      SBorg
      Forum Testing Most Active
      wrote on last edited by
      #125

      Ok, dachte weil sich keiner sonst meldet ;)
      @arteck Dachte bei dir hätte es sich erledigt, da @apollon77 schrieb "hatte auch mal"...

      LG SBorg ( SBorg auf GitHub)
      Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

      sigi234S 1 Reply Last reply
      0
      • apollon77A Offline
        apollon77A Offline
        apollon77
        wrote on last edited by
        #126

        Also hat "npm" mal wieder was verschlimmbessert :-( mist.

        Nevermid: Auf GitHub gibt es jetzt die 2.0.9 vom controller. Ich hatte noch ein paar Optimierungen auf dem Zettel, also effektiv keine Bugs gefixt, sondern nur ein paar Dinge die jetzt "im Code" besser ablaufen. Wenn sonst nichts mehr kommt wäre das also super und ich würde morgen mal im allgemeinen Forum einen "Link"-Port machen um vllt noch ein paar Tester anzuziehen :-)

        Eine Frage noch: @sigi234 hat immer noch das Problem das iqontrol bei Ihm mit js-controller 2.0 keine Werte in der UI anzeigt. Nutzt hier noch jemand iqontrol und kann das ggf bitte mal prüfen ob dies bei Ihm auch so ist? Es gibt bei iqontrol auch ein Issue dafür.
        Danke

        Ingo

        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
        arteckA 1 Reply Last reply
        0
        • apollon77A apollon77

          Also hat "npm" mal wieder was verschlimmbessert :-( mist.

          Nevermid: Auf GitHub gibt es jetzt die 2.0.9 vom controller. Ich hatte noch ein paar Optimierungen auf dem Zettel, also effektiv keine Bugs gefixt, sondern nur ein paar Dinge die jetzt "im Code" besser ablaufen. Wenn sonst nichts mehr kommt wäre das also super und ich würde morgen mal im allgemeinen Forum einen "Link"-Port machen um vllt noch ein paar Tester anzuziehen :-)

          Eine Frage noch: @sigi234 hat immer noch das Problem das iqontrol bei Ihm mit js-controller 2.0 keine Werte in der UI anzeigt. Nutzt hier noch jemand iqontrol und kann das ggf bitte mal prüfen ob dies bei Ihm auch so ist? Es gibt bei iqontrol auch ein Issue dafür.
          Danke

          Ingo

          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          wrote on last edited by
          #127

          @apollon77

          iqontrol ... jo sag ich dir heute abend.. ich habs am laufen aber vergessen es mit zu testen..... mea culpa

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          1 Reply Last reply
          0
          • SBorgS SBorg

            Ok, dachte weil sich keiner sonst meldet ;)
            @arteck Dachte bei dir hätte es sich erledigt, da @apollon77 schrieb "hatte auch mal"...

            sigi234S Online
            sigi234S Online
            sigi234
            Forum Testing Most Active
            wrote on last edited by sigi234
            #128

            @SBorg sagte in [Aufruf] js-controller 2.0 Beta Test:

            Ok, dachte weil sich keiner sonst meldet

            Zur Info:
            Also, ich habe kein NPM update gemacht. Bin noch auf 6.9.0 (Windows System)

            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Immer Daten sichern!

            apollon77A N 2 Replies Last reply
            0
            • sigi234S sigi234

              @SBorg sagte in [Aufruf] js-controller 2.0 Beta Test:

              Ok, dachte weil sich keiner sonst meldet

              Zur Info:
              Also, ich habe kein NPM update gemacht. Bin noch auf 6.9.0 (Windows System)

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

              @sigi234 Ich bin auch auf default npm von node 10.16 (habe mich irgendwann mal entschlossen da immer zu bleiben was halt bei nodejs mitkommt)

              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
              J 1 Reply Last reply
              0
              • apollon77A apollon77

                @sigi234 Ich bin auch auf default npm von node 10.16 (habe mich irgendwann mal entschlossen da immer zu bleiben was halt bei nodejs mitkommt)

                J Offline
                J Offline
                Jan1
                wrote on last edited by
                #130

                @apollon77
                Ja keine Sensordaten und kein Schalten über iQontrol möglich.
                b282bd5e-0034-4b39-a9cc-e414cff016b1-grafik.png

                sigi234S 1 Reply Last reply
                0
                • J Jan1

                  @apollon77
                  Ja keine Sensordaten und kein Schalten über iQontrol möglich.
                  b282bd5e-0034-4b39-a9cc-e414cff016b1-grafik.png

                  sigi234S Online
                  sigi234S Online
                  sigi234
                  Forum Testing Most Active
                  wrote on last edited by sigi234
                  #131

                  @Jan1

                  Ok, jetzt bin ich nicht der Einzige, also denke ich liegt es nicht an meinen System.
                  Hast du auch Windows?

                  Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Immer Daten sichern!

                  J 1 Reply Last reply
                  0
                  • sigi234S sigi234

                    @Jan1

                    Ok, jetzt bin ich nicht der Einzige, also denke ich liegt es nicht an meinen System.
                    Hast du auch Windows?

                    J Offline
                    J Offline
                    Jan1
                    wrote on last edited by
                    #132

                    @sigi234
                    nein läuft auf Debian Buster, muss also was allgemeines sein.
                    Ist auch egal ob compact mode an oder aus.

                    sigi234S 1 Reply Last reply
                    0
                    • J Jan1

                      @sigi234
                      nein läuft auf Debian Buster, muss also was allgemeines sein.
                      Ist auch egal ob compact mode an oder aus.

                      sigi234S Online
                      sigi234S Online
                      sigi234
                      Forum Testing Most Active
                      wrote on last edited by
                      #133

                      @Jan1 sagte in [Aufruf] js-controller 2.0 Beta Test:

                      @sigi234
                      nein läuft auf Debian Buster, muss also was allgemeines sein.
                      Ist auch egal ob compact mode an oder aus.

                      https://github.com/sbormann/ioBroker.iqontrol/issues/81

                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Immer Daten sichern!

                      J 1 Reply Last reply
                      0
                      • sigi234S sigi234

                        @Jan1 sagte in [Aufruf] js-controller 2.0 Beta Test:

                        @sigi234
                        nein läuft auf Debian Buster, muss also was allgemeines sein.
                        Ist auch egal ob compact mode an oder aus.

                        https://github.com/sbormann/ioBroker.iqontrol/issues/81

                        J Offline
                        J Offline
                        Jan1
                        wrote on last edited by
                        #134

                        @sigi234
                        hab mich dem Issues angeschlossen.
                        Die Sensoren sind bei mir über Zigbee, BLE und Fritzdect Adapter eingebunden. Die Geräte über Sonoff, wifilight und milight-smart-light Adapter. Da hier nirgends was geht, liegt es wohl eindeutig am JS-Controller.

                        apollon77A 1 Reply Last reply
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          wrote on last edited by
                          #135

                          Genau, bitte Erkenntnisse dort sammeln. Da vis aber generell tut scheint es nicht s allgemeines zu sein ... Jetzt uss man schauen was im Adapte rgenau passiert. Ich denke das kriegen wir noch hin :-)

                          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
                          J 1 Reply Last reply
                          0
                          • apollon77A apollon77

                            Genau, bitte Erkenntnisse dort sammeln. Da vis aber generell tut scheint es nicht s allgemeines zu sein ... Jetzt uss man schauen was im Adapte rgenau passiert. Ich denke das kriegen wir noch hin :-)

                            J Offline
                            J Offline
                            Jan1
                            wrote on last edited by
                            #136

                            @apollon77
                            hab den eben mal auf debug gestellt und da kommt ne Menge:
                            Log.txt

                            1 Reply Last reply
                            0
                            • J Jan1

                              @sigi234
                              hab mich dem Issues angeschlossen.
                              Die Sensoren sind bei mir über Zigbee, BLE und Fritzdect Adapter eingebunden. Die Geräte über Sonoff, wifilight und milight-smart-light Adapter. Da hier nirgends was geht, liegt es wohl eindeutig am JS-Controller.

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

                              @Jan1 sagte in [Aufruf] js-controller 2.0 Beta Test:

                              liegt es wohl eindeutig am JS-Controller.

                              Um das zu bestätigen brauche ich erst Beweise ;-)))

                              Ich hab mehrere Tage mit dem hue Adapter und controller 2.0 gekämpft weil der Adapter an einer Stelle eine bestimmte Reihenfolge an Daten "erwartet" hat und sonst nicht funktioniert hat. Bei Controller <2.0 war das meistens (per Zufall) gegeben ... im 2.0er kann das anders sein. Wie gesagt: wir finden es!

                              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
                              J 1 Reply Last reply
                              0
                              • apollon77A apollon77

                                @Jan1 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                liegt es wohl eindeutig am JS-Controller.

                                Um das zu bestätigen brauche ich erst Beweise ;-)))

                                Ich hab mehrere Tage mit dem hue Adapter und controller 2.0 gekämpft weil der Adapter an einer Stelle eine bestimmte Reihenfolge an Daten "erwartet" hat und sonst nicht funktioniert hat. Bei Controller <2.0 war das meistens (per Zufall) gegeben ... im 2.0er kann das anders sein. Wie gesagt: wir finden es!

                                J Offline
                                J Offline
                                Jan1
                                wrote on last edited by
                                #138

                                @apollon77
                                Da bist Du der Chef, ist eben erst seit dem Update auf die Beta, wobei es wohl auch so wie beim HUE sein könnte, der iQontrol Adapter bekommt derzeit ja auch täglich Updates (hier könnte der Entwickler auch mal ein paar Dinge zusammen fassen und das ganze etwas entspannter angehen :-) ).

                                apollon77A 1 Reply Last reply
                                0
                                • SBorgS SBorg

                                  @AlCalzone sagte in [Aufruf] js-controller 2.0 Beta Test:

                                  @SBorg Kannst du mal probieren, den Eigentümer im ioBroker-Ordner zu korrigieren?

                                  sudo chown -R iobroker /opt/iobroker
                                  

                                  Das sollte der Fixer eigentlich machen, aber vielleicht stimmt da ja doch was nicht.

                                  Hatte mal ls -lR|grep -v iobroker|awk {'print $3'} > result.txt ausgeführt, danach in der TXT Leerzeilen gelöscht = leere Datei, also keine Datei die nicht iobroker gehört. Aber man weiß ja nie, also noch mal chown ausgeführt, bleibt dabei:

                                  Als User ausgeführt:

                                  npm ERR! code EPERM
                                  npm ERR! syscall spawn
                                  npm ERR! errno EPERM
                                  npm ERR! Error: spawn EPERM
                                  npm ERR!     at ChildProcess.spawn (internal/child_process.js:313:11)
                                  npm ERR!     at exports.spawn (child_process.js:508:9)
                                  npm ERR!     at exports.execFile (child_process.js:218:15)
                                  npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
                                  npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
                                  npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
                                  npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
                                  npm ERR!     at <anonymous>
                                  npm ERR!  { Error: spawn EPERM
                                  npm ERR!     at ChildProcess.spawn (internal/child_process.js:313:11)
                                  npm ERR!     at exports.spawn (child_process.js:508:9)
                                  npm ERR!     at exports.execFile (child_process.js:218:15)
                                  npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
                                  npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
                                  npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
                                  npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
                                  npm ERR!     at <anonymous>
                                  npm ERR!   cause: { Error: spawn EPERM
                                  npm ERR!     at ChildProcess.spawn (internal/child_process.js:313:11)
                                  npm ERR!     at exports.spawn (child_process.js:508:9)
                                  npm ERR!     at exports.execFile (child_process.js:218:15)
                                  npm ERR!     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
                                  npm ERR!     at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)
                                  npm ERR!     at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)
                                  npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24
                                  npm ERR!     at <anonymous> errno: 'EPERM', code: 'EPERM', syscall: 'spawn' },
                                  npm ERR!   stack: 'Error: spawn EPERM\n    at ChildProcess.spawn (internal/child_process.js:313:11)\n    at exports.spawn (child_process.js:508:9)\n    at exports.execFile (child_process.js:218:15)\n    at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n    at ret (eval at makeNodePromisifiedEval (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n    at promiseRetry (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n    at /usr/local/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24\n    at <anonymous>',
                                  npm ERR!   errno: 'EPERM',
                                  npm ERR!   code: 'EPERM',
                                  npm ERR!   syscall: 'spawn',
                                  npm ERR!   parent: 'iobroker' }
                                  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.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/xxx/.npm/_logs/2019-09-23T19_16_22_629Z-debug.log
                                  

                                  Nochmals npm neu installiert und alle Rechte unter /usr/local/lib/node-modules... kontrolliert, alles iO.

                                  Als root ausgeführt:
                                  siehe oben, "git clone..."-Error

                                  Nur die Version mit "sudo -H..." funktioniert. Im Moment bin ich mit meinem Latein erst mal am Ende, weiß echt nicht mehr was das NPM-Update da verhunzt hat. Wenn ich der Einzige bin/bleibe, was soll's? Es läuft sonst alles und über "Umweg" kriege ich es installiert.

                                  AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  wrote on last edited by AlCalzone
                                  #139

                                  @SBorg Könnte es sein, dass einzelne Dateien/Ordner nur der Gruppe iobroker gehören, aber einem anderen User?
                                  grep -v würde diese Fälle herausfiltern, sodass wir sie hier nicht sehen.

                                  Ich habe auf einem System ähnliche Beobachtungen gemacht, wenn ich npm weder als root, noch als iobroker ausgeführt habe.

                                  Ich versuche später mal zu ermitteln, ob und wann npm group permissions setzt und/oder ändert. Ggf. muss der Fixer ab sofort 775 setzen.

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  SBorgS 1 Reply Last reply
                                  0
                                  • sigi234S sigi234

                                    @SBorg sagte in [Aufruf] js-controller 2.0 Beta Test:

                                    Ok, dachte weil sich keiner sonst meldet

                                    Zur Info:
                                    Also, ich habe kein NPM update gemacht. Bin noch auf 6.9.0 (Windows System)

                                    N Offline
                                    N Offline
                                    NightWatcher
                                    wrote on last edited by NightWatcher
                                    #140

                                    @sigi234 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                    @SBorg sagte in [Aufruf] js-controller 2.0 Beta Test:

                                    Ok, dachte weil sich keiner sonst meldet

                                    Zur Info:
                                    Also, ich habe kein NPM update gemacht. Bin noch auf 6.9.0 (Windows System)

                                    geht mir genauso. Würde auch gerne testen, aber wegen meinem System (Windows) und dem Hinweis auf den neuen installer zu warten, lese ich aktuell nur interessiert mit und warte ab, bis der installer erscheint. 🙂

                                    Wago 750-881 - mit über 200 Ein- und Ausgängen, DMX512 Art-Net für Beleuchtung, 1-Wire für Umweltsensoren Aussen und Innen, ioBroker als Visualisierung

                                    sigi234S 1 Reply Last reply
                                    0
                                    • N NightWatcher

                                      @sigi234 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                      @SBorg sagte in [Aufruf] js-controller 2.0 Beta Test:

                                      Ok, dachte weil sich keiner sonst meldet

                                      Zur Info:
                                      Also, ich habe kein NPM update gemacht. Bin noch auf 6.9.0 (Windows System)

                                      geht mir genauso. Würde auch gerne testen, aber wegen meinem System (Windows) und dem Hinweis auf den neuen installer zu warten, lese ich aktuell nur interessiert mit und warte ab, bis der installer erscheint. 🙂

                                      sigi234S Online
                                      sigi234S Online
                                      sigi234
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #141

                                      @NightWatcher sagte in [Aufruf] js-controller 2.0 Beta Test:

                                      warte ab, bis der installer erscheint

                                      Ich habe nicht gewartet.

                                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                      Immer Daten sichern!

                                      1 Reply Last reply
                                      0
                                      • N Offline
                                        N Offline
                                        NightWatcher
                                        wrote on last edited by
                                        #142

                                        Ach du hast nur NPM nicht aktualisiert. Das habe ich dann erst falsch interpretiert.

                                        Wago 750-881 - mit über 200 Ein- und Ausgängen, DMX512 Art-Net für Beleuchtung, 1-Wire für Umweltsensoren Aussen und Innen, ioBroker als Visualisierung

                                        1 Reply Last reply
                                        0
                                        • AlCalzoneA AlCalzone

                                          @SBorg Könnte es sein, dass einzelne Dateien/Ordner nur der Gruppe iobroker gehören, aber einem anderen User?
                                          grep -v würde diese Fälle herausfiltern, sodass wir sie hier nicht sehen.

                                          Ich habe auf einem System ähnliche Beobachtungen gemacht, wenn ich npm weder als root, noch als iobroker ausgeführt habe.

                                          Ich versuche später mal zu ermitteln, ob und wann npm group permissions setzt und/oder ändert. Ggf. muss der Fixer ab sofort 775 setzen.

                                          SBorgS Offline
                                          SBorgS Offline
                                          SBorg
                                          Forum Testing Most Active
                                          wrote on last edited by SBorg
                                          #143

                                          @AlCalzone sagte in [Aufruf] js-controller 2.0 Beta Test:

                                          @SBorg Könnte es sein, dass einzelne Dateien/Ordner nur der Gruppe iobroker gehören, aber einem anderen User?
                                          grep -v würde diese Fälle herausfiltern, sodass wir sie hier nicht sehen.

                                          Umgekehrte Logik :)
                                          Ich lasse alle User der Dateien ausgeben und wenn sie nicht "iobroker" heißen in die Datei schreiben. Entweder stehen da nun paar Namen drin (=Dateirechte sind also nicht iobroker), oder ich erhalte eine leere Datei wenn alle iobroker gehören. Lösche ich also aus "result.txt" alle Leerzeilen heraus, habe ich eine kpl. leere Datei = alle Dateien gehören iobroker
                                          Dann habe ich es noch auf die Gruppe iobroker erweitert: ls -lR|awk {'print $3" "$4'}|grep -v iobroker > result.txt = ebenfalls leer...

                                          #?%&§@@# <-- Kraftausdruck, selbst einsetzen
                                          Ich habe es genau 1x geschafft es zu fixen. Dachte mir, probier doch mal audit fix aus --> sofortiger Abbruch, Fehler bei Version iobroker.upnp
                                          Ok, Katze > beliebig und direkt von github installiert (hatte schon die aktuellste) --> Fehler weg, audit bricht wieder ab...
                                          Brutal Weg: package*.json gelöscht und mit npm init + npm audit fix --package-lock-only neu erzeugt, npm audit fix und zu letzt die Rechte für package*.json wieder gesetzt. Noch mal den Fixer drüber gejagt und tada: geht
                                          ioB gestartet, alles lüppt, nur bricht er jetzt wieder mit den selben Fehlermeldungen ab :(

                                          LG SBorg ( SBorg auf GitHub)
                                          Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                          apollon77A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          626

                                          Online

                                          32.5k

                                          Users

                                          81.7k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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