370 likes | 384 Views
DNN Upgrade. Does It Have To Be A Pain?. Aderson Oliveira. Working with DNN since 2006 DNN Admin Trainer on 3 DNN Conferences DNN MVP DNNHero.com - DNN Video Training DeskPal.com - DNN Professional Support. No Cowboy Upgrade. Play it safe. The Process. Copy Clean Cycle
E N D
DNN Upgrade Does It Have To Be A Pain?
Aderson Oliveira • Working with DNN since 2006 • DNN Admin Trainer on 3 DNN Conferences • DNN MVP • DNNHero.com - DNN Video Training • DeskPal.com - DNN Professional Support
No Cowboy Upgrade • Play it safe
The Process • Copy • Clean • Cycle • Backup -> Upgrade -> Test -> Document -> Repeat • Close
Your Situation 1 - COPY • Shared Hosting • Server
Minimum Requirements 1 - COPY • OS: Windows 8 + • NET Framework: 4.5.1+ • Web Server: IIS 7.5 + • Database: SQL Server 2008 R2 +
Temporary Domain 1 - COPY • Hosting Provider • MySite.TemporaryDomain.com • Subdomain • Upgrade.MySite.com
Robots.txt 1 - COPY User-agent: * Disallow: /
SQL Server Version 1 - COPY • DNN 7/8 – Host/Dashboard/Database • DNN 9 – Settings/Servers/Database • select @@version
Unused Extensions 2 - CLEAN • Modules • Themes
Install Folder 2 - CLEAN • /Install • /AuthSystem • /Container • /Language • /Module • /Provider • /Scripts • /Skin
Log Files 2 - CLEAN • \Portals\_default\Logs • All YYYY.MM.DD.log.resources files • Most important: Delete Today
Web.config 2 - CLEAN • Friendly Url • defaultProvider="DNNFriendlyUrl" • type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules"
Web.config 2 - CLEAN • Auto Upgrade • <add key="AutoUpgrade" value=“false" /> • /install/install.aspx?mode=upgrade
Web.config 2 - CLEAN • Custom Errors • From “RemoteOnly” • <customErrors mode=“Off" />
Log 4 Net 2 - CLEAN • DNN 6 • /DotNetNuke.log4net.config • <level value=“All" />
Backup 3 - CYCLE • Don’t loose your changes • Save as you move up
Upgrade 3 - CYCLE • DNN 4.9.5 • DNN 5.6.8 • DNN 6.2.9 • DNN 7.4.2 • DNN 8.0.4 • DNN 9.1.1 • (or 9.2.0) https://github.com/dnnsoftware
Test 3 - CYCLE • Save Text • Save Site Settings • Save Host Settings • Save Page Settings • Save Module Settings • Try 3rd Party Modules
Document 3 - CYCLE • Problems • Fixes • What you have done
Problems • Check Log4Net • Compare with a fresh install • Web.config • /bin folder
Problems - Editor • Telerik • RADEditor • CKEditor
Problems – Skin/Containers • Remove SolPart References • Remove Action Menus
Problems – Changed DNN Core? • Overwrite Or • Get a (proper) Developer involved
Problems – 3rd Party Modules • Try to upgrade them before • Go To The DNN Store • Check the extension page • Contact the vendor
Problems – Community Modules • See where they are now • “Removing Roadblocks to Upgrading By Reviving the Old Core Modules”
Repeat 3 - CYCLE • Restart the Cycle
Bring it Live 4 - CLOSE • Repoint IIS or • Replace Files and Database Don’t leave a mess
Bring it Live 4 - CLOSE • Robots.txt • Revert it back • /DotNetNuke.log4net.config • <level value=“Error" />
“But my site has new content” 4 - CLOSE • app_offline.htm • You have documented, haven’t you? • Go through it again, but quickly
Upgrade Modules • EvotivaDNNUpgrade • EvotivaDNNBackup
Useful Links • http://www.dnnsoftware.com/wiki/upgrading-dotnetnuke • http://www.dnnsoftware.com/community-blog/cid/155567/5-tips-for-successfully-upgrading-dnn-websites
DeskPalONE • QUESTIONS? • aderson@DeskPal.me