database core schema needs upgrade.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/16/2013 11:17:06 AM
Gravatar
Total Posts 18439

Re: database core schema needs upgrade.

It is usually installed at the same time when you install sql server or sql server express, so if that is already installed you should find it in the programs menu. If you have not yet installed sql express, the easiest way to install it is using the MS Platform Installer.

1/16/2013 12:35:41 PM
Gravatar
Total Posts 37

Re: database core schema needs upgrade.

This turning into my worst nightmare. I have Windows XP and Windows 8 machine and it wont install on either of them.

Is there any way I can roll the site back to teh old install with just the backup of the database?

1/16/2013 12:45:55 PM
Gravatar
Total Posts 18439

Re: database core schema needs upgrade.

You would need to have GoDaddy restore the db, but the file system also needs to be restored exactly as it was before the upgrade, which would requiring having a backup of the file system, deleting all the current files then restoring them from the backup.

If you can get the backup of the current db to me I can try to restore it here and take a look to confirm the problem suspicions and that "may" lead to an idea to solve it. You could zip it, put it on your server and send me a link at joe dot audette at g mail dotcom, then remove the file after I get it so no-one else can get the file.

You should be able to install on Windows 8 using platform installer unless it conflicts with an existing slq server installation on the machine. xp is pretty useless at this point.

It would be best to make a copy of both the db as it is currently and the one before upgrade available to me so I could compare them, but I would definitley want the backup of the db as it is right now.

I promise to delete the files after my investigation is complete.

1/16/2013 12:59:42 PM
Gravatar
Total Posts 37

Re: database core schema needs upgrade.

Joe - Thank you so much! I really appreciate you taking a look!

I sent you the link via the form on http://www.joeaudette.com

Best,

G

 

1/16/2013 1:29:09 PM
Gravatar
Total Posts 18439

Re: database core schema needs upgrade.

Based on the mp_SchemaScriptHistory table, it looks like your old version is 2.3.5.5. I have no idea how it got changed to an older version in mp_SchemaVersion table but that is why it is trying to run older scripts that it should not run.

Run this against your db to correct it in mp_SchemaVersion, then visit the setup page again.

UPDATE mp_SchemaVersion
SET Major = 2, Minor = 3, Build = 5, Revision = 5
WHERE ApplicationID = '077E4857-F583-488E-836E-34A4B04BE855' 

That should make it start running upgrade scripts greater than version 2.3.5.5

That is still a pretty old version to upgrade from, you should also review all the release notes in the blog for versions from that one up to the latest and you will likely also need to make skin changes per the important skin changes article.

Hope that helps,

Joe

1/16/2013 1:44:28 PM
Gravatar
Total Posts 37

Re: database core schema needs upgrade.

Thanks a million! I can't wait to try this but I want to make sure I don't mess anything up.

Do i just change the existing values to these:

SET Major = 2, Minor = 3, Build = 5, Revision = 5

or do i actually need to "run" a script some how. My editor allows me to just click and edit the numbers. Is that OK?

TIA

 

1/16/2013 1:54:32 PM
Gravatar
Total Posts 18439

Re: database core schema needs upgrade.

yes, you can set it manually on the mojoportal-core row, but make sure it is still there after you leave that row, ie it doesn't actually change until you get out of that row.

I assumed you could run a sql script since you previously posted a sql select statement.

1/16/2013 2:10:23 PM
Gravatar
Total Posts 37

Re: database core schema needs upgrade.

Joe, you are the man!

That did it!

THANK YOU! THANK YOU! THANK YOU!

G

1/16/2013 2:15:50 PM
Gravatar
Total Posts 18439

Re: database core schema needs upgrade.

Glad I was able to help! Many thanks for the generous beer donation!

Cheers,

Joe

1/16/2013 2:24:15 PM
Gravatar
Total Posts 37

Re: database core schema needs upgrade.

You are very welcome - If we every meet I will give you some Australian stuff - you will never be the same!

You must sign in to post in the forums. This thread is closed to new posts.