Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2 jetzt für alle im Stable

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2 jetzt für alle im Stable

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

      @Diginix Wie sehen die Einstellungen aus?

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

        @Superdad Was sagt er? Login Fehler oder was? Wie sehen die Einstellungen aus? Versuch mal Passwort neu zusetzen.

        An sich hat sich da nichts geändert

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

          @apollon77
          Berechtigungen im Objekt:
          2b4b0422-a862-44b8-87f9-d14ecf6d665b-image.png

          Berechtigungen der Gruppe:
          d9c53d3d-ee37-4981-9e47-3b34b24ba48f-image.png

          Verwendeter User ist in der Gruppe.

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

            @Diginix Und welche Aktion machst du? Versuch mal "list" Rechte zu aktivieren bitte

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

              @apollon77
              Habe der Gruppe jetzt alle Haken gegeben. Fehler bleibt der selbe.
              Aufruf ist dieser:

              http://ip:port/set/javascript.0.Objects.Door_Window.Gate_Switch?value=true&user=apiuser&pass=******
              

              Selbst das Lesen schlägt fehl:

              http://ip:port/getPlainValue/javascript.0.Objects.Door_Window.Gate_Switch?user=apiuser&pass=******
              

              Habe dem Objekt jetzt noch zusätzlich den apiuser als Besitzer gegeben, statt admin. Aber nützt auch nichts.
              Nur mit admin user/pw in der URL funktioniert aktuell das Lesen/Schreiben per simple-api.

              apollon77 2 Replies Last reply Reply Quote 0
              • S
                Superdad last edited by

                @apollon77

                kann ja kein neues Passwort setzen, da ich ja keinen Login machen kann.
                Es kommt keine Fehlermeldung.
                Nur wenn ich den Benutzer oder das Passwort ändere, dann kommt eine Fehlermeldung.

                apollon77 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active last edited by

                  Update wird wieder nicht links im Reiter angezeigt, obwohl vorhanden.
                  Bei den letzten beiden Versionen hatte die Anzeige wieder funktioniert. Die aktuelle Version wieder nicht.
                  Issue hatte ich ja schon erstellt.

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

                    @Superdad Hattest Du vorher alle Adapter wie nötig aktualisiert? Naja kannst eine weitere Admin instanz anlegen ohne Auth und dann updates nachziehen wenn nötig und dann nochmal versuchen.

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

                      @Diginix Bitte leg mal ein Issue mit allen Details, Screenshots von allen User/Gruppen/Default-ACL Screens und so an im js.controller. Müssen wir ansehen. 😞 SO lange versuch mal den User in die Administrator Gruppe zu schieben

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

                        @crunchip bestimmt wieder "nur" Reload issue

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

                          @Diginix Und PS: Du hast die nötige Aktualisierung des Adapters gemacht?

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

                            @apollon77
                            Welcher Adapter?
                            Es sind alle auf aktuellem latest Level.
                            js-controller 2.1.0
                            simple-api 0.1.2 2.3.2
                            web 2.4.10

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

                              Hatte jetzt ein Backup eingespielt.
                              Dann im Admin https und Anmeldung herausgenommen.
                              Anschließend nochmal alles neu installiert. Jetzt funktioniert es ohne Anmeldung.
                              Muss dann noch probieren, was passiert, wenn ich https wieder aktiviere.

                              Habe aber jetzt noch folgende Fehlermeldung beim SQL-Adapter.
                              vielleicht kann mir das jemand übersetzen?

                              host.andreas-PC	2019-11-15 22:55:20.075	info	Do not restart adapter system.adapter.sql.0 because disabled or deleted
                              host.andreas-PC	2019-11-15 22:55:20.075	error	instance system.adapter.sql.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                              host.andreas-PC	2019-11-15 22:55:20.075	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                              host.andreas-PC	2019-11-15 22:55:20.075	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                              host.andreas-PC	2019-11-15 22:55:20.075	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
                              host.andreas-PC	2019-11-15 22:55:20.075	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/lib/index.js:1:13)
                              host.andreas-PC	2019-11-15 22:55:20.074	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
                              host.andreas-PC	2019-11-15 22:55:20.074	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: was compiled against a different Node.js version using
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build/Release/magic.node'
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: ^
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename));
                              host.andreas-PC	2019-11-15 22:55:20.073	error	Caught by controller[0]: internal/modules/cjs/loader.js:807
                              
                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @Diginix last edited by

                                @Diginix simple-api ist 2.3.2 im latest ... ggf web noch relevant

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

                                  @Superdad Der Fehler sagt das Du mal die nodejs version aktualisiert hast ohne das sauber zu machen ... "npm rebuild" mal im Ordner /opt/iobroker/node_modules/iobroker.sql/ ausführen

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

                                    @apollon77
                                    Sorry war die falsche VersionsNr. simple-api ist 2.3.2 und web ist 2.4.10

                                    PS: Wenn der User in der Administrator Gruppe ist, funktioniert es auch nicht.
                                    Es funktioniert ausschließlich mit dem nativen admin Benutzer. Egal welchem User bzw. Gruppe das Objekt tatsächlich gehört.
                                    Git issue habe ich angelegt.

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

                                      Übrigends der zugehörige Windows Installer 2.1 ist jetzt ebenfalls online.

                                      Siehe http://iobroker.live/images/win/iobroker-latest-windows-installer.exe

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • S
                                        Superdad last edited by

                                        npm rebuild hat auch nicht funktioniert.
                                        Mir wurde eine neue Version angeboten. Die habe ich installiert.
                                        Danach npm rebuild ausgeführt und sql-Adapter funktioniert weiterhin nicht.

                                        Auch die Aktivierung von https im Admin führte zum gleichen Fehler, dass ich mich nicht mehr einloggen kann.
                                        Habe jetzt mein Backup wieder eingespielt.

                                        Habe keine Lust wieder alles neu zu installieren.
                                        Dass wäre dann Punkt d) bei [How-to] Node.js für ioBroker richtig updaten.

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

                                          @Superdad Jetzt wird es aber schwierig zu helfen. Wir haben Zertifikate und auch Authentifizierung getestet und hat bisher getan. Auch der sql Fehler kann nicht mit dem js-controller zu tun haben an sich. Bei beidem müsste man jetzt genauer reinschauen was bei Dir speziell ist. Screenshots der Konfigs von allen relevanten tabs und so könnten helfen

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

                                            @Stabilostick sagte in js-controller 2 jetzt für alle im Stable:

                                            Übrigends der zugehörige Windows Installer 2.1 ist jetzt ebenfalls online.

                                            Siehe http://iobroker.live/images/win/iobroker-latest-windows-installer.exe

                                            Ok, macht der jetzt ein Upgrade auf 2.1 ?

                                            Stabilostick 1 Reply 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

                                            849
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller js-controller 2
                                            74
                                            556
                                            132154
                                            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