Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Fehler bei SQL-Adapter

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

Fehler bei SQL-Adapter

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
sql
40 Beiträge 8 Kommentatoren 2.7k Aufrufe 7 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • apollon77A Online
    apollon77A Online
    apollon77
    schrieb am zuletzt editiert von
    #4

    Bitte vollständiges log Posten. „Und so weiter“ ist hier leider genau nicht hilfreich.

    Scheinbar wird SQLite nicht sauber installiert. Und ja, wenn das so ist dann versucht npm das danach bei jeder weiteren Installation von etwas anderem immer zu korrigieren weil npm immer den „gesamten Abhängigkeitsbaum“ anschaut und fixen will.

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    1 Antwort Letzte Antwort
    0
    • H Offline
      H Offline
      heli
      schrieb am zuletzt editiert von
      #5

      Hallo zusammen,
      ich hänge mich hier mal dran da mich das gleich Problem plagt. Frische Buster Installation auf einem neuen Raspi 4, aber jede Adapter-Installation oder Update dauert ewig lange und führt, am Beispiel der Telegram-Aktualisierung zu folgenden Log-Einträgen, hier nur ein kurzer Auszug da der Post sonst zu lang und daher nicht veröffentlicht wird.

      ⁃	2019-12-13 18:17:48.244 - info: host.raspi4 iobroker NPM version: 6.13.2npm install iobroker.telegram@1.4.6 --loglevel error --prefix "/opt/iobroker" (System call)
      	⁃	2019-12-13 18:18:22.703 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘strftimeFunc’:Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:22212:52: note: in expansion of macro ‘SQLITE_DYNAMIC’ z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:22.864 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
      	⁃	2019-12-13 18:18:22.870 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:30555:54: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:25.255 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
      	⁃	2019-12-13 18:18:25.266 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:75784:15: note: in expansion of macro ‘SQLITE_DYNAMIC’ if( xDel==SQLITE_DYNAMIC ){ ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:25.309 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘valueFromExpr’:
      	⁃	2019-12-13 18:18:25.320 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76190:55: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:25.361 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76238:29: note: in expansion of macro ‘SQLITE_DYNAMIC’ 0, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:27.819 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeExec’:
      	⁃	2019-12-13 18:18:27.826 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:91559:38: warning: cast between incompatible function types from ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type] void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace; ^
      	⁃	2019-12-13 18:18:33.279 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘printfFunc’:
      	⁃	2019-12-13 18:18:33.297 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:114219:25: note: in expansion of macro ‘SQLITE_DYNAMIC’ SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:36.362 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘generateColumnNames’:
      	⁃	2019-12-13 18:18:36.383 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127513:58: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:36.403 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127520:52: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
      	⁃	2019-12-13 18:18:45.955 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
      	⁃	2019-12-13 18:18:45.967 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157821:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int, sqlite3_file *)’ {aka ‘int (*)(void *, int, struct sqlite3_file *)’} [-Wcast-function-type] xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler; ^
      	⁃	2019-12-13 18:18:45.969 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_busy_timeout’:
      	⁃	2019-12-13 18:18:45.980 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157899:30: warning: cast between incompatible function types from ‘int (*)(void *, int, sqlite3_file *)’ {aka ‘int (*)(void *, int, struct sqlite3_file *)’} to ‘int (*)(void *, int)’ [-Wcast-function-type] sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback, ^
      
      

      Ausgabe von node -v und nodejs -v ergibt in beiden Fällen:

      pi@raspi4:~ $ node -v
      v10.15.2
      pi@raspi4:~ $ nodejs -v
      v10.15.2
      

      Hat zufällig jemand einen Tip oder eine Idee was ich unternehmen muss um den neuen Raspi von einer sauberen Arbeitsweise zu überzeugen? ;-)

      Viele Grüße
      Norbert

      HomoranH apollon77A 2 Antworten Letzte Antwort
      0
      • H heli

        Hallo zusammen,
        ich hänge mich hier mal dran da mich das gleich Problem plagt. Frische Buster Installation auf einem neuen Raspi 4, aber jede Adapter-Installation oder Update dauert ewig lange und führt, am Beispiel der Telegram-Aktualisierung zu folgenden Log-Einträgen, hier nur ein kurzer Auszug da der Post sonst zu lang und daher nicht veröffentlicht wird.

        ⁃	2019-12-13 18:17:48.244 - info: host.raspi4 iobroker NPM version: 6.13.2npm install iobroker.telegram@1.4.6 --loglevel error --prefix "/opt/iobroker" (System call)
        	⁃	2019-12-13 18:18:22.703 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘strftimeFunc’:Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:22212:52: note: in expansion of macro ‘SQLITE_DYNAMIC’ z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:22.864 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
        	⁃	2019-12-13 18:18:22.870 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:30555:54: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:25.255 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
        	⁃	2019-12-13 18:18:25.266 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:75784:15: note: in expansion of macro ‘SQLITE_DYNAMIC’ if( xDel==SQLITE_DYNAMIC ){ ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:25.309 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘valueFromExpr’:
        	⁃	2019-12-13 18:18:25.320 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76190:55: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:25.361 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76238:29: note: in expansion of macro ‘SQLITE_DYNAMIC’ 0, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:27.819 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeExec’:
        	⁃	2019-12-13 18:18:27.826 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:91559:38: warning: cast between incompatible function types from ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type] void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace; ^
        	⁃	2019-12-13 18:18:33.279 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘printfFunc’:
        	⁃	2019-12-13 18:18:33.297 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:114219:25: note: in expansion of macro ‘SQLITE_DYNAMIC’ SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:36.362 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘generateColumnNames’:
        	⁃	2019-12-13 18:18:36.383 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127513:58: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:36.403 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127520:52: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
        	⁃	2019-12-13 18:18:45.955 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
        	⁃	2019-12-13 18:18:45.967 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157821:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int, sqlite3_file *)’ {aka ‘int (*)(void *, int, struct sqlite3_file *)’} [-Wcast-function-type] xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler; ^
        	⁃	2019-12-13 18:18:45.969 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_busy_timeout’:
        	⁃	2019-12-13 18:18:45.980 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157899:30: warning: cast between incompatible function types from ‘int (*)(void *, int, sqlite3_file *)’ {aka ‘int (*)(void *, int, struct sqlite3_file *)’} to ‘int (*)(void *, int)’ [-Wcast-function-type] sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback, ^
        
        

        Ausgabe von node -v und nodejs -v ergibt in beiden Fällen:

        pi@raspi4:~ $ node -v
        v10.15.2
        pi@raspi4:~ $ nodejs -v
        v10.15.2
        

        Hat zufällig jemand einen Tip oder eine Idee was ich unternehmen muss um den neuen Raspi von einer sauberen Arbeitsweise zu überzeugen? ;-)

        Viele Grüße
        Norbert

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #6

        @heli sagte in Fehler bei SQL-Adapter:

        pi@raspi4:~ $ node -v v10.15.2

        Wie kommst du an diese Version?
        https://github.com/nodejs/help/issues/1877

        Nach aktueller Installation müsstest du 10.17.0 haben.
        Die 10.15.2 deutet auf einen Fehler bei der node.js Installation

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        H 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @heli sagte in Fehler bei SQL-Adapter:

          pi@raspi4:~ $ node -v v10.15.2

          Wie kommst du an diese Version?
          https://github.com/nodejs/help/issues/1877

          Nach aktueller Installation müsstest du 10.17.0 haben.
          Die 10.15.2 deutet auf einen Fehler bei der node.js Installation

          H Offline
          H Offline
          heli
          schrieb am zuletzt editiert von
          #7

          @Homoran said in Fehler bei SQL-Adapter:

          10.17.0

          Hm, keine Ahnung wie ich an die gekommen bin. Aber ich habe jetzt mal auf 10.17.0 geschubst und bin gespannt wie sich das System jetzt bei den nächsten Aktualisierungen verhält und melde mich dann wieder.

          Danke schön!

          Norbert

          HomoranH 1 Antwort Letzte Antwort
          0
          • H heli

            @Homoran said in Fehler bei SQL-Adapter:

            10.17.0

            Hm, keine Ahnung wie ich an die gekommen bin. Aber ich habe jetzt mal auf 10.17.0 geschubst und bin gespannt wie sich das System jetzt bei den nächsten Aktualisierungen verhält und melde mich dann wieder.

            Danke schön!

            Norbert

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #8

            @heli sagte in Fehler bei SQL-Adapter:

            ich habe jetzt mal auf 10.17.0 geschubst

            Bist du sicher?
            nicht dass du jetzt zwei node.js Versionen parallel drauf hast

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            H 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @heli sagte in Fehler bei SQL-Adapter:

              ich habe jetzt mal auf 10.17.0 geschubst

              Bist du sicher?
              nicht dass du jetzt zwei node.js Versionen parallel drauf hast

              H Offline
              H Offline
              heli
              schrieb am zuletzt editiert von
              #9

              @Homoran

              pi@raspi4:/opt/iobroker $ node -v
              v10.17.0
              pi@raspi4:/opt/iobroker $ nodejs -v
              v10.17.0
              pi@raspi4:/opt/iobroker $ 
              

              Klingt doch gut, oder?

              HomoranH 1 Antwort Letzte Antwort
              0
              • H heli

                @Homoran

                pi@raspi4:/opt/iobroker $ node -v
                v10.17.0
                pi@raspi4:/opt/iobroker $ nodejs -v
                v10.17.0
                pi@raspi4:/opt/iobroker $ 
                

                Klingt doch gut, oder?

                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #10

                @heli ja, und npm -v?

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Antwort Letzte Antwort
                0
                • H Offline
                  H Offline
                  heli
                  schrieb am zuletzt editiert von Negalein
                  #11
                  pi@raspi4:~ $ npm -v
                  6.13.4
                  pi@raspi4:~ $
                  
                  1 Antwort Letzte Antwort
                  0
                  • H heli

                    Hallo zusammen,
                    ich hänge mich hier mal dran da mich das gleich Problem plagt. Frische Buster Installation auf einem neuen Raspi 4, aber jede Adapter-Installation oder Update dauert ewig lange und führt, am Beispiel der Telegram-Aktualisierung zu folgenden Log-Einträgen, hier nur ein kurzer Auszug da der Post sonst zu lang und daher nicht veröffentlicht wird.

                    ⁃	2019-12-13 18:17:48.244 - info: host.raspi4 iobroker NPM version: 6.13.2npm install iobroker.telegram@1.4.6 --loglevel error --prefix "/opt/iobroker" (System call)
                    	⁃	2019-12-13 18:18:22.703 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘strftimeFunc’:Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:22212:52: note: in expansion of macro ‘SQLITE_DYNAMIC’ z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:22.864 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
                    	⁃	2019-12-13 18:18:22.870 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:30555:54: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:25.255 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
                    	⁃	2019-12-13 18:18:25.266 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:75784:15: note: in expansion of macro ‘SQLITE_DYNAMIC’ if( xDel==SQLITE_DYNAMIC ){ ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:25.309 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘valueFromExpr’:
                    	⁃	2019-12-13 18:18:25.320 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76190:55: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:25.361 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76238:29: note: in expansion of macro ‘SQLITE_DYNAMIC’ 0, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:27.819 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeExec’:
                    	⁃	2019-12-13 18:18:27.826 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:91559:38: warning: cast between incompatible function types from ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type] void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace; ^
                    	⁃	2019-12-13 18:18:33.279 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘printfFunc’:
                    	⁃	2019-12-13 18:18:33.297 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:114219:25: note: in expansion of macro ‘SQLITE_DYNAMIC’ SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:36.362 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘generateColumnNames’:
                    	⁃	2019-12-13 18:18:36.383 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127513:58: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:36.403 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type] #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) ^Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127520:52: note: in expansion of macro ‘SQLITE_DYNAMIC’ sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC); ^~~~~~~~~~~~~~
                    	⁃	2019-12-13 18:18:45.955 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
                    	⁃	2019-12-13 18:18:45.967 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157821:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int, sqlite3_file *)’ {aka ‘int (*)(void *, int, struct sqlite3_file *)’} [-Wcast-function-type] xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler; ^
                    	⁃	2019-12-13 18:18:45.969 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_busy_timeout’:
                    	⁃	2019-12-13 18:18:45.980 - info: host.raspi4 iobroker Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157899:30: warning: cast between incompatible function types from ‘int (*)(void *, int, sqlite3_file *)’ {aka ‘int (*)(void *, int, struct sqlite3_file *)’} to ‘int (*)(void *, int)’ [-Wcast-function-type] sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback, ^
                    
                    

                    Ausgabe von node -v und nodejs -v ergibt in beiden Fällen:

                    pi@raspi4:~ $ node -v
                    v10.15.2
                    pi@raspi4:~ $ nodejs -v
                    v10.15.2
                    

                    Hat zufällig jemand einen Tip oder eine Idee was ich unternehmen muss um den neuen Raspi von einer sauberen Arbeitsweise zu überzeugen? ;-)

                    Viele Grüße
                    Norbert

                    apollon77A Online
                    apollon77A Online
                    apollon77
                    schrieb am zuletzt editiert von
                    #12

                    @heli ist das log vollständig??

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    H 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @heli ist das log vollständig??

                      H Offline
                      H Offline
                      heli
                      schrieb am zuletzt editiert von
                      #13

                      @apollon77 Nein, das vollständige Log passte hier nicht rein. Dann wurde die zulässige Postlänge überschritten.

                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • H Offline
                        H Offline
                        heli
                        schrieb am zuletzt editiert von
                        #14

                        Ich habe noch einmal versucht nur den relevanten Teil des Logs hier reinzuschreiben, aber ich überschreite damit immer die maximal zulässige Zeichenzahl eines Posts.....max. 10000 Zeichen möglich. Das reicht bei weitem nicht um das Log hier darzustellen.
                        Ich traue mich derzeit nicht den Admin-Adaptaper upzudaten. ;-)

                        1 Antwort Letzte Antwort
                        0
                        • H heli

                          @apollon77 Nein, das vollständige Log passte hier nicht rein. Dann wurde die zulässige Postlänge überschritten.

                          apollon77A Online
                          apollon77A Online
                          apollon77
                          schrieb am zuletzt editiert von apollon77
                          #15

                          @heli attache es doch als file ;-)

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          H 1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            @heli attache es doch als file ;-)

                            H Offline
                            H Offline
                            heli
                            schrieb am zuletzt editiert von
                            #16

                            @apollon77 Log.txt

                            Ich war gerade dabei es zu erstellen. ;-)

                            H 1 Antwort Letzte Antwort
                            0
                            • H heli

                              @apollon77 Log.txt

                              Ich war gerade dabei es zu erstellen. ;-)

                              H Offline
                              H Offline
                              heli
                              schrieb am zuletzt editiert von
                              #17

                              @heli said in Fehler bei SQL-Adapter:

                              @apollon77 Log.txt

                              Ich war gerade dabei es zu erstellen. ;-)

                              Hier ist jetzt nur der relevante Teil (Update des Telegram-Adapters) dargestellt. Das war allerdings noch vor dem node-Versionswechsel!

                              1 Antwort Letzte Antwort
                              0
                              • H Offline
                                H Offline
                                heli
                                schrieb am zuletzt editiert von heli
                                #18

                                Guten Morgen,
                                da heute wieder Updates anstanden (Backitup-Adapter) kann ich mitteilen dass das Problem leider noch nicht behoben ist. Auch nach dem node-Versionswechsel kommen immer noch die im oben angehängten Log zu sehenden Fehlermeldungen.
                                Gibt es noch Ideen oder Lösungsansätze?
                                Danke schön!

                                1 Antwort Letzte Antwort
                                0
                                • apollon77A Online
                                  apollon77A Online
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #19

                                  Naja irgendwie scheint SQLite bei dir nicht ordentlich gebaut zu werden und deswegen macht er es immer wieder.

                                  Schau mal in /opt/iobroker/node_modules/sqlite3 oder /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3 ( es sollte nur eins der beiden da sein)

                                  Und führe mal in dem Verzeichnis dann das Kommando „npm rebuild“ aus. Das volle log davon bitte posten.

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  1 Antwort Letzte Antwort
                                  0
                                  • H Offline
                                    H Offline
                                    heli
                                    schrieb am zuletzt editiert von
                                    #20

                                    @apollon77 said in Fehler bei SQL-Adapter:

                                    /opt/iobroker/node_modules/iobroker.sql/node_modules/s

                                    Ich glaube wir kommen der Sache näher: ich habe keines der beiden Verzeichnisse in meiner Installation.....

                                    apollon77A 1 Antwort Letzte Antwort
                                    0
                                    • H heli

                                      @apollon77 said in Fehler bei SQL-Adapter:

                                      /opt/iobroker/node_modules/iobroker.sql/node_modules/s

                                      Ich glaube wir kommen der Sache näher: ich habe keines der beiden Verzeichnisse in meiner Installation.....

                                      apollon77A Online
                                      apollon77A Online
                                      apollon77
                                      schrieb am zuletzt editiert von
                                      #21

                                      @heli ok dann anders. Geh in

                                      /opt/iobroker/node_modules m/iobroker.sql

                                      Und ruf da

                                      npm install

                                      Auf

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      1 Antwort Letzte Antwort
                                      0
                                      • H Offline
                                        H Offline
                                        heli
                                        schrieb am zuletzt editiert von
                                        #22

                                        Log.txt

                                        erledigt.

                                        apollon77A 1 Antwort Letzte Antwort
                                        0
                                        • H heli

                                          Log.txt

                                          erledigt.

                                          apollon77A Online
                                          apollon77A Online
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #23

                                          @heli ok sieht an sich alles korrekt aus. Schau mal ob der Effekt jetzt weg ist bei neuen installs oder Updates.

                                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          H 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          521

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe