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.
I had the same problem. (Grafana via Docker on Proxmox CT)
The problem was that i had no disk space left.
(In Proxmox i increased the disk size for the CT on the Resource menu > Root Disk > Volume Action > Resize…)