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 ...DotNetNuke 4.9.0 Upgrade FailedDotNetNuke 4.9.0 Upgrade Failed
Previous
 
Next
New Post
11/30/2008 3:25 PM
 

Hi All,

My upgrade to DotNetNuke 4.9.0 didn't complete automatically as it should have done.

Prior to upgrade I did all the usual, backed up DB, DNN install folder and created an app_offline.htm file to take the application offline.

I was previously using DotNetNuke 4.8.4. I downloaded the upgrade package and extracted it to a folder on my local machine. I then uploaded the contents of this package over the top of my DotNetNuke installation on my web host.

I then removed app_offline.htm and connected to my DNN site. I have AutoUpgrade switched on in the web.config file and so I was greeted by the DotNetNuke upgrade screen, which listed four lines before stating Upgrade Complete. I thought that the output of this screen seemed too small for a DotNetNuke upgrade and there was no mention of SqlDataProvider at any time.

I clicked on the "Continue to your portal" link, which took me back to the Upgrade page telling me that my database was at 4.8.4 whilst the binaries were at 4.9.0. I was stuck in an infinite loop of visiting the upgrade page. It appears that no changes were made to the database - including adding  4.9.0 to the Versions table.

I manually added 4.9.0 to the Versions table and then my site appeared as normal.

I wondered if there were any database changes that should be applied for version 4.9.0 and so I checked Providers\DataProviders\SqlDataProvider\04.09.00.SqlDataProvider in the upgrade package. Indeed there is a bit of SQL in there that makes various changes to the database.

As a test I decided to check if the FileExtensions entry in the HostSettings table started with 'template,' - it didn't. So I did a find/replace on the dbo/object qualifier and then ran the script manually against the database.

Are there any other database changes that need to be applied for the transition between 4.8.4 and 4.9.0 ?

Does anybody have any idea why this upgrade would have failed like this?

I have performed several upgrades on this particular site in the past and I've never encountered any problems.

Thanks in advance for any assistance I receive with this matter.

Regards,

Adam

 
New Post
11/30/2008 3:28 PM
 

That should be the only DB changes for the core code, you might need to do a quick comparison on the web.config though as a proper 4.9 upgrade may have added new/changed settings in the web.config file that are necessary for 4.9.

I would get the install package for 4.8.4 and 4.9 and compare the included web.config files to see if there are any changes between the two versions that you need to handle.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke 4.9.0 Upgrade FailedDotNetNuke 4.9.0 Upgrade Failed


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