The help tells me I should unlock my encrypted wallet:
0> help migratewallet
1
2...
3Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
But when I do so and attempt to migrate the wallet I’m told that I’ve entered my password for needlessly:
0> migratewallet
1
2Error: migratewallet on encrypted wallets is currently unsupported.
v24.0.1