Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. History überarbeitet

    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

    History überarbeitet

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

      @starfish:

      jetzt habe ich alles installiert. iobroker neu gestartet.

      wenn ich jetzt rickshaw oder flot installieren will, bricht die Installation ab , web >= 1.2.2 required. Aber es ist web 1.3.0 installiert. Versucht: web gelöscht und neu installiert, web adapter neu gestartet, iobroker neu gestartet, rechner neugestartet > keine Änderung. `
      Ich habe vergessen noch:

      iobroker upload web
      iobroker upload rickshaw
      iobroker upload flot
      iobroker upload sql
      

      Habe jetzt ersten Post erweitert.

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

        SQL-Adapter läßt sich nicht installieren:

        ` > sudo npm install https://github.com/ioBroker/ioBroker.sql/tarball/master

        npm WARN package.json daemonize2@0.4.2 No repository field.

        npm WARN package.json eyes@0.1.8 No repository field.

        npm WARN package.json object-component@0.0.3 No repository field.

        npm WARN package.json parsejson@0.0.1 No repository field.

        npm WARN package.json parsejson@0.0.1 No README data

        npm WARN package.json parseqs@0.0.2 No repository field.

        npm WARN package.json parseqs@0.0.2 No README data

        npm WARN package.json parseuri@0.0.2 No repository field.

        npm WARN package.json parseuri@0.0.2 No README data

        npm WARN package.json wcwidth@1.0.0 No repository field.

        npm WARN package.json callsite@1.0.0 No repository field.

        npm WARN package.json has-binary@0.1.6 No repository field.

        npm WARN package.json has-binary-data@0.1.3 No repository field.

        npm WARN package.json indexof@0.0.1 No repository field.

        npm WARN package.json pause@0.0.1 No repository field.

        npm WARN package.json string_decoder@0.10.31 string_decoder is also the name of a node core module.

        npm http GET https://github.com/ioBroker/ioBroker.sql/tarball/master

        npm http 200 https://github.com/ioBroker/ioBroker.sql/tarball/master

        npm http GET https://registry.npmjs.org/sqlite3

        npm http GET https://registry.npmjs.org/mssql

        npm http GET https://registry.npmjs.org/sql-client/0.7.0

        npm http GET https://registry.npmjs.org/mysql

        npm http GET https://registry.npmjs.org/pg

        npm http 304 https://registry.npmjs.org/sqlite3

        npm http 304 https://registry.npmjs.org/pg

        npm http 304 https://registry.npmjs.org/mysql

        npm http 304 https://registry.npmjs.org/sql-client/0.7.0

        npm http 304 https://registry.npmjs.org/mssql

        npm http GET https://registry.npmjs.org/optimist

        npm http GET https://registry.npmjs.org/argf

        npm http GET https://registry.npmjs.org/inote-util

        npm http 304 https://registry.npmjs.org/optimist

        npm http 304 https://registry.npmjs.org/argf

        npm http 304 https://registry.npmjs.org/inote-util

        npm http GET https://registry.npmjs.org/tedious

        npm http GET https://registry.npmjs.org/generic-pool

        npm http GET https://registry.npmjs.org/promise

        npm http 304 https://registry.npmjs.org/generic-pool

        npm http 304 https://registry.npmjs.org/promise

        npm http 304 https://registry.npmjs.org/tedious

        npm http GET https://registry.npmjs.org/bignumber.js/2.0.7

        npm http GET https://registry.npmjs.org/readable-stream

        npm http 304 https://registry.npmjs.org/bignumber.js/2.0.7

        npm http 304 https://registry.npmjs.org/readable-stream

        npm http GET https://registry.npmjs.org/wordwrap

        npm http 304 https://registry.npmjs.org/wordwrap

        npm http GET https://registry.npmjs.org/seedrandom

        npm http GET https://registry.npmjs.org/nconf

        npm http GET https://registry.npmjs.org/remove

        npm http 304 https://registry.npmjs.org/seedrandom

        npm http 304 https://registry.npmjs.org/nconf

        npm http 304 https://registry.npmjs.org/remove

        npm http GET https://registry.npmjs.org/seq

        npm http GET https://registry.npmjs.org/buffer-writer/1.0.0

        npm http GET https://registry.npmjs.org/generic-pool/2.1.1

        npm http GET https://registry.npmjs.org/packet-reader/0.2.0

        npm http GET https://registry.npmjs.org/pg-connection-string/0.1.3

        npm http GET https://registry.npmjs.org/pg-types

        npm http GET https://registry.npmjs.org/pgpass/0.0.3

        npm http 304 https://registry.npmjs.org/seq

        npm http 304 https://registry.npmjs.org/packet-reader/0.2.0

        npm http 304 https://registry.npmjs.org/pg-types

        npm http 304 https://registry.npmjs.org/pg-connection-string/0.1.3

        npm http 304 https://registry.npmjs.org/pgpass/0.0.3

        npm http GET https://registry.npmjs.org/chainsaw

        npm http GET https://registry.npmjs.org/hashish

        npm http 304 https://registry.npmjs.org/generic-pool/2.1.1

        npm http 304 https://registry.npmjs.org/buffer-writer/1.0.0

        npm http 304 https://registry.npmjs.org/hashish

        npm http 304 https://registry.npmjs.org/chainsaw

        npm http GET https://registry.npmjs.org/traverse

        npm http GET https://registry.npmjs.org/traverse

        npm http 304 https://registry.npmjs.org/traverse

        npm http 304 https://registry.npmjs.org/traverse

        npm http GET https://registry.npmjs.org/babel-runtime

        npm http GET https://registry.npmjs.org/big-number/0.3.1

        npm http GET https://registry.npmjs.org/sprintf/0.1.5

        npm http GET https://registry.npmjs.org/ap

        npm http GET https://registry.npmjs.org/postgres-array

        npm http GET https://registry.npmjs.org/postgres-bytea

        npm http GET https://registry.npmjs.org/postgres-date

        npm http GET https://registry.npmjs.org/postgres-interval

        npm http 304 https://registry.npmjs.org/babel-runtime

        npm http GET https://registry.npmjs.org/split

        npm http 304 https://registry.npmjs.org/postgres-bytea

        npm http 304 https://registry.npmjs.org/ap

        npm http 304 https://registry.npmjs.org/sprintf/0.1.5

        npm http 304 https://registry.npmjs.org/postgres-array

        npm http 304 https://registry.npmjs.org/postgres-date

        npm http 304 https://registry.npmjs.org/postgres-interval

        npm http 304 https://registry.npmjs.org/split

        npm http 304 https://registry.npmjs.org/big-number/0.3.1

        npm http GET https://registry.npmjs.org/through

        npm http GET https://registry.npmjs.org/async

        npm http 304 https://registry.npmjs.org/through

        npm http GET https://registry.npmjs.org/yargs

        npm http 304 https://registry.npmjs.org/async

        npm http 304 https://registry.npmjs.org/yargs

        npm http GET https://registry.npmjs.org/cliui

        npm http 304 https://registry.npmjs.org/cliui

        npm http GET https://registry.npmjs.org/center-align

        npm http GET https://registry.npmjs.org/right-align

        npm http GET https://registry.npmjs.org/wordwrap/0.0.2

        npm http 304 https://registry.npmjs.org/wordwrap/0.0.2

        npm http 304 https://registry.npmjs.org/right-align

        npm http 304 https://registry.npmjs.org/center-align

        npm http GET https://registry.npmjs.org/align-text

        npm http GET https://registry.npmjs.org/align-text

        npm http GET https://registry.npmjs.org/lazy-cache

        npm http GET https://registry.npmjs.org/core-js

        npm http 304 https://registry.npmjs.org/lazy-cache

        npm http 304 https://registry.npmjs.org/align-text

        npm http 304 https://registry.npmjs.org/core-js

        npm http 304 https://registry.npmjs.org/align-text

        npm http GET https://registry.npmjs.org/kind-of

        npm http GET https://registry.npmjs.org/longest

        npm http GET https://registry.npmjs.org/repeat-string

        npm http 304 https://registry.npmjs.org/kind-of

        npm http 304 https://registry.npmjs.org/longest

        npm http 304 https://registry.npmjs.org/repeat-string

        npm http GET https://registry.npmjs.org/is-buffer

        npm http 304 https://registry.npmjs.org/is-buffer

        sqlite3@3.1.1 install /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3

        node-pre-gyp install –fallback-to-build

        node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws ... arm.tar.gz

        node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws ... arm.tar.gz

        node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws ... arm.tar.gz (falling back to source compile with node-gyp)

        make: Entering directory '/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/build'

        ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c

        TOUCH Release/obj.target/deps/action_before_build.stamp

        CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o

        AR(target) Release/obj.target/deps/sqlite3.a

        COPY Release/sqlite3.a

        CXX(target) Release/obj.target/node_sqlite3/src/database.o

        make: g++: Kommando nicht gefunden

        node_sqlite3.target.mk:103: recipe for target 'Release/obj.target/node_sqlite3/src/database.o' failed

        make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 127

        make: Leaving directory '/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/build'

        gyp ERR! build error

        gyp ERR! stack Error: make failed with exit code: 2

        gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:270:23)

        gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)

        gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)

        gyp ERR! System Linux 4.1.7-v7+

        gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "build" "–fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v11-linux-arm"

        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3

        gyp ERR! node -v v0.10.22

        gyp ERR! node-gyp -v v3.0.3

        gyp ERR! not ok

        node-pre-gyp ERR! build error

        node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /opt/iobroker/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v11-linux-arm' (1)

        node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)

        node-pre-gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)

        node-pre-gyp ERR! stack at maybeClose (child_process.js:735:16)

        node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:802:5)

        node-pre-gyp ERR! System Linux 4.1.7-v7+

        node-pre-gyp ERR! command "node" "/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"

        node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3

        node-pre-gyp ERR! node -v v0.10.22

        node-pre-gyp ERR! node-pre-gyp -v v0.6.14

        node-pre-gyp ERR! not ok

        Failed to execute '/usr/local/bin/node /opt/iobroker/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v11-linux-arm' (1)

        npm WARN optional dep failed, continuing sqlite3@3.1.1

        iobroker.sql@0.0.1 node_modules/iobroker.sql

        ├── mysql@2.9.0 (readable-stream@1.1.13, bignumber.js@2.0.7)

        ├── pg@4.4.3 (packet-reader@0.2.0, pg-connection-string@0.1.3, buffer-writer@1.0.0, generic-pool@2.1.1, pg-types@1.10.0, pgpass@0.0.3)

        ├── sql-client@0.7.0 (argf@0.0.1, optimist@0.6.1, inote-util@0.8.1)

        └── mssql@2.3.2 (generic-pool@2.2.1, promise@7.0.4, tedious@1.13.1)</anonymous> `

        1 Reply Last reply Reply Quote 0
        • A
          akamia last edited by

          Mit Windows funktioniert es mit SQLite und Flot. Auf dem Cubietruck kann ich keine DB in History auswählen. Bin noch am Testen.

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

            Wenn es denn läuft, wie werden dann die bestehenden History Einträge übernommen?

            1 Reply Last reply Reply Quote 0
            • A
              akamia last edited by

              admin-0	2015-11-30 21:52:24	info	sendTo "getHistory" to system.adapter.history.0 from system.adapter.admin.0: {"id":"system.host.cubietruck.memHeapUsed","options":1448830342}
              host-cubietruck	2015-11-30 21:44:37	warn	warning: Following packages cannot be read: example
              host-cubietruck	2015-11-30 21:44:28	info	Update repository "default" under "conf/sources-dist.json"
              admin-0	2015-11-30 21:41:56	info	sendTo "getHistory" to system.adapter.history.0 from system.adapter.admin.0: {"id":"system.adapter.admin.0.memHeapUsed","options":1448829715}
              admin-0	2015-11-30 21:41:20	info	Repository received successfully.
              host-cubietruck	2015-11-30 21:41:20	warn	warning: Following packages cannot be read: example
              sql-0	2015-11-30 21:41:04	info	Connected to sqlite
              sql-0	2015-11-30 21:41:04	info	starting. Version 0.0.1 in /opt/iobroker/node_modules/iobroker.sql
              history-0	2015-11-30 21:41:03	info	starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.history
              
              

              Auf dem Cubietruck fehlt unter Objekte / History "Einstellung for sql.0". Bei Windows ist alles Okay.

              1 Reply Last reply Reply Quote 0
              • A
                akamia last edited by

                Ob die History-Einträge übernommen werden kann ich Dir leider nicht beantworten, da ich es bisher nicht genutzt habe. Ich vermute mal nein. Wie sollen die aus einem Text- in ein Datenfile kommen? Bisher habe ich aus Github nicht lesen können, dass Bluefox das implementiert hat.

                Sorry, ich kann das so leicht schreiben, da noch kein System produktiv ist. Werde Weihnachten 2015 umsteigen.

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

                  Upgrade Pi:

                  Update /etc/apt/sources.list to have jessie wherever you've currently got wheezy

                  sudo apt-get update

                  sudo apt-get dist-upgrade

                  sudo rpi-update

                  reboot

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

                    Update Node und npm

                    Achtung npm auf 3.3.7

                    1 Reply Last reply Reply Quote 0
                    • S
                      starfish last edited by

                      @Bluefox:

                      Ich habe vergessen noch:

                      Code: Alles auswählen

                      iobroker upload web

                      iobroker upload rickshaw

                      iobroker upload flot

                      iobroker upload sql `

                      auf meinem Bananapi läuft jetzt alles,

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

                        Hallo,

                        Muss ch den History Adapter löschen?

                        Wie stelle ich Datenpunkte von History auf Sql um?

                        Wie löscht man Punkte aus History?

                        1 Reply Last reply Reply Quote 0
                        • S
                          starfish last edited by

                          Frage zu mysql.

                          ich versuche gerade auf meine mysql-datenbank auf einem anderen Rechner im Netzwerk zu verbinden. Da bekomm ich die Fehlermeldung:

                          Error: getaddrinfo ENOTFOUND . die bind-adresse in my.cnf ist auf 0.0.0.0, also sollten Verbindungen aus dem Netzwerk angenommen werden. Firewalls gibts keine. Das muss ich noch genauer anschauen, aber wie lautet der Datenbankname? 291_mysql.png

                          Nachtrag: habe mysql lokal installiert, bei "Verbindung testen" kommt dieselbe Fehlermeldung " Error: getaddrinfo ENOTFOUND "

                          (host = localhost)

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

                            Hallo,

                            Ein netter Nebeneffekt vom Umstieg auf Jessie und den neuen History-Adapter ist die Auslastung des Pi

                            609_image.png

                            Ab 4:00 läuft das neue System. Die Last hat sich locker halbiert.

                            1 Reply Last reply Reply Quote 0
                            • S
                              starfish last edited by

                              @Thisoft:

                              Super, Bluefox! 😄

                              Darauf habe ich schon lange gewartet. Habe allerdings das gleiche Problem wie starfish.

                              Aber ich denke, ich werde nicht extra ein zweites System aufsetzen. Ich werden von meinem Produktivsystem ein Backup machen und dann teste ich.. `
                              nach 2 Tagen Test werde ich sql und die neuen charts nun auch ins Produktiv-System einbauen. Die Adapter sind für mich bereits jetzt ganz gut brauchbar, auch wenn mysql hier noch nicht läuft - mit sqlite gehts ja auch.

                              Bei flot wäre panning / zoom noch ganz nützlich (ähnlich http://www.flotcharts.org/flot/examples … index.html)

                              Super! Vielen Dank.

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

                                Ich habe das neue History drauf.

                                Alles Wichtige läuft auch wieder. Nur der Terminal- und der NodeRed-Adapter zicken und wollen nicht starten. Hab sie erstmal deaktiviert - sind nicht so wichtig. Die Verbindung zur SQLite-Db klappt auch testweise. Alles Andere schau ich mir morgen mal an…

                                1 Reply Last reply Reply Quote 0
                                • S
                                  starfish last edited by

                                  grad eben festgestellt: beim neuen flot kann ich die Legende nicht einblenden

                                  Nachtrag 4.12.: hat sich erledigt, Namen werden nicht automatisch eingesetzt. Wenn man bei Input data Namen definiert, wird auch die Legende eingeblendet.

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

                                    jetzt muss ich aber auch mal ganz dumm fragen: Wo kann ich denn jetzt konfigurieren welche Datenpunkte wie, wo, wann geloggt werden?

                                    hat sich erledigt. Nach einem Neustart sind die Einstellungen jetzt da (hatte aber vorher bereits mehrere Neustarts gemacht…??)

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

                                      Hab jetzt auch mein produktives System (natürlich nach Backup 😉 ) umgestellt.

                                      Läuft jetzt seit 4 Stunden problemlos. Die Last auf dem Cubietruck ist um einiges gesunken.

                                      Mal sehen, wie es die nächsten Tage läuft.

                                      Gruß,

                                      Eric

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

                                        Hallo,

                                        folgende Fehlermeldungen liefert der SQL-Lite Adapter:

                                        ` > sql-0 2015-12-04 18:25:12 error Cannot delete DELETE FROM ts_number WHERE id=179 AND ts < 1417713900;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 17:08:28 error Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(146, 1449245306000, 48, 1, 1, 0);: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 16:47:37 error Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(134, 1449244055000, 697, 1, 1, 0);: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 16:26:37 error Cannot delete DELETE FROM ts_number WHERE id=175 AND ts < 1417706760;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 16:16:19 error Cannot delete DELETE FROM ts_number WHERE id=177 AND ts < 1417706161;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 14:42:09 error Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(134, 1449236526000, 599, 1, 1, 0);: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 14:19:07 error Cannot insert INSERT INTO ts_string (id, ts, val, ack, _from, q) VALUES(223, 1449235146000, , 1, 6, 0);: Error: SQLITE_ERROR: near ',': syntax error

                                        sql-0 2015-12-04 13:34:07 error Cannot delete DELETE FROM ts_string WHERE id=222 AND ts < 1417696440;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 12:33:35 error Cannot insert INSERT INTO ts_string (id, ts, val, ack, _from, q) VALUES(224, 1449228814000, ### ? ###, 1, 6, 0);: Error: SQLITE_ERROR: unrecognized token: '#'

                                        sql-0 2015-12-04 12:33:26 error Cannot insert INSERT INTO ts_string (id, ts, val, ack, _from, q) VALUES(223, 1449228805000, , 1, 6, 0);: Error: SQLITE_ERROR: near ',': syntax error

                                        sql-0 2015-12-04 12:32:56 error Cannot insert INSERT INTO ts_string (id, ts, val, ack, _from, q) VALUES(223, 1449228775000, ### ? ###, 1, 6, 0);: Error: SQLITE_ERROR: unrecognized token: '#'

                                        sql-0 2015-12-04 11:54:15 error Cannot delete DELETE FROM ts_number WHERE id=167 AND ts < 1417690440;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 11:53:17 error Cannot delete DELETE FROM ts_number WHERE id=119 AND ts < 1417690381;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 11:53:16 error Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(122, 1449226395000, 0, 1, 1, 0);: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 11:53:16 error Cannot delete DELETE FROM ts_number WHERE id=117 AND ts < 1417690381;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 11:53:15 error Cannot delete DELETE FROM ts_number WHERE id=150 AND ts < 1417690381;: Error: SQLITE_BUSY: database is locked

                                        sql-0 2015-12-04 11:52:58 error Cannot delete DELETE FROM ts_bool WHERE id=220 AND ts < 1417690321;: Error: SQLITE_BUSY: database is locked `

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

                                          Bei mir kommen "nur" Meldungen, das die DB locked ist:

                                          sql.0 Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(18, 1449252034000, 9.2, 1, 2, 0);: Error: SQLITE_BUSY: database is locked
                                          sql.0	2015-12-04 19:00:35	error	sql.0 Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(32, 1449252021000, 15.3867, 1, 4, 0);: Error: SQLITE_BUSY: database is locked
                                          

                                          Das sind auch derzeit die einzigen Meldungen vom sql.

                                          Gruß,

                                          Eric

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

                                            sql-0 2015-12-04 23:09:57 error Error: SQLITE_BUSY: database is locked

                                            Taucht auch noch auf, deutet auf einen Fehler in der Programmierung.

                                            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

                                            611
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            149
                                            36640
                                            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