Update My Fork / Troubleshooting Part 2

3 Sep

Revision for “Update My Fork / Troubleshooting Part 2” created on October 14, 2016 @ 01:07:33

Update My Fork / Troubleshooting Part 2
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 <a href="#heroku">Heroku</a> or <a href="#azure">Azure</a> site: <a name="heroku"></a> <h2>Heroku – Simple Redeploy</h2> If you are a Heroku user, you may need to manually redeploy your repository. To do this: <ol> <li>Log in at Heroku. </li> <li>Open your site app and click the Deploy tab (from the top menu). </li> <li>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. </li> <li>If you are connected to your GitHub, scroll to the bottom where the "Manual deploy" area is. <li>"Master" should be shown in the box. (If not, use the drop-down list to select "Master.") <li>Click the "deploy now" button next to it. <a href="http://www.nightscout.info/wp-content/uploads/2015/09/update-heroku-redeploy.png"><img src="http://www.nightscout.info/wp-content/uploads/2015/09/update-heroku-redeploy.png" alt="update-heroku-redeploy" width="777" height="147" class="alignnone size-full wp-image-2578" style="border: solid black thin; padding: 10px;" /></a> <li>It may take a few minutes for the site to redeploy. When it is finished, return to your site and refresh to see if the site has updated to the new version. </ol> <a name="azure"></a> <h2>Azure - Try a Simple Redeploy </h2> If your Azure site does not appear to have updated, you can first try redeploying the site following these simple steps: <ol> <li>Click the 'deployments' tab at the top in Azure, <li>Click the arrow to the right edge of the deployment shown at the top of the deployments page. <li>At the bottom of the deployments page (after you click the arrow), a 'redeploy' button will appear, (Note: you may see a 'sync' button instead or, if the original deployment failed, a 'retry' button. If you see 'retry,' use that option.) <li>Click the redeploy button (or sync, if that is the only option), <li>Wait about 5 minutes, and then REFRESH your site in a browser and check the version of the site, </ol> If your site still does not show the updated version, you may need to move on to the steps below. <a name="disconnect"></a> <h2>Azure – Disconnect and Re-deploy Web Site Code</h2> 1. Log into Azure at https://manage.windowsazure.com 2. Click on ‘Web Sites’ on the left navigation bar <p style="text-align: center;"> <img class="alignnone wp-image-1161 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-2-websites.png" alt="azure 2 websites" width="144" height="139" /></p> 3. Click on your web site <img class="aligncenter wp-image-1162 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-3.png" alt="azure 3" width="150" height="102" /> 4. Click on Dashboard if you aren’t already on that page. <p style="text-align: center;"><img class="alignnone wp-image-1163 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-4.png" alt="azure 4" width="196" height="87" /></p> 5. Locate the ‘Quick Glance’ menu on the right side of the dashboard, and click on ‘Disconnect from GitHub’. If you see ‘Set up deployment from source control’ then proceed to Step #8. <p style="text-align: center;"><img class="alignnone wp-image-1164 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-5.png" alt="azure 5" width="177" height="207" /></p>  6. Click ‘Yes’ to agree to the disconnect. <p style="text-align: center;"><img class="alignnone wp-image-1165 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-6.png" alt="azure 6" width="457" height="52" /></p>  7. It will show ‘Operation is currently running’ and wait for that to complete. <p style="text-align: center;"><img class="alignnone wp-image-1166 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-7.png" alt="azure 7" width="356" height="84" /></p>  8. Back under the ‘Quick Glance’ menu, now click on ‘Set up deployment from source control’ <p style="text-align: center;"><img class="alignnone wp-image-1167 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-8.png" alt="azure 8" width="155" height="191" /></p> <p style="text-align: left;">9. On the ‘Where is your source code?’ prompt, select GitHub and click on the arrow on bottom right.</p> <p style="text-align: center;"><img class="alignnone wp-image-1168 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-9.png" alt="azure 9" width="275" height="191" /></p>  10. Since you were just logged into GitHub, the connection / authorization connection should occur without any GitHub credential prompt, but if you are prompted, provide the necessary credentials (username &amp; password) to connect. In the ‘Choose a repository to deploy’, select the ‘cgm-remote-monitor’ from the REPOSITORY NAME drop down. <p style="text-align: center;"> <img class="alignnone wp-image-1169 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-10.png" alt="azure 10" width="231" height="168" /></p> 11. After selecting, the BRANCH TO DEPLOY should be ‘master’ and then click on the arrow to proceed. <p style="text-align: center;"> <img class="alignnone wp-image-1170 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-11.png" alt="azure 11" width="251" height="193" /></p> 12. Your GitHub repository will now be linked, and the deployment will begin. <p style="text-align: center;"><a href="http://www.nightscout.info/wp-content/uploads/2014/09/azure-12z.png"><img class="alignnone wp-image-1172 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-12z.png" alt="azure 12z" width="322" height="225" /></a></p> <p style="text-align: center;"><img class="alignnone wp-image-1171 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-12b.png" alt="azure 12b" width="333" height="88" /></p> 13. When it’s done deploying, it will turn to a green ‘ACTIVE DEPLOYMENT’ <p style="text-align: center;"><img class="alignnone wp-image-1173 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-13.png" alt="azure 13" width="340" height="116" /></p> 14. Next we want to make sure your Connection Strings are still present in the configuration. From the top navigation menu, click on ‘CONFIGURE’ <p style="text-align: center;"><img class="alignnone wp-image-1174 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-14.png" alt="azure 14" width="172" height="58" /></p> 15. Scroll down the Configure page, and look for the ‘Connection Strings’ section. Click on ‘Show Connection Strings’ <p style="text-align: center;"><img class="alignnone wp-image-1175 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-15.png" alt="azure 15" width="370" height="133" /></p> 16. Verify that your connection strings still exist, and that they are correct. They shouldn’t have changed, but if they are not present, you will need to reenter them. <p style="text-align: center;"><img class="alignnone wp-image-1176 size-full" src="http://www.nightscout.info/wp-content/uploads/2014/09/azure-16.png" alt="azure 16" width="373" height="106" /></p> <p style="text-align: left;">17. Proceed to your website and test that it appears.</p> 18. On the top right of the screen, click on the Settings icon (three horizontal lines) and verify in the about section that you see version 0.9.x (‘x’ will be the latest revision, if applicable, e.g., 0.8.5) Return to <a href="/wiki/welcome/how-to-update-to-latest-cgm-remote-monitor-aka-cookie">How to Update to Latest CGM-REMOTE-MONITOR Web Site</a>

OldNewDate CreatedAuthorActions
October 14, 2016 @ 01:07:33 Amy Cowen
October 14, 2016 @ 01:06:07 Amy Cowen
October 14, 2016 @ 01:05:58 [Autosave] Amy Cowen
September 30, 2015 @ 22:15:41 Amy Cowen
September 30, 2015 @ 22:13:36 Amy Cowen
September 30, 2015 @ 22:12:12 Amy Cowen
September 30, 2015 @ 22:11:43 Amy Cowen
September 30, 2015 @ 22:10:59 Amy Cowen
September 21, 2015 @ 19:43:41 Amy Cowen
September 5, 2015 @ 16:23:57 Amy Cowen
September 5, 2015 @ 13:58:00 Amy Cowen
September 5, 2015 @ 13:43:54 Amy Cowen
September 5, 2015 @ 13:36:07 Amy Cowen
September 3, 2015 @ 12:41:28 Amy Cowen
September 3, 2015 @ 04:14:32 Amy Cowen
September 3, 2015 @ 04:10:51 Amy Cowen