TinyMatic Sync-Fehler ( Datenbankfehler )
Verfasst: 09.07.2021, 17:28
Hallo zusammen,
wenn ich TinyMatic neu installiere bekommen ich bei der Synchronisation folgende Fehlermeldung:
android.database.sqlite.SQLiteException: table datapoints has no column named value_unit ( code 1 SQLITE_ERROR[1]):, while compiling INSERT OR REPLACE INTO datapoints (_id, name, point_type, channel_id, value, value_type, value_unit, operations, timestamp) VALUES (?,?,?,?,?,?,?,?,?,)
TinyMatic läuft schon seit 1 1/2 Jahren ohne Probleme auf meinem Handy. Die Fehlermeldung bekmme ich, wenn ich TinyMatic auf weiteren Geräten ( Handy/Tablet ) installieren möchte.
Wenn ich mir die Tabelle datapoints in der TinyMatic DB von der funktionierenden Installation anschaue, dann sind alle Felder aus dem INSERT OR RTEPLACE statement vorhanden:
CREATE TABLE "datapoints" (
"_id" integer,
"name" text NOT NULL,
"point_type" text NOT NULL,
"channel_id" int NOT NULL,
"value" text NOT NULL,
"value_type" int NOT NULL,
"timestamp" text NOT NULL,
"operations" integer,
"value_unit" text,
PRIMARY KEY("_id")
);
hingegend fehlen in der datapoints Tabelle von einer Neuinstallation (2.17.1) die Felder operations und value_unit.
CREATE TABLE "datapoints" (
"_id" integer,
"name" text NOT NULL,
"point_type" text NOT NULL,
"channel_id" int NOT NULL,
"value" text NOT NULL,
"value_type" int NOT NULL,
"timestamp" text NOT NULL,
PRIMARY KEY("_id")
);
Das erklärt dann auch die Fehlermeldung.
Das bedeutet aber auch, dass im Augenblick alle Neuinstallatione von TinyMatic fehlschlagen müssten
Hat jemand von Euch schon die gleiche Erfahrung gemacht, oder kann jemand den Fehler reproduzieren ?
Mein System:
Raspberrymatic
Firmware: 3.59.6.20210703
CUx-Daemon: 2.6
XML-API: 1.2.1
NEO Server: 2.7.0
wenn ich TinyMatic neu installiere bekommen ich bei der Synchronisation folgende Fehlermeldung:
android.database.sqlite.SQLiteException: table datapoints has no column named value_unit ( code 1 SQLITE_ERROR[1]):, while compiling INSERT OR REPLACE INTO datapoints (_id, name, point_type, channel_id, value, value_type, value_unit, operations, timestamp) VALUES (?,?,?,?,?,?,?,?,?,)
TinyMatic läuft schon seit 1 1/2 Jahren ohne Probleme auf meinem Handy. Die Fehlermeldung bekmme ich, wenn ich TinyMatic auf weiteren Geräten ( Handy/Tablet ) installieren möchte.
Wenn ich mir die Tabelle datapoints in der TinyMatic DB von der funktionierenden Installation anschaue, dann sind alle Felder aus dem INSERT OR RTEPLACE statement vorhanden:
CREATE TABLE "datapoints" (
"_id" integer,
"name" text NOT NULL,
"point_type" text NOT NULL,
"channel_id" int NOT NULL,
"value" text NOT NULL,
"value_type" int NOT NULL,
"timestamp" text NOT NULL,
"operations" integer,
"value_unit" text,
PRIMARY KEY("_id")
);
hingegend fehlen in der datapoints Tabelle von einer Neuinstallation (2.17.1) die Felder operations und value_unit.
CREATE TABLE "datapoints" (
"_id" integer,
"name" text NOT NULL,
"point_type" text NOT NULL,
"channel_id" int NOT NULL,
"value" text NOT NULL,
"value_type" int NOT NULL,
"timestamp" text NOT NULL,
PRIMARY KEY("_id")
);
Das erklärt dann auch die Fehlermeldung.
Das bedeutet aber auch, dass im Augenblick alle Neuinstallatione von TinyMatic fehlschlagen müssten
Hat jemand von Euch schon die gleiche Erfahrung gemacht, oder kann jemand den Fehler reproduzieren ?
Mein System:
Raspberrymatic
Firmware: 3.59.6.20210703
CUx-Daemon: 2.6
XML-API: 1.2.1
NEO Server: 2.7.0