Failed to update rule group

Hey guys!

I have a problem when trying to modify/create alerts in Grafana. When I try to modify or create new alerts, I receive the following error:

Failed to save rule: failed to update rule group: [sqlstore.max-retries-reached] retry 1: failed to query for existing provenance status: database is locked

Does anyone have an idea how to solve it? Thanks

Version: Grafana v9.5.1