AI OnAI Off
You don\t have to use the dotnet-episerver tool. The database schema is upgraded automatically once you run the application. But now you have probably ended up in a bad state. if you revert your database and then just run the application it should work.
Tack Johan! I did what you suggested and I think that I might have passed the database upgrade step. I'm now stuck on "Initialize action failed for Initialize on class EPiServer.Initialization.Internal.ModelSyncInitialization". Is that a different story or do you think its an indication of something still being wrong with the database?
I'm trying to upgrade our CMS from version 11 to version 12. After about a week of struggling I finally got our solution to build without compilation errors (albeit still with a gazillion warnings). Now I'm trying to upgrade the database using dotnet-episerver update-database. Unfortunately it keeps failing when "Running script 12.10.0.sql" with the following error: "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Operation cancelled by user.". Is there a way to increase the timeout setting used by dotnet-episerver update-database?