On 3/10/26 3:28 PM, Breizh wrote:
Hello,
I had the same problem. Just try again and again until it works, each
time it does a bit more of the migration before being locked.
Unfortunately it stops exactly in the same place every time.
Tried to set max_conn to 1, but grafana refuses to start with a single
database connection.
When set to 2, the rebuild index error is still there.
Eventually, you can try increasing this parameters in the grafana.ini :
# For "sqlite" only. How many times to retry query in case of database
# is locked failures. Default is 0 (disabled).
;query_retries = 0
# For "sqlite" only. How many times to retry transaction in case of
# database is locked failures. Default is 5.
;transaction_retries = 5
Tried both options and no effect. When it is locked it stays locked forever.
Regards,
Łukasz