Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Alpha Test js-controller 4.0

    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

    Alpha Test js-controller 4.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lonsimbt @apollon77 last edited by

      @apollon77

      Ich war mal so mutig und habe die 4.0.3 auf mein Produktivsystem losgelassen (ein Hoch auf proxmox und die Möglichkeit von snapshots). Dabei sind folgende Meldungen noch hochgekommen:

      The following notifications happened during sync: 
      - Ignoring Directory "gartenbewaesserung.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "robonect.admin" because officially not created as meta object. Please remove directory!
      

      Beide Adapter sind zzt. nicht in Benutzung. Können die Ordner tatsächlich gefahrlos gelöscht werden?

      Ferner folgende Warnungen im Log:

      shuttercontrol.0
      	2022-02-05 11:15:36.840	warn	This object will not be created in future versions. Please report this to the developer.
      shuttercontrol.0
      	2022-02-05 11:15:36.839	warn	Object shuttercontrol.0.info.Azimut is invalid: Default value has to be type "number" but received type "string"
      shuttercontrol.0
      	2022-02-05 11:15:36.832	warn	This object will not be created in future versions. Please report this to the developer.
      shuttercontrol.0
      	2022-02-05 11:15:36.830	warn	Object shuttercontrol.0.info.Elevation is invalid: Default value has to be type "number" but received type "string"
      mqtt.0
      	2022-02-05 11:15:00.871	warn	This object will not be created in future versions. Please report this to the developer.
      mqtt.0
      	2022-02-05 11:15:00.870	warn	Object mqtt.0.info.connection is invalid: Default value has to be type "string" but received type "boolean"
      

      Issue beim Adapter erstellen?

      Gruß Marco

      simatec apollon77 foxriver76 3 Replies Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @lonsimbt last edited by

        @lonsimbt
        Für Shuttercontrol gibt es dazu bereits ein Issue

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

          @lonsimbt korrekt. Fehlende issue Bitte erstellen. Zu den beiden Verzeichnissen: wenn du da aktuell keine Instanzen hast dann kannst du das löschen.

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

            @lonsimbt sagte in Alpha Test js-controller 4.0:

            Beide Adapter sind zzt. nicht in Benutzung. Können die Ordner tatsächlich gefahrlos gelöscht werden?

            Ich vermute die Adapter sind derzeit nicht mal installiert?

            apollon77 L 2 Replies Last reply Reply Quote 0
            • Feuersturm
              Feuersturm @apollon77 last edited by Feuersturm

              @apollon77 Habe gerade einmal ein update auf die 4.0.3 gemacht.
              Gestern abend hatte ich noch ein apt update / upgrade gemacht, wobei auch nodejs aktualisiert wurde. Aktuelle node und npm Version:

              proxmox@ioBrokerTestsystem:/opt/iobroker$ node -v
              v14.19.0
              proxmox@ioBrokerTestsystem:/opt/iobroker$ npm -v
              6.14.16
              
              

              Beim Update gab es diese Fehlermeldungen. Haben sie was zu bedeuten?
              Die IP 192.168.178.78 ist der ioBroker Slave. Ich habe gerade den Master aktualisiert, der Slave (js-controller 4.0 alpha 73) lief aber.

              Server Objects 192.168.178.78:60268 Error from InMemDB: Error: ERROR setObject id=system.host.ioBrokerNew.cputime: The database is not open!
              Server Objects 192.168.178.78:60268 Error from InMemDB: Error: ERROR setObject id=system.host.ioBrokerNew.mem: The database is not open!
              Server Objects 192.168.178.78:60268 Error from InMemDB: Error: ERROR setObject id=system.host.ioBrokerNew.memHeapUsed: The database is not open!
              

              Hier die vollständie Ausgabe vom Update

              proxmox@ioBrokerTestsystem:/opt/iobroker$ npm i iobroker.js-controller@next
              [sudo] password for proxmox:
              
              > iobroker.js-controller@4.0.3 preinstall /opt/iobroker/node_modules/iobroker.js-controller
              > node lib/preinstallCheck.js
              
              NPM version: 6.14.16
              
              > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build'
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              In file included from ../src/unix_dgram.cc:5:
              ../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
              ../../nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
               2294 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                    |                                                              ^
              In file included from ../../nan/nan.h:56,
                               from ../src/unix_dgram.cc:5:
              ../src/unix_dgram.cc: At global scope:
              /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
                793 |       (node::addon_register_func) (regfunc),                          \
                    |                                           ^
              /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro 'NODE_MODULE_X'
                827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                    |   ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                404 | NODE_MODULE(unix_dgram, Initialize)
                    | ^~~~~~~~~~~
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
              make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build'
              
              > iobroker.js-controller@4.0.3 install /opt/iobroker/node_modules/iobroker.js-controller
              > node iobroker.js setup first
              
              object _design/system updated
              {
                "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEpQIBAAKCAQEA0UJUHJOm8DL4S++hcAHHj4DLTZWBTzRQufvVYL0FdT5qGti0\r\nbCmu5KdFCL0uwOT89EEGE2rp9kwyneee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BEYoHiL3AtsgzeTbZeMKadZGCn1VI05QTweE\r\nIooceLhNSzR0FofbN1pwqgyyKoHk5nDe/5V9X4eUbt52tpO/Gcg53sUiOFvV53kM\r\nVsUsoesqkDaydKRm4wm9F4T/m+/LVrCdA6k6wkHQ3p+k7+dEK3rQeiUKIfmXACRN\r\nWXGJ5CjCxb1wYhQcLAKLQGFdAgMBAAGjgYowgYcwDAYDVR0TAQH/BAIwADAPBgNV\r\nHQ8BAf8EBQMDB7+AMB0GA1UdEQQWMBSCEmlvQnJva2VyVGVzdHN5c3RlbTAdBgNV\r\nHQ4EFgQUD0SE7Kg2dRW/OQU/gUV8P97Rbj4wHQYDVR0lBBYwFAYIKwYBBQUHAwEG\r\nCCsGAQUFBwMCMAkGA1UdIwQCMAAwDQYJKoZIhvcNAQELBQADggEBANBTXcSPdI7E\r\niwmsf7h5eubmtIeGNU0UYIYiVvqgBn0DUw8SwjwhZgbFCPd4Qx6NAecEPWqztmem\r\n2HVqwkzgpzQ64wb1YOywZqUP7xmWlnxzEzUZg3hq8+JGgJqkl3tMTnpm87jGReyu\r\nYjfyRHtNj4Gjq6LGs8RqPA4pXe204XSoakdKoeRiy7qi2ULD8GKLjkC+pHF4RA/Y\r\nKPGmY0F8RliFYPkdIvN8GbCpibZnwq+J6U+1+9k46EuXhzaLQVjGfCNLPzjmmT/0\r\nYtosTkCOIbIwiwmmP9byXHhimVXOq/97cvR+zZB+xxqJXvt5zxTGjKgNAcpN/w7E\r\n0F41Cw5EmdU=\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.
              Server Objects 192.168.178.78:60268 Error from InMemDB: Error: ERROR setObject id=system.host.ioBrokerNew.cputime: The database is not open!
              Server Objects 192.168.178.78:60268 Error from InMemDB: Error: ERROR setObject id=system.host.ioBrokerNew.mem: The database is not open!
              Server Objects 192.168.178.78:60268 Error from InMemDB: Error: ERROR setObject id=system.host.ioBrokerNew.memHeapUsed: The database is not open!
              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: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
              
              + iobroker.js-controller@4.0.3
              removed 19 packages and updated 14 packages in 102.06s
              
              43 packages are looking for funding
                run `npm fund` for details
              
              

              Github issue
              https://github.com/ioBroker/ioBroker.js-controller/issues/1746

              Feuer-sturm created this issue in ioBroker/ioBroker.js-controller

              closed Error from InMemDB: Error: ERROR setObject id xxx The database is not open! #1746

              apollon77 2 Replies Last reply Reply Quote 1
              • Neuschwansteini
                Neuschwansteini @apollon77 last edited by Neuschwansteini

                @apollon77

                eben auch auf js-controller 4.03 mal gegangen, iobroker laeuft, kam beim update hier was :

                ilovegym@VMC123-iobroker /opt/iobroker $ npm i iobroker.js-controller@next
                
                > iobroker.js-controller@4.0.3 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                > node lib/preinstallCheck.js
                
                NPM version: 6.14.15
                
                > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram
                > node-gyp rebuild
                
                make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build'
                  CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                In file included from ../../nan/nan.h:56,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
                       (node::addon_register_func) (regfunc),                          \
                                                           ^
                /home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro 'NODE_MODULE_X'
                   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                   ^~~~~~~~~~~~~
                ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                 NODE_MODULE(unix_dgram, Initialize)
                 ^~~~~~~~~~~
                  SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                  COPY Release/unix_dgram.node
                make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build'
                
                > iobroker.js-controller@4.0.3 install /opt/iobroker/node_modules/iobroker.js-controller
                > node iobroker.js setup first
                
                object _design/system updated
                
                

                Fehler kommt auf den Raspis als Multihost-slave ebenfalls..

                Thomas Braun apollon77 F 3 Replies Last reply Reply Quote 0
                • apollon77
                  apollon77 @Feuersturm last edited by

                  @feuersturm ok der iobrokernew ist der Slave oder ist das der Master?und wo lief das Update? Zu wem gehört die genannte ip?

                  Feuersturm 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Neuschwansteini last edited by

                    @ilovegym
                    Welcher Fehler? Das sind ganz normale build messages

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

                      @ilovegym keine Fehler. Sind die üblichen Warnungen die manchmal kommen wenn native Pakete gebaut werden. Wie immer ignore. Es ist ja alles durchgelaufen

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

                        @apollon77 sagte in Alpha Test js-controller 4.0:

                        @feuersturm ok der iobrokernew ist der Slave oder ist das der Master?und wo lief das Update? Zu wem gehört die genannte ip?

                        @apollon77 iobrokernew ist der Slave mit der IP 192.168.178.78. Das update lief auf dem Master "ioBrokerTestsystem" mit der IP 192.168.178.77

                        1 Reply Last reply Reply Quote 1
                        • F
                          Fortune95 @Neuschwansteini last edited by

                          @apollon77
                          Upadate auf 4.0.3 lief mit den bereits bekannten Warnungen von den Adaptern Yamaha, Shelly und shuttercontrol durch. 👍

                          Braucht der neue js-controller weniger Speicher?

                          apollon77 1 Reply Last reply Reply Quote 1
                          • Neuschwansteini
                            Neuschwansteini @Thomas Braun last edited by

                            @thomas-braun oh , ich meine das warning incompatible function types.. ok, wenn das so sein soll, soll mir recht sein, geht ja auch alles.. 🙂

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

                              @feuersturm also wenn das das Update vom Master war und der Slave noch lief Bzw sich neu gestartet hat dann kann sowas ggf passieren.

                              Feuersturm Thomas Braun 2 Replies Last reply Reply Quote 0
                              • Feuersturm
                                Feuersturm @apollon77 last edited by

                                @apollon77 sagte in Alpha Test js-controller 4.0:

                                @feuersturm also wenn das das Update vom Master war und der Slave noch lief Bzw sich neu gestartet hat dann kann sowas ggf passieren.

                                Ok. Slave lief in diesem Falle noch.

                                apollon77 1 Reply Last reply Reply Quote 1
                                • Thomas Braun
                                  Thomas Braun Most Active @apollon77 last edited by

                                  @apollon77

                                  Hab auch 4.0.3 laufen. Keine Auffälligkeiten hier.

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

                                    @fortune95 Speicherverbrauchstechnisch haben wir nicht wirklich etwas geändert wenn ich mich recht entsinne. Und daher: kann gut sein, wäre interessant ;-)) beobachte es mal

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

                                      @feuersturm machst bitte trotzdem ein github issue. Will mir das ansehen

                                      F Feuersturm 2 Replies Last reply Reply Quote 0
                                      • F
                                        Fortune95 @apollon77 last edited by

                                        @apollon77
                                        Ok, werde ich weiter beobachten. Aktuell etwas über 1GB weniger :-))

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Neuschwansteini
                                          Neuschwansteini @apollon77 last edited by

                                          @apollon77 hab auch 1GB weniger in use...

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

                                            @foxriver76 wäre auch meine Vermutung. Sonst upload all mal machen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            622
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            20
                                            196
                                            17020
                                            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