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...Upgrading DNN P...Upgrading DNN P...Caught in Upgrade LoopCaught in Upgrade Loop
Previous
 
Next
New Post
12/3/2014 12:39 PM
 

Hey all,
My site seems to have somehow stuck itself on the Install/UpgradeWizard.aspx page, though I did nothing to initiate an upgrade. My current version is 07.02.01 and it is attempting to upgrade me to version 07.02.02. Attempting to navigate to any page on any of the 5 portals I have installed will redirect me to the Install/UpgradeWizard.aspx. Attempting to run the Upgrade results in the following error after noting that the Updating Database step is complete: 

XX:XX Minutes | 50% ERROR occured - {0}: Attempted to divide by zero.

 

The Minutes remaining counter seems to just count infinitely upward at this point. The upgradestat.log.resources.txt file contains only the following lines upon failing to upgrade:

{"progress":21,"details":"Upgrading Application","check0":"Running","check1":"NotStarted"}
{"progress":50,"details":"ERROR occured - {0}: Attempted to divide by zero.","check0":"Done","check1":"Running"}


The InstallerLog file contains nothing of consequence:

12/03/2014 17:16:32 [INFO] DotNetNuke.Services.Upgrade.Internals.Steps.BaseInstallationStep Upgrading Application

 

The log.resources file for the day lists the following error repetitively:

2014-12-03 12:16:33,385 [MACHINENAME][Thread:14][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.IndexOutOfRangeException: Custom404TabId

   at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)

   at System.Data.SqlClient.SqlDataReader.get_Item(String name)

   at DotNetNuke.Entities.Portals.PortalInfo.Fill(IDataReader dr)

   at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr)

I doubt this error has anything to do with the Upgrade loop, it may be just be a missing setting on one of my Portals, though I can't actually access anything to make sure. 

Can anyone offer any help? Even just where/how to disable the Upgrade process entirely would be of immense help as again, I don't even want to upgrade.

 
New Post
12/3/2014 1:43 PM
 
Restore latest backup prior to the upgrade and re-unzip all files.
Trigger the upgrade by browsing /install/isntall.aspx?mode=upgrade

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/3/2014 2:48 PM
 

Sebastian,

Thanks for the reply. I have no backup prior to this upgrade loop as I did not initiate it, it just came out of the blue. I don't want to upgrade at all. I have tried replacing the Install folder in my site's directory with a fresh copy to no avail. 

 
New Post
12/4/2014 6:30 PM
 
the upgrade is triggered only, if Version of the dll is larger than latest Version in the database.
I am not sure, what you did, but the only option would be executing a proper upgrade now.
There is some risk for your site, but - no risk no fun... or whyelse did you omit performing any backup?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2014 8:17 PM
Accepted Answer 
Its not really possible for the DNN upgrade tools to trigger automatically - they require a physical new version of the the dotnetnuke.dll to be copied into the sites /bin/ folder.

What I would be more concerned about was making sure that no one has access to you site via FTP to hack the bin folder - if for example a hacker was trying to force in a 'altered' version of dotnetnuke.dll - that could trigger the undate engine if it saw a different version number after the hack.

If for example - only the version of dotnetnuke.dll file had been changed
 - then the site would go into an upgrade loop - because the rest of the elements of the site would never update to the new version - they would stay at the current version.

Westa

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Caught in Upgrade LoopCaught in Upgrade Loop


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