Upgrading umbraco forms from 10.5.2 to 13.x.x does not execute migrations on first site restart
a
After an umbraco upgrade from v10 to v13, I get a forms error in the logs and backend: "Invalid column name 'NodeId'" Turns out that forms migration is not executed. However if I restart the site again, the migration is executed and things get back to normal. Any idea why this work only on second restart? Am I missing some setting allowing Forms to migrate?
k
Even when enabling Unattended Package Migrations, this doesn't work automatically for me. I have to go into Packages > Forms and run the migration manually.
a
I re-enabled the packages dashboard just for troubleshooting this, and when I run the site first time, I see the option 'Run pending migrations' on the forms package. However, if I just leave it and restart the site again, it runs by itself on restart
I also tried setting UnattendedPackageMigration=true, with no effect. Looking umbraco source code, that setting is true by default anyway
k
Maybe 10-13 was too much for one go? Either way, just wanted as an FYI to say that Forms migrations usually don't work automatically for us, not even 12 => 13 etc.
a
how about on second restart after upgrade, are the migrations still not executed?
k
I can't remember, sorry. But Forms has never upgraded "seamlessly"
29 Views