Skip to content
  • Home
  • 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

Community Forum

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

NEWS

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

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

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

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

Geplant Angeheftet Gesperrt Verschoben Tester
js-controller
1.0k Beiträge 48 Kommentatoren 314.6k Aufrufe 35 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.
  • E e-i-k-e

    Danke @apollon77.

    Habe das komplette System auf 2.0.7 aktualisiert.
    Leider werden die Adapter auch mit dieser Version erst grün, wenn ich die Slave neustarte.
    Was mir allerdings gefällt, die Slave Geräte behalten Ihren letzten GPIO (RPI Adapter) Status. (glaube ich ;))

    Anbei der log vom Slave. iobroker.2019-09-23.log
    Neustart Master: 18:45 Uhr
    Neustart Slave: 18:52 Uhr

    Unabhängig davon werden mit im log vom Master folgenden warn angezeigt.

    admin.2	2019-09-23 18:46:36.260	info	(1343) starting. Version 3.6.5 in /opt/iobroker/node_modules/iobroker.admin, node: v10.16.3
    Error	2019-09-23 18:46:32.940	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.939	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.936	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.934	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.919	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.917	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.906	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.904	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.900	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.898	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    Error	2019-09-23 18:46:32.895	warn	from InMemDB: Error: Unknown Script 47ca5e051ba19850d94c45a1fc8725ff04ae868f
    host.ioBroker-Rock	2019-09-23 18:46:32.380	info	instance system.adapter.admin.2 started with pid 1343
    host.ioBroker-Rock	2019-09-23 18:46:32.330	warn	Multihost discovery server: service started on 0.0.0.0:50005
    
    apollon77A Online
    apollon77A Online
    apollon77
    schrieb am zuletzt editiert von
    #111

    @e-i-k-e hast du hier mal das volle Master log? Kommen sie auch wenn du Admin neu startest?

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

      @AlCalzone Mehrmals, dürfte aber nix bringen, da NPM meckert, dass er im /[User-Verzeichnis]/.npm/_cacache/tmp/git-clone... das Verzeichnis zum DL nicht anlegen kann. Mit NPM 6.4.1 ging es noch, erst mit dem Update auf 6.11.3 trat es bei mir auf. NPM selbst verriet ja noch, dass es bei älteren Versionen durchaus zu Fehlern in den Userrechten kam. Der vorgeschlagene Fix fruchtet aber auch nicht.
      Ist zumindest kein Problem vom Broker/JS-Controller.

      AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      schrieb am zuletzt editiert von
      #112

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

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

      SBorgS 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @e-i-k-e hast du hier mal das volle Master log? Kommen sie auch wenn du Admin neu startest?

        E Offline
        E Offline
        e-i-k-e
        schrieb am zuletzt editiert von e-i-k-e
        #113

        @apollon77

        Anbei das log vom Master.

        iobroker.2019-09-23.log

        Könntest du dir bitte auch die Uhrzeit ~1.15 Uhr anschauen. Ich habe seit einigen Tagen Probleme mit meinem ioBroker, dieser hängt sich mehrmals täglich auf. Ich wäre dir sehr dankbar.

        Den Admin habe ich nicht neugestartet. Kann ich aber gerne testen.

        apollon77A 1 Antwort Letzte Antwort
        0
        • apollon77A Online
          apollon77A Online
          apollon77
          schrieb am zuletzt editiert von apollon77
          #114

          Auf GitHub gibt es jetzt die 2.0.8 . Ich habe nochmal das Stoppen und Restarting angeschaut und überarbeitet.
          Ich habe mal mit meinem Redis/Redis Testsystem getestet und einen Redis restart hat es gut weggesteckt

          @e-i-k-e Kannst bitte das Slave Thema nochnal checken ... bin gespannt auf die Logs. Das "unknown Skript" kann ich mir eher nicht erklären. States und Objects sind "file" oder Objects in Redis?

          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
          sigi234S E 2 Antworten Letzte Antwort
          0
          • E e-i-k-e

            @apollon77

            Anbei das log vom Master.

            iobroker.2019-09-23.log

            Könntest du dir bitte auch die Uhrzeit ~1.15 Uhr anschauen. Ich habe seit einigen Tagen Probleme mit meinem ioBroker, dieser hängt sich mehrmals täglich auf. Ich wäre dir sehr dankbar.

            Den Admin habe ich nicht neugestartet. Kann ich aber gerne testen.

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

            @e-i-k-e Was passiert denn 1:15? Bringt /var/log/syslog irgendwas zu dem Zeitpunkt? Sieht wie ein Reboot aus ... kann RAM kram sein, kann schlechte Stromversorgung sein oder sowas

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

              Auf GitHub gibt es jetzt die 2.0.8 . Ich habe nochmal das Stoppen und Restarting angeschaut und überarbeitet.
              Ich habe mal mit meinem Redis/Redis Testsystem getestet und einen Redis restart hat es gut weggesteckt

              @e-i-k-e Kannst bitte das Slave Thema nochnal checken ... bin gespannt auf die Logs. Das "unknown Skript" kann ich mir eher nicht erklären. States und Objects sind "file" oder Objects in Redis?

              sigi234S Online
              sigi234S Online
              sigi234
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #116

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

              Auf GitHub gibt es jetzt die 2.0.8

              Läuft.:grinning:

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

              1 Antwort Letzte Antwort
              1
              • apollon77A apollon77

                Auf GitHub gibt es jetzt die 2.0.8 . Ich habe nochmal das Stoppen und Restarting angeschaut und überarbeitet.
                Ich habe mal mit meinem Redis/Redis Testsystem getestet und einen Redis restart hat es gut weggesteckt

                @e-i-k-e Kannst bitte das Slave Thema nochnal checken ... bin gespannt auf die Logs. Das "unknown Skript" kann ich mir eher nicht erklären. States und Objects sind "file" oder Objects in Redis?

                E Offline
                E Offline
                e-i-k-e
                schrieb am zuletzt editiert von
                #117

                @apollon77

                Das sieht sehr gut aus, alle Adapter der Slave sind grün:+1:
                Bei mir sind die Objects in Redis.

                Anbei das log vom:
                Master: iobroker.2019-09-24.log
                Slave: iobroker.2019-09-24.log

                Neustart Master: ~00:07Uhr
                Neustart Slave: ~00:14 Uhr

                apollon77A 2 Antworten Letzte Antwort
                1
                • E e-i-k-e

                  @apollon77

                  Das sieht sehr gut aus, alle Adapter der Slave sind grün:+1:
                  Bei mir sind die Objects in Redis.

                  Anbei das log vom:
                  Master: iobroker.2019-09-24.log
                  Slave: iobroker.2019-09-24.log

                  Neustart Master: ~00:07Uhr
                  Neustart Slave: ~00:14 Uhr

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

                  @e-i-k-e perfekt. Checke es morgen. Jetzt Bett ;-) N8

                  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
                  1
                  • apollon77A apollon77

                    @e-i-k-e Was passiert denn 1:15? Bringt /var/log/syslog irgendwas zu dem Zeitpunkt? Sieht wie ein Reboot aus ... kann RAM kram sein, kann schlechte Stromversorgung sein oder sowas

                    E Offline
                    E Offline
                    e-i-k-e
                    schrieb am zuletzt editiert von e-i-k-e
                    #119

                    @apollon77

                    Eigentlich nichts geplantes. Der Absturz passiert auch zu anderen Uhrzeiten. :confused:
                    Anbei mal das syslog, ich selbst kann da nicht viel mit anfangen. syslog

                    N8 und bis morgen. ;)

                    apollon77A 1 Antwort Letzte Antwort
                    0
                    • E e-i-k-e

                      @apollon77

                      Das sieht sehr gut aus, alle Adapter der Slave sind grün:+1:
                      Bei mir sind die Objects in Redis.

                      Anbei das log vom:
                      Master: iobroker.2019-09-24.log
                      Slave: iobroker.2019-09-24.log

                      Neustart Master: ~00:07Uhr
                      Neustart Slave: ~00:14 Uhr

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

                      @e-i-k-e sieht alles ok aus. Was war denn da 0:91 los wo wegen „_id of undefined“ die JavaScript Instanz gestorben ist. Passiert das öfter? Ist da ein Script kaputt? Irgendwie reproduzierbar?

                      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
                      • E e-i-k-e

                        @apollon77

                        Eigentlich nichts geplantes. Der Absturz passiert auch zu anderen Uhrzeiten. :confused:
                        Anbei mal das syslog, ich selbst kann da nicht viel mit anfangen. syslog

                        N8 und bis morgen. ;)

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

                        @e-i-k-e hast du syslog auch von davor? Das 0:17 s geübt für Zeit gewesen zu sein Die Dieuhr hatte beim restart. Würde dann aber auf 6:XX aktualisiert. Daher denke ichbdad der Crash eher da ist.

                        Um 6:2x macht das System meistens Daily Aufgaben und so und dadurch kann last entstehen.

                        Was ist für ein Netzteil dran (wird gerade off topic für diesen Thread) ;-)

                        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
                        E 1 Antwort Letzte Antwort
                        0
                        • AlCalzoneA AlCalzone

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

                          SBorgS Offline
                          SBorgS Offline
                          SBorg
                          Forum Testing Most Active
                          schrieb am zuletzt editiert von
                          #122

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

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

                          arteckA AlCalzoneA 2 Antworten Letzte Antwort
                          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.

                            arteckA Offline
                            arteckA Offline
                            arteck
                            Developer Most Active
                            schrieb am zuletzt editiert von arteck
                            #123

                            @SBorg ne du bist nicht der einzige... ich habs auch...sogar über 3 Systeme.. ich muss meine updates auch mit sudo -H ... aktualisieren

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

                            1 Antwort Letzte Antwort
                            0
                            • 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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              0
                              • SBorgS Offline
                                SBorgS Offline
                                SBorg
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                0
                                • apollon77A Online
                                  apollon77A Online
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    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
                                      schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                                      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 Online
                                        apollon77A Online
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        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
                                          schrieb am zuletzt editiert von
                                          #130

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

                                          sigi234S 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

                                          635

                                          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
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe