I use “InfluxDB 2.1.1 (git: 657e1839de) build_date: 2021-11-09T03:03:48Z” for Windows. I setup it in Jan 2022. Setup one bucket (never data override). I used python client to store and query data. Everything was ok. I did not touch it for 4 or 5 months, but today I found there is no data at all. My queries returns 0 records and so on. I open the Data explorer, but no data at all, no tags and so on My script still is writing data to the bucket without any errors. but I cannot see any data.
Questions:
Is there way to enable logging for Windows version (for Linux I understand how to od it, but in Windows I don’t see the config file)?
I tried ‘influx server-config -t “xxxx”’ and got ‘Error: failed to retrieve config: 404 Not Found: path not found’: Is it expected?
How I can determine what data is still in InfluxDB? It would be great to get examples and so on
Hello @gwg605,
Welcome!
I’m sorry to hear that.
Can you tell me a little bit more about your use case?
Can you successfully write any data to InfluxDB? Like with cURL?
What client library are you using?
Can you verify that it’s this one:
What do you mean by dump everything from bucket?
Query all of your data? You could use: |> range(start: 0) but if you have a lot of data you might experience a timeout.
PS what are you using Influx for? I love to hear about what users are doing with Influx but most people just like to get help and leave If you want to make my day, feel free to share
Hello @Anaisdg ,
Thanks for you help. Now I can see all data, but I don’t know what to do with it. All old data has the same timestamp: 1970-01-20 05:24:46 GMT :)))
Maybe influxdb store some internal timestamp when record added or something like this? otherwise I don’t see way how to restore original timestamps.
I use influxDB for storing telemetry of my smart house it is about 50 records per minute, not so big.
Hello @gwg605,
It looks like your timestamp was written incorrectly. I’d double check the precision of your timestamp. Note: InfluxDB often uses epoch 0 ( 1970-01-01T00:00:00Z ) as a null timestamp equivalent. When you get timestamps from 1970 that tells me that theres some small error in writing or formatting your timestamp correctly.