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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...To MrswoopTo Mrswoop
Previous
 
Next
New Post
4/8/2007 1:42 PM
 

Scott,

Looking for best method and practices to upgrade live sites.

Can you enlighten us on the steps you follow to "dog food" new revs on dontnetnuke.com?

Reading your blog you identify the site to be down for a few minutes here and there.  Exactly how do you update the files and prevent access to  links during the process?  Have you ever had to back out an upgrade?  If so how?

Just looking for some best practice advise here.

 
New Post
4/8/2007 4:02 PM
 

How do you take down a live site so a visitor doesnt click Upgrade....   but I can..

I think the install should not run from the root url...

 
New Post
4/8/2007 6:00 PM
 

1. The mere presence of a file called app_offline.htm in the approot prevents anyone accessing your site while you transfer files, prep your web.config, and otherwise get the site ready for the upgrade.
2. autoUpgrade = false in the web.config prevents anyone from kicking off the installation or upgrade from the root or any location other than ~/install/install/aspx. The purpose being that YOU will navigate there to initiate the process and others hitting other parts of your site will get a notifcation that  the site is temporarily unavailable until the process is complete.

Between the two, you can control the installation and show friendly notices to anyone accessing your site while it's in an inconsistent state.

 
New Post
4/8/2007 6:30 PM
 

that should be default settings....

 
New Post
4/8/2007 6:41 PM
 

SmartSource-IT wrote

Exactly how do you update the files and prevent access to  links during the process?  Have you ever had to back out an upgrade?  If so how?

In our case we maintain our own servers and so have access to the local machines and IIS.  We simply have a default site that will catch incoming requests when the main site is down.  You may have caught a page once in a while that says "System Maintenance"... etc.  When the site comes down, we perform a DB snapshot and a full folder backup (which is incremental for us, and so reasonably quick despite a large number of files).  Upgrade files are overlayed and the updated web.config added.  Then the site is brought up in a website which answers only on localhost... which is how we avoid public upgrade (if you did not have access to the box, you could also use a site which is limited access only to your remote IP, etc).  When the upgrade is complete, that site is shutdown and public site is restarted.


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...To MrswoopTo Mrswoop


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