A new way to Upgrade DotNetNuke

THIS IS AN OLD BLOG POST, for my latest instructions on How to Upgrade DotNetNuke check out this new post.

If you've ever had me as an instructor for a DotNetNuke class, or heard me present at a user group or conference you've likely heard me say that I always use the DotNetNuke Install package when performing upgrades on my DNN sites. I rarely use the Upgrade package, the main reason for this WAS that the upgrade package came without a web.config file being defined. The ease of the upgrade package was that you could just extract it directly over your existing site and things would upgrade, the problem with this is that if there were web.config changes for the newer version they would be missed, and potentially cause problems with the site down the road.

I was excited to learn that is no longer an issue! Starting with DNN 4.6.2, DNN will now handle upgrades in a much more graceful manner. Michael Washington made a blog post a few weeks ago discussing this, and then Charles made another blog post detailing the XML Merge functionality that gives DNN the ability to do this.

XML Merge also provides module developers the ability to define web.config change that DNN will implement when installing modules, so you can now put custom information into a web.config file without having to tell those who purchase your modules to do this manually.

If you're in need of upgrading your DNN website, be sure to give this a shot, it might save you some time and headache if you already have custom information in your web.config file. As with all changes to your DNN site I recommend doing a backup of the database and filesystem before you upgrade DNN, install modules, upgrade modules, or even delete modules, just to be safe.

THIS IS AN OLD BLOG POST, for my latest instructions on How to Upgrade DotNetNuke check out this new post.

7 Comments

  • So, I'm looking at upgrading a site from 4.3.5 to 4.9.0. If I'm understanding your advice, I should use the upgrade package to upgrade the core to 4.9.0, then upgrade each of the modules separately? (The upgrade package does NOT include modules as I understand it.)

  • That is not correct Bret. If you're on 4.6.2 or great I would use the upgrade package. Otherwise I would use the install package, be careful with the web.config file

  • I upgraded my site from 5.1 to 5.1.1 and the upgrade did not go well. I need help.

  • Hopefully you backed up your website and database so that you can rollback to the previous version

  • I need your guide lines. I want to upgrade from 05.01.04 (3) to 5.3.0. What to do now.. Should I' upgrade it step by step with releases.
    Like 5.01.05> 5.01.06> ... >5.03.00

  • For my latest recommendations on upgrading DNN go to

    http://www.dnndaily.com/tips/itemId/31756/How-to-upgrade-DotNetNuke.aspx

    from 5.1.4 I would go straight to 5.3.1 when it becomes available.

  • Muhammad,

    You can upgrade it directly to latest version (5.4.1 now) from your 5.1.5.

    I do not think that upgrade recommendations should vary from version to version. If you have DNN 5.x then just always do files and database backup before upgrade, that's all recommendations for you.

Comments have been disabled for this content.