Grafana for PLCnext and change the defaults.ini file
Hello.
I have installed Grafana for PLCnext and it works very well, the problem is when I try to modify Grafana to embed a graph in node-network, for this I modify in /opt/plcnext/appshome/data/60002172000509/volumes/grafana/conf/ the defaults.ini file, and I modify the parameters:
- anonymous access enabled
- allow_embedding=true
I save the file and restart Grafana for PLCnext.
I check that the defaults.ini file in /opt/plcnext/appshome/data/60002172000509/volumes/grafana/conf/", has the modifications done, but when I check the defaults.ini file in /opt/plcnext/apps/60002172000509/volumes/grafana/conf/ it does not have the modifications done.
If I am not mistaken in /opt/plcnext/appshome I can store and manage application data.
And if I'm not mistaken /opt/plcnext/apps is where the applications that are in are mounted.
So the defaults.ini in opt/plcnext/apps/60002172000509/volumes/grafana/conf/, should be the same as the defaults.ini in /opt/plcnext/appshome/data/60002172000509/volumes/grafana/conf/ and in my case it is not.
Can you tell me where I'm wrong or what I'm doing wrong?
Comments
Hello carflomi,
please use the Button "Contact Developer" in PLCnext Store and send your request to App-Developers of the Grafana app. They can probably tell you if your use case is possible and provide you the needed information/descriprion.
You are right, In generally the folder /opt/plcnext/appshome is the working directory of the App.
The /opt/plcnext/apps is the App installation folder.
If the App starts the needed configuration data will be copied from /opt/plcnext/apps to /opt/plcnext/appshome folder.
Please only modify the config data in /opt/plcnext/appshome folder (if needed).
BR Eduard