Hello,
I have reinstalled Grafana on a Raspberry Pi 5 and copied the grafana.db from the old system. I was able to log in once with admin admin and set a new password.
All the data was apparently there. After logging out, I wanted to log in again, but got an error:
“Login failed Internal Server Error”.
I then restored the default with
sudo grafana-cli admin reset-admin-password admin
but the error still occurs.