Big listening problem

I explain my big problem, this morning I wanted to modify grafana.ini to configure the smtp, however I must have done something wrong and I can no longer open Grafana.

Moreover when I go to the “grafana.ini” file, there is nothing inside

and when I want to write in it I get:
[ Error writing /var/lib/docker/overlay2/4c0ea5fbb0f2d4e8c507e7d18e8347a0153cd8d408d9d103fa92d183dd829437/merged/etc/grafana/grafana.ini: No such file or directory ]

Can you help me?

it looks like you are running grafana in docker. I would try removing all your containers and run it fresh. Also, you will need to mount a volume in order to maintain state: