Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0 jetzt im BETA/LATEST!

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    js-controller 4.0 jetzt im BETA/LATEST!

    This topic has been deleted. Only users with topic management privileges can see it.
    • foxriver76
      foxriver76 Developer @oFbEQnpoLKKl6mbY5e13 last edited by

      @ofbeqnpolkkl6mby5e13 Dann bitte

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

      O 2 Replies Last reply Reply Quote 0
      • O
        oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by oFbEQnpoLKKl6mbY5e13

        @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 Reply Quote 0
        • O
          oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by

          @foxriver76
          Soll ich den Hostname vielleicht noch mal setzen?

          1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @oFbEQnpoLKKl6mbY5e13 last edited by

            @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 1 Reply Last reply Reply Quote 0
            • O
              oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by

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

              foxriver76 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 last edited by

                Hey All

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

                wendy2702 1 Reply Last reply Reply Quote 1
                • foxriver76
                  foxriver76 Developer @oFbEQnpoLKKl6mbY5e13 last edited by

                  @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 1 Reply Last reply Reply Quote 0
                  • O
                    oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by

                    @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
                    # 
                    
                    foxriver76 1 Reply Last reply Reply Quote 0
                    • Alligator
                      Alligator @apollon77 last edited by

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

                      1 Reply Last reply Reply Quote 1
                      • foxriver76
                        foxriver76 Developer @oFbEQnpoLKKl6mbY5e13 last edited by

                        @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 1 Reply Last reply Reply Quote 0
                        • O
                          oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by 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
                          foxriver76 1 Reply Last reply Reply Quote 0
                          • foxriver76
                            foxriver76 Developer @oFbEQnpoLKKl6mbY5e13 last edited by

                            @ofbeqnpolkkl6mby5e13

                            iob object get system.host.iobroker
                            
                            O 1 Reply Last reply Reply Quote 0
                            • O
                              oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by

                              @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"}}
                              # 
                              
                              foxriver76 1 Reply Last reply Reply Quote 0
                              • foxriver76
                                foxriver76 Developer @oFbEQnpoLKKl6mbY5e13 last edited by 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 1 Reply Last reply Reply Quote 0
                                • O
                                  oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by oFbEQnpoLKKl6mbY5e13

                                  @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 Reply Quote 0
                                  • wendy2702
                                    wendy2702 @apollon77 last edited by 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?

                                    Diginix apollon77 2 Replies Last reply Reply Quote 0
                                    • Diginix
                                      Diginix @wendy2702 last edited by

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

                                      wendy2702 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @wendy2702 last edited by

                                        @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

                                        wendy2702 2 Replies Last reply Reply Quote 0
                                        • wendy2702
                                          wendy2702 @Diginix last edited by wendy2702

                                          @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

                                          1 Reply Last reply Reply Quote 1
                                          • wendy2702
                                            wendy2702 @apollon77 last edited by

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

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            974
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            747
                                            169120
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo