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. ioBroker Allgemein
  4. js-controller 4.0 jetzt im BETA/LATEST!

NEWS

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

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

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

js-controller 4.0 jetzt im BETA/LATEST!

Scheduled Pinned Locked Moved ioBroker Allgemein
747 Posts 70 Posters 226.4k Views 60 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.
  • apollon77A Offline
    apollon77A Offline
    apollon77
    wrote on last edited by
    #218

    Hi All,

    vielen Dank für Euren Support, die 4.0.6 kommt über Nacht wieder ins Repo und hat:

    4.0.6 (2022-02-09)

    • (AlCalzone) Optimize some JSONL cases
    • (foxriver76) Optimize Backup restore process
    • (AlCalzone) Fix issues that prevented adapter installs/updates (npm can not be located error message)
    • (Apollon77) Fix seq Logging issue
    • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry

    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
    Thomas BraunT O 2 Replies Last reply
    2
    • apollon77A apollon77

      Hi All,

      vielen Dank für Euren Support, die 4.0.6 kommt über Nacht wieder ins Repo und hat:

      4.0.6 (2022-02-09)

      • (AlCalzone) Optimize some JSONL cases
      • (foxriver76) Optimize Backup restore process
      • (AlCalzone) Fix issues that prevented adapter installs/updates (npm can not be located error message)
      • (Apollon77) Fix seq Logging issue
      • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by Thomas Braun
      #219

      @apollon77 @AlCalzone

      Fix issues that prevented adapter installs/updates (npm can not be located error message)

      Das finde ich interessant. Was war da der Grund das npm nicht im $PATH gefunden wurde?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      AlCalzoneA 1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #220

        @apollon77 update von 4.0.5 auf 4.0.6 ohne besondere Vorkommnisse.

        1 Reply Last reply
        1
        • apollon77A apollon77

          Hi All,

          vielen Dank für Euren Support, die 4.0.6 kommt über Nacht wieder ins Repo und hat:

          4.0.6 (2022-02-09)

          • (AlCalzone) Optimize some JSONL cases
          • (foxriver76) Optimize Backup restore process
          • (AlCalzone) Fix issues that prevented adapter installs/updates (npm can not be located error message)
          • (Apollon77) Fix seq Logging issue
          • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry
          O Offline
          O Offline
          oFbEQnpoLKKl6mbY5e13
          wrote on last edited by
          #221

          @apollon77
          Ist da mein Fall auch mit abgedeckt?

          apollon77A 1 Reply Last reply
          0
          • O oFbEQnpoLKKl6mbY5e13

            @apollon77
            Ist da mein Fall auch mit abgedeckt?

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

            @ofbeqnpolkkl6mby5e13 das logfile hatte nicht mehr Infos drin. Von daher puuhhh. Ich sag mal so; Versuchs nochmal.

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

              @ofbeqnpolkkl6mby5e13 das logfile hatte nicht mehr Infos drin. Von daher puuhhh. Ich sag mal so; Versuchs nochmal.

              O Offline
              O Offline
              oFbEQnpoLKKl6mbY5e13
              wrote on last edited by oFbEQnpoLKKl6mbY5e13
              #223

              @apollon77

              # iobroker upgrade self
              Update js-controller from @3.3.22 to @4.0.6
              NPM version: 6.14.16
              npm install iobroker.js-controller@4.0.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
              Uncaught Rejection: TypeError: Cannot read property '_id' of null
                  at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                  at Array.map (<anonymous>)
                  at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                  at processTicksAndRejections (internal/process/task_queues.js:95:5)
              npm ERR! code ELIFECYCLE
              npm ERR! errno 6
              npm ERR! iobroker.js-controller@4.0.6 install: `node iobroker.js setup first`
              npm ERR! Exit status 6
              npm ERR! 
              npm ERR! Failed at the iobroker.js-controller@4.0.6 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /opt/iobroker/.npm/_logs/2022-02-10T06_53_37_143Z-debug.log
              host.iobroker Cannot install iobroker.js-controller@4.0.6: 6
              

              Hilft das?:

              npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6
              
              > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
              > node iobroker.js setup first
              
              Uncaught Rejection: TypeError: Cannot read property '_id' of null
                  at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                  at Array.map (<anonymous>)
                  at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                  at processTicksAndRejections (internal/process/task_queues.js:95:5)
              npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script
              
              foxriver76F 2 Replies Last reply
              0
              • Thomas BraunT Thomas Braun

                @apollon77 @AlCalzone

                Fix issues that prevented adapter installs/updates (npm can not be located error message)

                Das finde ich interessant. Was war da der Grund das npm nicht im $PATH gefunden wurde?

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

                @thomas-braun Wir verwenden seit 4.x (m)eine Library, die sich um die Aufrufe vom Paketmanager kümmert. Mein Hintergedanke ist, dass wir dann irgendwann ohne großen Ärger zu einem anderen wechseln können, der nicht jedes halbe Jahr alles anders macht und unsere Installation breakt.

                Die Library sucht eigentlich vom aktuellen Pfad (bzw. da wo die .js-Datei liegt) aus nach einem lockfile (z.B. package-lock.json), um den aktiven Paketmanager zu bestimmen. Bei einigen Usern existiert das nicht.

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

                1 Reply Last reply
                1
                • O oFbEQnpoLKKl6mbY5e13

                  @apollon77

                  # iobroker upgrade self
                  Update js-controller from @3.3.22 to @4.0.6
                  NPM version: 6.14.16
                  npm install iobroker.js-controller@4.0.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                  Uncaught Rejection: TypeError: Cannot read property '_id' of null
                      at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                      at Array.map (<anonymous>)
                      at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                      at processTicksAndRejections (internal/process/task_queues.js:95:5)
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 6
                  npm ERR! iobroker.js-controller@4.0.6 install: `node iobroker.js setup first`
                  npm ERR! Exit status 6
                  npm ERR! 
                  npm ERR! Failed at the iobroker.js-controller@4.0.6 install script.
                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /opt/iobroker/.npm/_logs/2022-02-10T06_53_37_143Z-debug.log
                  host.iobroker Cannot install iobroker.js-controller@4.0.6: 6
                  

                  Hilft das?:

                  npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6
                  
                  > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                  > node iobroker.js setup first
                  
                  Uncaught Rejection: TypeError: Cannot read property '_id' of null
                      at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                      at Array.map (<anonymous>)
                      at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                      at processTicksAndRejections (internal/process/task_queues.js:95:5)
                  npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script
                  
                  foxriver76F Offline
                  foxriver76F Offline
                  foxriver76
                  Developer
                  wrote on last edited by
                  #225

                  @ofbeqnpolkkl6mby5e13 welcher Datenbanktyp ist im Einsatz?

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  O 1 Reply Last reply
                  0
                  • foxriver76F foxriver76

                    @ofbeqnpolkkl6mby5e13 welcher Datenbanktyp ist im Einsatz?

                    O Offline
                    O Offline
                    oFbEQnpoLKKl6mbY5e13
                    wrote on last edited by
                    #226

                    @foxriver76
                    Redis States und Objects.

                    1 Reply Last reply
                    0
                    • DiginixD Offline
                      DiginixD Offline
                      Diginix
                      wrote on last edited by
                      #227

                      Update von 4.0.5 auf 4.0.6 ohne Probleme.
                      CLI Ausgabe:

                      Update js-controller from @4.0.5 to @4.0.6
                      Stopped Objects DB
                      Stopped States DB
                      NPM version: 6.14.16
                      Installing iobroker.js-controller@4.0.6... (System call)
                      
                      > iobroker.js-controller@4.0.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                      > node lib/preinstallCheck.js
                      
                      NPM version: 6.14.16
                      
                      > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                      > node iobroker.js setup first
                      
                      Successfully migrated 18783 objects to Redis Sets
                      object _design/system updated
                      {
                        "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\n***\r\n-----END RSA PRIVATE KEY-----\r\n",
                        "defaultPublic": "-----BEGIN CERTIFICATE-----\r\n***\r\n-----END CERTIFICATE-----\r\n"
                      }
                      Update certificate defaultPrivate
                      The object "system.certificates" was updated successfully.
                      Update certificate defaultPublic
                      The object "system.certificates" was updated successfully.
                      + iobroker.js-controller@4.0.6
                      updated 13 packages in 47.713s
                      
                      73 packages are looking for funding
                        run `npm fund` for details
                      

                      ..:: So long! Tom ::..

                      NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                      1 Reply Last reply
                      1
                      • O oFbEQnpoLKKl6mbY5e13

                        @apollon77

                        # iobroker upgrade self
                        Update js-controller from @3.3.22 to @4.0.6
                        NPM version: 6.14.16
                        npm install iobroker.js-controller@4.0.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                        Uncaught Rejection: TypeError: Cannot read property '_id' of null
                            at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                            at Array.map (<anonymous>)
                            at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                            at processTicksAndRejections (internal/process/task_queues.js:95:5)
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 6
                        npm ERR! iobroker.js-controller@4.0.6 install: `node iobroker.js setup first`
                        npm ERR! Exit status 6
                        npm ERR! 
                        npm ERR! Failed at the iobroker.js-controller@4.0.6 install script.
                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /opt/iobroker/.npm/_logs/2022-02-10T06_53_37_143Z-debug.log
                        host.iobroker Cannot install iobroker.js-controller@4.0.6: 6
                        

                        Hilft das?:

                        npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6
                        
                        > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                        > node iobroker.js setup first
                        
                        Uncaught Rejection: TypeError: Cannot read property '_id' of null
                            at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                            at Array.map (<anonymous>)
                            at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                            at processTicksAndRejections (internal/process/task_queues.js:95:5)
                        npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script
                        
                        foxriver76F Offline
                        foxriver76F Offline
                        foxriver76
                        Developer
                        wrote on last edited by
                        #228

                        @ofbeqnpolkkl6mby5e13 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                        npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6 > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Uncaught Rejection: TypeError: Cannot read property '_id' of null at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42 at Array.map (<anonymous>) at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39) at processTicksAndRejections (internal/process/task_queues.js:95:5) npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script

                        Kannst du mal mittels npm i iobroker.js-controller@next im Verzeichnis /opt/iobroker das upgrade anstoßen, damit ich mehr Log sehe. Irgendein Object View liefert null zurück, das sollte nicht sein.

                        Videotutorials & mehr

                        Hier könnt ihr mich unterstützen.

                        O 1 Reply Last reply
                        0
                        • foxriver76F foxriver76

                          @ofbeqnpolkkl6mby5e13 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                          npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6 > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Uncaught Rejection: TypeError: Cannot read property '_id' of null at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42 at Array.map (<anonymous>) at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39) at processTicksAndRejections (internal/process/task_queues.js:95:5) npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script

                          Kannst du mal mittels npm i iobroker.js-controller@next im Verzeichnis /opt/iobroker das upgrade anstoßen, damit ich mehr Log sehe. Irgendein Object View liefert null zurück, das sollte nicht sein.

                          O Offline
                          O Offline
                          oFbEQnpoLKKl6mbY5e13
                          wrote on last edited by
                          #229

                          @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                          npm i iobroker.js-controller@next

                          # pwd
                          /opt/iobroker
                          # npm i iobroker.js-controller@next
                          
                          > iobroker.js-controller@4.0.5 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                          > node lib/preinstallCheck.js
                          
                          NPM version: 6.14.16
                          
                          > iobroker.js-controller@4.0.5 install /opt/iobroker/node_modules/iobroker.js-controller
                          > node iobroker.js setup first
                          
                          Uncaught Rejection: TypeError: Cannot read property '_id' of null
                              at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                              at Array.map (<anonymous>)
                              at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                              at processTicksAndRejections (internal/process/task_queues.js:95:5)
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                          
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 6
                          npm ERR! iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                          npm ERR! Exit status 6
                          npm ERR! 
                          npm ERR! Failed at the iobroker.js-controller@4.0.5 install script.
                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2022-02-10T08_31_44_396Z-debug.log
                          # 
                          
                          foxriver76F 2 Replies Last reply
                          0
                          • O oFbEQnpoLKKl6mbY5e13

                            @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                            npm i iobroker.js-controller@next

                            # pwd
                            /opt/iobroker
                            # npm i iobroker.js-controller@next
                            
                            > iobroker.js-controller@4.0.5 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                            > node lib/preinstallCheck.js
                            
                            NPM version: 6.14.16
                            
                            > iobroker.js-controller@4.0.5 install /opt/iobroker/node_modules/iobroker.js-controller
                            > node iobroker.js setup first
                            
                            Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                at Array.map (<anonymous>)
                                at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                at processTicksAndRejections (internal/process/task_queues.js:95:5)
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                            
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 6
                            npm ERR! iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                            npm ERR! Exit status 6
                            npm ERR! 
                            npm ERR! Failed at the iobroker.js-controller@4.0.5 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /root/.npm/_logs/2022-02-10T08_31_44_396Z-debug.log
                            # 
                            
                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            wrote on last edited by
                            #230

                            @ofbeqnpolkkl6mby5e13 ok da passiert kein logging davor, thanks.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            1 Reply Last reply
                            0
                            • O oFbEQnpoLKKl6mbY5e13

                              @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                              npm i iobroker.js-controller@next

                              # pwd
                              /opt/iobroker
                              # npm i iobroker.js-controller@next
                              
                              > iobroker.js-controller@4.0.5 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                              > node lib/preinstallCheck.js
                              
                              NPM version: 6.14.16
                              
                              > iobroker.js-controller@4.0.5 install /opt/iobroker/node_modules/iobroker.js-controller
                              > node iobroker.js setup first
                              
                              Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                  at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                  at Array.map (<anonymous>)
                                  at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                  at processTicksAndRejections (internal/process/task_queues.js:95:5)
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              
                              npm ERR! code ELIFECYCLE
                              npm ERR! errno 6
                              npm ERR! iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                              npm ERR! Exit status 6
                              npm ERR! 
                              npm ERR! Failed at the iobroker.js-controller@4.0.5 install script.
                              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /root/.npm/_logs/2022-02-10T08_31_44_396Z-debug.log
                              # 
                              
                              foxriver76F Offline
                              foxriver76F Offline
                              foxriver76
                              Developer
                              wrote on last edited by
                              #231

                              @ofbeqnpolkkl6mby5e13 single host oder multihost?

                              Videotutorials & mehr

                              Hier könnt ihr mich unterstützen.

                              O 1 Reply Last reply
                              0
                              • foxriver76F foxriver76

                                @ofbeqnpolkkl6mby5e13 single host oder multihost?

                                O Offline
                                O Offline
                                oFbEQnpoLKKl6mbY5e13
                                wrote on last edited by
                                #232

                                @foxriver76
                                Single.

                                foxriver76F 1 Reply Last reply
                                0
                                • O oFbEQnpoLKKl6mbY5e13

                                  @foxriver76
                                  Single.

                                  foxriver76F Offline
                                  foxriver76F Offline
                                  foxriver76
                                  Developer
                                  wrote on last edited by
                                  #233

                                  @ofbeqnpolkkl6mby5e13 super strange, dann müsste vor dem ersten view mindestens die ausgabe dass er zu sets migrieren möchte kommen. Zeig mal bitte Ausgabe von iob object list system.host.*

                                  Videotutorials & mehr

                                  Hier könnt ihr mich unterstützen.

                                  O 2 Replies Last reply
                                  0
                                  • foxriver76F foxriver76

                                    @ofbeqnpolkkl6mby5e13 super strange, dann müsste vor dem ersten view mindestens die ausgabe dass er zu sets migrieren möchte kommen. Zeig mal bitte Ausgabe von iob object list system.host.*

                                    O Offline
                                    O Offline
                                    oFbEQnpoLKKl6mbY5e13
                                    wrote on last edited by
                                    #234

                                    @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                    iob object list system.host.*

                                    Der JS-Controller ist ja jetzt nicht installiert, müsste ich erst die 3er wieder installieren.

                                    # iob object list system.host.*
                                    internal/modules/cjs/loader.js:905
                                      throw err;
                                      ^
                                    
                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                        at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                        at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                                        at internal/main/run_main_module.js:17:47 {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: []
                                    }
                                    
                                    foxriver76F 1 Reply Last reply
                                    0
                                    • foxriver76F foxriver76

                                      @ofbeqnpolkkl6mby5e13 super strange, dann müsste vor dem ersten view mindestens die ausgabe dass er zu sets migrieren möchte kommen. Zeig mal bitte Ausgabe von iob object list system.host.*

                                      O Offline
                                      O Offline
                                      oFbEQnpoLKKl6mbY5e13
                                      wrote on last edited by
                                      #235

                                      @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                      iob object list system.host.*

                                      # iob object list system.host.*
                                      ObjectAC | StateAC |     User     |     Group    | ID
                                      ---------+---------+--------------+--------------+--------------
                                      rw-rw-r--                    admin  administrator system.host.NAS.notifications
                                      rw-rw-r--                    admin  administrator system.host.NAS.plugins.sentry
                                      rw-rw-r--                    admin  administrator system.host.NAS.zip
                                      rw-rw-r--                    admin  administrator system.host.d631abdf99e6.plugins.sentry
                                      rw-rw-r--                    admin  administrator system.host.d631abdf99e6.zip
                                      rw-rw-r--                    admin  administrator system.host.iobroker
                                      rw-rw-r--                    admin  administrator system.host.iobroker-d.notifications
                                      rw-rw-r--                    admin  administrator system.host.iobroker-d.plugins.sentry
                                      rw-rw-r--                    admin  administrator system.host.iobroker-d.zip
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.alive
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.compactModeEnabled
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.compactgroupProcesses
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.cpu
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.cputime
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.diskFree
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.diskSize
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.diskWarning
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.eventLoopLag
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.freemem
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.inputCount
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.instancesAsCompact
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.instancesAsProcess
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.load
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.logLevel
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.mem
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.memAvailable
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.memHeapTotal
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.memHeapUsed
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.memRss
                                      rw-rw-r--                    admin  administrator system.host.iobroker.notifications
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.notifications.system
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.outputCount
                                      rw-rw-r--                    admin  administrator system.host.iobroker.plugins.sentry
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.plugins.sentry.enabled
                                      rw-rw-r-- rw-rw-r--          admin  administrator system.host.iobroker.uptime
                                      rw-rw-r--                    admin  administrator system.host.iobroker.zip
                                      # 
                                      
                                      foxriver76F 1 Reply Last reply
                                      0
                                      • O oFbEQnpoLKKl6mbY5e13

                                        @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                        iob object list system.host.*

                                        Der JS-Controller ist ja jetzt nicht installiert, müsste ich erst die 3er wieder installieren.

                                        # iob object list system.host.*
                                        internal/modules/cjs/loader.js:905
                                          throw err;
                                          ^
                                        
                                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                            at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                            at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                            at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                                            at internal/main/run_main_module.js:17:47 {
                                          code: 'MODULE_NOT_FOUND',
                                          requireStack: []
                                        }
                                        
                                        foxriver76F Offline
                                        foxriver76F Offline
                                        foxriver76
                                        Developer
                                        wrote on last edited by
                                        #236

                                        @ofbeqnpolkkl6mby5e13 Dann bitte

                                        redis-cli keys cfg.o.system.host.*

                                        Videotutorials & mehr

                                        Hier könnt ihr mich unterstützen.

                                        O 2 Replies Last reply
                                        0
                                        • foxriver76F foxriver76

                                          @ofbeqnpolkkl6mby5e13 Dann bitte

                                          redis-cli keys cfg.o.system.host.*

                                          O Offline
                                          O Offline
                                          oFbEQnpoLKKl6mbY5e13
                                          wrote on last edited by oFbEQnpoLKKl6mbY5e13
                                          #237

                                          @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                          redis-cli keys cfg.o.system.host.*

                                          Auf einem der Redis-Server?

                                          # redis-cli keys cfg.o.system.host.*
                                           1) "cfg.o.system.host.iobroker-d.cpu"
                                           2) "cfg.o.system.host.iobroker-d"
                                           3) "cfg.o.system.host.iobroker-d.diskFree"
                                           4) "cfg.o.system.host.iobroker-d.memRss"
                                           5) "cfg.o.system.host.iobroker-d.compactgroupProcesses"
                                           6) "cfg.o.system.host.iobroker-d.freemem"
                                           7) "cfg.o.system.host.iobroker-d.mem"
                                           8) "cfg.o.system.host.iobroker-d.logLevel"
                                           9) "cfg.o.system.host.iobroker-d.memAvailable"
                                          10) "cfg.o.system.host.iobroker-d.memHeapTotal"
                                          11) "cfg.o.system.host.iobroker-d.cputime"
                                          12) "cfg.o.system.host.iobroker-d.plugins.sentry"
                                          13) "cfg.o.system.host.iobroker-d.zip"
                                          14) "cfg.o.system.host.iobroker-d.compactModeEnabled"
                                          15) "cfg.o.system.host.iobroker-d.plugins.sentry.enabled"
                                          16) "cfg.o.system.host.iobroker-d.alive"
                                          17) "cfg.o.system.host.iobroker-d.diskWarning"
                                          18) "cfg.o.system.host.iobroker-d.outputCount"
                                          19) "cfg.o.system.host.iobroker-d.load"
                                          20) "cfg.o.system.host.iobroker-d.uptime"
                                          21) "cfg.o.system.host.iobroker-d.instancesAsCompact"
                                          22) "cfg.o.system.host.iobroker-d.eventLoopLag"
                                          23) "cfg.o.system.host.iobroker-d.inputCount"
                                          24) "cfg.o.system.host.iobroker-d.instancesAsProcess"
                                          25) "cfg.o.system.host.iobroker-d.memHeapUsed"
                                          26) "cfg.o.system.host.iobroker-d.diskSize"
                                          # 
                                          
                                          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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          888

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          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