Unable to recover pmm failed while upgrading 2.41.2

I see Grafana tries to connect to sqlite3 database and fails. What version of PMM Server did you migrate from?

Please note that recent versions of PMM Server use a PostgreSQL database for persistence. Sqlite3 won’t work.

Can it be that you mounted your own grafana.ini config file to the container? If that is the case, please check this thread

Alex