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 ...How to upgrade from 5.0 to 5.1?How to upgrade from 5.0 to 5.1?
Previous
 
Next
New Post
7/8/2009 3:02 PM
 

I just logged into my DNN app as an administrator and saw that there are updates available.  I've never upgraded.  Is there some documentation somewhere that outlines the steps to upgrade?

Thanks.

 
New Post
8/5/2009 1:17 AM
 

I'm looking for the same thing.

I just downloaded the 5.01.01 upgrade package and there seems like there's lots of files in it that haven't been modified for some time.

Maybe unzip the package over a DNN 5.01.00 installation?

 
New Post
8/6/2009 5:21 AM
 

I too have been struggling over the best way to upgrade my 5.0.1 to 5.1.1…

 

Here are some resources that I have been reviewing:

 

DNN tread – “Upgrade steps

<http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/118/threadid/322107/scope/posts/threadpage/1/Default.aspx>

 

Which contain additional links to review, most of them are from “Saint” Mitch Seller…

 

The basic ideas are:

 

1)     Backup your website files;

2)     Backup your database file;

3)     Download the lasted package;

a.     Most readings use the “Update” package, but others seem to prefer the “Install”

4)     Backup then Verify/Modify your web.config

a.     Database connection strings in <connectionStrings> section

                                          i.    Data Source=(your server name);Initial Catalog=(your db name);user id=(your db user);password=(your db password);" providerName="System.Data.SqlClient"/>

b.    Database connection strings in <appSettings> section

                                          i.    Data Source=(your server name);Initial Catalog=(your db name);user id=(your db user);password=(your db password);"/>

c.     I have read some post that talk about changing the <add key="AutoUpgrade" value="true" /> string from “True” to “False”, so some clarification would be GREAT!

5)     Replace/Move the Unzipped files into the active site;

a.     Some post talk about being able to Upload the Zip file and then Unzip to over write the existing files;

b.    My provider does not offer the ability, so it seems that one has to manually replace files/directories

                                          i.    Again, so some clarification would be GREAT!

6)     Browse to http://www.mysite.com/install/install.aspx?mode=install

a.     Some post have suggested http://www.mysite.com/install/install.aspx?mode=Upgrade

                                          i.    This seems to be dependent on your <add key="AutoUpgrade" value="true" /> setting

                                         ii.    Again, so some clarification would be GREAT!

b.    Somewhere in this process, all new web.config changes are added

                                          i.    Reference <http://weblogs.asp.net/christoc/archive/2008/06/11/a-new-way-to-upgrade-dotnetnuke.aspx>

7)     Your done!

 

Being a seasoned cynical SysAdmin, there has to be something more…

 

Andrew

 


Andrew Seymour
dnn@aseymour.com
www.aseymour.com
 
New Post
8/6/2009 11:20 AM
 

 For sites running DNN version 4.6.2 or above, please skip item 4) and do not touch web.config manually.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/6/2009 11:41 PM
 

I am happy to report another Upgrade success!

(So far… I have not reviewed/tested everything yet…)

 

It took me about an hour, using FileZilla, to ‘hand’ copy the Upgrade files to each directory, which is definitely the LONG way to do it, but at the same time, it allowed me to see more of the “internal plumbing” of DNN.

 

The three issues that I am seeing right now after the upgrade are:

 

A)    When I go to my site, the Mode bar has both View and Edit buttons visible, even though I have NOT logged in. This would be the same situation a visitor would see.

a.     I have closed and re-opened IE 8, without any luck;

b.    I have deleted the browser cache and cookies;

c.     I have tried on a different machine (IE 8 again);

d.    Checked Page and Module settings for Edit capability;

e.     Tried changing Admin > Site Settings -> Advanced Settings -> Control Panel Security -> switched from Module Editors to Page Editors, and logged out

f.     Changed the Cache Time (secs): to 0 (Module > Pages Settings) for each module

B)    When I log in as SuperUser I see the green “Updates Available” even though I did download and install:

a.     Forum_04.05.03_Install.zip

b.    UsersOnline_05.01.00_Install.zip

c.     The “Module Definitions” tab does NOT show any updates needed.

C)    Again as SuperUser, the “Solutions Explorer” icon shows (and works), but no Text as a description, or to click on.

 

Anyone have any ideas on the Mode Bar????

 

There are a couple additional steps that one might want to add to the first check list:

 

To prevent accidental upgrade from an outside source during your Upgrade file transfer:

      i.        Take your site Off-Line;

a.     Add the a file named “App_Offline.htm” to your root directory

                                          i.    Reference: “How do I take my site offline

     ii.        Change your web.config file to <add key="AutoUpgrade" value="false" />

a.     Reference: “Upgraded from 5.1.0 to 5.1.1: Missing "Upgrading Site" message

b.    This needs to be reset to TRUE before the actual upgrade.

 

So a revised check list would be:

 

1)     Backup your website files;

2)     Backup your database file;

3)     Download the lasted package;

4)     Backup and Modify <add key="AutoUpgrade" value="false" /> in web.config from true to false;

5)     Add the a file named “App_Offline.htm” to your root directory;

6)     Replace/Move the Unzipped files into the active site;

7)     Backup and Modify <add key="AutoUpgrade" value="true" /> in web.config from false to true;

8)     Rename or Delete “App_Offline.htm” to your root directory;

9)     Browse to http://www.mysite.com/install/install.aspx?mode=install

10)  Your done!

 

I hope this helps!

 

Now time to go have some fun and try the new stuff!!

 

Andrew


Andrew Seymour
dnn@aseymour.com
www.aseymour.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How to upgrade from 5.0 to 5.1?How to upgrade from 5.0 to 5.1?


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