julien-nc / phonetrack

Nextcloud app to create tracking sessions to display phones position in real time and export activity to gpx.
GNU Affero General Public License v3.0
47 stars 6 forks source link

Values are not written to db reliably #43

Open SimonBard opened 1 month ago

SimonBard commented 1 month ago

Setup: Nextcloud Hub 8 (29.0.0) Phonetrack 0.8.1

I have put the link https://cloud._censored_.de/index.php/apps/phonetrack/logGet/490efcfcb9bb71b16b2354140e77e618/atuvos?lat=52.05662640795417&lon=12.605221546462532&alt=0&acc=31.296594177017194&bat=1&sat=SAT&speed=SPD&bearing=DIR&timestamp=1714885939

in firefox and I can see that it reaches nextcloud, as I have this in the logs: 79.244.37.17 - - [05/May/2024:10:27:53 +0200] "GET /index.php/apps/phonetrack/logGet/490efcfcb9bb71b16b2354140e77e618/atuvos?lat=52.05662640795417&lon=12.605221546462532&alt=0&acc=31.296594177017194&bat=1&sat=SAT&speed=SPD&bearing=DIR&timestamp=1714885939 HTTP/1.1" 200 833 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0"

Timestamp 1714885939 is 05.05.2024 at 07:12:19.

But I cannot see the point in the app on nextcloud. So I had a look at the database and the value is not there. I have some entries from this device, but not from the last two days. Even if I invoke it manually in the browser, I get a success message, but its not in the database. Newest timestamp in the database is 1714640387, which is 02.05.2024 at 10:59:47

grafik grafik grafik