Update Your Nightscout Site to the Latest Version

Updating your website to the newest version (currently 13.0, nicknamed Ketchup) is easy with the update tool linked below.

Requirements

This version of Nightscout will probably not run on anything older than these versions/platforms:

  • Android 4
  • iOS 9
  • Chrome 68
  • Edge 17
  • Firefox 61
  • Safari 10 (macOS 10.12)
  • Opera 54
  • Internet Explorer: none

Azure Users

As of 0.12, Nightscout no longer readily supports the free Azure platform. If you really want to keep using Azure, don’t update to this version.

Directions

  1. Log in at GitHub.
    WAIT: Make sure you’re actually signed into your GitHub account — look in the upper right corner of the page to verify. You cannot do this step later. Do it right away.                                                                                                                                                                                   
  2. Click here to open the update tool in a new tab.                                                                                                                                                                     
  3. Enter your GitHub username and click the blue button that says Check for updates. (Note: your username is not an email address.)                                                                                                                                                                                                                                                                                                                               
  4. If an update is available, the tool will tell you that, provide directions, and give you a button that will take you to GitHub to finish the process.    I normally open it in a new tab so you can still see the instructions to do!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
  5. Click the Continue updating at GitHub button. Review the directions on the screen that pops up, and continue.                                                          
  6. Click the green Create pull request button.                                                                                                                                                               
  7. Give your pull request a name (like “Update” or “Trek Update” — doesn’t really matter what this is).                                                                                                                                   
  8. Click the green Create pull request button.                                                                                                                                                                                                                                                                                                                                                
  9. Scroll down until you see the green Merge pull request button, and click it.                                                                                                                                                                                                                                                                                                                                  
  10. Click the green Confirm merge button.                                                                                                                                                                                                                                                                                                                                                                                                                          
  11. Scroll to the top of the page, and you should see a purple icon indicating the merge is complete.                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Note!
    If you do not see one of the buttons described above, continue to follow the green buttons until you reach the purple “merged” icon. If anything else unexpected happens, post in the Facebook group with details about what you tried and how far you got.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
    Note!
    If you’re on Azure, or you’re on Heroku and have Automatic Deploys enabled, you’re done! If you’re on Heroku and don’t have Automatic Deploys on yet, or aren’t sure, run through these steps below!
                                                                                                                                                                                                                                                                                                                                
  1. Head to your Heroku dashboard and login if you need to.                                                                                                                              
  2. Go to the Deploy section.
  3.                                                   
  4. In the middle bit, click on the GitHub button if it isn’t already showing as connected (in my case it is already connected!).
  5.                                                                                                
  6.  It will ask you to authorize the connection if you’re doing it for the first time.                                                                                                              
  7.  Type “cgm” into the repo-name search box, and click Search.                                                                                                                                                                          
  8. Click the Connect button once it finds your cgm-remote-monitor repository. You should now be connected.                                                          
  9. Let your site finish updating itself this can take a while, and it can also take a while longer for your config vars to show up.                                                                                                                                                                                                                                    
  10. As soon as you update your fork in the future with another Pull Request, enable Automatic Deploys here (from the master branch)                                                                                                                                                                                                                                                  
  11. If your Automatic Deploys were already on, then your site already has the new code from your fork update, and you’re done.                                              
  12. If you’ve just turned the Automatic thing on, you’ll need to manually do the first deploy — make sure the branch is on master, and click the Deploy Branch button:                                                                                                                                                                                                       
  13. You’ll see a bunch of build progress notes scroll by — when it says it’s done, you’re done! (And now you will not need to do this Heroku step next time; just updating your fork with a merged Pull Request will trigger this part automatically.)                                                                                                                                                                                                                                                                               

To verify that your site has updated, load your website in a browser. If your website is already open, reload it. Click the menu icon in the upper right and look toward the bottom of the settings panel to see the version number.                                                                                                                                                                                                                                                                                                                

Please note
Please note, it may take a few minutes before your site updates after updating the fork. Be patient! Some new features, updates, or bug fixes may require that you clear your browser cache before you will see the changes take effect.   

                                                                                                                                                                                                             

  • If you did not have any errors using the “Update My Version” link above, and your website is not showing that it’s at the current version, see these troubleshooting steps.

Uploader App

If you are using Cookie Monster or Dreamsicle version of the uploader, you do not need to update your uploader application. If you are using a version older than Cookie Monster, click here to update your Uploader App to the current version.

Release Details

To learn more about this release, see here.

     

    Update Troubleshooting Steps Nightscout

    NIGHTSCOUT Version14.0.6

     

    If you used the “update” link to update your Github repository, but your site is not showing the current version, please review the following steps for either your Heroku or Azure site:                                                                                                                                                                

    Heroku – Simple Redistribute

    If you are a Heroku user, you may need to manually redeploy your repository. To do this:                                                                                         

    1. Log in at Heroku                                                                                                                                                                                           
    2. Open your site app and click the Deploy tab (from the top menu).                                                                                                                      
    3. If your site was initially deployed properly, you should see your Github user name on the deployment page, showing you are “connected” to your Github.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
    4. If you are connected to your GitHub, scroll to the bottom where the “Manual deploy” area is.                                                                                                                                                                                                                                                                                        
    5. Master should be shown in the box. (If not, use the drop-down list to select “Master.”)                                                                                            
    6. Click the “Deploy now” button next to it.
    7. It may take a few minutes for the site to redeploy be patient!. When it is finished, return to your site and refresh to see if the site has updated to the new version.

       

      Rename an Organization

      You must have the Organization Owner role for an organization to rename it.

       

      Navigate to the Settings page for your organization.

      1. If it is not already displayed, select your desired organization from the office icon Organizationsmenu in the navigation bar.
      2. Click the Organization Settingsicon next to the Organizations

      2

      Click pencil icon next to the organization name.

      3

      Enter the new name for the organization.

      4

      Click Save.


      Delete an Organization (British Gas!!)

      IMPORTANT

      To delete an organization, you must have an Organization Owner role for the organization.

      You cannot delete an organization that has active projects. You must delete the organization’s projects before you can delete the organization.

      1

      Navigate to the Settings page for your organization.

      1. If it is not already displayed, select your desired organization from the office icon Organizationsmenu in the navigation bar.
      2. Click the Organization Settingsicon next to the Organizations

      2

      In the General Settings tab, click Delete.

      This displays the Delete Organization dialog.

      3

      Click Delete Organization to confirm.

                                                                                                    

      Please note
      Please note, it may take a few minutes before your site updates after updating the fork. Be patient! Some new features, updates, or bug fixes may require that you clear your browser cache before you will see the changes take effect.