Setup Error

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.
3/16/2009 8:02:38 AM
Gravatar
Total Posts 3

Setup Error

Win2003 R2
MySQL 5.0.4-beta NT
Mojo V 2.2.9.2 MSSQL + MySQL Datalayer

Hello,

i try to install mojo and always get this error message.

thanks for the help

 

Probing system...
File system permissions ok.
MySQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
0 site(s) found.
Running script mojoportal-core - 2.2.1.5 - 00:00:00.1110000

An Error Occurred:Table 'mojoportal.mp_schemaversion' doesn't exist
Source:MySql.Data
Stack Trace bei MySql.Data.MySqlClient.MySqlStream.OpenPacket() bei MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) bei MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() bei MySql.Data.MySqlClient.MySqlDataReader.NextResult() bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) bei MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySqlConnection connection, MySqlTransaction transaction, String commandText, MySqlParameter[] commandParameters, Boolean ExternalConn) bei MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) bei mojoPortal.Data.DBPortal.SchemaVersionGetSchemaVersion(Guid applicationId) bei mojoPortal.Data.DBPortal.SchemaVersionExists(Guid applicationId) bei mojoPortal.Business.DatabaseHelper.UpdateSchemaVersion(Guid applicationId, String applicationName, Int32 major, Int32 minor, Int32 build, Int32 revision) bei mojoPortal.Web.UI.Pages.SetupHome.RunUpgradeScripts(Guid applicationId, String applicationName, String pathToScriptFolder, Version versionToStopAt) bei mojoPortal.Web.UI.Pages.SetupHome.UpgradeSchema(String applicationName) bei mojoPortal.Web.UI.Pages.SetupHome.RunSetup() bei mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) bei System.Web.UI.Control.OnLoad(EventArgs e) bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

3/16/2009 8:09:13 AM
Gravatar
Total Posts 70

Re: Setup Error

Hi,

The way mojoPortal determines if it is an upgrade or clean install is to detect the mp_Sites table, if it exists the code assumes an upgrade.

It looks like something has gone wrong, it should never run scripts older than 2.2.7.8 on a new installation. It seems like what happened is the 2.2.7.8 script managed to create the mp_Sites table but then failed to complete s now its trying to upgrade but it can't. It is now trying to run very old upgrade scripts (2.2.1.5) that it should not run.

I would try emptying out the db or starting with a new empty db. Then if you get an error post the error that happens during the first run of the setup page.

Hope that helps,

Steve

3/16/2009 2:08:16 PM
Gravatar
Total Posts 3

Re: Setup Error

Hi Steve,

I have reinstalled everything again, a new db is created but the error remains the same?

I have also downloaded version 2.2.9.5 on a Vista pc with IIS7 installed and even then I get the same error?????????

3/16/2009 2:15:09 PM
Gravatar
Total Posts 70

Re: Setup Error

It works for me so I'm suspecting something about your version of MySql. I would uninstall the 5.0.4 beta you have now and install 5.0.77 (not 5.1), from here and see if that solves it using a new empty db.

http://dev.mysql.com/downloads/mysql/5.0.html

Hope that helps,

Steve

3/16/2009 2:42:22 PM
Gravatar
Total Posts 3

Re: Setup Error

Hi Steve,

thank you for your tip. MySQL Server was the problem.

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