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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    js-controller 2 jetzt für alle im Stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                    • Stabilostick
                      Stabilostick @sigi234 last edited by Stabilostick

                      @sigi234

                      Ok, macht der jetzt ein Upgrade auf 2.1 ?

                      Ja.

                      Aber den Fehler mit dem verkehrten states-Port bei Migration habe ich noch nicht untersucht. Dafür ist Node.js, Git, dotNet, Python und ioBroker neu und ein Fehler beim Service-Logging gefixed. Sprachen sind immer noch deutsch only.

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

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

                        Aber den Fehler mit dem verkehren states-Port bei Migration habe ich noch nicht untersucht.

                        Ist bei mir aber durchgelaufen.Die Ports wurden automatisch vorgeschlagen.
                        Was mich ein bisschen irritiert ist der Unterschied zwischen Update und Neuinstallation.
                        Also ein update hat noch nie funktioniert.

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

                          @sigi234

                          Woran ist es gescheitert?

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

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

                            @sigi234

                            Woran ist es gescheitert?

                            Das keine Installation weder als Neu oder Update auf Version 2.1 funktioniert hat.
                            Es gibt auch keinen Hinweis auf eine neue Version auf 2.1
                            Weder mit update, upload oder sonst noch was.

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

                              @sigi234

                              Na dann teste jetzt einmal 😉

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

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

                                @sigi234

                                Na dann teste jetzt einmal 😉

                                Aha, zu bald ?
                                Also ich habe eine bestehende aktuelle Installation und ich möchte diese auf den aktuellen Stand bringen, wie ist dann die Richtige Vorgehensweise ?

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

                                  @sigi234

                                  Den neuesten Windows Installer für ioBroker von https://www.iobroker.net/#de/download herunterladen und dort 'Update/Migration' auswählen.

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

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

                                    @sigi234

                                    Den neuesten Windows Installer für ioBroker von https://www.iobroker.net/#de/download herunterladen und dort 'Update/Migration' auswählen.

                                    Ja, das habe ich gemacht aber ein Update einer bestehenden Installation wird nicht angeboten.

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

                                      @sigi234

                                      Das Update ist immer eine Migration in eine neue Instanz. Damit man leicht zurück kann, wenn etwas schief geht.

                                      Also das auswählen:

                                      24b65718-f34b-4770-a273-b2485d9bf661-grafik.png

                                      sigi234 2 Replies 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:

                                        Das Update ist immer eine Migration in eine neue Instanz.

                                        Genau das ist ja das Problem. Ich möchte keine neue Instanz.

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

                                          @sigi234

                                          😉

                                          Sorry, da darfst Du über Deinen Schatten springen...

                                          So sieht es bei mir aus. Wie gut, dass man die alten mit dem Installer auch wieder löschen kann:

                                          5d18dc04-fa84-44c7-b584-bb45f7e7ec1d-grafik.png

                                          18+ ioBroker-Server auf einem Rechner. Not bad, was? 😇

                                          sigi234 2 Replies 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:

                                            18+ ioBroker-Server auf einem Rechner. Not bad, was?

                                            Hatte auch schon 10...😀

                                            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

                                            582
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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