Mongo 3.2

24 Sep
Guides > Mongo 3.2

Mongo 3.2 Update / September 2016

Mlab will be updating sandbox databases to 3.2 beginning Tuesday, September 27, 2016. The updates will take place on a rolling basis over a 4-day period. The typical Nightscout setup involves a sandbox db. Your database will be automatically updated to 3.2 at some point during the Mlab update window.

While the update happens, your Nightscout site will be down.

Mlab estimates databases will be down for 5 minutes. It could be longer, and you need to be prepared for the fact that your site may go down unexpectedly, may be down for an unknown amount of time, and may require you to restart the site once the Mlab update is over.

What You Need to Do

  • The current (0.8.5) version of the Nightscout site and the dev branch contain the driver needed for the updated mlab db. If you are running 0.8.5 or the dev branch, your site should be fine.
  • If you are running an earlier version of Funnel Cake (0.8.1 or newer), your site may be fine after the update. The developer team has not been able to confirm. If there is a problem after the Mlab update, you can try a) redeploying your site or b) updating your site. We recommend you go ahead and update your site before the Mlab update using the steps below.
  • If you are running a version of the Nightscout CGM Remote Monitor (aka Nightscout site) that is earlier than 0.8.1, we recommend you update your site using the steps below.
  • Nightscout app users: no change required for the app because all Nightscout app users are uploading via REST API.
  • Xdrip app users:
    • If you upload via REST API, you do not need to update xDrip.
    • If you upload via mongodb, you should update xdrip to the newest beta (beta 2.0.6_1).

Update Your Site (aka Update Your Fork)

To update your Nightscout site, follow these steps:

  1. Log in at Github first. (This can not be stressed enough. You must be signed in at Github to use the tool in the next step and get the pull request configured properly. If you see a “Sign In” button in the top right corner of Github, you are not logged in.)
  2. Then use the update tool. (Enter your GitHub username to begin the process.)
  3. Follow the green buttons to update your fork until you get confirmation that the merge was successful. (If you need additional guidance for the update steps, see How to Update to Latest CGM-REMOTE-MONITOR Website.)
  4. Azure users: after updating your fork, your site should update within 10-12 minutes. You can confirm the site has updated by reloading your Nightscout site in a browser and looking at the version number in the settings panel.
  5. Heroku users: after updating your fork, you may need to manually redeploy your site in Heroku.

Should I Update My Site?

The best way to ensure you do not have a site problem after the update is to update your site to 0.8.5.

During the Mlab Update

Your site will simply stop updating when your database is being worked on by Mlab. (You will most likely be able to tell the update is happening by logging into Mlab, where there will be a visual indicator that the database is being updated.) Once the update is over, your site may begin working again on its own. If it does not, the first thing to do is to go into Azure or Heroku and simply restart the site. After 10-12 minutes, reload your site to see if it has begun working again. (Directions to restart your Azure website.)

I Use a Bridge — Do I Have to Do Anything?

See notes above for checking the version of your Nightscout site and updating, if necessary.

I Upload to Dexcom Share Servers with xDrip — Do I Have to Do Anything?

If you are not using a Nightscout site, you do not need to change anything.

I Use iOS and a Pebble — Do I Have to Do Anything?

If you are not using a Nightscout site, you do not need to change anything.

I Use Some Other Cloud Solution (Including Medtronic)

See notes above for checking the version of your Nightscout site and updating, if necessary. For questions related to your uploader app, check with the support team for your specific solution.

Do I Need to Do Anything in Mlab?

No. The update will be performed by Mlab.

After the update, if you have a problem, use the Facebook group to get assistance.