NB! This solution is only valid when upgrading an Imagevault database to v5.2 or higher.
If you encounter errors during the execution of SQL-scripts, you can always try again by going to <your-iv-site>/setup/db and clicking the 'Upgrade database'-link.
By doing so, you will get detailed information about the execution.
If the update of the database fails due to request timeout, it is because the SQL-scripts are taking too long time to execute in a http request context.
This problem is fixed for version 5.5 and greater but if the problem occurs when updating to versions 5.2 - 5.4, we have a fix for this.
This is an example of an error message when this problem occurs:
The fix is an ASPX page (see attachment) that you can copy to the root of your website, log in as administrator and access it via your browser i.e https://yourimagevault.net/UpgradeDb.aspx
This page will start a background job that performs the update of the database and redirect you to a page for monitoring the job.
Unfortunately there will be no dynamic progress visible so the first thing you will see is this:
You will have to refresh the browser in order to detect when the job are finished. When finished, this screen will show up:
NB! Don't forget to remove the aspx page when done!