Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Using the Upgrade or Install PackageUsing the Upgrade or Install Package
Previous
 
Next
New Post
8/8/2006 9:11 AM
 

Just a few months using DotNetNuke now, I have done only a few upgrades. I have used the Install package with much success.  But the more I work with existing DNN installations, I think I should consider using the Upgrade package instead of the Install package for upgrades.

  1. Is there a file/list comparing the contents of the Upgrade and Install packages?
  2. Is the primary difference between the Upgrade and Install package that the Upgrade package does not contain the /App_Data/database.mdf file?

RE: DotNetNuke 4.3.4


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
New Post
8/9/2006 2:36 PM
 

From Shaun Walker himself (in another thread):

Install - contains just the run-time resources. Includes a web.config file. You should not use this version to upgrade an existing install unless you are very careful - because if you overwrite your previous web.config, you may lose access to your site membership. Includes Install versions of all Modules.

Upgrade - contains just the run-time resources. Includes a release.config and development.config. You can safely use this version for upgrading your site. However there is not automated utility for merging changes in the configuration files. Since there are nodes in the release.config and development.config which are new / required for DNN to function correctly, you will need to manually merge the applicable sections. This not a new step - it has been a requirement for any DNN upgrade all way back to version 1.0.0. Does not include any Module packages. The reasoning is that users do not always want to upgrade their modules when they upgrade the core.


From what Shaun writes, I deduce that if you use the Install package to do an Upgrade over a previous installation, you have to be careful you do not (1) Overwrite the web.config file; (2) Overwrite your existing database; (3) Overwrite Modules you would rather not update.

If you use the Upgrade package, you have to manually merge changes in the web.config file.  An upgrade will likely contain changes to the web.config file, changes required to have the new DNN version function properly.  But if you are unfamilar with the details of the web.config file and how to merge two versions of this file, you may have difficulty using the Upgrade package.

For me (unfamiliar with all that web.config does) this explains why my previous attempts to use the Upgrade package were less successful than when I used the Install package.  TheInstall package merges web.config changes for you (actually, when you copy the Install package over your current installion - per installation instructions - the web.config file from the Install package will contain the new version web.config file with required changes).

If like me you have not made any customizations to your Modules, you may choose to use the Install package to do your upgrades.  But before doing an Install package upgrade, make a complete backup of your current installation - especially your web.config file and DotNetNuke database.

You will have to merge one web.config file change yourself and there is no avoiding this step.

After your backup, make a copy of your existing web.config file, naming it: web.config.resources (as recommended in DNN documentation).  Next, copy the extracted contents of the Install package over your current installation - all folders/files EXCEPT the /App_Data folder and its contents.  Then, open web.config.resources and copy the Password HASH KEYS (MachineValidationKey & MachineDecryptionKey) into your copy/paste buffer.  Open the new web.config file and paste your HASH KEYS into the file, overwriting the default HASH KEYS.

You may also need to copy/paste your SiteSqlServer <connectionStrings> settings from the web.config.resources file to the new web.config file; that depends on what version of SQL Server (or MSDE) is running under your DotNetNuke installation.  For my SQL Server 2005 Express installation with standard connection settings, I do not need to copy/paste the SiteSqlServer <connectionStrings> settings.  But I MUST - and you should - copy/paste the HASH KEYS.

Using the Install package instead of the Upgrade package may prove for you, too, to be a smooth DotNetNuke upgrade path.  Just be certain you do not have any special Module modifications that will get overwritten when using the Install package to upgrade.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Using the Upgrade or Install PackageUsing the Upgrade or Install Package


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out