Revision for “My Website Shows “1 Minute Ago” or “1 Hour Ago”” created on January 3, 2015 @ 15:36:17
My Website Shows "1 Minute Ago" or "1 Hour Ago"
First, check your Mongo collection to verify that records are currently loading into the database. If not, STOP HERE, and fix your internet connection. The time indicator of 1 Minute Ago indicates that the mongoDB has a record in it with an out-of-sequence date/time. This is not uncommon. A time indicator of 1 hour ago may be related to a time zone issue. Follow these steps to fix the issue. <ol> <ol> <li>First make sure the year, month, day and time match on Dex and phone.</li> <li>Double check the TIME ZONE setting. If the auto-time zone setting is on, turn it off, then select a city in your time zone. If possible, do not select your time zone, but a city in your time zone.</li> <li>If it is set to auto-select the time, turn it OFF and set the time manually.</li> <li>Reboot your phone.</li> </ol> </ol> Is it fixed now? If not, proceed. <ol> <li>Stop the Nightscout uploader app. (If your version of Nightscout is older than Cookie Monster, turn off the 2 day preference first. Also, consider updating to <a title="How to Update to Latest CGM-REMOTE-MONITOR Web Site (aka Cookie Monster)" href="http://www.nightscout.info/wiki/welcome/how-to-update-to-latest-cgm-remote-monitor-aka-cookie">Cookie Monster</a>.)</li> <li>Disconnect the uploader phone from the Dex by unplugging the cable in the phone.</li> <li>Shut down the uploader phone.</li> <li>Shut down dex (but <span style="text-decoration: underline;">don't</span> stop the sensor).</li> <li>Login to mongolab and select your database.</li> <li>Click on your collection name,</li> <li>Choose the button to "delete all documents" in the upper right corner. Confirm that you want to delete them all.</li> <li>Plug the cables back in and start up the phone.</li> <li>Dex should start up automatically. Then Nightscout should start automatically.</li> <li>Wait about 15 minutes for the phone to upload enough data for it to show on your website.</li> <li>If your website is still not showing current data, log into your Azure account. Click into the Portal, click on your website name, then click on Restart Site at the bottom of the screen. Wait a few minutes and you'll see a confirmation at the bottom of the screen that the restart was successful.</li> <li>Check your website for current data.</li> </ol> Did it correct itself? If not, please post a help request on the Facebook <a href="http://www.facebook.com/groups/cgminthecloud">page</a> with as much detail as possible, including a description of the original issue and the steps you've taken to resolve it.