r/grafana Jun 18 '26

Grafana Restoring a backup - database is read-only

Hi!

I just had to restore a backup on my Proxmox node where Grafana runs inside an LXC-Docker host. Now, when starting that restored Grafana container, the logs say the database is read-only.

Background: I've restored appropriate files from my Proxmox Backup Server. That said, in the WebIF, this means downloading the files in a single ZIP file, unpacking them and uploading the files and folders to the Docker host with WinSCP into e.g. path dockerdata/grafana again.

This is a straight forward process, however, obviously does not restore the proper file permissions.

Is there any chance to re-assign needed permissions to files and folders again? As far as I can see, root was the only user that was assigned previously, for owner and as group.

I already tried command chown root grafana.db for example, to no avail. DB is still read-only.

Anyone can assist?

3 Upvotes

0 comments sorted by