Skip to content
  • 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
Logo
  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.1k

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

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

js-controller 4.0 jetzt im BETA/LATEST!

Scheduled Pinned Locked Moved ioBroker Allgemein
747 Posts 70 Posters 224.0k 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.
  • 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
      • foxriver76F foxriver76

        @ofbeqnpolkkl6mby5e13 Dann bitte

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

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

        @foxriver76
        Soll ich den Hostname vielleicht noch mal setzen?

        1 Reply Last reply
        0
        • O oFbEQnpoLKKl6mbY5e13

          @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 Offline
          foxriver76F Offline
          foxriver76
          Developer
          wrote on last edited by
          #239

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

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

          Da sind aber noch host Leichen, und iwie stimmt das auch nicht ganz mit den Entries in der redis DB überein.
          Was gibt ìob status?

          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!:

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

            Da sind aber noch host Leichen, und iwie stimmt das auch nicht ganz mit den Entries in der redis DB überein.
            Was gibt ìob status?

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

            @foxriver76
            Richtig, das liegt aber daran, dass in der iobroker_startup.sh des Containers bei jedem Container-Start der Hostname gesetzt wird. Und mal ist das Ergebnis der Name des NAS (bei mir halt NAS), mal der Name des Containers (iobroker-d) und mal eben der von mir bestimmte Name iobroker. Kann ich nicht ändern...

            # iob status
            iobroker is not running on this host.
            
            No iobroker host is running.
            
            Objects type: redis
            States  type: redis
            # 
            
            
            # iobroker version
            3.3.22
            # 
            

            Habe den 3.3.22 wieder installiert. Der macht keine Probleme.

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

              Hey All

              die 4.0.7 ist auf dem Weg mit einem kleinen Fix nochmal wegen der Paketmanager-Erkennung

              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
              wendy2702W 1 Reply Last reply
              1
              • O oFbEQnpoLKKl6mbY5e13

                @foxriver76
                Richtig, das liegt aber daran, dass in der iobroker_startup.sh des Containers bei jedem Container-Start der Hostname gesetzt wird. Und mal ist das Ergebnis der Name des NAS (bei mir halt NAS), mal der Name des Containers (iobroker-d) und mal eben der von mir bestimmte Name iobroker. Kann ich nicht ändern...

                # iob status
                iobroker is not running on this host.
                
                No iobroker host is running.
                
                Objects type: redis
                States  type: redis
                # 
                
                
                # iobroker version
                3.3.22
                # 
                

                Habe den 3.3.22 wieder installiert. Der macht keine Probleme.

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

                @ofbeqnpolkkl6mby5e13 mal bitte Ausgaben von

                redis-cli keys cfg.o.system.user.*
                redis-cli keys cfg.o.system.group.*
                iob object list system.user.*
                iob object list system.group.*
                

                Videotutorials & mehr

                Hier könnt ihr mich unterstützen.

                O 1 Reply Last reply
                0
                • foxriver76F foxriver76

                  @ofbeqnpolkkl6mby5e13 mal bitte Ausgaben von

                  redis-cli keys cfg.o.system.user.*
                  redis-cli keys cfg.o.system.group.*
                  iob object list system.user.*
                  iob object list system.group.*
                  
                  O Offline
                  O Offline
                  oFbEQnpoLKKl6mbY5e13
                  wrote on last edited by
                  #243

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

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

                  # redis-cli keys cfg.o.system.user.*
                  1) "cfg.o.system.user.admin"
                  # 
                  
                  # redis-cli keys cfg.o.system.group.*
                  1) "cfg.o.system.group.administrator"
                  2) "cfg.o.system.group.user"
                  # 
                  
                  # iob object list system.user.*
                  ObjectAC | StateAC |     User     |     Group    | ID
                  ---------+---------+--------------+--------------+--------------
                  rw-rw-r--                    admin  administrator system.user.admin
                  # 
                  
                  # iob object list system.group.*
                  ObjectAC | StateAC |     User     |     Group    | ID
                  ---------+---------+--------------+--------------+--------------
                  rw-r--r--                    admin  administrator system.group.administrator
                  rw-r--r--                    admin  administrator system.group.user
                  # 
                  
                  foxriver76F 1 Reply Last reply
                  0
                  • apollon77A apollon77

                    Hi,

                    die NPM package.json nicht gefunden Fehler werden in der kommenden 4.0.6 behoben sein

                    AlligatorA Offline
                    AlligatorA Offline
                    Alligator
                    wrote on last edited by
                    #244

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

                    Hi,

                    die NPM package.json nicht gefunden Fehler werden in der kommenden 4.0.6 behoben sein

                    Danke damit läuft bei mir jetzt alles stabil 👍

                    Update von 4.0.6 auf 4.0.7 auch ohne Probleme.

                    It's done when it's done, but it's never really finished!

                    Lg euer Alligator :P

                    System: Dell Optiplex3020 mit Intel i3, 8gb Ram und 120gb SSD (Debian 11 mit ioBrocker)

                    PS: Wer Rechtschreibfehler findet darf sie gern behalten. Ich habe noch mehr davon. :)

                    1 Reply Last reply
                    1
                    • O oFbEQnpoLKKl6mbY5e13

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

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

                      # redis-cli keys cfg.o.system.user.*
                      1) "cfg.o.system.user.admin"
                      # 
                      
                      # redis-cli keys cfg.o.system.group.*
                      1) "cfg.o.system.group.administrator"
                      2) "cfg.o.system.group.user"
                      # 
                      
                      # iob object list system.user.*
                      ObjectAC | StateAC |     User     |     Group    | ID
                      ---------+---------+--------------+--------------+--------------
                      rw-rw-r--                    admin  administrator system.user.admin
                      # 
                      
                      # iob object list system.group.*
                      ObjectAC | StateAC |     User     |     Group    | ID
                      ---------+---------+--------------+--------------+--------------
                      rw-r--r--                    admin  administrator system.group.administrator
                      rw-r--r--                    admin  administrator system.group.user
                      # 
                      
                      foxriver76F Offline
                      foxriver76F Offline
                      foxriver76
                      Developer
                      wrote on last edited by
                      #245

                      @ofbeqnpolkkl6mby5e13 Schaut alles gut aus. Nachdem ich noch etwas nachgeschaut habe, verstehe ich es noch weniger 😉

                      Letzte Idee gerade: iob object get _design/system

                      Videotutorials & mehr

                      Hier könnt ihr mich unterstützen.

                      O 1 Reply Last reply
                      0
                      • foxriver76F foxriver76

                        @ofbeqnpolkkl6mby5e13 Schaut alles gut aus. Nachdem ich noch etwas nachgeschaut habe, verstehe ich es noch weniger 😉

                        Letzte Idee gerade: iob object get _design/system

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

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

                        iob object get _design/system

                        # iob object get _design/system
                        {"_id":"_design/system","language":"javascript","common":{"name":{"en":"Object's selectors","de":"Objekt-Selektoren","ru":"Селекторы объекта","pt":"Seletores de objetos","nl":"Objectkiezers","fr":"Sélecteurs d'objet","it":"Selettori di oggetti","es":"Selectores de objeto","pl":"Selektory obiektów","zh-cn":"对象的选择器"},"dontDelete":true},"views":{"host":{"map":"function(doc) { if (doc.type === 'host') emit(doc._id, doc) }"},"adapter":{"map":"function(doc) { if (doc.type === 'adapter') emit(doc._id, doc) }"},"instance":{"map":"function(doc) { if (doc.type === 'instance') emit(doc._id, doc) }"},"instanceStats":{"map":"function(doc) { if (doc.type === 'instance') emit(doc._id, parseInt(doc._id.split('.').pop(), 10)) }","reduce":"_stats"},"meta":{"map":"function(doc) { if (doc.type === 'meta') emit(doc._id, doc) }"},"device":{"map":"function(doc) { if (doc.type === 'device') emit(doc._id, doc) }"},"channel":{"map":"function(doc) { if (doc.type === 'channel') emit(doc._id, doc) }"},"state":{"map":"function(doc) { if (doc.type === 'state') emit(doc._id, doc) }"},"folder":{"map":"function(doc) { if (doc.type === 'folder') emit(doc._id, doc) }"},"enum":{"map":"function(doc) { if (doc.type === 'enum') emit(doc._id, doc) }"},"script":{"map":"function(doc) { if (doc.type === 'script') emit(doc._id, doc) }"},"group":{"map":"function(doc) { if (doc.type === 'group') emit(doc.common.name, doc) }"},"user":{"map":"function(doc) { if (doc.type === 'user') emit(doc.common.name, doc) }"},"config":{"map":"function(doc) { if (doc.type === 'config') emit(doc.common.name, doc) }"},"custom":{"map":"function(doc) { doc.type === 'state' && doc.common && doc.common.custom && emit(doc._id, doc.common.custom) }"}},"acl":{"owner":"system.user.admin","ownerGroup":"system.group.administrator","object":1092},"from":"system.host.iobroker.cli","ts":1644483728921}
                        # 
                        

                        Wäre der folgende Workaround eine Möglichkeit?:

                        1. Mit JS-Controller 3.2.2 zurück zu File
                        2. Auf neuen JS-Controller 4.X
                        3. Wieder Migration auf Redis
                        foxriver76F 1 Reply Last reply
                        0
                        • O oFbEQnpoLKKl6mbY5e13

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

                          iob object get _design/system

                          # iob object get _design/system
                          {"_id":"_design/system","language":"javascript","common":{"name":{"en":"Object's selectors","de":"Objekt-Selektoren","ru":"Селекторы объекта","pt":"Seletores de objetos","nl":"Objectkiezers","fr":"Sélecteurs d'objet","it":"Selettori di oggetti","es":"Selectores de objeto","pl":"Selektory obiektów","zh-cn":"对象的选择器"},"dontDelete":true},"views":{"host":{"map":"function(doc) { if (doc.type === 'host') emit(doc._id, doc) }"},"adapter":{"map":"function(doc) { if (doc.type === 'adapter') emit(doc._id, doc) }"},"instance":{"map":"function(doc) { if (doc.type === 'instance') emit(doc._id, doc) }"},"instanceStats":{"map":"function(doc) { if (doc.type === 'instance') emit(doc._id, parseInt(doc._id.split('.').pop(), 10)) }","reduce":"_stats"},"meta":{"map":"function(doc) { if (doc.type === 'meta') emit(doc._id, doc) }"},"device":{"map":"function(doc) { if (doc.type === 'device') emit(doc._id, doc) }"},"channel":{"map":"function(doc) { if (doc.type === 'channel') emit(doc._id, doc) }"},"state":{"map":"function(doc) { if (doc.type === 'state') emit(doc._id, doc) }"},"folder":{"map":"function(doc) { if (doc.type === 'folder') emit(doc._id, doc) }"},"enum":{"map":"function(doc) { if (doc.type === 'enum') emit(doc._id, doc) }"},"script":{"map":"function(doc) { if (doc.type === 'script') emit(doc._id, doc) }"},"group":{"map":"function(doc) { if (doc.type === 'group') emit(doc.common.name, doc) }"},"user":{"map":"function(doc) { if (doc.type === 'user') emit(doc.common.name, doc) }"},"config":{"map":"function(doc) { if (doc.type === 'config') emit(doc.common.name, doc) }"},"custom":{"map":"function(doc) { doc.type === 'state' && doc.common && doc.common.custom && emit(doc._id, doc.common.custom) }"}},"acl":{"owner":"system.user.admin","ownerGroup":"system.group.administrator","object":1092},"from":"system.host.iobroker.cli","ts":1644483728921}
                          # 
                          

                          Wäre der folgende Workaround eine Möglichkeit?:

                          1. Mit JS-Controller 3.2.2 zurück zu File
                          2. Auf neuen JS-Controller 4.X
                          3. Wieder Migration auf Redis
                          foxriver76F Offline
                          foxriver76F Offline
                          foxriver76
                          Developer
                          wrote on last edited by
                          #247

                          @ofbeqnpolkkl6mby5e13

                          iob object get system.host.iobroker
                          

                          Videotutorials & mehr

                          Hier könnt ihr mich unterstützen.

                          O 1 Reply Last reply
                          0
                          • foxriver76F foxriver76

                            @ofbeqnpolkkl6mby5e13

                            iob object get system.host.iobroker
                            
                            O Offline
                            O Offline
                            oFbEQnpoLKKl6mbY5e13
                            wrote on last edited by
                            #248

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

                            iob object get system.host.iobroker

                            # iob object get system.host.iobroker 
                            {"_id":"system.host.iobroker","type":"host","common":{"name":"iobroker","title":"JS controller","installedVersion":"3.3.22","platform":"Javascript/Node.js","cmd":"/usr/bin/node  /opt/iobroker/node_modules/iobroker.js-controller/controller.js","hostname":"iobroker","address":["192.168.0.202"],"type":"js-controller"},"native":{"process":{"title":"iobroker.js-controller","versions":{"node":"14.19.0","v8":"8.4.371.23-node.85","uv":"1.42.0","zlib":"1.2.11","brotli":"1.0.9","ares":"1.18.1","modules":"83","nghttp2":"1.42.0","napi":"8","llhttp":"2.1.4","openssl":"1.1.1m","cldr":"40.0","icu":"70.1","tz":"2021a3","unicode":"14.0"},"env":{"HOSTNAME":"iobroker","LANGUAGE":"de_DE:de","PWD":"/opt/iobroker","SETUID":"1000","TZ":"Europe/Berlin","LANG":"de_DE.UTF-8","TERM":"xterm","SHLVL":"0","LC_ALL":"de_DE.UTF-8","PATH":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","DEBIAN_FRONTEND":"teletype","SETGID":"1000","OLDPWD":"/opt/iobroker","_":"/usr/sbin/gosu","HOME":"/opt/iobroker"}},"os":{"hostname":"iobroker","type":"Linux","platform":"linux","arch":"x64","release":"5.10.60-qnap","endianness":"LE","tmpdir":"/tmp"},"hardware":{"cpus":[{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2380},{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2395},{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2411},{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2413}],"totalmem":8236285952,"networkInterfaces":{"lo":[{"address":"127.0.0.1","netmask":"255.0.0.0","family":"IPv4","mac":"00:00:00:00:00:00","internal":true,"cidr":"127.0.0.1/8"}],"eth0":[{"address":"192.168.0.202","netmask":"255.255.255.0","family":"IPv4","mac":"02:42:0f:41:18:53","internal":false,"cidr":"192.168.0.202/24"}]}}},"from":"system.host.iobroker","ts":1644410814860,"acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                            # 
                            
                            foxriver76F 1 Reply Last reply
                            0
                            • O oFbEQnpoLKKl6mbY5e13

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

                              iob object get system.host.iobroker

                              # iob object get system.host.iobroker 
                              {"_id":"system.host.iobroker","type":"host","common":{"name":"iobroker","title":"JS controller","installedVersion":"3.3.22","platform":"Javascript/Node.js","cmd":"/usr/bin/node  /opt/iobroker/node_modules/iobroker.js-controller/controller.js","hostname":"iobroker","address":["192.168.0.202"],"type":"js-controller"},"native":{"process":{"title":"iobroker.js-controller","versions":{"node":"14.19.0","v8":"8.4.371.23-node.85","uv":"1.42.0","zlib":"1.2.11","brotli":"1.0.9","ares":"1.18.1","modules":"83","nghttp2":"1.42.0","napi":"8","llhttp":"2.1.4","openssl":"1.1.1m","cldr":"40.0","icu":"70.1","tz":"2021a3","unicode":"14.0"},"env":{"HOSTNAME":"iobroker","LANGUAGE":"de_DE:de","PWD":"/opt/iobroker","SETUID":"1000","TZ":"Europe/Berlin","LANG":"de_DE.UTF-8","TERM":"xterm","SHLVL":"0","LC_ALL":"de_DE.UTF-8","PATH":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","DEBIAN_FRONTEND":"teletype","SETGID":"1000","OLDPWD":"/opt/iobroker","_":"/usr/sbin/gosu","HOME":"/opt/iobroker"}},"os":{"hostname":"iobroker","type":"Linux","platform":"linux","arch":"x64","release":"5.10.60-qnap","endianness":"LE","tmpdir":"/tmp"},"hardware":{"cpus":[{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2380},{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2395},{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2411},{"model":"Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz","speed":2413}],"totalmem":8236285952,"networkInterfaces":{"lo":[{"address":"127.0.0.1","netmask":"255.0.0.0","family":"IPv4","mac":"00:00:00:00:00:00","internal":true,"cidr":"127.0.0.1/8"}],"eth0":[{"address":"192.168.0.202","netmask":"255.255.255.0","family":"IPv4","mac":"02:42:0f:41:18:53","internal":false,"cidr":"192.168.0.202/24"}]}}},"from":"system.host.iobroker","ts":1644410814860,"acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                              # 
                              
                              foxriver76F Offline
                              foxriver76F Offline
                              foxriver76
                              Developer
                              wrote on last edited by foxriver76
                              #249

                              @ofbeqnpolkkl6mby5e13 Schaut alles gut aus... wenn du keine wichtigen PWs in deiner Installation hast, bzw diese vorher abänderst, könntest du mir auch mal deine Redis DB privat schicken, dann könnte ich bei mir probieren die Ursache zu finden.

                              Workaround geht notfalls auch, aber wäre schick, das Problem zu beheben.

                              Videotutorials & mehr

                              Hier könnt ihr mich unterstützen.

                              O 1 Reply Last reply
                              0
                              • foxriver76F foxriver76

                                @ofbeqnpolkkl6mby5e13 Schaut alles gut aus... wenn du keine wichtigen PWs in deiner Installation hast, bzw diese vorher abänderst, könntest du mir auch mal deine Redis DB privat schicken, dann könnte ich bei mir probieren die Ursache zu finden.

                                Workaround geht notfalls auch, aber wäre schick, das Problem zu beheben.

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

                                @foxriver76
                                Kein Problem. Wohin?

                                Kein Problem, ich habe Zeit. Und mein iobroker läuft ja perfekt mit 3.3.22.

                                Edit:
                                Das Problem wurde behoben.

                                1 Reply Last reply
                                0
                                • apollon77A apollon77

                                  Hey All

                                  die 4.0.7 ist auf dem Weg mit einem kleinen Fix nochmal wegen der Paketmanager-Erkennung

                                  wendy2702W Offline
                                  wendy2702W Offline
                                  wendy2702
                                  wrote on last edited by wendy2702
                                  #251

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

                                  Hey All

                                  die 4.0.7 ist auf dem Weg mit einem kleinen Fix nochmal wegen der Paketmanager-Erkennung

                                  Sollte die oder 4.0.6 schon im latest sichtbar sein?

                                  Noch ne Frage. Wie läuft unter JS4.x ein Restore eines Slaves?

                                  Bitte keine Fragen per PN, die gehören ins Forum!

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  DiginixD apollon77A 2 Replies Last reply
                                  0
                                  • wendy2702W wendy2702

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

                                    Hey All

                                    die 4.0.7 ist auf dem Weg mit einem kleinen Fix nochmal wegen der Paketmanager-Erkennung

                                    Sollte die oder 4.0.6 schon im latest sichtbar sein?

                                    Noch ne Frage. Wie läuft unter JS4.x ein Restore eines Slaves?

                                    DiginixD Offline
                                    DiginixD Offline
                                    Diginix
                                    wrote on last edited by
                                    #252

                                    @wendy2702 4.0.6 und 4.0.7 sind über latest bereits verfügbar und bei mir .7 seit 12 Uhr installiert.

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

                                    wendy2702W 1 Reply Last reply
                                    0
                                    • wendy2702W wendy2702

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

                                      Hey All

                                      die 4.0.7 ist auf dem Weg mit einem kleinen Fix nochmal wegen der Paketmanager-Erkennung

                                      Sollte die oder 4.0.6 schon im latest sichtbar sein?

                                      Noch ne Frage. Wie läuft unter JS4.x ein Restore eines Slaves?

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

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

                                      Sollte die oder 4.0.6 schon im latest sichtbar sein?

                                      Naja eher die 4.0.7 inzwischen 🙂 Aber ja ... sollte eins von beiden. Ggf iob update

                                      Noch ne Frage. Wie läuft unter JS4.x ein Restore eines Slaves?

                                      Wie auch unter 3.3.22 🙂

                                      Das bringt eher die Frage nach generell dem Restore einen slaves auf denke ich 🙂

                                      Formal Slave-Host neu aufsetzen mit nem leeren ioBroker und schauen das der Hostname der gleich ist wie früher!! Dann den Host via "iob setup custom" (oder mit mh browse) an den Master verbinden. Dann sollte der Slave merken welche Adapter nachinstalliert werden müssen und das automatisch tun

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

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      wendy2702W 2 Replies Last reply
                                      0
                                      • DiginixD Diginix

                                        @wendy2702 4.0.6 und 4.0.7 sind über latest bereits verfügbar und bei mir .7 seit 12 Uhr installiert.

                                        wendy2702W Offline
                                        wendy2702W Offline
                                        wendy2702
                                        wrote on last edited by wendy2702
                                        #254

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

                                        @wendy2702 4.0.6 und 4.0.7 sind über latest bereits verfügbar und bei mir .7 seit 12 Uhr installiert.

                                        Hm...

                                        hast du die also im HOST Tab gesehen?

                                        Bei mir auch nach STRG+F5 immer noch 4.0.5:

                                        b438a4d1-3687-4ba7-8278-944efe07a08d-grafik.png

                                        Obwohl im latest tatsächlich 4.0.7 kommt:

                                        d7859c35-2143-4a07-8f33-0f4c129629c2-grafik.png

                                        Admin 5.2.3 sowohl mit FF als auch mit Chrome

                                        EDIT: iob update auf dem Slave gemacht. Dann reload im FF und jetzt steht bei allen 4.0.7

                                        Bitte keine Fragen per PN, die gehören ins Forum!

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        1 Reply Last reply
                                        1
                                        • apollon77A apollon77

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

                                          Sollte die oder 4.0.6 schon im latest sichtbar sein?

                                          Naja eher die 4.0.7 inzwischen 🙂 Aber ja ... sollte eins von beiden. Ggf iob update

                                          Noch ne Frage. Wie läuft unter JS4.x ein Restore eines Slaves?

                                          Wie auch unter 3.3.22 🙂

                                          Das bringt eher die Frage nach generell dem Restore einen slaves auf denke ich 🙂

                                          Formal Slave-Host neu aufsetzen mit nem leeren ioBroker und schauen das der Hostname der gleich ist wie früher!! Dann den Host via "iob setup custom" (oder mit mh browse) an den Master verbinden. Dann sollte der Slave merken welche Adapter nachinstalliert werden müssen und das automatisch tun

                                          wendy2702W Offline
                                          wendy2702W Offline
                                          wendy2702
                                          wrote on last edited by
                                          #255

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

                                          Wie auch unter 3.3.22
                                          Das bringt eher die Frage nach generell dem Restore einen slaves auf denke ich
                                          Formal Slave-Host neu aufsetzen mit nem leeren ioBroker und schauen das der Hostname der gleich ist wie früher!! Dann den Host via "iob setup custom" (oder mit mh browse) an den Master verbinden. Dann sollte der Slave merken welche Adapter nachinstalliert werden müssen und das automatisch tun

                                          Wenn ich es schaffe teste ich es heute.

                                          Bitte keine Fragen per PN, die gehören ins Forum!

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          1 Reply Last reply
                                          1
                                          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

                                          283

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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