Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  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.1k

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

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

Fehler bei SQL-Adapter

Scheduled Pinned Locked Moved Solved Error/Bug
sql
40 Posts 8 Posters 2.7k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Andre 0A Offline
    Andre 0A Offline
    Andre 0
    wrote on last edited by Andre 0
    #3
    pi@raspberrypi:~ $ node -v
    v10.17.0
    pi@raspberrypi:~ $ nodejs -v
    v10.17.0
    
    1 Reply Last reply
    0
    • apollon77A Online
      apollon77A Online
      apollon77
      wrote on last edited by
      #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 Reply Last reply
      0
      • H Offline
        H Offline
        heli
        wrote on last edited by
        #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 Replies Last reply
        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 Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by
            #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 Reply Last reply
            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 Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #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 Reply Last reply
              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
                wrote on last edited by
                #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 Reply Last reply
                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 Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #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 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    heli
                    wrote on last edited by Negalein
                    #11
                    pi@raspi4:~ $ npm -v
                    6.13.4
                    pi@raspi4:~ $
                    
                    1 Reply Last reply
                    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
                      wrote on last edited by
                      #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 Reply Last reply
                      0
                      • apollon77A apollon77

                        @heli ist das log vollständig??

                        H Offline
                        H Offline
                        heli
                        wrote on last edited by
                        #13

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

                        apollon77A 1 Reply Last reply
                        0
                        • H Offline
                          H Offline
                          heli
                          wrote on last edited by
                          #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 Reply Last reply
                          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
                            wrote on last edited by 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 Reply Last reply
                            0
                            • apollon77A apollon77

                              @heli attache es doch als file 😉

                              H Offline
                              H Offline
                              heli
                              wrote on last edited by
                              #16

                              @apollon77 Log.txt

                              Ich war gerade dabei es zu erstellen. 😉

                              H 1 Reply Last reply
                              0
                              • H heli

                                @apollon77 Log.txt

                                Ich war gerade dabei es zu erstellen. 😉

                                H Offline
                                H Offline
                                heli
                                wrote on last edited by
                                #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 Reply Last reply
                                0
                                • H Offline
                                  H Offline
                                  heli
                                  wrote on last edited by 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 Reply Last reply
                                  0
                                  • apollon77A Online
                                    apollon77A Online
                                    apollon77
                                    wrote on last edited by
                                    #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 Reply Last reply
                                    0
                                    • H Offline
                                      H Offline
                                      heli
                                      wrote on last edited by
                                      #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 Reply Last reply
                                      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
                                        wrote on last edited by
                                        #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 Reply Last reply
                                        0
                                        • H Offline
                                          H Offline
                                          heli
                                          wrote on last edited by
                                          #22

                                          Log.txt

                                          erledigt.

                                          apollon77A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          590

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe