Solved it.
I thought it was a problem introduced in the latest update and hadn’t looked far enough back in the archive here.
The solution was to issue a “shutdown -h now” and then physically unplug the power for 10 seconds before retrying.
Things which did NOT work:
Pulling the power and then restarting.
Rebooting through home assistant.
“shutdown -r now” without pulling the plug.
Deleting the database file as suggested in the other thread.
@Dhy19971 Hopefully this helps you, too. If it doesn’t, apologies for accidentally hijacking your thread.