Question

Photo of Gladson Jacob

0

Server Error in Application after upgrading to 6.0

Description
Application Error after upgrading to 6.0. I had a 5.x version of Rock hosted on a shared hosting. Today, I migrated it to Azure. Then performed a Rock update to 6.0. After clicking the restart button, at the end of the update, I am being taken to a .net Application error page.

Steps to Reproduce

  1. Migrated to Azure - All fine
  2. Upgraded Rock from 5.5 to 6.0
  3. Clicked on Restart at the end of the upgrade

Expected behavior: Login screen

Actual behavior: I am unable to fetch the Application Event from Azure CP.
Server Error in '/' Application.
Runtime Error
Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.

Versions Rock Version: [6.0]

server_error.png

  • Photo of Michael Roth

    0

    Do you have slack? If not rockrms.slack.com and you can get fast help. 

    I have the tables for attendance so it looks like you might not have a full db with the new tables.

    If not I see you have 2 options but am not a pro with rock so someone else can chime in  

    1. Upgrade before the move 

    2. Try the 5.x migrate again and verify all works. 


    Was as the last version you had 5.6?

  • Photo of Gladson Jacob

    0

    Just got the Server Log of the error:

    Error occurred during application startup

    at RockWeb.Global.Application_Start(Object sender, EventArgs e) in d:\home\site\wwwroot\App_Code\Global.asax.cs:line 293 Cannot find the object "dbo.Attendance" because it does not exist or you do not have permissions.

    system_error.txt

  • Photo of Michael Roth

    0

    Do you know if the table is actually there in the DB?


    Also so can you try and restart your azure web app from the control panel?


    do you still have the original configuration on the old host?

  • Photo of Gladson Jacob

    0

    There is no such Table in the DB, neither in the old version nor in the new version. Restarted the Web App, no use. I do have the original files and the DB on the old host.

  • Photo of Gladson Jacob

    0

    2 Tables were not migrated from the first hosting to Azure. Then I upgraded in Azure. Now I migrated the 2 missing tables and then loaded the 5.5 version files to perform the upgrade again.

    All fine now.