Upgrade to V12 issues
# help-with-umbraco
a
Hi! Trying to upgrade my 11.4.1 site to V12.1, except im running into the below error. This occurs on performing the actual upgrade on my live environment. Ofcourse, locally, this doesnt happen.. hah!
Copy code
One or more errors occurred. (One or more errors occurred. (Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Umbraco.Cms.Persistence.EFCore.UmbracoDbContext]' while attempting to activate 'Umbraco.Cms.Persistence.EFCore.Sqlite.SqliteMigrationProvider'.))
I don't think I do anything with this in my project, but it keeps failing 😦 Also tried first updating to 12.0.1 but same issue.
a
d
I also had to add the .AddDeliveryApi() in the startup, when upgrading as they describe in the github issue. Did not work before I did that.
a
Damn, tahnks @Anders Bjerner !
Couldnt find it
Spend all saturdayh trying things, lol
What is odd, on my local environment (so non-production) it ran fine
Ill add it to the post
k
I get a
System.ExecutionEngineException
after upgrading to 12.1. According to the call stack it's from CLR
GlobalizationMode.LoadLibrary
. Could be totally unrelated to 12.1 but started happening after the upgrade. Anyone else had this?
It seems upgrading
Microsoft.ICU.ICU4C.Runtime
to the latest version causes this...
d
I also had to downgrade this to the same version I used for 11.
s
As noted here, upgrade
Microsoft.ICU.ICU4C.Runtime
at your own risk https://github.com/umbraco/Umbraco-CMS/issues/14661
a
This is unrelated to the AddDeliveryApi I assume
Added the line, now getting timeouts, even with db connection on 300 seconds, hah, but probably something on my side.. I guess
k
Yes
Searching for
ExecutionEngineException
here doesn't turn up anything. Wonder why. Thanks.
s
System.ExecutionEngineException
does 🤷‍♂️
j
Just experienced this updating to 72.1.0.1.
6 Views