Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.0/3.1 jetzt im 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 3.0/3.1 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @TH G last edited by Thomas Braun

      @TH-G

      iobroker install js-controller@2.2.9
      

      Kann aber sein, das das dann noch orgendwo klemmt. Müssen wir sehen.
      Am besten aber einen eigenen Thread dafür aufmachen, das gehört hier nicht rein.

      TH G 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @TH G last edited by

        @TH-G
        Das Problem ist nicht 3.* sondern die fehlerhaften Scripte und da musst Du ansetzten, nicht am stabilen JS der jetzt eben Dinge nicht mehr durchgehen lässt, die nicht richtig sind, aber trotzdem funktioniert haben.
        Wenn Du schon so ein guten Draht zu den Urhebern der Scripte hast, dann sollten die auch ihre Scripte anpassen. Nicht der Berg sollte zum Propheten 😉

        M 1 Reply Last reply Reply Quote 1
        • TH G
          TH G @Thomas Braun last edited by

          @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

          @TH-G

          iobroker install js-controller@2.2.9
          

          Kann aber sein, das das dann noch orgendwo klemmt. Müssen wir sehen.

          Sind dann die Einstellungen weg?

          Hier ist das Skript RC1.1 das die Probleme verursacht.

          https://github.com/Maverick78de/SMA_forecast_charging

          Eine ältere Version läuft allerdings.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @TH G last edited by

            @TH-G sagte in js-controller 3.0 jetzt im Latest!:

            Sind dann die Einstellungen weg?

            Vielleicht. Und die Katze explodiert evtl. auch. Aber du hast ja ein Backup. Nur für die Katze ist es doof.

            1 Reply Last reply Reply Quote 0
            • TH G
              TH G last edited by

              pi@raspberrypi:~ $ iobroker install js-controller 2.2.9
              adapter "js-controller" already installed. Use "upgrade" to upgrade to a newer version.
              pi@raspberrypi:~ $ iobroker version
              3.0.20

              Geht leider nicht

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @TH G last edited by Thomas Braun

                @TH-G Da fehlt das @.
                Und mach dafür einen eigenen Thread auf!

                1 Reply Last reply Reply Quote 0
                • TH G
                  TH G last edited by

                  Danke mache ich und mit dem @ habe ich es auch probiert

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

                    @TH-G Ne nimm einfach "npm install iobroker.js-controller@2.2.9" .. sieht Doku im ersten Post

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

                      @apollon77 Im neuen Thread hatten wir das dann auch gleich richtig gemacht... 🙂

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

                        Hey All,

                        nachdem die 3.0.20 nun ein paar Tage bereits im Einsatz ist und über 3000 Installationen aufweist sind wir fast soweit das es ins Stable gehen kann. Wir haben noch ein paar Fixes gesammelt und vor allem die Aktivierung des Sentry Fehler-Reportings noch etwas deutlicher bei der Erstinstallation eines 3.xer js-controllers hervorgehoben.

                        Es kam noch ein kleineres Feature dazu und daher haben wir (auch weil wir schon bei 3.0.20 waren) für als Vorbereitung für den Stable Release das ganze zur 3.1 gemacht 🙂

                        Changelog:

                        3.1.2 (2020-05-09) Release Francesca

                        • (foxriver76) catch error on alias ids with empty objects
                        • (Apollon77) make sure promise rejections without error are not crashing the controller
                        • (bluefox) Add Controller messages to allow read and write controller base settings (iobroker.json); introduce adapter feature flag CONTROLLER_READWRITE_BASE_SETTINGS
                        • (Apollon77) handle edge case where hostName is not a string when sending messages (Sentry IOBROKER-ADMIN-B)
                        • (Apollon77) handle case where letsencrypt directory can not be created (Sentry IOBROKER-ADMIN-C/IOBROKER-WEB-B)
                        • (bluefox) add IDs to some log messages
                        • (foxriver76) fix some logging in objects lib
                        • (Apollon77) make sure to catch error when reading log directory (Sentry IOBROKER-JS-CONTROLLER-1F)
                        • (foxriver76) Make decrypt and encrypt methods available in adapter object for developers. System secret is read automatically soonly the value is passed to the function
                        • (AlCalzone) Add adapter exit code 13 (ADAPTER_REQUESTED_REBUILD) to also allow to tell js-controller to rebuild this adapter.
                        • (Apollon77) change logging for invalid readFile actions to debug because ca be triggered also by other cases then planned ones. Update objects lib
                        • (Apollon77) make sure command on cmdExec is a string (Sentry IOBROKER-JS-CONTROLLER-1H)
                        • (Apollon77) Check more cases for existence of variables before accessing them (Sentry IOBROKER-JS-CONTROLLER-E)
                        • (Apollon77) Add a node.js version check and output special error message if node.js version is not satisfied
                        • (AlCalzone) Add missing parameter digest to crypto calls
                        • (AlCalzone) further code optimizatons
                        • (AlCalzone) Allow reverse lookup of exit codes (exit code -> error name)
                        • (Apollon77) make sure Objects/States backup files are deleted correctly according to backup settings
                        • (foxriver76) Make sure default state value is only set if state is not existing also in setObject
                        • (foxriver76) check that alias is of type state when adding subscribing pattern
                        • (Apollon77) Make sure error are checked correctly (Sentry IOBROKER-JS-CONTROLLER-1N)
                        • (Apollon77) Inform about sentry activation if not configured on "iobroker setup first"
                        • (bluefox) implement maintenance mode for adapter methods
                        • (bluefox) store for binary states the binary flag in objects
                        • (Apollon77) update Plugin system
                        • (Apollon77) update Sentry plugin to respect all options to disable reporting including new disableDataReporting flag ( will be integrated into Admin later)
                        • (AlCalzone) Add Plugin CLI commands to enable/disable plugins

                        Die Version sollte in de nächsten Stunden im Latest Repository auftauchen. Wenn alles klappt werden wir ab morgen über den Info Adapter eine Info Meldung für alle Latest Nutzer einblenden die auf die neue Version hinweist und im Laufe der nächsten Woche geht der Controller 3.1 ins Stable.

                        Viel Spass damit.

                        Ingo

                        Thomas Braun L sigi234 3 Replies Last reply Reply Quote 5
                        • Thomas Braun
                          Thomas Braun Most Active @apollon77 last edited by

                          @apollon77

                          pi@raspberrypi:~ $ iobroker version
                          3.1.2
                          pi@raspberrypi:~ $ iobroker status
                          iobroker is running on this host.
                          
                          At least one iobroker host is running.
                          
                          Objects type: file
                          States  type: redis
                          

                          startup unauffällig, iobroker.current.log bleibt auch ruhig.

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

                            @apollon77

                            Ihr seid so schnell, da kommt man mit dem Testen nicht hinterher 😉

                            Keine Auffälligkeiten im Log, alle Adapter grün.

                            Viele Grüße
                            Marco

                            1 Reply Last reply Reply Quote 1
                            • sigi234
                              sigi234 Forum Testing Most Active @apollon77 last edited by

                              @apollon77

                              Läuft, alle Adapter Grün, vorläufig keine Meldungen im Log.

                              Screenshot (2433).png

                              1 Reply Last reply Reply Quote 1
                              • Holger76
                                Holger76 last edited by Holger76

                                bei mir leider nicht. Es streikt der Unifi - Adapter, bleibt gelb (0.5, aber auch ein downgrade auf den vorigen läuft nicht) Meldung im LOG :

                                (3030) Error: api.err.Invalid

                                Ansonsten streikt auch der Discovergy Adapter, bleibt rot. (Login-Daten stimmen, nochmal kontrolliert, ging ja vorher auch)

                                LOG:

                                2020-05-10 00:02:01.030 - info: discovergy.0 (3267) starting. Version 0.5.4 in /opt/iobroker/node_modules/iobroker.discovergy, node: v12.16.3, js-controller: 3.1.2
                                2020-05-10 00:02:01.044 - info: discovergy.0 (3267) Discovergy Adapter startet, trying to discover meters associated with your account
                                2020-05-10 00:02:01.209 - error: discovergy.0 (3267) Connection_Failed at meter indication run, check your credentials !
                                2020-05-10 00:02:01.211 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                2020-05-10 00:02:01.211 - error: discovergy.0 (3267) unhandled promise rejection: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                2020-05-10 00:02:01.214 - error: discovergy.0 (3267) StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                at Request.emit (events.js:310:20)
                                at Request.EventEmitter.emit (domain.js:482:12)
                                at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                at Request.emit (events.js:310:20)
                                at Request.EventEmitter.emit (domain.js:482:12)
                                at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                2020-05-10 00:02:01.214 - info: discovergy.0 (3267) cleaned everything up...
                                2020-05-10 00:02:01.266 - info: discovergy.0 (3267) terminating
                                2020-05-10 00:02:01.267 - info: discovergy.0 (3267) Terminated (NO_ERROR): Without reason
                                2020-05-10 00:02:01.789 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                                2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                2020-05-10 00:02:01.792 - error: host.ioBroker Caught by controller[1]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                2020-05-10 00:02:01.792 - info: host.ioBroker instance system.adapter.discovergy.0 terminated with code 0 (NO_ERROR)
                                2020-05-10 00:02:01.792 - info: host.ioBroker Restart adapter system.adapter.discovergy.0 because enabled
                                
                                

                                Alle Adapter sind latest.
                                Debian 10, NodeJS12

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

                                  @Holger76 dann bitte die Fehler bei beiden Adaptern melden, haben beide nichts direkt mit dem Controller zu tun. Am besten in den einschlägigen Forum Threads bzw als GitHub-Issue

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

                                    @Holger76 Versuch mal im Admin die Passwörter neu zu einzugeben bei den beiden Adaptern.

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

                                      @apollon77 hatte ich natürlich schon getestet, bevor ich sowas hier melde 😉

                                      ok ich meld mich bei den Adaptern direkt...

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

                                        @Holger76 Ich habe gerade die 3.1.3 released die deine Probleme beheben sollte. Habe mich entschieden nach Check das ganze im js-controller zu fixen. Es lag daran das die Passwörter falsch entschlüsselt wurden. Bitte checke mal die 3.1.3 sobald Sie für dich da ist

                                        S Holger76 2 Replies Last reply Reply Quote 0
                                        • M
                                          Marty56 last edited by

                                          Version 3.1.3. zeigt bei mir keine Fehler. Super Arbeit!

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

                                            @apollon77
                                            Moin,
                                            ich habe jetzt gerade das Gefühl, dass der Sonos Adapter das JS-Controller Update nicht vertragen hat.
                                            Fehler im Log kamen direkt nach dem Update auf 3.13

                                            Ist aber für mich kein Problem, entsorge den jetzt sowieso, sollte nur als Info für Dich sein.

                                            sonos.0	2020-05-10 06:20:01.791	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                            sonos.0	2020-05-10 06:20:01.791	error	at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
                                            sonos.0	2020-05-10 06:20:01.791	error	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                            sonos.0	2020-05-10 06:20:01.791	error	at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:93234
                                            sonos.0	2020-05-10 06:20:01.791	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5012:26
                                            sonos.0	2020-05-10 06:20:01.791	error	at checkState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4904:68)
                                            sonos.0	2020-05-10 06:20:01.791	error	(30381) TypeError: Cannot read property 'state' of undefined
                                            sonos.0	2020-05-10 06:20:01.790	error	(30381) uncaught exception: Cannot read property 'state' of undefined
                                            sonos.0	2020-05-10 06:20:01.771	error	(30381) unknown user "undefined"
                                            
                                            MichMein apollon77 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            733
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            127
                                            1340
                                            424742
                                            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