Upgrade doesn't work, clean install works around r.2112

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/14/2011 2:38:16 PM
bob
Gravatar
Total Posts 126
YAF developer

Upgrade doesn't work, clean install works around r.2112

It stops on 'found 1 site'. No errors, nothing at all.

P.S. Postgre

6/14/2011 2:48:39 PM
Gravatar
Total Posts 18439

Re: Upgrade doesn't work, clean install works around r.2112

Hi Bob,

This symptom would make me think that the upgrade scripts do not exist on disk. I would verify if all the files are there under /Setup/applications

Hope that helps,

Joe

6/14/2011 2:55:21 PM
bob
Gravatar
Total Posts 126
YAF developer

Re: Upgrade doesn't work, clean install works around r.2112

Hi, Joe.

 Checked it on local machine with my remote db.

  at Npgsql.NpgsqlRowDescription.FieldIndex(String fieldName) in C:\projects\Npgsql2\src\Npgsql\NpgsqlRowDescription.cs:line 204
   at Npgsql.NpgsqlDataReader.GetOrdinal(String Name) in C:\projects\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 182
   at Npgsql.NpgsqlDataReader.get_Item(String name) in C:\projects\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 195
   at mojoPortal.Business.PageSettings.LoadFromReader(IDataReader reader) in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\mojoPortal.Business\PageSettings.cs:line 589
   at mojoPortal.Business.PageSettings.GetPage(Int32 siteId, Int32 pageId) in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\mojoPortal.Business\PageSettings.cs:line 474
   at mojoPortal.Business.PageSettings..ctor(Int32 siteId, Int32 pageId) in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\mojoPortal.Business\PageSettings.cs:line 46
   at mojoPortal.Business.WebHelpers.CacheHelper.LoadCurrentPage() in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\mojoPortal.Business.WebHelpers\CacheHelper.cs:line 652
   at mojoPortal.Business.WebHelpers.CacheHelper.GetCurrentPage() in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\mojoPortal.Business.WebHelpers\CacheHelper.cs:line 621
   at mojoPortal.Web.SiteUtils.GetSkinName(Boolean allowPageOverride, Page page) in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\Web\Components\SiteUtils.cs:line 1759
   at mojoPortal.Web.SiteUtils.GetMasterPage(Page page, SiteSettings siteSettings, Boolean allowOverride) in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\Web\Components\SiteUtils.cs:line 625
   at mojoPortal.Web.UI.CmsPage.SetupMasterPage() in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\Web\Default.aspx.cs:line 535
   at mojoPortal.Web.UI.CmsPage.OnPreInit(EventArgs e) in C:\Users\Vladimir\Projects\mojo_latest - todeploy6\Web\Default.aspx.cs:line 55
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Stops here in PageSettings.
this.expandOnSiteMap = Convert.ToBoolean(reader["ExpandOnSiteMap"]);

 

Best regards, bob.

6/14/2011 3:02:31 PM
Gravatar
Total Posts 18439

Re: Upgrade doesn't work, clean install works around r.2112

Hi Bob,

With any upgrade script if there are new fields expected in code that do not yet exist until the upgrade scripts run it may throw errors but errors should redirect to the Setup page and that should run the scripts to correct the errors. You could manually navigate directly to the setup page and the code you posted should not be involved in the request.

The setup page itself does not use a master page so the code you posted will not happen when the setup page runs and therefore should not interfere with the upgrade process.

Hope that helps,

Joe

6/14/2011 6:51:50 PM
bob
Gravatar
Total Posts 126
YAF developer

Re: Upgrade doesn't work, clean install works around r.2112

I know that it shouldn't, but somehow scripts upgrade doesn't happen. It really goes to Setup to upgrade, but all I can see this is it.

 

Probing system...
File system permissions ok.
pgsql database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema needs upgrade.
1 site(s) found.
Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

Maybe site data folder holds something new.

Anyway I'll downgrade to something more stable.

Thanks for help.

Best regards, bob.

6/15/2011 11:49:48 AM
bob
Gravatar
Total Posts 126
YAF developer

Re: Upgrade doesn't work, clean install works around r.2112

Hi, Joe.

It seems that it was my  hosting provider fault. Anyway if I encounter this again I'll let you know.

Thanks again for help.

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