internet‎ > ‎dnn‎ > ‎

Upgrade

Upgrade DotnetNuke 1

Geändert am 2011-06-29 11:59 von Franz Fiala — Kategorisiert als: DotNetNuke

Upgrade using App_offline.htm to disable

  • Download the DotNetNuke_Community_XX.XX.XX.UPGRADE.zip package of the latest stable release of DotNetNuke.
  • Right-click on the icon of the downloaded package, select "Properties" from the context menu, click on the "Unblock" button. Due to MS Windows security, certain files (.vb, etc.) will not extract properly without performing this step.
  • Extract the contents of the UPGRADE package into a folder on your computer, it is not recommended that you extract directly over your website yet.
  • Backup your website files
  • Backup your database
  • Make sure you completed steps 4 and 5
  • Add an app_offline.htm file to your website's root directory, this will disable the application from responding.
  • Did you backup your website and database as mentioned in steps 4 and 5? If not, be sure to do that.
  • Copy the files from the extracted UPGRADE package over the contents of your website's folder.
  • Open your web.config and make sure autoupgrade is set to FALSE not TRUE
  • Rename the app_offline.htm file to app_offline.htm.save
  • Access your website by browsing to it in a web browser, you will be redirected to an under construction page. Change the url to http://MYWEBSITE/install/install.aspx?mode=upgrade.

Upgrade by making a duplicate website based on a backup

  • Add an upgrade portal alias to your website ex: upgrade.dnndocs.net in addition to the normal www.dnndocs.net
  • Backup your website files
  • Backup your database
  • Make sure you completed steps 2 and 3
  • Download the DotNetNuke_Community_XX.XX.XX.UPGRADE.zip package of the latest stable release of DotNetNuke.
  • Restore the backed up website to a new folder path on your web server.
  • Configure IIS for a new website with a host header for upgrade.dnndocs.net
  • Setup Permissions on the file system
  • Restore the database to a NEW database name.
  • Modify the web.config of the new website to point to the new database
  • Open your web.config and make sure autoupgrade is set to FALSE not TRUE
  • Extract the contents of the UPGRADE package into a folder on your computer, it is not recommended that you extract directly over your website.
  • Copy the files from the extracted UPGRADE package over the contents of your website's folder.
  • Access your new website by browsing to it in a web browser, change the url to http://MYWEBSITE/install/install.aspx?mode=upgrade.
  • Once you have the upgraded website running you can modify your website settings in IIS to utilize the new website, rather than the non-upgraded website.

Upgrading from a version of DNN older than 4.6.2

  • You will not be using the UPGRADE package, you should start with the DNN INSTALL package.
  • You will need to make some changes to the web.config file that comes in the INSTALL package.
  • You should make sure you copy the MachineKey settings, and both ConnectionStrings from the web.config file of the site you are going to upgrade.
  • You will also need to copy any other customizations to the web.config file if you've made any.
  • Save the changes to the web.config file from the INSTALL package, then copy the contents of that INSTALL package over your website.
  • Add an app_offline.htm file to your website's root directory, this will disable the application from responding.
  • Did you backup your website and database as mentioned in steps 1 and 2, if not, be sure to do that.
  • Copy the files from the extracted INSTALL package over the contents of your website's folder.
  • Open your web.config and make sure autoupgrade is set to FALSE not TRUE
  • Rename the app_offline.htm file to app_offline.htm.save
  • Access your website by browsing to it in a web browser, you will be redirected to an under construction page. Change the url to http://MYWEBSITE/install/install.aspx?mode=upgrade.
Comments