Waziup / WaziCloud

WAZIUP Cloud and local platform
31 stars 28 forks source link

Old data is displayed on dashboard #146

Closed cdupont closed 7 years ago

cdupont commented 7 years ago

The sensors displayed on the dashboard are old and have been deleted. It seems that mongoDB restarted and picked up an old DB file.

j-forster commented 7 years ago

The broker is down - and http://orion.lab.fiware.org/v2/entities is unreachable, too?

cdupont commented 7 years ago

Now the broker should be back up: curl http://broker.waziup.io/version I don't know about fiware.org?

cdupont commented 7 years ago

This happened again today. After a crash and restart of Mongo (https://github.com/Waziup/Platform/issues/163), the data displayed on the dashboard is old, dating back to 04/05/2017 (one month old).

We tried to fix it by removing the --nojournal argument that was on the mongod: https://github.com/Waziup/Platform/commit/11403bc0556298761ee9bfd569dacf5fc6ec7bc1 Having journaling in mongo should help recovering from crashes (fingers crossed).