Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. SQL History Adapter (SQLite) kann Werte gelegentlich nicht speichern

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SQL History Adapter (SQLite) kann Werte gelegentlich nicht speichern

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

      Hallo,

      ich habe gestern mal den Umstieg auf die DB basierte Ablage mittels SQLite gewagt. Funktioniert soweit grundsätzlich, allerdings haben die Werdegänge Lücken. Ein Blick ins Log zeigt ein paar von denen:

      sql.0 2016-01-02 08:58:28 error sql.0 Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(4, 1451721498000, 91, 1, 2, 0);: Error: SQLITE_BUSY: database is locked

      sql.0 2016-01-02 08:58:16 error sql.0 Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(7, 1451721486000, 20, 1, 2, 0);: Error: SQLITE_BUSY: database is locked

      sql-0 2016-01-02 08:38:08 error Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(7, 1451720277000, 20, 1, 2, 0);: Error: SQLITE_BUSY: database is locked

      Platform: Mac OS X (10.11)

      history: 0.2.1

      history SQL: 0.1.2

      Bug?

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

        Ja, das ist ein bekanntes Problem.

        Schau mal in diesem Thread http://forum.iobroker.net/viewtopic.php?f=23&t=1776

        1 Reply Last reply Reply Quote 0
        • L
          lexaikon last edited by

          @Thisoft:

          Ja, das ist ein bekanntes Problem.

          Schau mal in diesem Thread http://forum.iobroker.net/viewtopic.php?f=23&t=1776 `

          :mrgreen: ups, den Thread kannte ich, aber über Seite 1/7 hab ich wohl nicht hinausgelesen 😉

          Dann sitze ich das mal aus - oder kann ich irgendwie beim fixen helfen? JS ist leider nicht so mein Steckenpferd :?

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

            Naja, so wie ich das sehe haben wohl die meisten von uns inzwischen auf MySQL oder MS-SQL gewechselt. Dort tritt der Fehler nicht auf.

            Mit dem Fixing für SQLite wird sich's wohl vorerst etwas hinziehen da Bluefox momentan im Urlaub ist..

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

              Bin auch auf mySQL umgestiegen und hab seitdem auch keine Auffälligkeiten mehr.

              mySQL läuft bei mir auch dem Cubietruck zusammen mit ioBoker ohne Probleme.

              Gruß,

              Eric

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

                kann ich nur bestätigen - MySQL und keine Brösel….

                Grüße

                etv

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                958
                Online

                31.8k
                Users

                80.0k
                Topics

                1.3m
                Posts

                4
                6
                1055
                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