Doing my first upgrade of a simple V13.12.0 site to V17.0.0. On first run, at the “Upgrading Umbraco” stage, it fails with what looks like a uSync error:-
Claude tells me:-
The Core Problem
The error originates from Scope.Dispose() at the top of the stack, which suggests that when trying to clean up a database transaction scope, it encountered a problem - likely a deadlock or timeout while waiting for database locks to be released.
Where It’s Failing
The upgrade is failing during these specific steps:
uSync initialization (FirstBootAppStartingHandler) is trying to read a key-value pair from the database
The KeyValueService.GetValue() method is being called during application startup
This happens as part of the RestartRuntimeStep.Execute() during the upgrade process
I have uSync V17.0.0 and uSync.Forms V17.0.0 installed.
I’ll uninstall them for now to get me away, but maybe this could be looked at?
Vanilla upgrades from v13 to v17 with the uSync packages seem to install ok.
I suspect you don’t have the original stack trace to hand? At the moment we can only.go.of AI’s interpretation of it, which well might not ,be 100% the story.
Keeping an eye on it though .
Bit that bit of code is actually guarded and shouldn’t even run during an upgrade.
But it may also be due to the fact I haven’t yet sorted out the appsettings.json file. It currently can’t find any templates and I’ve tried all the usual fixes, then it hit me, I haven’t done the appsettings.json yet! So there is still stuff to do
P.S. and as it’s me, you know it’s running on Linux, just in case there’s a casing issue somewhere