DNN 7.03.01 CMS Platform Upgrade

Views 1741

Every now and again I do a post about DNN as this is the platform that my site runs on. Some of you may be aware that recently there was a new version released on codeplex. Version 7.3.1 – Version Upgrade is available for download if you are running on a previous versions and would like to upgrade your site.

Like all things technical if we are going to make a change then we should plan for the work we are about to undertaken but also plan to be able to recover in the event of an issue arising. Given that this is my company site, a failed upgrade that could take my site offline for an extended period of time would not be good. As such after some discussions with my good friend Bruce Chapman (@brucerchapman) to find out about this new version I went about preparing for my upgrade from 7.01.01 to 7.03.01. The steps that I followed to achieve this upgrade I thought I would share especially for those of you who like me are hosted on an Azure Database backend rather than an Azure VM or other host.

My upgrade went for the most part smoothly and if you would like the same results then you can follow on with my steps to complete this upgrade process.

Backup Environment

To backup my environment was a 2-fold process. First off I needed to undertake an export of my Azure Database across to my Azure Storage account. If you are not sure how to do this you can follow the steps outline here. Once my export had completed I was part way there for my backup strategy of my site in the event of an issue happening with the upgrade process. The second step in my backup phase was to get a full backup copy of my site files. To achieve this I downloaded everything under ./site with my ftp tool.

Upgrade Process

The upgrade process that I am outlining below is for those of you who like me are running with your SQL Server database as an Azure database.

  1. Create a new folder on you site called Upgrade (ie – ./site/wwwroot/Upgrade)
  2. Upload the DNN_Platform_07.03.01_Upgrade.zip to the newly created Upgrade folder
  3. Inside of your Azure Site Dashboard, select Edit in Visual Studio Online
  4. image
  5. If you do not already have this configured you will need to enable this feature. Select Configure in your menu options on your site dashboard. Scroll down until you find Edit in Visual Studio Online and enable it. Save your change.
  6. image
  7. Start the Console inside of Visual Studio Online. This should place you located at ./site/wwwroot
  8. Change directories into the Upgrade folder (cd Upgrade)
  9. Unzip the upgrade package into the Upgrade folder (Unzip DNN_Platform_07.03.01_Upgrade.zip)
  10. Copy the extracted files and folders back to the wwwroot folder (xcopy *.* ..*.* /y/e)
  11. As long as the copy completes without errors you are traveling for a successful upgrade.
  12. Navigate to your sites home page (Ie www.sqlmastersconsulting.com.au)
  13. Enter your Host account and password and click the Upgrade button
  14. You should hopefully receive 100% complete like I did. Check the logs to ensure that there is nothing in the logs.
  15. Click View site
  16. Your back up and running

Step 16 is where I had my only issue. Due to the size of my site and the resource utilization that had already been used during the upgrade process it pushed me over my resource limits and suspended my site. If that is the worst that happens like me I only had to wait a couple of minutes for the site to come up and online and my site is running on the latest version.

You can confirm your version upgrade was a success by logging into your site with your Host account and you will be greeted with a new welcome screen.

image

But if you also go to Host | Host Settings you can confirm the version of your site. I wish you the same ease of upgrade as I had but please remember to do a little planning before you undertake this upgrade.

Leave a Reply

Your email address will not be published. Required fields are marked *

Warwick

I am a Microsoft Data Platform MVP as well as a Microsoft Certified Master working as the Principal Consultant here at SQL Masters Consulting. When I am not working with the SQL Server Stack I like to get away to the Snow and spend time Snowboarding.

Search