sitewhere-admin-ui
sitewhere-admin-ui copied to clipboard
The admin-ui couldn't display the data after the sitewhere-service running for several days.
@GanKanTechnology commented on Fri Mar 29 2019
Hi @jorgevillaverde-sitewhere
It's been about 1 month since we started testing the sitewhere-service on-line.
Generally it run well during the past month. We added some devices to send data to the sitewhere unregularly and check them from the admin-ui.
But today and someday about a week ago, we can't see those data from the admin-ui. We can log on and click the tenants and the devices, but the devices' data such as MEASUREMENTS & ALERTS cann't be seen. The devices were working well, and nothing wrong with mongodb or zookeeper or kafka or mosquitto. There was not enough time to find out the exact reason. I had to restart all microservice using the command below because we have other tests to do and then everything went well.
kubectl scale deploy --replicas=0 -l sitewhere.io/role=microservice
kubectl scale deploy --replicas=1 -l sitewhere.io/role=microservice
Just mark it here for this problem had happened twice.
I think there maybe something wrong but I didn't find out today. If this happened again, what should I do to find out what's wrong in a short time please?
Thank you.
Some info that may help: 1.Sitewhere images version: latest,created 4 weeks ago ,maybe 2.0.4
2.helm list: NAME REVISION UPDATED STATUS CHART APP VERSION sitewhere 1 Sun Feb 24 18:22:51 2019 DEPLOYED sitewhere-0.1.5 2.0
3.k8s-version:"v1.13.0",
@derekadams commented on Fri Mar 29 2019
This is probably a defect in the admin user interface. The REST calls that retrieve events accept a date range and the admin UI defaults to a short range. We are currently working on a new version of the admin UI which will include the ability to choose the date range. There will also be many other improvements. You can test the REST services by using the Swagger interface and specifying a larger range of dates to see if results are returned. Hope that helps!
@GanKanTechnology commented on Fri Mar 29 2019
Thanks, I'll try that next time~
This issued has been moved to the admin UI repository here: https://github.com/sitewhere/sitewhere-admin-ui/issues/4