I did the upgrade and after 3 days I still couldnt do a re-boot without this message:
“The system cannot restart while a database upgrade is in progress”
I am using the Maria DB integration and when I looked in the log files there I could see this:
[17:46:29] INFO: Ensuring internal database upgrades are performed
This installation of MariaDB is already upgraded to 10.4.19-MariaDB, use --force if you still need to run mysql_upgrade
So I decided to just restart the Maria DB and then I was able to re-boot the HA!
But after the reboot I am back to the same problem I cant do a reboot of HA
So is there a way to just delete the Maria DB and restart HA?
Or some command I can run to force this DB upgrade?
Also found this in the logs:
22-02-04 17:46:27 WARNING (SyncWorker_3) [supervisor.docker.interface] Can’t grep logs from homeassistant/amd64-addon-mariadb: 409 Client Error for http+docker://localhost/v1.41/containers/d73c50807de26067003f9f4029161aad5cffb553b1fba56d55c992e1fcc455aa/logs?stderr=1&stdout=1×tamps=0&follow=0&tail=100: Conflict (“can not get logs from container which is dead or marked for removal”)
Before using MariaDB I would just have deleted the local HA DB…
I ended up having the same issue.
Thanks for posting your steps to resolve this.
Removing and re-adding MariaDB at least got me past this upgrading DB roadblock.