Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. sql Adapter Fehler

    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

    sql Adapter Fehler

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

      Ich habe das selbe Problem, wie sicherlich einige andere! nach dem update von nodejs auf 10.16.2 habe ich die Adapter rpi2.0 und sql.0 die fehler aufweisen. vorher funktionierte alles prima.
      Hintergrund, der flot Adapter wollte einfach nichts anzeigen und die Web oberfläche von Flot war nicht zu erreichen.
      da mein node auf version 10.16.2 stand dachte ich mir aktuallisiere nodejs da die beiden programme ja nicht unterschiedlich sein sollen bez. problemem. Jetzt haben beide Programme die selbe versions nummer Doch jetzt sind fehler vorhanden. Der SQL Adapter will nicht starten.

      Caught	2019-08-15 23:56:38.780	error	by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
      Caught	2019-08-15 23:56:38.779	error	by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      Caught	2019-08-15 23:56:38.779	error	by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
      Caught	2019-08-15 23:56:38.778	error	by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/lib/index.js:1:13)
      Caught	2019-08-15 23:56:38.777	error	by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
      Caught	2019-08-15 23:56:38.777	error	by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
      Caught	2019-08-15 23:56:38.776	error	by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      Caught	2019-08-15 23:56:38.776	error	by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      Caught	2019-08-15 23:56:38.775	error	by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
      Caught	2019-08-15 23:56:38.775	error	by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
      Caught	2019-08-15 23:56:38.774	error	by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
      Caught	2019-08-15 23:56:38.774	error	by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
      Caught	2019-08-15 23:56:38.773	error	by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
      Caught	2019-08-15 23:56:38.772	error	by controller[0]: was compiled against a different Node.js version using
      Caught	2019-08-15 23:56:38.772	error	by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build/Release/magic.node'
      Caught	2019-08-15 23:56:38.771	error	by controller[0]: ^
      Caught	2019-08-15 23:56:38.771	error	by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename));
      Caught	2019-08-15 23:56:38.770	error	by controller[0]: internal/modules/cjs/loader.js:807
      host.GordonX-Pi	2019-08-15 23:56:37.114	info	instance system.adapter.sql.0 started with pid 17357
      rpi2.0	2019-08-15 23:56:35.746	error	GPIO is not initialized!
      
      1 Reply Last reply Reply Quote 0
      • S
        SevenUp last edited by

        Da ich denselben Fehler nach Update von Node.js 8 auf Node.js 10 hatte, beschreibe ich meine Lösung:
        Einfach unter "Adapter" den Expertenmodus aktivieren, dann bei Sql-Adapter die gleiche Version nochmal installieren, die bereits installiert war (über die Funktion "Bestimmte Version installieren").

        Aphofis 1 Reply Last reply Reply Quote 0
        • Aphofis
          Aphofis @SevenUp last edited by

          @SevenUp sagte in sql Adapter Fehler:

          Da ich denselben Fehler nach Update von Node.js 8 auf Node.js 10 hatte, beschreibe ich meine Lösung:
          Einfach unter "Adapter" den Expertenmodus aktivieren, dann bei Sql-Adapter die gleiche Version nochmal installieren, die bereits installiert war (über die Funktion "Bestimmte Version installieren").

          dH. das man den SQL Adapter auch unter node.js 10 benutzen kann !?

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Aphofis last edited by

            @Aphofis

            Ja er funktioniert !
            Hier meine Daten:
            1.JPG

            Deinstalliere den alten SQL Adapter , Installiere den neuen aber über die Katze neu über "Adapter aus beliebiger Quelle installieren oder aktualisieren" und ein Upload machen

            https://github.com/ioBroker/ioBroker.sql
            
            Aphofis 1 Reply Last reply Reply Quote 1
            • Aphofis
              Aphofis @Glasfaser last edited by

              @Glasfaser
              Nur wie ist es auf einem Raspberry Pi 3b+ oder 4 ???
              klappt es da auch ?

              Glasfaser 2 Replies Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Aphofis last edited by

                @Aphofis
                Ja ….

                1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Aphofis last edited by

                  @Aphofis

                  1.JPG

                  Hast du nach deinem Update ein npm rebuild durchgeführt !?

                  Aphofis 1 Reply Last reply Reply Quote 1
                  • Aphofis
                    Aphofis @Glasfaser last edited by

                    @Glasfaser
                    natürlich nicht!
                    Ich mach das dann alles wenn ich einen Pi 4 am laufen habe! momentan ist es mir zu gefährlich mein laufendes Aquarium System zu verändern.
                    Wenn alles stabil auf dem Pi 4 läuft kann ich alles rüber spielen.

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Aphofis last edited by Glasfaser

                      @Aphofis

                      Deshalb funktioniert auch dein SQL Adapter nicht !

                      Kannst ja dann den anderen Weg gehen …...

                      Aphofis 1 Reply Last reply Reply Quote 1
                      • Aphofis
                        Aphofis @Glasfaser last edited by

                        @Glasfaser auf jeden Fall!
                        und Vielen Dank

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Aphofis last edited by

                          @Aphofis

                          Du hast ja ein tolles Projekt 🐡 …. Hut ab 👍

                          Das A und O ist , regelmäßig Backup´s machen !

                          Aphofis 1 Reply Last reply Reply Quote 0
                          • Aphofis
                            Aphofis @Glasfaser last edited by

                            @Glasfaser
                            Vielen Dank für die Blumen!
                            Backups wird jede Woche erstellt und die letzten 5 werden aufbewahrt.
                            War auch das ganze Jahr Arbeit. Fehlt nur noch VIS!
                            Ich dneke mal mitte 2020 bin ich damit fertig und auch mit dem Fine Tuning an Technik und Steuerungen.
                            Mir wird auch sehr tatkräftig hier im Forum geholfen !

                            Glasfaser 1 Reply Last reply Reply Quote 1
                            • Glasfaser
                              Glasfaser @Aphofis last edited by Glasfaser

                              @Aphofis sagte in sql Adapter Fehler:

                              @Glasfaser
                              Mir wird auch sehr tatkräftig hier im Forum geholfen !

                              Dafür ist ein Forum da ….
                              und bei deinen Projekten und Selbstbauten mitzulesen ist sehr Interessant 👍

                              Aphofis 1 Reply Last reply Reply Quote 0
                              • Aphofis
                                Aphofis @Glasfaser last edited by

                                @Glasfaser sagte in sql Adapter Fehler:

                                @Aphofis sagte in sql Adapter Fehler:

                                @Glasfaser
                                Mir wird auch sehr tatkräftig hier im Forum geholfen !

                                Dafür ist ein Forum da ….
                                und bei deinem Projekten und Selbstbauten mitzulesen ist sehr Interessant 👍

                                👍 👍 👍

                                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

                                754
                                Online

                                31.7k
                                Users

                                79.9k
                                Topics

                                1.3m
                                Posts

                                fehler nodejs 10 sql update
                                3
                                14
                                868
                                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