nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
725 stars 1.76k forks source link

Dev-C cleaning database bug #2142

Closed robertrub closed 1 year ago

robertrub commented 2 years ago

@MilosKozak More info on the clean db "reseting" db update to NS.

I have NS and Mongodb on my NAS in containers. All is working OK.

I pause NS update in AAPS. Set to zero the database on the NAS. Clean db to 3 months in AAPS. This sets the NS upload cue to over 55000 Unpause NS update and AAPS starts to send the 55+ k data. Once all the data is uploaded, I go to my NS web page and try reports. I only have 1 days data. Theoretically, there should be 3 months data.

It is as if the data was not uploaded or was uploaded not as NS expects.

Screenshot_20221023_143531.jpg

robertrub commented 2 years ago

Screenshot_20221026_085034.jpg

Screenshot_20221026_085110.jpg

MilosKozak commented 1 year ago

can you verify ns db via https://..../api/v1/treatments.json ?

robertrub commented 1 year ago

I must be doing something wrong as I get this message Screenshot_20221204_181131_DuckDuckGo

MilosKozak commented 1 year ago

can you open NS and see data on this computer?