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 ...Upgrading from 4.9.5 to 5.1.4 - one error and empty logs??Upgrading from 4.9.5 to 5.1.4 - one error and empty logs??
Previous
 
Next
New Post
10/18/2009 1:55 AM
 

Hi all,

I finally took a stab at DNN5 and ran a few trial upgrades on my 4.9.5 system. Then I spent the better part of a day reading and looking for answers. Although I've resolved most issues, either with mods, fixes, or seeing them as tickets in gemini, I can' t get past one error. The site appears to be working, but I can't risk updating my live site until I can get an error-free upgrade.

The upgrade report indicates that everything is fine apart from: Executing Application Upgrades: 05.00.00 Error!

The upgrade log files in Providers\DataProviders\SqlDataProvider are empty, so I can't find out what went wrong. Plenty of others seem to have this same issue.

The Event viewer shows the following errors around the same time, or directly after finishing the uprgade scripts - They may or may not be related - I don't know.

RawURL: /Install/Install.aspx?mode=Install
AbsoluteURL: /Install/Install.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 581b74e8-5303-4147-895d-34074782f452
InnerException: Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'. The statement has been terminated.
Message: System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, ... and so on....

And this one

AbsoluteURLReferrer: http://www.------.com/Install/Install.aspx?mode=Install
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 70a80d7d-a21c-4000-85a5-e406d171ae26
InnerException: Object reference not set to an instance of an object.
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFiles(Array arrPaths) at DotNetNuke.Modules.Html.HtmlTextController.UpgradeModule(String Version) at DotNetNuke.Entities.Modules.EventMessageProcessor.UpgradeModule(EventMessage message)


 

 

So the question is: Why are the logs empty and how can I get them to populate correctly so I can find out what went wrong?

Or, how else can I troubleshoot this?

Thanks for any advice on this.
Rob

 

Related links:

 

 
New Post
10/18/2009 8:42 AM
 

I have abandoned upgrading from 4.9.5 to 5.x with the upgrade package. The only upgrades that have worked have been using the complete install package. And those were not easy. I have been able to find answers to all of the issues but wow, what a pain.

I would encourage you to try an upgrade with the istall package and see what you get.

And I know everyone has heard this a thousand times but BACK EVERYTHING UP!

(Could I please get un-moderated?)

 


Icthus Technologies

Building Faith on the Internet
 
New Post
10/20/2009 9:04 AM
 

Thanks for the tip Jack, I'll try that out and report back.

Rob

p.s. I'm pretty sure you're unmoderated - it just says otherwise because it's tjhe DNN forum.

 
New Post
10/20/2009 10:58 PM
 

Right, I've been through endless repeated upgrade tests on this and it all boils down to one error:

Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'

Everything else is resolved or otherwise managed.

I've done this by upgrading to 5.0.0 as well as 5.14 and that error is always present. No clues as to why though. I've checked the table it's referring to and that only contains a couple of rows, one each for the open ID and Live ID packages.

How about I delete those rows before upgrading... I'll try that.

Rob

 
New Post
10/20/2009 11:23 PM
 

2 days down the tube now so it's time to give up on this.

All I can report is that "Cannot insert duplicate key row in object 'dbo.Packages' with unique index 'IX_Packages'" is a permanent error accross all attempts to upgrade from 4.9.5 to 5.whatever

Going to 5.0.0 at least produced logs with messages in them.. later versions did not, but the event viewer still gave it away.

Does anyone at all have a clue what that error is and whather it does any serious damage?

Rob

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from 4.9.5 to 5.1.4 - one error and empty logs??Upgrading from 4.9.5 to 5.1.4 - one error and empty logs??


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