Tried upgrading from Core 12.2 to Scale and middleware will not start

Mathew

Dabbler
Joined
Apr 21, 2015
Messages
39
The following is the error I'm presented with. It appears that no settings were successfully migrated.

1644622088299.png
 

Mathew

Dabbler
Joined
Apr 21, 2015
Messages
39
This is more of a bug report. I did end up wiping the boot media, fresh install and now just reconfiguring everything. Ugh, but whatever.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
We'd need a more detailed description of your setup and the migration process you used...
There are some migration issues being resolved with the Release version in 2 weeks.
 

Mathew

Dabbler
Joined
Apr 21, 2015
Messages
39
I performed an upgrade from ISO, booting from CDROM. I ended up just wiping the boot drive completely, installing fresh and just reconfiguring everything as new. I have everything working for the most part now, just trying to figure out the apps now.
 

MagmaMac

Cadet
Joined
Feb 23, 2022
Messages
1
This is related to missing DB migrations from the latest updates of Truenas Core missing in the RC2 release of Truenas Scale.

See https://github.com/truenas/middleware/tree/master/src/middlewared/middlewared/alembic/versions/12.0 vs https://github.com/truenas/middlewa...middlewared/middlewared/alembic/versions/12.0
(Specifically 2021-12-22 and 2022-01-03 migration).

To fix this I manually copied in the DB migrations and used alembic in the CLI to migrate to the head of the 22.02 branch.
Looking at the 22.02 RELEASE branch, It looks like these DB migrations are included and so this issue should be fixed in 22.02 RELEASE.

Kind Regards,
Mac
 
Top