Old schema version in the new 2.2.2.8 release

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.
6/13/2007 10:41:01 AM
Gravatar
Total Posts 18439

Re: Old schema version in the new 2.2.2.8 release

That sounds like the user in your connection string does not have sufficient permission.

Can you connect to the db as postgres user and do:

GRANT ALL PRIVILEGES ON DATABASE dbname to username;

Joe

6/13/2007 10:06:24 AM
bob
Gravatar
Total Posts 126
YAF developer

Re: Old schema version in the new 2.2.2.8 release

mp_schemascripthistory
1
077e4857-f583-488e-836e-34a4b04be855
2.2.1.5.config
2007-06-13 00:00:00
t

Npgsql.NpgsqlException:
you must be owner of the function monthname
Severity: ERROR
Code: 42501
at Npgsql.NpgsqlConnector.CheckErrors () [0x00000]
at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteCommand () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteNonQuery () [0x00000]
at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteNonQuery ()
at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery (Npgsql.NpgsqlTransaction transaction, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x00000]
at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery (Npgsql.NpgsqlTransaction transaction, CommandType commandType, System.String commandText) [0x00000]
at mojoPortal.Data.dbPortal.RunScript (System.String script, System.String overrideConnectionString) [0x00000]

 

4
077e4857-f583-488e-836e-34a4b04be855
2.2.1.8.config
2007-06-13 00:00:00
t

Npgsql.NpgsqlException:
????? ???? ?????????? ????? mp_htmlcontent
Severity: ERROR
Code: 42501
at Npgsql.NpgsqlConnector.CheckErrors () [0x00000]
at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteCommand () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteNonQuery () [0x00000]
at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteNonQuery ()
at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery (Npgsql.NpgsqlTransaction transaction, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x00000]
at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery (Npgsql.NpgsqlTransaction transaction, CommandType commandType, System.String commandText) [0x00000]
at mojoPortal.Data.dbPortal.RunScript (System.String script, System.String overrideConnectionString) [0x00000]

12
2.2.2.6.config
2007-06-13 00:00:00
t

Npgsql.NpgsqlException:
????? ???? ?????????? ??????? monthname
Severity: ERROR
Code: 42501
at Npgsql.NpgsqlConnector.CheckErrors () [0x00000]
at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteCommand () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteNonQuery () [0x00000]
at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteNonQuery ()
at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery (Npgsql.NpgsqlTransaction transaction, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x00000]
at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery (Npgsql.NpgsqlTransaction transaction, CommandType commandType, System.String commandText) [0x00000]
at mojoPortal.Data.dbPortal.RunScript (System.String script, System.String overrideConnectionString) [0x00000]
077e4857-f583-488e-836e-34a4b04be855

_______________________________________________-

Error message in english was translated from my locale, it is probably slightly different!!!

6/13/2007 8:04:34 AM
Gravatar
Total Posts 18439

Re: Old schema version in the new 2.2.2.8 release

Hi Bob,

I'm guessing an error occurred running the 2.2.2.8 script. If you can look in the mp_schemascripthistory table the error will be in the error field. It should also be logged in Data/currentlog.config (text file)

You may also be able to see the error if you set ShowHistoryOnUpgradePage=true in web.config

If you tell me the error I will try to fix it.

Thanks,

Joe

6/13/2007 7:23:53 AM
bob
Gravatar
Total Posts 126
YAF developer

Old schema version in the new 2.2.2.8 release

I've got this

mojoPortal Setup
Database Platform pgsql
Database Code Version 2.2.2.8
Database Schema Version 2.2.1.7
Status You need to upgrade the Database Schema to make it the same version as the code.

That's goes like this in Mono realease... How I can win this?

6/13/2007 1:02:44 PM
bob
Gravatar
Total Posts 126
YAF developer

Re: Old schema version in the new 2.2.2.8 release

Thanks. I really played around with privileges and now it works. The problem was, I think with Konqueror

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