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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can Someone Provide Some Guidance on a 3.013 upgrade to 4.4.1?Can Someone Provide Some Guidance on a 3.013 upgrade to 4.4.1?
Previous
 
Next
New Post
4/2/2007 5:38 PM
 

Hello.

We are really struggling here.  I am trying to upgrade a 3.0.13 installation to 4.4.1.  The site is live so I can't just take a leap of faith and upgrade a live site--I need this job.  So I installed a clean copy of 4.4.1 and that all works fine.  But now they tell me there is no way to migrate all of my users and roles to 4.4.1 so now they say run the upgrade.  OK.  So I have everything backed up...the database, the files, etc.  But I want to test the upgrade...so I re-create a copy of the site in a IIS virutal directory, restore a copy of the database, and change the web.config file to point to the restored database.  But the copy of the 3.0.13 site that I want to test gives me consistent 'page can not be found errors'  It is like it is not there but it is.  Someone, please, someone...tell me what I have done wrong.  Someone please tell me what the fall back procedure is  if I do risk my neck and try a live upgrade.  I look and looked and looked but there is no documented procedure...the install manual says back up everything, but it doesn't tell you how to restore...I can guess how, but that is not the right way to do things.

 
New Post
4/2/2007 7:18 PM
 
I guess the problem is that the alias that comes with the restored backup doesn't work.
You have to add new alias to the database.
1. Prepare some kind of URL (testupgrade.mywebsite.com) and add is to the DNS.
2. Make the alias point to the old 3.0.13 site
3. Login as host
4. Add the created url as an alias for the portal
5. Backup the DB
6. Restore as you did before (Files and DB)
7. Change the dns so the url points to the backup site.
8. Test upgrade your site.

By the way I would first upgrade to the latest 3 version (3.3.7) and then to 4
 
New Post
4/2/2007 11:06 PM
 

I would not recommend upgrading over the live site until you have done exactly that in a test environment.

Copy all website files from the DNN root down into another location.

Back up the database, then create a new database with a different name, and do a forced restore over the new database using the backup of the DNN database ... making sure you rename the files for the log and physical database to match those of the new database (important!).

Alter the web.config file to change the name of the database. Assuming you are creating the database on the same server as the original database, everything else - user permissions, etc - will be in place, so same user as is already in your web.config file has correct permissions.

Create a virtual directory in IIS to point at your new DNN site.

Now you should have two separate DNN sites, identical to each other. Fire up the new site and deal with any loose ends or issues to get it working.

Follow the normal procedures for upgrading DNN using your test site. It's a bit more complex than upgrading from one DNN 3 version to another - plenty of resource out there. Take good clear notes as you go, especially any problems encountered and their solutions. Don't rely on memory.

Once you successfully get it upgraded, test thoroughly.

You have not yet touched your production instance, either filessystem or database, except to copy each.

Before doing your actual upgrade, copy the filesystem and back up the database again, as you did before, just in case your upgrade fails.

If it does, replace the filesystem in its entirety with the backup, and restore the database backup to the database.

This is kind of a sloppy description, but you get the idea - do everything in a test environment first, and do nothing that will effect either your original filesystem or database unless you have the means to restore each to its previous state.


pmgerholdt
 
New Post
4/3/2007 11:59 AM
 

Hello.

Thank you very kindly for the reply.  The steps you outline are lucid and cogent.  Here is what I did, and it seems to match pretty closely to what you describe above:

1) I made a copy of the existing dnn folder (dnn3013) and this is pointed to by virtual directory (dnn3)

2) I ran the backup (with verification) on the SQL Server of the dnn v3 db and this resulted in a back up file being created dnnv3bu

3) I then made a second copy of the current folder (copy of dnn3013) and pointed a new virtual directory (dnn3new) to that folder.

4) I restored the dnn v3 backup to a new name (this is all taking place on one server running W2K server IIS 5 and SQL server 2K) and this all worked fine.

5) I changed the web.config in the copy of the dnn3013 folder to point to the newly restored db.

6) Restarted IIS

7) Now...my old url work fine...it always did http://localhost/dnn3

8) The new url gives "page can not be displayed"  http://localhost/dnn3new/

If I can get this url to work...I could then follow the upgrade procedure detailed in the DNN manual, but I am a bit wary of trying the upgrade unless I can get the backup site working. 

I also have a DNN v4 site running on the server and it connects no problem...http://localhost/dnn4/ it is an out of the box basic install...I just wanted to prove to myself that v3 and v4 could run on the same server and it can...

Any ideas on what might be wrong would be appreciated.

Thanks in advance!

 

 
New Post
4/3/2007 1:29 PM
 
  • make sure you added the new URL as portal alias before creating the backup in 2. If you forgot this, you might need to add it in the database table manually
  • pay attention to adjust permissions for the new folder and apply the correct settings in IIS for the new vdir.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can Someone Provide Some Guidance on a 3.013 upgrade to 4.4.1?Can Someone Provide Some Guidance on a 3.013 upgrade to 4.4.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