Upgrade a very old mojoPortal to 2.3.5.8

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.
12/23/2010 5:03:05 AM
Gravatar
Total Posts 251

Upgrade a very old mojoPortal to 2.3.5.8

Hi, i get this error while upgrading an old version of mojoPortal

script mojoportal-core - 2.3.2.0 - 00:00:00.0654297
MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate column name 'SubscribeGuid' in MySql.Data.MySqlClient.MySqlStream.ReadPacket() in MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId) in MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId) in MySql.Data.MySqlClient.MySqlDataReader.NextResult() in MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) in MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() in MySql.Data.MySqlClient.MySqlScript.Execute() in mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) in mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:00.0693360

what can be the problem?

12/23/2010 5:09:20 AM
Gravatar
Total Posts 251

Re: Upgrade a very old mojoPortal to 2.3.5.8

hi, solved by deleting

ALTER TABLE mp_LetterSendLog ADD COLUMN `SubscribeGuid` char(36);

and

CREATE INDEX idxSendLogsGuid ON mp_LetterSendLog(`SubscribeGuid`);

in \Setup\applications\mojoportal-core\SchemaUpgradeScripts\mysql\2.3.2.0.config

Probably the script interrupted halfway due to an error in a table case (if you remember, I switched from mysql-windows to mysql-linux)

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